-
Notifications
You must be signed in to change notification settings - Fork 5
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
9e4748e
commit 1d2aa38
Showing
109 changed files
with
3,473 additions
and
1,657 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
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
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.1 https://maven.apache.org/xsd/assembly-2.1.1.xsd"> | ||
<id>jar-with-dependencies</id> | ||
<formats> | ||
<format>jar</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<dependencySets> | ||
<dependencySet> | ||
<outputDirectory>/</outputDirectory> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<scope>runtime</scope> | ||
<unpack>true</unpack> | ||
<unpackOptions> | ||
<excludes> | ||
<exclude>**/log4j2.xml</exclude> | ||
</excludes> | ||
</unpackOptions> | ||
</dependencySet> | ||
</dependencySets> | ||
<!-- to fix problem with log4j2.xml taken from pkits-common, see PKITS-236 --> | ||
<fileSets> | ||
<fileSet> | ||
<directory>${project.build.outputDirectory}</directory> | ||
<outputDirectory>/</outputDirectory> | ||
</fileSet> | ||
</fileSets> | ||
<id>jar-with-dependencies</id> | ||
<formats> | ||
<format>jar</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<dependencySets> | ||
<dependencySet> | ||
<outputDirectory>/</outputDirectory> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<scope>runtime</scope> | ||
<unpack>true</unpack> | ||
<unpackOptions> | ||
<excludes> | ||
<exclude>**/log4j2.xml</exclude> | ||
</excludes> | ||
</unpackOptions> | ||
</dependencySet> | ||
</dependencySets> | ||
<!-- to fix problem with log4j2.xml taken from pkits-common, see PKITS-236 --> | ||
<fileSets> | ||
<fileSet> | ||
<directory>${project.build.outputDirectory}</directory> | ||
<outputDirectory>/</outputDirectory> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
mvn verify -Dit.test=de.gematik.pki.pkits.testsuite.approval.ApprovalTestsBaseIT#checkInitialState -DfailIfNoTests=false -Dl4j.level=info | ||
java -jar ./bin/pkits-testsuite.jar --tests-names "ApprovalTestsBaseIT#checkInitialState" | ||
|
||
printf "...done!" |
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,60 @@ | ||
version: '3.7' | ||
|
||
# Common Health Check Properties | ||
x-healthcheck-config: &healthcheck-ref | ||
# Expects that the Spring Actuator port is 8180 | ||
#test: "curl --fail --silent http://localhost:8180/actuator/health | grep UP" | ||
interval: 15s | ||
timeout: 10s | ||
retries: 40 | ||
start_period: 30s | ||
|
||
# Common Environment Timezone Entry | ||
x-environment-timezone: &environment-timezone-ref | ||
TZ: Europe/Berlin | ||
|
||
# Common Environment Server ports | ||
x-environment-server-ports: &environment-server-ports-ref | ||
MANAGEMENT_PORT: 8180 # Spring Actuator Port | ||
|
||
# Common Service Properties | ||
x-service-setup: &service-setup-ref | ||
restart: always | ||
|
||
# Common Network | ||
x-service-network: &service-network-ref | ||
networks: | ||
pkits-federation: | ||
|
||
services: | ||
# OCSP responder | ||
pkitsocspresponder: | ||
image: eu.gcr.io/gematik-all-infra-prod/pkits/pkits-ocsp-responder:${appVersion} | ||
user: 10000:10000 | ||
container_name: pkits-ocsp-responder | ||
<<: *service-network-ref | ||
<<: *service-setup-ref | ||
environment: | ||
<<: *environment-timezone-ref | ||
<<: *environment-server-ports-ref | ||
healthcheck: | ||
<<: *healthcheck-ref | ||
test: "curl --fail --silent http://localhost:8083/actuator/health | grep UP" | ||
|
||
# TSL provider | ||
pkitstslprovider: | ||
image: eu.gcr.io/gematik-all-infra-prod/pkits/pkits-tsl-provider:${appVersion} | ||
user: 10000:10000 | ||
container_name: pkits-tsl-provider | ||
<<: *service-network-ref | ||
<<: *service-setup-ref | ||
environment: | ||
<<: *environment-timezone-ref | ||
<<: *environment-server-ports-ref | ||
healthcheck: | ||
<<: *healthcheck-ref | ||
test: "curl --fail --silent http://localhost:8084/actuator/health | grep UP" | ||
|
||
networks: | ||
pkits-federation: | ||
name: pkits-federation |
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,10 @@ | ||
version: '3.7' | ||
|
||
services: | ||
pkitsocspresponder: | ||
ports: | ||
- "8083:8083" | ||
|
||
pkitstslprovider: | ||
ports: | ||
- "8084:8084" |
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
Oops, something went wrong.