From 94d277f067ee2847ede8de5fe4bde9236e2c10e8 Mon Sep 17 00:00:00 2001 From: drono Date: Wed, 31 Jul 2024 10:18:15 +0300 Subject: [PATCH 1/2] Implement auth mechanism for FHIR IG Importer --- fhir-ig-importer/docker-compose.yml | 2 ++ fhir-ig-importer/package-metadata.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fhir-ig-importer/docker-compose.yml b/fhir-ig-importer/docker-compose.yml index c1bca48c..7c87cced 100644 --- a/fhir-ig-importer/docker-compose.yml +++ b/fhir-ig-importer/docker-compose.yml @@ -21,6 +21,8 @@ services: reverse-proxy: environment: FHIR_IG_IMPORTER_CORE_URL: ${FHIR_IG_IMPORTER_CORE_URL} + OPENHIM_API_USERNAME: ${OPENHIM_USERNAME} + OPENHIM_API_PASSWORD: ${OPENHIM_PASSWORD} networks: hapi-fhir: diff --git a/fhir-ig-importer/package-metadata.json b/fhir-ig-importer/package-metadata.json index 1bc5473f..4fb9e408 100644 --- a/fhir-ig-importer/package-metadata.json +++ b/fhir-ig-importer/package-metadata.json @@ -15,6 +15,8 @@ "FHIR_IG_IMPORTER_CORE_HOST": "0.0.0.0", "FHIR_IG_IMPORTER_CORE_URL": "http://0.0.0.0:3001/fhir/ig/v1.0", "FHIR_IG_IMPORTER_UI_VERSION": "latest", - "FHIR_IG_IMPORTER_CORE_VERSION": "latest" + "FHIR_IG_IMPORTER_CORE_VERSION": "latest", + "OPENHIM_API_USERNAME": "root@openhim.org", + "OPENHIM_API_PASSWORD": "instant101" } } From 000c8a41298ae49c2be4b753c1503d9ff8d4752a Mon Sep 17 00:00:00 2001 From: Drizzentic Date: Wed, 31 Jul 2024 10:29:38 +0300 Subject: [PATCH 2/2] Update fhir-ig-importer/package-metadata.json Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- fhir-ig-importer/package-metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhir-ig-importer/package-metadata.json b/fhir-ig-importer/package-metadata.json index 4fb9e408..9b4563fd 100644 --- a/fhir-ig-importer/package-metadata.json +++ b/fhir-ig-importer/package-metadata.json @@ -16,7 +16,7 @@ "FHIR_IG_IMPORTER_CORE_URL": "http://0.0.0.0:3001/fhir/ig/v1.0", "FHIR_IG_IMPORTER_UI_VERSION": "latest", "FHIR_IG_IMPORTER_CORE_VERSION": "latest", - "OPENHIM_API_USERNAME": "root@openhim.org", - "OPENHIM_API_PASSWORD": "instant101" + "OPENHIM_API_USERNAME": "", + "OPENHIM_API_PASSWORD": "" } }