summaryrefslogtreecommitdiffstats
path: root/app/src/test/resources
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-23 09:54:43 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-23 10:18:35 +0200
commit4b7cd5405dea9003f31af1aa9cd584d8ccf2141f (patch)
tree3ab06f13845946206260ffc3ad783882b99f9791 /app/src/test/resources
parent7348ffad6bb027b2e815b2081a9d9a827a84836e (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/test/resources')
-rw-r--r--app/src/test/resources/application-access-control.yml2
-rw-r--r--app/src/test/resources/application-development.yml5
-rw-r--r--app/src/test/resources/application.yml5
3 files changed, 4 insertions, 8 deletions
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