-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from medizininformatik-initiative/enhancement/…
…21-add-test-setup-for-hapi-with-cql Enhancement/21 add test setup for hapi with cql
- Loading branch information
Showing
24 changed files
with
828 additions
and
12 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
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
29 changes: 29 additions & 0 deletions
29
feasibility-dsf-process-docker-test-setup/dic-4-store-init/init.sh
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env sh | ||
|
||
echo -n "Waiting for FHIR server to be online and healthy..." | ||
status_code=0 | ||
while true; do | ||
status_code=$(curl -s -o /dev/null -w "%{http_code}" "http://dic-4-store:8080/fhir/metadata") | ||
if [ "$status_code" -eq 200 ]; then | ||
break | ||
fi | ||
done | ||
echo "DONE" | ||
|
||
echo -n "Adding library model definition to FHIR server..." | ||
status_code=$(curl -X PUT -s -o /dev/null -w "%{http_code}" -H "Content-Type: application/fhir+json" -d @/tmp/library-fhir-model-definition.json "http://dic-4-store:8080/fhir/Library/fhir-model-definition") | ||
if [ "$status_code" -ne 201 ]; then | ||
echo "FAILED" | ||
exit 1 | ||
else | ||
echo "DONE" | ||
fi | ||
|
||
echo -n "Adding library FHIR helpers to FHIR server..." | ||
status_code=$(curl -s -o /dev/null -w "%{http_code}" -H "Content-Type: application/fhir+json" -d @/tmp/library-fhir-helpers.json "http://dic-4-store:8080/fhir/Library") | ||
if [ "$status_code" -ne 201 ]; then | ||
echo "FAILED" | ||
exit 1 | ||
else | ||
echo "DONE" | ||
fi |
47 changes: 47 additions & 0 deletions
47
feasibility-dsf-process-docker-test-setup/dic-4-store-init/library-fhir-helpers.json
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
...ibility-dsf-process-docker-test-setup/dic-4-store-init/library-fhir-model-definition.json
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/dic-4/bpe/log/README.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Empty folder for log files |
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/dic-4/bpe/plugin/README.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Empty folder for plugin jars |
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/dic-4/bpe/process/README.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Empty folder for process jars |
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/dic-4/fhir/conf/README.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
empty directory for conf files |
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/dic-4/fhir/log/README.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Empty folder for log files |
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
16 changes: 16 additions & 0 deletions
16
feasibility-dsf-process-docker-test-setup/proxy/conf.d/dic-4.conf
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
server { | ||
listen 443 ssl http2; | ||
listen [::]:443 ssl http2; | ||
server_name dic-4; | ||
|
||
location / { | ||
proxy_set_header X-ClientCert $ssl_client_escaped_cert; | ||
|
||
proxy_pass http://172.10.0.131:8080; | ||
|
||
proxy_http_version 1.1; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
proxy_read_timeout 43200s; | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/secrets/db_dic_4_bpe_user.password
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
xigxcAWwCw1LsRQHU8LYt7vL3nARqRKE |
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/secrets/db_dic_4_bpe_user_camunda.password
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
ddfiJvVVdGKGBNjRwKLqPRGckUzsnwgy |
1 change: 1 addition & 0 deletions
1
feasibility-dsf-process-docker-test-setup/secrets/db_fhir_dic_4_user.password
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
BCxY8UsIoQpPkZyrUY7fPZvPm4rtlWAt |
1 change: 1 addition & 0 deletions
1
...bility-dsf-process-docker-test-setup/secrets/db_fhir_dic_4_user_permanent_delete.password
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
lh1gtUDSNJi3DaoRkuUU8WMcekQpyjac |
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
Oops, something went wrong.