forked from i4mi/MobileAccessGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
external configuration initial commit
- Loading branch information
1 parent
59676d8
commit b5239e5
Showing
11 changed files
with
205 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
mag: | ||
baseurl: http://localhost | ||
client-ssl: | ||
enabled: true | ||
key-store: /secret/client.jks | ||
key-store-password: a1b2c3 | ||
cert-alias: gateway | ||
xds: | ||
https: true | ||
iti-18: | ||
url: ehealthsuisse.ihe-europe.net:10443/xdstools7/sim/default__ahdis/reg/sq | ||
iti-43: | ||
url: ehealthsuisse.ihe-europe.net:10443/xdstools7/sim/default__ahdis/rep/ret | ||
iti-41: | ||
url: ehealthsuisse.ihe-europe.net:10443/xdstools7/sim/default__ahdis/rep/prb | ||
retrieve: | ||
url: http://localhost:9090/camel/xdsretrieve | ||
repositoryUniqueId: 1.1.4567332.1.2 | ||
pix: | ||
https: true | ||
iti-45: | ||
url: ehealthsuisse.ihe-europe.net:10443/PAMSimulator-ejb/PIXManager_Service/PIXManager_PortType | ||
iti-44: | ||
url: ehealthsuisse.ihe-europe.net:10443/PAMSimulator-ejb/PIXManager_Service/PIXManager_PortType | ||
iti-47: | ||
url: ehealthsuisse.ihe-europe.net:10443/PAMSimulator-ejb/PDQSupplier_Service/PDQSupplier_PortType | ||
oids: | ||
sender: 1.3.6.1.4.1.21367.2017.2.2.108 | ||
receiver: 1.3.6.1.4.1.12559.11.25.1.10 | ||
query: 1.3.6.1.4.1.21367.2017.2.1.104 | ||
iua: | ||
idp: | ||
name: idp-ehealthsuisse | ||
metadata-url: https://ehealthsuisse.ihe-europe.net/metadata/idp-metadata.xml | ||
key-store: /secret/client.jks | ||
key-store-password: a1b2c3 | ||
key-alias: gateway | ||
key-password: a1b2c3 | ||
sp: | ||
entity-id: mobileaccessgateway.pagekite.me | ||
ap: | ||
url: https://ehealthsuisse.ihe-europe.net/STS | ||
wsdl: https://ehealthsuisse.ihe-europe.net/STS?wsdl | ||
clients: | ||
oauthdebugger: | ||
secret: demosecret | ||
redirect: https://oauthdebugger.com/debug | ||
|
||
audit: | ||
audit-enabled: true | ||
audit-tls-enabled: false | ||
# in productive system audit-source-id must be same as audit-enterprise-site-id | ||
audit-enterprise-site-id: 1.3.6.1.4.1.21367.2017.2.7.109 | ||
audit-repository-host: 147.135.232.177 | ||
audit-repository-port: 3001 | ||
audit-repostiory-transport: UDP | ||
|
||
# https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html#server-properties | ||
|
||
server: | ||
max-http-header-size: 10000 | ||
ssl: | ||
key-store: /secret/server.p12 | ||
key-store-password: a1b2c3 | ||
key-store-type: pkcs12 | ||
key-alias: bfh1 | ||
|
File renamed without changes.
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,65 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: mobile-access-gateway | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: mobile-access-gateway | ||
template: | ||
metadata: | ||
labels: | ||
app: mobile-access-gateway | ||
spec: | ||
volumes: | ||
- name: mobile-access-gateway-config-volume | ||
configMap: | ||
name: mobile-access-gateway-configmap | ||
- name: mobile-access-gateway-secret-volume | ||
secret: | ||
secretName: mobile-access-gateway-secret | ||
containers: | ||
- name: mobile-access-gateway | ||
image: gateway:latest | ||
imagePullPolicy: Never | ||
resources: | ||
requests: | ||
memory: "0.6Gi" | ||
ports: | ||
- containerPort: 9090 | ||
- containerPort: 9091 | ||
volumeMounts: | ||
- name: mobile-access-gateway-config-volume | ||
mountPath: /config | ||
- name: mobile-access-gateway-secret-volume | ||
mountPath: /secret | ||
livenessProbe: | ||
httpGet: | ||
path: /fhir/metadata | ||
port: 9090 | ||
initialDelaySeconds: 60 | ||
periodSeconds: 10 | ||
readinessProbe: | ||
httpGet: | ||
path: /fhir/metadata | ||
port: 9090 | ||
initialDelaySeconds: 90 | ||
periodSeconds: 10 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: mobile-access-gateway-service | ||
spec: | ||
type: NodePort | ||
ports: | ||
- port: 8080 | ||
name: http | ||
targetPort: 9090 | ||
- port: 8081 | ||
name: https | ||
targetPort: 9091 | ||
selector: | ||
app: mobile-access-gateway | ||
--- |
File renamed without changes.
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
Binary file not shown.
Binary file not shown.