diff options
author | 2023-08-29 10:56:22 +0200 | |
---|---|---|
committer | 2023-08-29 10:56:22 +0200 | |
commit | 7f439188b428a3799a1baba4218e25853b66c882 (patch) | |
tree | c95b6a70ba7d09e10b6c65dca1904328a558ffaa /app/src/main/resources | |
parent | 04102c3c3ea38e489f6d777c31f2f65d38e3d047 (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')
-rw-r--r-- | app/src/main/resources/application-local.yml | 8 | ||||
-rw-r--r-- | app/src/main/resources/application.yml | 18 |
2 files changed, 14 insertions, 12 deletions
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 * * * * |