From 7f439188b428a3799a1baba4218e25853b66c882 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Tue, 29 Aug 2023 10:56:22 +0200 Subject: Consistently use the history name in the history codebase - remove portal prefix Issue-ID: PORTALNG-51 Change-Id: I2a0b68bdb6e972813a8a8f048c5d05add97754d2 Signed-off-by: Fiete Ostkamp --- app/src/main/resources/application-local.yml | 8 ++++---- app/src/main/resources/application.yml | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'app/src/main/resources') diff --git a/app/src/main/resources/application-local.yml b/app/src/main/resources/application-local.yml index a908c1b..fcb5c19 100644 --- a/app/src/main/resources/application-local.yml +++ b/app/src/main/resources/application-local.yml @@ -1,6 +1,6 @@ server: - port: 9002 - address: 0.0.0.0 + port: 9002 + address: 0.0.0.0 spring: jackson: @@ -14,13 +14,13 @@ spring: jwk-set-uri: http://localhost:8080/auth/realms/ONAP/protocol/openid-connect/certs #Keycloak Endpoint data: mongodb: - database: portal_history + database: history host: localhost port: 27017 username: root password: password -portal-history: +history: save-interval: 72 delete-interval: 0 * * * * * 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 * * * * -- cgit 1.2.3-korg