diff options
author | 2023-08-16 07:15:07 +0000 | |
---|---|---|
committer | 2023-08-16 08:19:43 +0000 | |
commit | 7c0e2f563a18dfe7c8f6c2ad66d01775c9468f37 (patch) | |
tree | 93ec77e83d0eb035c26a7f4e3017a7ee9f2e4f91 /app/src/main/resources | |
parent | 6ae8df1305d1374af3b5ffe8ecb4c5ce3e17260d (diff) |
Consistently use the preferences name in the preferences code base
- rename package name from org.onap.portal.prefs to org.onap.portalng.preferences
- replace all other occurences of portal-prefs with preferences
Other:
- remove Sonarqube plugin
Issue-ID: PORTALNG-39
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Iced79a26460d988c5b22eb5fcac86d350528a1a2
Diffstat (limited to 'app/src/main/resources')
-rw-r--r-- | app/src/main/resources/application-local.yml | 4 | ||||
-rw-r--r-- | app/src/main/resources/application.yml | 13 |
2 files changed, 8 insertions, 9 deletions
diff --git a/app/src/main/resources/application-local.yml b/app/src/main/resources/application-local.yml index 71fe8db..1ca695e 100644 --- a/app/src/main/resources/application-local.yml +++ b/app/src/main/resources/application-local.yml @@ -14,13 +14,13 @@ spring: jwk-set-uri: http://localhost:8080/auth/realms/ONAP/protocol/openid-connect/certs #Keycloak Endpoint data: mongodb: - database: portal_prefs + database: portal_preferences host: localhost port: 27017 username: root password: password -portal-prefs: +preferences: realm: ONAP management: diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml index eb5b313..c7afccb 100644 --- a/app/src/main/resources/application.yml +++ b/app/src/main/resources/application.yml @@ -14,15 +14,14 @@ spring: jwk-set-uri: ${KEYCLOAK_URL}/auth/realms/${KEYCLOAK_REALM}/protocol/openid-connect/certs #Keycloak Endpoint data: mongodb: - database: ${PORTALPREFS_DATABASE} - host: ${PORTALPREFS_HOST} - port: ${PORTALPREFS_PORT} - username: ${PORTALPREFS_USERNAME} - password: ${PORTALPREFS_PASSWORD} + database: ${PREFERENCES_DATABASE} + host: ${PREFERENCES_HOST} + port: ${PREFERENCES_PORT} + username: ${PREFERENCES_USERNAME} + password: ${PREFERENCES_PASSWORD} -portal-prefs: +preferences: realm: ${KEYCLOAK_REALM} - management: endpoints: web: |