mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-16 21:50:14 +02:00
wip: routine connector
This commit is contained in:
13
modules/transfair-setup.sh
Executable file
13
modules/transfair-setup.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
function transfairSetup() {
|
||||
assertVarsNotEmpty INSTITUTE_TTP_URL INSTITUTE_TTP_API_KEY PROJECT_ID_SYSTEM FHIR_REQUEST_URL FHIR_INPUT_URL
|
||||
OVERRIDE+=" -f ./modules/transfair-compose.yml"
|
||||
if [ -n "$FHIR_OUTPUT_URL" ]; then
|
||||
log INFO "TransFAIR output fhir store set to external $FHIR_OUTPUT_URL"
|
||||
else
|
||||
log INFO "TransFAIR output fhir store not set writing to internal blaze"
|
||||
FHIR_OUTPUT_URL="http://transfair-blaze:8080"
|
||||
OVERRIDE+=" -f ./modules/transfair-compose.yml"
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user