Skip to content

Commit

Permalink
Hotfix for 1.1 due to configuration errors with the stand alone insta…
Browse files Browse the repository at this point in the history
…llation

Merge pull request #475 from iris-connect/fix/466-wrong_env_IRIS_BACKEND-SERVICE_ENDPOINT
  • Loading branch information
jekutzsche authored Nov 17, 2021
2 parents 142f660 + 9d598bc commit b10926e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion infrastructure/deployment/docker-compose-ext-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
SECURITY_AUTH_DB_ADMIN_USER_NAME:
SECURITY_AUTH_DB_ADMIN_USER_PASSWORD:
SECURITY_JWT_JWT_SHARED_SECRET:
IRIS_LOCATION_SERVICE_ENDPOINT: ${EPS_LS_NAME}
IRIS_BACKEND_SERVICE_ENDPOINT: ${EPS_LS_NAME}
IRIS_CLIENT_BASEPATH: "https://${IRIS_CLIENT_DOMAIN}"
EXT_APP_DW_BASEURL:
restart: unless-stopped
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ services:
SECURITY_AUTH_DB_ADMIN_USER_NAME:
SECURITY_AUTH_DB_ADMIN_USER_PASSWORD:
SECURITY_JWT_JWT_SHARED_SECRET:
IRIS_BACKEND-SERVICE_ENDPOINT: ${EPS_LS_NAME}
IRIS_BACKEND_SERVICE_ENDPOINT: ${EPS_LS_NAME}
IRIS_CLIENT_BASEPATH: "https://${IRIS_CLIENT_DOMAIN}"
EXT_APP_DW_BASEURL:
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ services:
EPS_CLIENT_PROXY_CLIENT_URL: https://private-proxy-1:7766/jsonrpc
PROXY_SERVICE_TARGET_SUBDOMAIN: proxy.dev.test-gesundheitsamt.de
IRIS_CLIENT_BASEPATH: https://iris-frontend:28080
IRIS_BACKEND-SERVICE_ENDPOINT: ls-1
IRIS_BACKEND_SERVICE_ENDPOINT: ls-1
SPRING_MAIL_PROPERTIES_RECIPIENT_CASE_DATA_RECEIVED_NAME: "Tester"
SPRING_MAIL_PROPERTIES_RECIPIENT_CASE_DATA_RECEIVED_EMAIL: "[email protected]"
SPRING_MAIL_PROPERTIES_RECIPIENT_EVENT_DATA_RECEIVED_NAME: "Tester"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ vars:
source: env
variable: PROXY_TLS_CERT_KEY
type: string
IRIS_CLIENT_BFF_ENDPOINT:
source: env
variable: IRIS_CLIENT_BFF_ENDPOINT
type: string
PRIVATE_PROXY_EPS_ENDPOINT:
source: env
variable: PRIVATE_PROXY_EPS_ENDPOINT
type: string

private:
name: "$PROXY_OP"
Expand All @@ -44,7 +52,7 @@ private:
key_file: "$DIR/../../../certs/$PROXY_TLS_CERT_KEY"

jsonrpc_client:
endpoint: https://private-proxy-eps:7766/jsonrpc
endpoint: "$PRIVATE_PROXY_EPS_ENDPOINT"
tls:
server_name: "$PROXY_OP"
ca_certificate_files:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export SECURITY_AUTH_DB_ADMIN_USER_NAME=$SECURITY_AUTH_DB_ADMIN_USER_NAME
export SECURITY_AUTH_DB_ADMIN_USER_PASSWORD=$SECURITY_AUTH_DB_ADMIN_USER_PASSWORD
export PROXY_SERVICE_TARGET_SUBDOMAIN=$PROXY_SUBDOMAIN
export PROXY_SERVICE_TARGET_PROXY=$EPS_PP_NAME
export IRIS_BACKEND-SERVICE_ENDPOINT=$EPS_LS_NAME
export IRIS_BACKEND_SERVICE_ENDPOINT=$EPS_LS_NAME

## Fixed Variables
export SPRING_PROFILES_ACTIVE=prod
Expand Down
2 changes: 1 addition & 1 deletion iris-client-bff/src/main/resources/messages.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EventDataReceivedEmail.subject=Neue Event Daten sind verfügbar auf dem IRIS Portal
CaseDataReceivedEmail.subject=Neue Indexfall Daten sind verfügbar auf dem IRIS Portal
missing.property.iris.backend-service.endpoint=Über die Umgebungsvariable IRIS_BACKEND-SERVICE_ENDPOINT oder die entsprechende Property muss der Endpunkt des Backend-Service konfiguriert sein!
missing.property.iris.backend-service.endpoint=Über die Umgebungsvariable IRIS_BACKEND_SERVICE_ENDPOINT oder die entsprechende Property muss der Endpunkt des Backend-Service konfiguriert sein!
UserController.username.notunique=Der Nutzername wird bereits verwendet!
2 changes: 1 addition & 1 deletion iris-client-bff/src/main/resources/messages_de.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EventDataReceivedEmail.subject=Neue Event Daten sind verfügbar auf dem IRIS Portal
CaseDataReceivedEmail.subject=Neue Indexfall Daten sind verfügbar auf dem IRIS Portal
missing.property.iris.backend-service.endpoint=Über die Umgebungsvariable IRIS_BACKEND-SERVICE_ENDPOINT oder die entsprechende Property muss der Endpunkt des Backend-Service konfiguriert sein!
missing.property.iris.backend-service.endpoint=Über die Umgebungsvariable IRIS_BACKEND_SERVICE_ENDPOINT oder die entsprechende Property muss der Endpunkt des Backend-Service konfiguriert sein!
UserController.username.notunique=Der Nutzername wird bereits verwendet!
2 changes: 1 addition & 1 deletion iris-client-bff/src/main/resources/messages_en.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EventDataReceivedEmail.subject=New Event data is available in the IRIS portal
CaseDataReceivedEmail.subject=New Index Case data is available in the IRIS portal
missing.property.iris.backend-service.endpoint=Via the environment variable IRIS_BACKEND-SERVICE_ENDPOINT or the corresponding property the endpoint of the backend service must be configured!
missing.property.iris.backend-service.endpoint=Via the environment variable IRIS_BACKEND_SERVICE_ENDPOINT or the corresponding property the endpoint of the backend service must be configured!
UserController.username.notunique=The username is already used!

0 comments on commit b10926e

Please sign in to comment.