Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit ebe0d92

Browse files
committed
process test documentation
1 parent 931fbe4 commit ebe0d92

1 file changed

Lines changed: 76 additions & 0 deletions

File tree

  • codex-processes-ap1-docker-test-setup
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Testing using Docker Setup
2+
3+
Build the project from the root directory of this repository by executing the following command.
4+
5+
```sh
6+
mvn clean package
7+
```
8+
9+
Add entries to your hosts file
10+
```
11+
127.0.0.1 dic
12+
127.0.0.1 gth
13+
127.0.0.1 crr
14+
```
15+
16+
Console 1: Start DIC HAPI FHIR Server
17+
```sh
18+
docker-compose up dic-fhir-store
19+
```
20+
Access at http://localhost:8003/
21+
22+
Console 2: Start CRR HAPI FHIR Server
23+
```sh
24+
docker-compose up crr-fhir-store
25+
```
26+
Access at http://localhost:8005/
27+
28+
Console 3: Start DIC DSF FHIR Server and wait till startet
29+
```sh
30+
docker-compose up -d dic-fhir-proxy dic-fhir-app dic-fhir-db && docker-compose logs -f dic-fhir-app
31+
```
32+
Console 3: Dicconnect from log output (Ctrl-C) if Server startet
33+
Console 3: Start DIC DSF BPE Server
34+
```sh
35+
docker-compose up -d dic-bpe-app dic-bpe-db && docker-compose logs -f dic-fhir-app dic-bpe-app
36+
````
37+
38+
Console 4: Start GTH DSF FHIR Server and wait till startet
39+
```sh
40+
docker-compose up -d gth-fhir-proxy gth-fhir-app gth-fhir-db && docker-compose logs -f gth-fhir-app
41+
```
42+
Console 4: Dicconnect from log output (Ctrl-C) if Server startet
43+
Console 4: Start GTH DSF BPE Server
44+
```sh
45+
docker-compose up -d gth-bpe-app gth-bpe-db && docker-compose logs -f gth-fhir-app gth-bpe-app
46+
````
47+
48+
Console 5: Start CRR DSF FHIR Server and wait till startet
49+
```sh
50+
docker-compose up -d crr-fhir-proxy crr-fhir-app crr-fhir-db && docker-compose logs -f crr-fhir-app
51+
```
52+
Console 5: Dicconnect from log output (Ctrl-C) if Server startet
53+
Console 5: Start CRR DSF BPE Server
54+
```sh
55+
docker-compose up -d crr-bpe-app crr-bpe-db && docker-compose logs -f crr-fhir-app crr-bpe-app
56+
````
57+
58+
Webbrowser at http://localhost:8003/: Add Demo Data to DIC HAPI FHIR Server via Transaction-Bundle at
59+
[dic_fhir_store_demo.json](codex-process-data-transfer/src/test/resources/fhir/Bundle/dic_fhir_store_demo.json)
60+
61+
Console 6: Start Data Trigger Process at DIC using the following command
62+
```sh
63+
curl -H "Accept: application/xml+fhir" -H "Content-Type: application/fhir+xml" \
64+
-d @codex-process-data-transfer/src/test/resources/fhir/Task/TaskStartDataTrigger.xml \
65+
--ssl-no-revoke --cacert codex-processes-ap1-test-data-generator/cert/ca/testca_certificate.pem \
66+
--cert codex-processes-ap1-test-data-generator/cert/Webbrowser_Test_User/Webbrowser_Test_User_certificate.pem \
67+
--key codex-processes-ap1-test-data-generator/cert/Webbrowser_Test_User/Webbrowser_Test_User_private-key.pem \
68+
https://dic/fhir/Task
69+
```
70+
71+
Webbrowser at http://localhost:8005/: Check data transfered CRR HAPI FHIR Server
72+
73+
Console X: Stop everything
74+
```sh
75+
docker-compose down -v
76+
```

0 commit comments

Comments
 (0)