diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-04-11 13:57:10 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-04-11 13:57:10 +0200 |
commit | dd5bbdc4704b91be74cc57be584efd9db99ee5c0 (patch) | |
tree | 8685d75472620769ddd43c3d066477287960b47b /app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java | |
parent | 0bf11185dcf93394c600972a83dbe69f9014e521 (diff) |
Remove hardcoded /auth from the keycloak urls in bff
- it should be possible not to configure /auth in the Keycloak url
since newer versions do not use it
Issue-ID: PORTALNG-85
Change-Id: I288c8b954db185ed22793db0107d14e314d17c26
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java')
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java index d90034c..1311ac7 100644 --- a/app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java @@ -87,7 +87,7 @@ public abstract class BaseIntegrationTest { WireMock.stubFor( WireMock.get( WireMock.urlMatching( - String.format("/auth/realms/%s/protocol/openid-connect/certs", realm))) + String.format("/realms/%s/protocol/openid-connect/certs", realm))) .willReturn( WireMock.aResponse() .withHeader("Content-Type", JWKSet.MIME_TYPE) @@ -99,7 +99,7 @@ public abstract class BaseIntegrationTest { WireMock.stubFor( WireMock.post( WireMock.urlMatching( - String.format("/auth/realms/%s/protocol/openid-connect/token", realm))) + String.format("/realms/%s/protocol/openid-connect/token", realm))) .withBasicAuth("test", "test") .withRequestBody(WireMock.containing("grant_type=client_credentials")) .willReturn( |