diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-23 09:54:43 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-23 10:18:35 +0200 |
commit | 4b7cd5405dea9003f31af1aa9cd584d8ccf2141f (patch) | |
tree | 3ab06f13845946206260ffc3ad783882b99f9791 /app/src/main/resources | |
parent | 7348ffad6bb027b2e815b2081a9d9a827a84836e (diff) |
Consistently use the preferences and history names in the bff code base
- rename openapi clients (client-portal-prefs -> client-preferences, client-portal-history -> client-history, client-portal-keycloak -> client-keycloak)
- rename related spring configurations (portal-prefs -> preferences, portal-history -> history)
- rename related environment variables (PORTAL_PREFS_URL -> PREFERENCES_URL, PORTAL_HISTORY_URL -> HISTORY_URL)
Note that the changes to the configurations and variables affect external services using it and the bff chart
Issue-ID: PORTALNG-49
Change-Id: I434abdf130a5a81534c2387143b296122408d452
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/main/resources')
-rw-r--r-- | app/src/main/resources/application-access-control.yml | 2 | ||||
-rw-r--r-- | app/src/main/resources/application-development.yml | 5 | ||||
-rw-r--r-- | app/src/main/resources/application-local.yml | 5 | ||||
-rw-r--r-- | app/src/main/resources/application.yml | 5 |
4 files changed, 6 insertions, 11 deletions
diff --git a/app/src/main/resources/application-access-control.yml b/app/src/main/resources/application-access-control.yml index 450ab8a..ac83409 100644 --- a/app/src/main/resources/application-access-control.yml +++ b/app/src/main/resources/application-access-control.yml @@ -9,8 +9,6 @@ bff.access-control: PREFERENCES_GET: [onap_admin, onap_designer, onap_operator] PREFERENCES_UPDATE: [onap_admin, onap_designer, onap_operator] ROLE_LIST: ["*"] - TILE_GET: [onap_admin, onap_designer, onap_operator] - TILE_LIST: [onap_admin, onap_designer, onap_operator] USER_CREATE: [onap_admin, onap_designer, onap_operator] USER_DELETE: [onap_admin, onap_designer, onap_operator] USER_GET: [onap_admin, onap_designer, onap_operator] diff --git a/app/src/main/resources/application-development.yml b/app/src/main/resources/application-development.yml index c7e869f..e5de9be 100644 --- a/app/src/main/resources/application-development.yml +++ b/app/src/main/resources/application-development.yml @@ -24,7 +24,6 @@ management: bff: realm: ONAP - portal-prefs-url: ${PORTAL_PREFS_URL} - portal-history-url: ${PORTAL_HISTORY_URL} + preferences-url: ${PREFERENCES_URL} + history-url: ${PORTAL_HISTORY_URL} keycloak-url: ${KEYCLOAK_URL} - instance-id: PORTAL diff --git a/app/src/main/resources/application-local.yml b/app/src/main/resources/application-local.yml index 0cb6e6b..2eb3278 100644 --- a/app/src/main/resources/application-local.yml +++ b/app/src/main/resources/application-local.yml @@ -24,10 +24,9 @@ management: bff: realm: ONAP - portal-prefs-url: http://localhost:9001 - portal-history-url: http://localhost:9002 + preferences-url: http://localhost:9001 + history-url: http://localhost:9002 keycloak-url: http://localhost:8080/ - instance-id: PORTAL logging: level: diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml index 6e74453..2d09bbb 100644 --- a/app/src/main/resources/application.yml +++ b/app/src/main/resources/application.yml @@ -42,8 +42,7 @@ spring: bff: realm: ${KEYCLOAK_REALM} - portal-prefs-url: ${PORTAL_PREFS_URL} - portal-history-url: ${PORTAL_HISTORY_URL} + preferences-url: ${PREFERENCES_URL} + history-url: ${PORTAL_HISTORY_URL} keycloak-url: ${KEYCLOAK_URL} - instance-id: PORTAL |