-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44229a6
commit 76be053
Showing
1 changed file
with
3 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": "[email protected]", "to": "[email protected]", "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 | ||
|
||
|