mirror of
https://github.com/samply/bridgehead.git
synced 2026-10-12 23:56:42 +02:00
dhki: Pass the DKFZ TTP to the DKFZ TransFAIR
DKFZ TransFAIR stores the project pseudonym the UMM site assigns to a linked patient in the DKFZ TTP. It needs that TTP's URL and an API key that may edit patients: DKFZ_TTP_URL and DKFZ_TTP_ML_API_KEY, both required, and DKFZ_PROJECT_ID_SYSTEM (default dhkiComId). Plain TTP_URL is not used, as it would also start the DIC TransFAIR.
This commit is contained in:
@@ -57,6 +57,9 @@ services:
|
||||
REMOTE_FHIR_SERVER_URL: http://umm-blaze/
|
||||
REMOTE_EXCHANGE_ID_SYSTEM: ${DKFZ_REMOTE_EXCHANGE_ID_SYSTEM:-SESSION_ID}
|
||||
DESTINATION_FHIR_SERVER_URL: http://blaze:8080
|
||||
TTP_URL: ${DKFZ_TTP_URL}
|
||||
TTP_ML_API_KEY: ${DKFZ_TTP_ML_API_KEY}
|
||||
PROJECT_ID_SYSTEM: ${DKFZ_PROJECT_ID_SYSTEM:-dhkiComId}
|
||||
RUST_LOG: ${RUST_LOG:-info}
|
||||
volumes:
|
||||
- /var/cache/bridgehead/${PROJECT}/dkfz-transfair:/transfair
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
function dkfzSetup() {
|
||||
if [ "${ENABLE_DKFZ:-}" == "true" ]; then
|
||||
assertVarsNotEmpty DKFZ_TTP_URL DKFZ_TTP_ML_API_KEY || \
|
||||
fail_and_report 1 "The DKFZ module requires DKFZ_TTP_URL and DKFZ_TTP_ML_API_KEY."
|
||||
|
||||
log INFO "DKFZ TransFAIR setup detected -- will start TransFAIR and Beam.Connect."
|
||||
DKFZ_TRANSFAIR_BEAM_SECRET="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||
OVERRIDE+=" -f ./dhki/modules/dkfz-compose.yml"
|
||||
|
||||
Reference in New Issue
Block a user