diff --git a/assurance/1115-waiver/ahc-hrsn/screening/regression-test-prime/fhir-service-prime/src/2024-06-24/fhir-service.test.http b/assurance/1115-waiver/ahc-hrsn/screening/regression-test-prime/fhir-service-prime/src/2024-06-24/fhir-service.test.http index 9a29057..b873d31 100644 --- a/assurance/1115-waiver/ahc-hrsn/screening/regression-test-prime/fhir-service-prime/src/2024-06-24/fhir-service.test.http +++ b/assurance/1115-waiver/ahc-hrsn/screening/regression-test-prime/fhir-service-prime/src/2024-06-24/fhir-service.test.http @@ -13,33 +13,12 @@ }} @contentType = application/json -@TECH_BD_FHIR_SERVICE_QE_IDENTIFIER = HEALTHELINK - -# ${cwd()} means "current working directory" ($MAVEN_ROOT) -@TECH_BD_INTERACTION_PERSISTENCE_FS = { "nature": "fs", "fsPath": "${cwd()}/TECHBD_INTERACTIONS/${formattedDateNow('yyyy/MM/dd/HH')}/${artifactId}.json" } - -# VFS allows all providers from https://commons.apache.org/proper/commons-vfs/ -# If you want to see where the tmp:// file is use `$ find /tmp -name "*tempfs*"` to find the root on the server; -# If you want to use SFTP, put in the proper username and password where it says *****:***** -@TECH_BD_INTERACTION_PERSISTENCE_VFS_TMP = { "nature": "vfs", "vfsUri": "tmp://techbd.org/interaction-artifacts/${formattedDateNow('yyyy/MM/dd/HH')}/${artifactId}.json" } -@TECH_BD_INTERACTION_PERSISTENCE_VFS_SFTP = { "nature": "vfs", "vfsUri": "sftp://*****:******@synthetic.sftp.techbd.org:22/log/synthetic.fhir.api.techbd.org/{{TECH_BD_FHIR_SERVICE_QE_IDENTIFIER}}/interaction-artifacts/${formattedDateNow('yyyy/MM/dd/HH')}/${artifactId}.json" } -@TECH_BD_INTERACTION_PERSISTENCE_VFS_LOCAL = { "nature": "vfs", "vfsUri": "file://${cwd()}/techbd.org/interaction-artifacts/${formattedDateNow('yyyy/MM/dd/HH')}/${artifactId}.json" } - -@TECH_BD_INTERACTION_PERSISTENCE_EMAIL = { "nature": "email", "from": "toroj11859@qiradio.com", "to": "toroj11859@qiradio.com", "subject": "test FHIR email" } -@TECH_BD_INTERACTION_PERSISTENCE_DUCKDB = { "nature": "duckdb", "motherDuck": { "db": "interactions", "token": "*** TOKEN *** " } } -@TECH_BD_INTERACTION_PERSISTENCE_DUCKDB_LOCAL = { "nature": "duckdb" } - -@TECH_BD_INTERACTION_PERSISTENCE_POSTGRES_NEON = { "nature": "postgres", "url": "jdbc:postgresql://2.aws.neon.tech/persistence?user=persistence&password=persistence&sslmode=require" } - -@TECH_BD_FHIR_SERVICE_STRUCT_DEFN_PROFILE_URI_SHINNY_SDOH = https://djq7jdt8kb490.cloudfront.net/1115/StructureDefinition-SHINNYBundleProfile.json - -@TECH_BD_INTERACTION_PERSISTENCE_STRATEGY = [{{TECH_BD_INTERACTION_PERSISTENCE_POSTGRES_NEON}}, {{TECH_BD_INTERACTION_PERSISTENCE_DUCKDB}}] +@TECH_BD_FHIR_SERVICE_QE_IDENTIFIER = PARTNER1-TEST ### /metadata endpoint should return FHIR CapabilityStatement GET {{hostName}}/metadata Content-Type: {{contentType}} -X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STRATEGY}} ?? status == 200 ?? header content-type == text/html;charset=UTF-8 ?? response.body != null @@ -49,10 +28,7 @@ X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STR POST {{hostName}}/Bundle/$validate HTTP/1.1 Content-Type: {{contentType}} -Accept : application/fhir+json;charset=utf-8 X-TechBD-Tenant-ID: {{TECH_BD_FHIR_SERVICE_QE_IDENTIFIER}} -X-TechBD-FHIR-Validation-Strategy: { "engines": ["HAPI" ]} -X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STRATEGY}} ?? status == 200 ?? header content-type == application/fhir+json;charset=utf-8 ?? response.body != null @@ -67,10 +43,7 @@ X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STR POST {{hostName}}/Bundle/$validate HTTP/1.1 Content-Type: {{contentType}} -Accept : application/fhir+json;charset=utf-8 X-TechBD-Tenant-ID: {{TECH_BD_FHIR_SERVICE_QE_IDENTIFIER}} -X-TechBD-FHIR-Validation-Strategy: { "engines": ["HAPI" ]} -X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STRATEGY}} ?? status == 200 ?? header content-type == application/fhir+json;charset=utf-8 ?? response.body != null @@ -86,10 +59,7 @@ X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STR POST {{hostName}}/Bundle/$validate HTTP/1.1 Content-Type: {{contentType}} -Accept : application/fhir+json;charset=utf-8 X-TechBD-Tenant-ID: {{TECH_BD_FHIR_SERVICE_QE_IDENTIFIER}} -X-TechBD-FHIR-Validation-Strategy: { "engines": ["HAPI" ]} -X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STRATEGY}} ?? status == 200 ?? header content-type == application/fhir+json;charset=utf-8 ?? response.body != null @@ -100,13 +70,11 @@ X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STR < TestCase302.json -### /Bundle should validate and submit fhir-fixture-shinny-impl-guide-sample.json as HEALTHeLINK - +### /Bundle should validate and submit fhir-fixture-shinny-impl-guide-sample.json as @TECH_BD_FHIR_SERVICE_QE_IDENTIFIER +# DO NOT use any header variables which are not required by QEs POST {{hostName}}/Bundle HTTP/1.1 Content-Type: {{contentType}} X-TechBD-Tenant-ID: {{TECH_BD_FHIR_SERVICE_QE_IDENTIFIER}} -X-TechBD-DataLake-API-URL: https://40lafnwsw7.execute-api.us-east-1.amazonaws.com/dev -X-TechBD-Interaction-Persistence-Strategy: {{TECH_BD_INTERACTION_PERSISTENCE_STRATEGY}} ?? status == 200 ?? response.body != null