Skip to content

Commit c92a331

Browse files
committed
Merge remote-tracking branch 'origin/release/0.6.0' into main
2 parents 4753fcb + c1601ed commit c92a331

File tree

288 files changed

+18090
-1271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+18090
-1271
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ Prerequisite: Java 11, Maven >= 3.6
3232
3333
```
3434
mvn clean install (-P copy-to-highmed-dsf-process)
35-
```
35+
```
36+
37+
## Executing the Processes
38+
The HiGHmed DSF Wiki includes a section about [Manual Integration Testing](https://github.com/highmed/highmed-dsf/wiki/Build-and-Test-Project#manual-integration-testing-vms-for-docker-registry-3-medics-ttp), with detailed descriptions on how to run the processes in a simulated testing environment consisting of 3 MeDICs and 1 TTP. Example implementations to start a process can be found in the respective Maven sub-modules under `src/test/java` in the package `org.highmed.dsf.bpe.start`.
39+
3640
3741
## Implementing new Processes
3842
Instructions on how to implement a new process can be found in the HiGHmed DSF Wiki page with the name [Adding a new BPMN Process](https://github.com/highmed/highmed-dsf/wiki/Adding-BPMN-Processes).
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Properties
2+
3+
**MeDIC**
4+
`keytool -genseckey -alias <organization-identifier> -keyalg aes -keysize 256 -keystore organization-keystore.p12 -storetype pkcs12`
5+
where `<organization-identifier>` is the same as the property `org.highmed.dsf.bpe.fhir.organization.identifier.localValue` and the password for the key
6+
7+
* org.highmed.dsf.bpe.psn.organization.keystore=conf/organization-keystore.p12
8+
* org.highmed.dsf.bpe.psn.organization.keystore.password=password
9+
10+
**TTP**
11+
Keystore will be created if none exists
12+
13+
* org.highmed.dsf.bpe.psn.research.study.keystore=conf/research-study-keystore.p12
14+
* org.highmed.dsf.bpe.psn.research.study.keystore.password=password
Lines changed: 298 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,298 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<artifactId>dsf-bpe-process-data-sharing</artifactId>
8+
9+
<parent>
10+
<artifactId>dsf-bpe-highmed-processes-pom</artifactId>
11+
<groupId>org.highmed.dsf</groupId>
12+
<version>0.6.0</version>
13+
</parent>
14+
15+
<properties>
16+
<main.basedir>${project.basedir}/..</main.basedir>
17+
<dsf.location>../../highmed-dsf</dsf.location>
18+
</properties>
19+
20+
<dependencies>
21+
<dependency>
22+
<groupId>org.highmed.dsf</groupId>
23+
<artifactId>dsf-bpe-process-base</artifactId>
24+
<scope>provided</scope>
25+
</dependency>
26+
27+
<dependency>
28+
<groupId>com.fasterxml.jackson.core</groupId>
29+
<artifactId>jackson-annotations</artifactId>
30+
<scope>provided</scope>
31+
</dependency>
32+
33+
<dependency>
34+
<groupId>de.hs-heilbronn.mi</groupId>
35+
<artifactId>log4j2-utils</artifactId>
36+
<scope>test</scope>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.highmed.dsf</groupId>
40+
<artifactId>dsf-fhir-validation</artifactId>
41+
<scope>test</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.highmed.dsf</groupId>
45+
<artifactId>dsf-bpe-process-base</artifactId>
46+
<scope>test</scope>
47+
<type>test-jar</type>
48+
</dependency>
49+
</dependencies>
50+
51+
<profiles>
52+
<profile>
53+
<id>copy-to-highmed-dsf-process</id>
54+
<build>
55+
<plugins>
56+
<plugin>
57+
<groupId>org.apache.maven.plugins</groupId>
58+
<artifactId>maven-dependency-plugin</artifactId>
59+
<executions>
60+
<execution>
61+
<id>copy-process-to-docker-test-setup</id>
62+
<phase>package</phase>
63+
<goals>
64+
<goal>copy</goal>
65+
</goals>
66+
<configuration>
67+
<artifactItems>
68+
<artifactItem>
69+
<groupId>${project.groupId}</groupId>
70+
<artifactId>${project.artifactId}</artifactId>
71+
<version>${project.version}</version>
72+
</artifactItem>
73+
</artifactItems>
74+
<outputDirectory>${dsf.location}/dsf-docker-test-setup/bpe/process</outputDirectory>
75+
</configuration>
76+
</execution>
77+
<execution>
78+
<id>copy-process-to-docker-test-setup-3medic-ttp/medic1</id>
79+
<phase>package</phase>
80+
<goals>
81+
<goal>copy</goal>
82+
</goals>
83+
<configuration>
84+
<artifactItems>
85+
<artifactItem>
86+
<groupId>${project.groupId}</groupId>
87+
<artifactId>${project.artifactId}</artifactId>
88+
<version>${project.version}</version>
89+
</artifactItem>
90+
</artifactItems>
91+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/medic1/bpe/process
92+
</outputDirectory>
93+
</configuration>
94+
</execution>
95+
<execution>
96+
<id>copy-process-to-docker-test-setup-3medic-ttp/medic2</id>
97+
<phase>package</phase>
98+
<goals>
99+
<goal>copy</goal>
100+
</goals>
101+
<configuration>
102+
<artifactItems>
103+
<artifactItem>
104+
<groupId>${project.groupId}</groupId>
105+
<artifactId>${project.artifactId}</artifactId>
106+
<version>${project.version}</version>
107+
</artifactItem>
108+
</artifactItems>
109+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/medic2/bpe/process
110+
</outputDirectory>
111+
</configuration>
112+
</execution>
113+
<execution>
114+
<id>copy-process-to-docker-test-setup-3medic-ttp/medic3</id>
115+
<phase>package</phase>
116+
<goals>
117+
<goal>copy</goal>
118+
</goals>
119+
<configuration>
120+
<artifactItems>
121+
<artifactItem>
122+
<groupId>${project.groupId}</groupId>
123+
<artifactId>${project.artifactId}</artifactId>
124+
<version>${project.version}</version>
125+
</artifactItem>
126+
</artifactItems>
127+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/medic3/bpe/process
128+
</outputDirectory>
129+
</configuration>
130+
</execution>
131+
<execution>
132+
<id>copy-process-to-docker-test-setup-3medic-ttp/ttp</id>
133+
<phase>package</phase>
134+
<goals>
135+
<goal>copy</goal>
136+
</goals>
137+
<configuration>
138+
<artifactItems>
139+
<artifactItem>
140+
<groupId>${project.groupId}</groupId>
141+
<artifactId>${project.artifactId}</artifactId>
142+
<version>${project.version}</version>
143+
</artifactItem>
144+
</artifactItems>
145+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/ttp/bpe/process
146+
</outputDirectory>
147+
</configuration>
148+
</execution>
149+
<execution>
150+
<id>copy-process-to-docker-test-setup-3medic-ttp-docker/medic1</id>
151+
<phase>package</phase>
152+
<goals>
153+
<goal>copy</goal>
154+
</goals>
155+
<configuration>
156+
<artifactItems>
157+
<artifactItem>
158+
<groupId>${project.groupId}</groupId>
159+
<artifactId>${project.artifactId}</artifactId>
160+
<version>${project.version}</version>
161+
</artifactItem>
162+
</artifactItems>
163+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/medic1/bpe/process
164+
</outputDirectory>
165+
</configuration>
166+
</execution>
167+
<execution>
168+
<id>copy-process-to-docker-test-setup-3medic-ttp-docker/medic2</id>
169+
<phase>package</phase>
170+
<goals>
171+
<goal>copy</goal>
172+
</goals>
173+
<configuration>
174+
<artifactItems>
175+
<artifactItem>
176+
<groupId>${project.groupId}</groupId>
177+
<artifactId>${project.artifactId}</artifactId>
178+
<version>${project.version}</version>
179+
</artifactItem>
180+
</artifactItems>
181+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/medic2/bpe/process
182+
</outputDirectory>
183+
</configuration>
184+
</execution>
185+
<execution>
186+
<id>copy-process-to-docker-test-setup-3medic-ttp-docker/medic3</id>
187+
<phase>package</phase>
188+
<goals>
189+
<goal>copy</goal>
190+
</goals>
191+
<configuration>
192+
<artifactItems>
193+
<artifactItem>
194+
<groupId>${project.groupId}</groupId>
195+
<artifactId>${project.artifactId}</artifactId>
196+
<version>${project.version}</version>
197+
</artifactItem>
198+
</artifactItems>
199+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/medic3/bpe/process
200+
</outputDirectory>
201+
</configuration>
202+
</execution>
203+
<execution>
204+
<id>copy-process-to-docker-test-setup-3medic-ttp-docker/ttp</id>
205+
<phase>package</phase>
206+
<goals>
207+
<goal>copy</goal>
208+
</goals>
209+
<configuration>
210+
<artifactItems>
211+
<artifactItem>
212+
<groupId>${project.groupId}</groupId>
213+
<artifactId>${project.artifactId}</artifactId>
214+
<version>${project.version}</version>
215+
</artifactItem>
216+
</artifactItems>
217+
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/ttp/bpe/process
218+
</outputDirectory>
219+
</configuration>
220+
</execution>
221+
</executions>
222+
</plugin>
223+
<plugin>
224+
<groupId>org.apache.maven.plugins</groupId>
225+
<artifactId>maven-clean-plugin</artifactId>
226+
<configuration>
227+
<filesets>
228+
<fileset>
229+
<directory>${dsf.location}/dsf-docker-test-setup/bpe/process</directory>
230+
<includes>
231+
<include>${project.artifactId}-${project.version}.jar</include>
232+
</includes>
233+
<followSymlinks>false</followSymlinks>
234+
</fileset>
235+
<fileset>
236+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/medic1/bpe/process</directory>
237+
<includes>
238+
<include>${project.artifactId}-${project.version}.jar</include>
239+
</includes>
240+
<followSymlinks>false</followSymlinks>
241+
</fileset>
242+
<fileset>
243+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/medic2/bpe/process</directory>
244+
<includes>
245+
<include>${project.artifactId}-${project.version}.jar</include>
246+
</includes>
247+
<followSymlinks>false</followSymlinks>
248+
</fileset>
249+
<fileset>
250+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/medic3/bpe/process</directory>
251+
<includes>
252+
<include>${project.artifactId}-${project.version}.jar</include>
253+
</includes>
254+
<followSymlinks>false</followSymlinks>
255+
</fileset>
256+
<fileset>
257+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp/ttp/bpe/process</directory>
258+
<includes>
259+
<include>${project.artifactId}-${project.version}.jar</include>
260+
</includes>
261+
<followSymlinks>false</followSymlinks>
262+
</fileset>
263+
<fileset>
264+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/medic1/bpe/process</directory>
265+
<includes>
266+
<include>${project.artifactId}-${project.version}.jar</include>
267+
</includes>
268+
<followSymlinks>false</followSymlinks>
269+
</fileset>
270+
<fileset>
271+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/medic2/bpe/process</directory>
272+
<includes>
273+
<include>${project.artifactId}-${project.version}.jar</include>
274+
</includes>
275+
<followSymlinks>false</followSymlinks>
276+
</fileset>
277+
<fileset>
278+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/medic3/bpe/process</directory>
279+
<includes>
280+
<include>${project.artifactId}-${project.version}.jar</include>
281+
</includes>
282+
<followSymlinks>false</followSymlinks>
283+
</fileset>
284+
<fileset>
285+
<directory>${dsf.location}/dsf-docker-test-setup-3medic-ttp-docker/ttp/bpe/process</directory>
286+
<includes>
287+
<include>${project.artifactId}-${project.version}.jar</include>
288+
</includes>
289+
<followSymlinks>false</followSymlinks>
290+
</fileset>
291+
</filesets>
292+
</configuration>
293+
</plugin>
294+
</plugins>
295+
</build>
296+
</profile>
297+
</profiles>
298+
</project>

0 commit comments

Comments
 (0)