File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 3333def get_service_url (service_env : str = None , service_base_path : str = None
3434 ) -> str :
3535 service_env : str = service_env if service_env is not None else os .getenv ("IMMUNIZATION_ENV" , "" )
36- service_base_path : str = service_base_path if service_base_path else os .getenv ("IMMUNIZATION_BASE_PATH" )
36+ service_base_path : str = os .getenv ("IMMUNIZATION_BASE_PATH" )
3737
3838 non_prod = ["internal-dev" , "int" , "sandbox" ]
3939 if service_env in non_prod :
Original file line number Diff line number Diff line change @@ -1109,10 +1109,6 @@ def test_patient_contains_fullUrl(self):
11091109 """Patient must have a fullUrl consisting of its id.
11101110 See http://hl7.org/fhir/R4B/bundle-definitions.html#Bundle.entry.fullUrl.
11111111 Tested because fhir.resources validation doesn't check this as mandatory."""
1112-
1113- print (f"IMMUNIZATION_ENV: { os .environ .get ('IMMUNIZATION_ENV' )} " )
1114- print (f"IMMUNIZATION_BASE_PATH: { os .environ .get ('IMMUNIZATION_BASE_PATH' )} " )
1115-
11161112 imms_ids = ["imms-1" , "imms-2" ]
11171113 imms_list = [create_covid_19_immunization_dict (imms_id ) for imms_id in imms_ids ]
11181114 self .imms_repo .find_immunizations .return_value = imms_list
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ locals {
2424 imms_lambda_env_vars = {
2525 " DYNAMODB_TABLE_NAME" = local.imms_table_name,
2626 " IMMUNIZATION_ENV" = local.resource_scope,
27- " IMMUNIZATION_BASE_PATH" = strcontains (var. sub_environment , " pr-" ) ? " immunisation-fhir-api/FHIR/R4-${ var . sub_environment } " : " immunisation-fhir-api"
27+ " IMMUNIZATION_BASE_PATH" = strcontains (var. sub_environment , " pr-" ) ? " immunisation-fhir-api/FHIR/R4-${ var . sub_environment } " : " immunisation-fhir-api/FHIR/R4 "
2828 # except for prod and ref, any other env uses PDS int environment
2929 " PDS_ENV" = var.pds_environment
3030 " PDS_CHECK_ENABLED" = tostring (var. pds_check_enabled )
You can’t perform that action at this time.
0 commit comments