HUB
Sign inSign up

samply/sample-locator

Sponsored OSS

By samply

•Updated about 3 years ago

Image
0

10K+

samply/sample-locator repository overview

⁠SampleLocator

This project was generated with Angular CLI⁠ version 9.0.3.

⁠Development server

Run ng serve for a dev server. Navigate to http://localhost:8085/. The app will automatically reload if you change any of the source files.

⁠Build

Run ng build --prod to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

⁠Docker

Run docker build . to build a Docker image. It's not necessary to run ng build --prod before, because a build container is used.

⁠Run (Docker⁠)

⁠Docker
docker build -t sample-locator .

docker run 
    --rm 
    --name=sample-locator
    -p 8085:80 
    -e SEARCHBROKER_URL="http://localhost:8080" 
    -e SAMPLELOCATOR_URL="http://localhost:8085" 
    -e NEGOTIATOR_URL="https://negotiator.bbmri-eric.eu" 
    -e TERMINOLOGY_SERVER_URL="https://r4.ontoserver.csiro.au/fhir"
    -e AUTH_HOST="https://login.bbmri-eric.eu" 
    -e AUTH_CLIENT_ID="88ad6e4f-af9b-430a-8884-394e29cd10c1" 
    -e MDR_API_URL="http://mdr.test.germanbiobanknode.de/v3/api/mdr" 
    -e MDR_NAMESPACE="mdr16" 
    -e MDR_LANGUAGE="en" 
    -e MDR_MAPPING="[{\"nameOfEnum\": \"DONOR\",\"urn\": \"urn:mdr16:dataelementgroup:5:1\"},{\"nameOfEnum\": \"SAMPLE\",\"urn\": \"urn:mdr16:dataelementgroup:3:1\"},{\"nameOfEnum\": \"EVENT\", \"urn\": \"urn:mdr16:dataelementgroup:6:1\"}]" 
    -e MDR_FIELD_PROPERTIES="[{\"urn\": \"urn:mdr16:dataelement:29:1\",\"placeholder\": \"\",\"unit\": \"kg\"},{\"urn\": \"urn:mdr16:dataelement:30:1\",\"placeholder\": \"\",\"unit\": \"cm\"},{\"urn\": \"urn:mdr16:dataelement:28:1\",\"placeholder\": \"\",\"unit\": \"years\"},{\"urn\": \"urn:mdr16:dataelement:14:1\",\"placeholder\": \"\",\"unit\": \"years\"},{\"urn\": \"urn:mdr16:dataelement:27:1\",\"placeholder\": \"e.g. C25.1\",\"unit\": \"\", \"valueSetUrl\": \"http://hl7.org/fhir/ValueSet/condition-code\"}]" 
    -e MDR_HIDDEN="[\"urn:mdr16:dataelement:1:1\",\"urn:mdr16:dataelement:25:1\",\"urn:mdr16:dataelement:34:1\",\"urn:mdr16:dataelement:18:1\",\"urn:mdr16:dataelement:11:1\",\"urn:mdr16:dataelement:19:1\",\"urn:mdr16:dataelement:30:1\",\"urn:mdr16:dataelement:4:1\",\"urn:mdr16:dataelement:21:1\",\"urn:mdr16:dataelement:22:1\",\"urn:mdr16:dataelement:24:1\",\"urn:mdr16:dataelement:13:1\"]" 
    -e MOLGENIS_USERNAME="your_molgenis_username" 
    -e MOLGENIS_PASSWORD="your_molgenis_password" 
    sample-locator:latest
Envionment variableMeaningDefault
SAMPLELOCATOR_URLURL of the Sample Locator
SEARCHBROKER_URLURL of the Searchbroker API (Backend)
NEGOTIATOR_URLURL of the Negotiator
TERMINOLOGY_SERVER_URLURL of the terminology server
AUTH_HOSTURL of the OpenID Connect provider
AUTH_CLIENT_IDClient-ID of the OpenID Connect Provider
MOLGENIS_USERNAMEUsername of Molgenis
MOLGENIS_PASSWORDPassword of Molgenis
MDR_API_URLURL of the MDR
MDR_NAMESPACENamespace of the MDR
MDR_LANGUAGELanguage code for the MDR
MDR_MAPPINGMDR entities and their URNs[]
MDR_FIELD_PROPERTIESSpecification of placeholder and units for fields[]
MDR_HIDDENFields to be ignored[]
FEATURE_STRATIFIERFeature toggle for stratificationsfalse
FEATURE_STRATIFIER_MIN_NO_BIOBANKSMinimal number of connectors which must send stratifications in order to show stratifications3

⁠License

Copyright 2020 The Samply Development Community

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0⁠

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Tag summary
Recent tags
Content type
Image
Digest
sha256:f2b296cba…
Size
21.4 MB
Last updated
about 3 years ago
docker pull samply/sample-locator:latest
This week's pulls