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:
Skiba, Jan
2026-10-08 08:58:37 +02:00
committed by Threated
parent 2425f19425
commit 4989c45a18
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -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
+3
View File
@@ -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"