aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/resources/application.yml
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-29 10:56:22 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-29 10:56:22 +0200
commit7f439188b428a3799a1baba4218e25853b66c882 (patch)
treec95b6a70ba7d09e10b6c65dca1904328a558ffaa /app/src/main/resources/application.yml
parent04102c3c3ea38e489f6d777c31f2f65d38e3d047 (diff)
Consistently use the history name in the history codebase
- remove portal prefix Issue-ID: PORTALNG-51 Change-Id: I2a0b68bdb6e972813a8a8f048c5d05add97754d2 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/main/resources/application.yml')
-rw-r--r--app/src/main/resources/application.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml
index 3bfd624..2b004ce 100644
--- a/app/src/main/resources/application.yml
+++ b/app/src/main/resources/application.yml
@@ -1,8 +1,10 @@
server:
- port: 9002
- address: 0.0.0.0
+ port: 9002
+ address: 0.0.0.0
spring:
+ application:
+ name: history
jackson:
serialization:
# needed for serializing objects of type object
@@ -14,13 +16,13 @@ spring:
jwk-set-uri: ${KEYCLOAK_URL}/auth/realms/${KEYCLOAK_REALM}/protocol/openid-connect/certs #Keycloak Endpoint
data:
mongodb:
- database: ${PORTALHISTORY_DATABASE}
- host: ${PORTALHISTORY_HOST}
- port: ${PORTALHISTORY_PORT}
- username: ${PORTALHISTORY_USERNAME}
- password: ${PORTALHISTORY_PASSWORD}
+ database: ${HISTORY_DATABASE}
+ host: ${HISTORY_HOST}
+ port: ${HISTORY_PORT}
+ username: ${HISTORY_USERNAME}
+ password: ${HISTORY_PASSWORD}
-portal-history:
+history:
save-interval: 72
delete-interval: 0 0 * * * *