From 4b7cd5405dea9003f31af1aa9cd584d8ccf2141f Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 23 Aug 2023 09:54:43 +0200 Subject: 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 --- app/src/test/resources/application-access-control.yml | 2 -- app/src/test/resources/application-development.yml | 5 ++--- app/src/test/resources/application.yml | 5 ++--- 3 files changed, 4 insertions(+), 8 deletions(-) (limited to 'app/src/test/resources') diff --git a/app/src/test/resources/application-access-control.yml b/app/src/test/resources/application-access-control.yml index 1eb37b8..0506066 100644 --- a/app/src/test/resources/application-access-control.yml +++ b/app/src/test/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/test/resources/application-development.yml b/app/src/test/resources/application-development.yml index 2f408fe..2d53583 100644 --- a/app/src/test/resources/application-development.yml +++ b/app/src/test/resources/application-development.yml @@ -27,7 +27,6 @@ spring: bff: realm: ONAP - portal-prefs-url: http://localhost:${wiremock.server.port} - portal-history-url: http://localhost:${wiremock.server.port} + preferences-url: http://localhost:${wiremock.server.port} + history-url: http://localhost:${wiremock.server.port} keycloak-url: http://localhost:${wiremock.server.port} - instance-id: PORTAL diff --git a/app/src/test/resources/application.yml b/app/src/test/resources/application.yml index b26e5d4..789e870 100644 --- a/app/src/test/resources/application.yml +++ b/app/src/test/resources/application.yml @@ -28,7 +28,6 @@ spring: bff: realm: ONAP - portal-prefs-url: http://localhost:${wiremock.server.port} - portal-history-url: http://localhost:${wiremock.server.port} + preferences-url: http://localhost:${wiremock.server.port} + history-url: http://localhost:${wiremock.server.port} keycloak-url: http://localhost:${wiremock.server.port} - instance-id: PORTAL -- cgit 1.2.3-korg