diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-16 08:01:39 +0000 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-16 08:20:05 +0000 |
commit | 473792061d40a0027b57d65a97f3da06e4b8c7bd (patch) | |
tree | 0a22c16eb86f080e0ad7d19f6d8c2b045f37f54f /app/src/test | |
parent | f4b789cd3d86eb96a1e012910a3e7111fd4fdfed (diff) |
Consistently use the bff name in the bff code base
- rename package name from org.onap.portal.bff to org.onap.portalng.bff
- replace all other occurences of portal-bff with bff
Other:
- remove Sonarqube plugin
Issue-ID: PORTALNG-40
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I50548630212e46a0ab84c88ff5fef743dafe9d38
Diffstat (limited to 'app/src/test')
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/ApiDocsIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/ApiDocsIntegrationTest.java) | 2 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/BaseIntegrationTest.java) | 10 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/HealthCheckIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/HealthCheckIntegrationTest.java) | 2 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/TokenGenerator.java (renamed from app/src/test/java/org/onap/portal/bff/TokenGenerator.java) | 2 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/actions/ActionDto.java (renamed from app/src/test/java/org/onap/portal/bff/actions/ActionDto.java) | 2 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/actions/ActionFixtures.java (renamed from app/src/test/java/org/onap/portal/bff/actions/ActionFixtures.java) | 10 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/actions/ActionsMocks.java (renamed from app/src/test/java/org/onap/portal/bff/actions/ActionsMocks.java) | 18 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/actions/CreateActionsIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/actions/CreateActionsIntegrationTest.java) | 12 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/actions/GetActionsIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/actions/GetActionsIntegrationTest.java) | 6 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/actions/ListActionsIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/actions/ListActionsIntegrationTest.java) | 10 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/headers/XRequestIdHeaderTest.java (renamed from app/src/test/java/org/onap/portal/bff/headers/XRequestIdHeaderTest.java) | 6 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/idtoken/IdTokenExchangeFilterFunctionTest.java (renamed from app/src/test/java/org/onap/portal/bff/idtoken/IdTokenExchangeFilterFunctionTest.java) | 6 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/preferences/CreatePreferencesIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/preferences/CreatePreferencesIntegrationTest.java) | 12 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/preferences/GetPreferencesIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/preferences/GetPreferencesIntegrationTest.java) | 10 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/preferences/PreferencesMocks.java (renamed from app/src/test/java/org/onap/portal/bff/preferences/PreferencesMocks.java) | 12 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/preferences/UpdatePreferencesIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/preferences/UpdatePreferencesIntegrationTest.java) | 12 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/roles/ListRealmRolesIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/roles/ListRealmRolesIntegrationTest.java) | 12 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/roles/RolesMocks.java (renamed from app/src/test/java/org/onap/portal/bff/roles/RolesMocks.java) | 8 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/CreateUserIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/CreateUserIntegrationTest.java) | 22 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/DeleteUserIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/DeleteUserIntegrationTest.java) | 8 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/GetUserDetailIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/GetUserDetailIntegrationTest.java) | 14 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/ListAssignedRolesIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/ListAssignedRolesIntegrationTest.java) | 14 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/ListAvailableRolesIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/ListAvailableRolesIntegrationTest.java) | 14 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/ListUsersIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/ListUsersIntegrationTest.java) | 16 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/UpdateAssignedRolesIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/UpdateAssignedRolesIntegrationTest.java) | 14 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/UpdateUserIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/UpdateUserIntegrationTest.java) | 14 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/bff/users/UpdateUserPasswordIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/bff/users/UpdateUserPasswordIntegrationTest.java) | 12 | ||||
-rw-r--r-- | app/src/test/resources/application-access-control.yml | 2 | ||||
-rw-r--r-- | app/src/test/resources/application-development.yml | 2 | ||||
-rw-r--r-- | app/src/test/resources/application.yml | 2 |
30 files changed, 143 insertions, 143 deletions
diff --git a/app/src/test/java/org/onap/portal/bff/ApiDocsIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/ApiDocsIntegrationTest.java index 66edfee..98a5360 100644 --- a/app/src/test/java/org/onap/portal/bff/ApiDocsIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/ApiDocsIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff; +package org.onap.portalng.bff; import org.junit.jupiter.api.Test; import org.springframework.http.HttpStatus; diff --git a/app/src/test/java/org/onap/portal/bff/BaseIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java index c02082c..8821b76 100644 --- a/app/src/test/java/org/onap/portal/bff/BaseIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/BaseIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff; +package org.onap.portalng.bff; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.tomakehurst.wiremock.client.WireMock; @@ -39,8 +39,8 @@ import java.util.UUID; import org.apache.http.client.utils.URIBuilder; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; -import org.onap.portal.bff.config.IdTokenExchangeFilterFunction; -import org.onap.portal.bff.config.PortalBffConfig; +import org.onap.portalng.bff.config.BffConfig; +import org.onap.portalng.bff.config.IdTokenExchangeFilterFunction; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.context.SpringBootTest; @@ -66,13 +66,13 @@ public abstract class BaseIntegrationTest { @LocalServerPort protected int port; - @Value("${portal-bff.realm}") + @Value("${bff.realm}") protected String realm; @Autowired protected ObjectMapper objectMapper; @Autowired private TokenGenerator tokenGenerator; - @Autowired protected PortalBffConfig portalBffConfig; + @Autowired protected BffConfig bffConfig; @BeforeAll public static void setup() { diff --git a/app/src/test/java/org/onap/portal/bff/HealthCheckIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/HealthCheckIntegrationTest.java index cef85e1..3d3a1cd 100644 --- a/app/src/test/java/org/onap/portal/bff/HealthCheckIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/HealthCheckIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff; +package org.onap.portalng.bff; import static org.assertj.core.api.Assertions.assertThat; diff --git a/app/src/test/java/org/onap/portal/bff/TokenGenerator.java b/app/src/test/java/org/onap/portalng/bff/TokenGenerator.java index 33b9207..051129f 100644 --- a/app/src/test/java/org/onap/portal/bff/TokenGenerator.java +++ b/app/src/test/java/org/onap/portalng/bff/TokenGenerator.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff; +package org.onap.portalng.bff; import com.nimbusds.jose.JOSEObjectType; import com.nimbusds.jose.JWSAlgorithm; diff --git a/app/src/test/java/org/onap/portal/bff/actions/ActionDto.java b/app/src/test/java/org/onap/portalng/bff/actions/ActionDto.java index c88a0db..a80f7a1 100644 --- a/app/src/test/java/org/onap/portal/bff/actions/ActionDto.java +++ b/app/src/test/java/org/onap/portalng/bff/actions/ActionDto.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.actions; +package org.onap.portalng.bff.actions; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/app/src/test/java/org/onap/portal/bff/actions/ActionFixtures.java b/app/src/test/java/org/onap/portalng/bff/actions/ActionFixtures.java index 3e7c917..0acd0eb 100644 --- a/app/src/test/java/org/onap/portal/bff/actions/ActionFixtures.java +++ b/app/src/test/java/org/onap/portalng/bff/actions/ActionFixtures.java @@ -19,14 +19,14 @@ * */ -package org.onap.portal.bff.actions; +package org.onap.portalng.bff.actions; import java.time.OffsetDateTime; import java.time.temporal.ChronoUnit; -import org.onap.portal.bff.openapi.client_portal_history.model.ActionResponsePortalHistoryDto; -import org.onap.portal.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; -import org.onap.portal.bff.openapi.client_portal_history.model.CreateActionRequestPortalHistoryDto; -import org.onap.portal.bff.openapi.server.model.CreateActionRequestApiDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ActionResponsePortalHistoryDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.CreateActionRequestPortalHistoryDto; +import org.onap.portalng.bff.openapi.server.model.CreateActionRequestApiDto; public class ActionFixtures { diff --git a/app/src/test/java/org/onap/portal/bff/actions/ActionsMocks.java b/app/src/test/java/org/onap/portalng/bff/actions/ActionsMocks.java index 0bb27d7..aa9e2f3 100644 --- a/app/src/test/java/org/onap/portal/bff/actions/ActionsMocks.java +++ b/app/src/test/java/org/onap/portalng/bff/actions/ActionsMocks.java @@ -19,21 +19,21 @@ * */ -package org.onap.portal.bff.actions; +package org.onap.portalng.bff.actions; import com.fasterxml.jackson.core.JsonProcessingException; import com.github.tomakehurst.wiremock.client.WireMock; import com.github.tomakehurst.wiremock.matching.EqualToPattern; import io.restassured.http.Header; import org.apache.http.HttpHeaders; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_history.model.ActionResponsePortalHistoryDto; -import org.onap.portal.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; -import org.onap.portal.bff.openapi.client_portal_history.model.ProblemPortalHistoryDto; -import org.onap.portal.bff.openapi.server.model.ActionsListResponseApiDto; -import org.onap.portal.bff.openapi.server.model.ActionsResponseApiDto; -import org.onap.portal.bff.openapi.server.model.CreateActionRequestApiDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_history.model.ActionResponsePortalHistoryDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ProblemPortalHistoryDto; +import org.onap.portalng.bff.openapi.server.model.ActionsListResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.ActionsResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.CreateActionRequestApiDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/actions/CreateActionsIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/actions/CreateActionsIntegrationTest.java index 0b6ec57..3508f19 100644 --- a/app/src/test/java/org/onap/portal/bff/actions/CreateActionsIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/actions/CreateActionsIntegrationTest.java @@ -19,18 +19,18 @@ * */ -package org.onap.portal.bff.actions; +package org.onap.portalng.bff.actions; import static org.assertj.core.api.Assertions.assertThat; import java.time.OffsetDateTime; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.openapi.client_portal_history.model.ActionResponsePortalHistoryDto; -import org.onap.portal.bff.openapi.client_portal_history.model.ProblemPortalHistoryDto; -import org.onap.portal.bff.openapi.server.model.ActionsResponseApiDto; -import org.onap.portal.bff.openapi.server.model.CreateActionRequestApiDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ActionResponsePortalHistoryDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ProblemPortalHistoryDto; +import org.onap.portalng.bff.openapi.server.model.ActionsResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.CreateActionRequestApiDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; import org.springframework.http.HttpStatus; class CreateActionsIntegrationTest extends ActionsMocks { diff --git a/app/src/test/java/org/onap/portal/bff/actions/GetActionsIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/actions/GetActionsIntegrationTest.java index 1f77036..489a8d3 100644 --- a/app/src/test/java/org/onap/portal/bff/actions/GetActionsIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/actions/GetActionsIntegrationTest.java @@ -19,14 +19,14 @@ * */ -package org.onap.portal.bff.actions; +package org.onap.portalng.bff.actions; import static org.assertj.core.api.Assertions.assertThat; import java.time.OffsetDateTime; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; -import org.onap.portal.bff.openapi.server.model.ActionsListResponseApiDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; +import org.onap.portalng.bff.openapi.server.model.ActionsListResponseApiDto; class GetActionsIntegrationTest extends ActionsMocks { diff --git a/app/src/test/java/org/onap/portal/bff/actions/ListActionsIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/actions/ListActionsIntegrationTest.java index 7eb7078..8451641 100644 --- a/app/src/test/java/org/onap/portal/bff/actions/ListActionsIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/actions/ListActionsIntegrationTest.java @@ -19,17 +19,17 @@ * */ -package org.onap.portal.bff.actions; +package org.onap.portalng.bff.actions; import static org.assertj.core.api.Assertions.assertThat; import java.time.OffsetDateTime; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; -import org.onap.portal.bff.openapi.client_portal_history.model.ProblemPortalHistoryDto; -import org.onap.portal.bff.openapi.server.model.ActionsListResponseApiDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ActionsListResponsePortalHistoryDto; +import org.onap.portalng.bff.openapi.client_portal_history.model.ProblemPortalHistoryDto; +import org.onap.portalng.bff.openapi.server.model.ActionsListResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; import org.springframework.http.HttpStatus; class ListActionsIntegrationTest extends ActionsMocks { diff --git a/app/src/test/java/org/onap/portal/bff/headers/XRequestIdHeaderTest.java b/app/src/test/java/org/onap/portalng/bff/headers/XRequestIdHeaderTest.java index 50f75c7..6f82308 100644 --- a/app/src/test/java/org/onap/portal/bff/headers/XRequestIdHeaderTest.java +++ b/app/src/test/java/org/onap/portalng/bff/headers/XRequestIdHeaderTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.headers; +package org.onap.portalng.bff.headers; import static org.assertj.core.api.Assertions.assertThat; @@ -27,8 +27,8 @@ import com.github.tomakehurst.wiremock.client.WireMock; import com.github.tomakehurst.wiremock.matching.EqualToPattern; import io.restassured.http.Header; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/idtoken/IdTokenExchangeFilterFunctionTest.java b/app/src/test/java/org/onap/portalng/bff/idtoken/IdTokenExchangeFilterFunctionTest.java index 7d65849..cb6694a 100644 --- a/app/src/test/java/org/onap/portal/bff/idtoken/IdTokenExchangeFilterFunctionTest.java +++ b/app/src/test/java/org/onap/portalng/bff/idtoken/IdTokenExchangeFilterFunctionTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.idtoken; +package org.onap.portalng.bff.idtoken; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; @@ -28,8 +28,8 @@ import static org.mockito.Mockito.mock; import java.net.URI; import java.util.UUID; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.config.IdTokenExchangeFilterFunction; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.config.IdTokenExchangeFilterFunction; import org.springframework.http.HttpMethod; import org.springframework.mock.http.server.reactive.MockServerHttpRequest; import org.springframework.mock.web.server.MockServerWebExchange; diff --git a/app/src/test/java/org/onap/portal/bff/preferences/CreatePreferencesIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/preferences/CreatePreferencesIntegrationTest.java index 5259de8..65a6f19 100644 --- a/app/src/test/java/org/onap/portal/bff/preferences/CreatePreferencesIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/preferences/CreatePreferencesIntegrationTest.java @@ -19,17 +19,17 @@ * */ -package org.onap.portal.bff.preferences; +package org.onap.portalng.bff.preferences; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; import io.restassured.http.Header; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; -import org.onap.portal.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; -import org.onap.portal.bff.openapi.server.model.CreatePreferencesRequestApiDto; -import org.onap.portal.bff.openapi.server.model.PreferencesResponseApiDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; +import org.onap.portalng.bff.openapi.server.model.CreatePreferencesRequestApiDto; +import org.onap.portalng.bff.openapi.server.model.PreferencesResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/preferences/GetPreferencesIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/preferences/GetPreferencesIntegrationTest.java index 1e1317b..06329d4 100644 --- a/app/src/test/java/org/onap/portal/bff/preferences/GetPreferencesIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/preferences/GetPreferencesIntegrationTest.java @@ -19,16 +19,16 @@ * */ -package org.onap.portal.bff.preferences; +package org.onap.portalng.bff.preferences; import static org.assertj.core.api.Assertions.assertThat; import io.restassured.http.Header; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; -import org.onap.portal.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; -import org.onap.portal.bff.openapi.server.model.PreferencesResponseApiDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; +import org.onap.portalng.bff.openapi.server.model.PreferencesResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/preferences/PreferencesMocks.java b/app/src/test/java/org/onap/portalng/bff/preferences/PreferencesMocks.java index e08c690..0d5b69a 100644 --- a/app/src/test/java/org/onap/portal/bff/preferences/PreferencesMocks.java +++ b/app/src/test/java/org/onap/portalng/bff/preferences/PreferencesMocks.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.preferences; +package org.onap.portalng.bff.preferences; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; @@ -29,11 +29,11 @@ import io.restassured.http.Header; import java.io.File; import java.io.IOException; import org.apache.http.HttpHeaders; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; -import org.onap.portal.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; -import org.onap.portal.bff.openapi.server.model.CreatePreferencesRequestApiDto; -import org.onap.portal.bff.openapi.server.model.PreferencesResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; +import org.onap.portalng.bff.openapi.server.model.CreatePreferencesRequestApiDto; +import org.onap.portalng.bff.openapi.server.model.PreferencesResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/preferences/UpdatePreferencesIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/preferences/UpdatePreferencesIntegrationTest.java index 74d902c..031726e 100644 --- a/app/src/test/java/org/onap/portal/bff/preferences/UpdatePreferencesIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/preferences/UpdatePreferencesIntegrationTest.java @@ -19,17 +19,17 @@ * */ -package org.onap.portal.bff.preferences; +package org.onap.portalng.bff.preferences; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; import io.restassured.http.Header; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; -import org.onap.portal.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; -import org.onap.portal.bff.openapi.server.model.CreatePreferencesRequestApiDto; -import org.onap.portal.bff.openapi.server.model.PreferencesResponseApiDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.PreferencesPortalPrefsDto; +import org.onap.portalng.bff.openapi.client_portal_prefs.model.ProblemPortalPrefsDto; +import org.onap.portalng.bff.openapi.server.model.CreatePreferencesRequestApiDto; +import org.onap.portalng.bff.openapi.server.model.PreferencesResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/roles/ListRealmRolesIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/roles/ListRealmRolesIntegrationTest.java index 8228ac9..df95e2c 100644 --- a/app/src/test/java/org/onap/portal/bff/roles/ListRealmRolesIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/roles/ListRealmRolesIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.roles; +package org.onap.portalng.bff.roles; import static org.assertj.core.api.Assertions.assertThat; @@ -27,11 +27,11 @@ import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import java.util.List; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.RoleApiDto; -import org.onap.portal.bff.openapi.server.model.RoleListResponseApiDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleListResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/roles/RolesMocks.java b/app/src/test/java/org/onap/portalng/bff/roles/RolesMocks.java index 3243497..fe065a7 100644 --- a/app/src/test/java/org/onap/portal/bff/roles/RolesMocks.java +++ b/app/src/test/java/org/onap/portalng/bff/roles/RolesMocks.java @@ -19,14 +19,14 @@ * */ -package org.onap.portal.bff.roles; +package org.onap.portalng.bff.roles; import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import java.util.List; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.server.model.RoleListResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.RoleListResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/CreateUserIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/CreateUserIntegrationTest.java index 8fb1eba..aa67631 100644 --- a/app/src/test/java/org/onap/portal/bff/users/CreateUserIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/CreateUserIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; @@ -29,16 +29,16 @@ import io.restassured.http.Header; import java.util.Collections; import java.util.List; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RequiredActionsKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; -import org.onap.portal.bff.openapi.server.model.CreateUserRequestApiDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.RoleApiDto; -import org.onap.portal.bff.openapi.server.model.RoleListResponseApiDto; -import org.onap.portal.bff.openapi.server.model.UserResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RequiredActionsKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.CreateUserRequestApiDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleListResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.UserResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/DeleteUserIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/DeleteUserIntegrationTest.java index 69f6906..639e5d3 100644 --- a/app/src/test/java/org/onap/portal/bff/users/DeleteUserIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/DeleteUserIntegrationTest.java @@ -19,16 +19,16 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/GetUserDetailIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/GetUserDetailIntegrationTest.java index 7974549..6704cbc 100644 --- a/app/src/test/java/org/onap/portal/bff/users/GetUserDetailIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/GetUserDetailIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; @@ -28,12 +28,12 @@ import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import java.util.List; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.UserResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.UserResponseApiDto; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/ListAssignedRolesIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/ListAssignedRolesIntegrationTest.java index 193f399..7d05c67 100644 --- a/app/src/test/java/org/onap/portal/bff/users/ListAssignedRolesIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/ListAssignedRolesIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; @@ -27,12 +27,12 @@ import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import java.util.List; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.RoleApiDto; -import org.onap.portal.bff.openapi.server.model.RoleListResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleListResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/ListAvailableRolesIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/ListAvailableRolesIntegrationTest.java index d5f9bbf..86f9ed8 100644 --- a/app/src/test/java/org/onap/portal/bff/users/ListAvailableRolesIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/ListAvailableRolesIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; @@ -27,12 +27,12 @@ import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import java.util.List; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.RoleApiDto; -import org.onap.portal.bff.openapi.server.model.RoleListResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleListResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/ListUsersIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/ListUsersIntegrationTest.java index 18c486a..27a8ecd 100644 --- a/app/src/test/java/org/onap/portal/bff/users/ListUsersIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/ListUsersIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; @@ -29,13 +29,13 @@ import java.util.Collections; import java.util.List; import java.util.Optional; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.UserListResponseApiDto; -import org.onap.portal.bff.openapi.server.model.UserResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.UserListResponseApiDto; +import org.onap.portalng.bff.openapi.server.model.UserResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/UpdateAssignedRolesIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/UpdateAssignedRolesIntegrationTest.java index 8abe781..a1a5ee3 100644 --- a/app/src/test/java/org/onap/portal/bff/users/UpdateAssignedRolesIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/UpdateAssignedRolesIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; @@ -29,12 +29,12 @@ import io.restassured.http.Header; import java.util.Collections; import java.util.List; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.RoleApiDto; -import org.onap.portal.bff.openapi.server.model.RoleListResponseApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleApiDto; +import org.onap.portalng.bff.openapi.server.model.RoleListResponseApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/UpdateUserIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/UpdateUserIntegrationTest.java index f75773c..f181c5e 100644 --- a/app/src/test/java/org/onap/portal/bff/users/UpdateUserIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/UpdateUserIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; @@ -28,12 +28,12 @@ import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import java.util.List; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.UpdateUserRequestApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.RoleKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.UserKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.UpdateUserRequestApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/java/org/onap/portal/bff/users/UpdateUserPasswordIntegrationTest.java b/app/src/test/java/org/onap/portalng/bff/users/UpdateUserPasswordIntegrationTest.java index 200ad69..0bdaaa9 100644 --- a/app/src/test/java/org/onap/portal/bff/users/UpdateUserPasswordIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/bff/users/UpdateUserPasswordIntegrationTest.java @@ -19,18 +19,18 @@ * */ -package org.onap.portal.bff.users; +package org.onap.portalng.bff.users; import static org.assertj.core.api.Assertions.assertThat; import com.github.tomakehurst.wiremock.client.WireMock; import io.restassured.http.Header; import org.junit.jupiter.api.Test; -import org.onap.portal.bff.BaseIntegrationTest; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.CredentialKeycloakDto; -import org.onap.portal.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; -import org.onap.portal.bff.openapi.server.model.ProblemApiDto; -import org.onap.portal.bff.openapi.server.model.UpdateUserPasswordRequestApiDto; +import org.onap.portalng.bff.BaseIntegrationTest; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.CredentialKeycloakDto; +import org.onap.portalng.bff.openapi.client_portal_keycloak.model.ErrorResponseKeycloakDto; +import org.onap.portalng.bff.openapi.server.model.ProblemApiDto; +import org.onap.portalng.bff.openapi.server.model.UpdateUserPasswordRequestApiDto; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; diff --git a/app/src/test/resources/application-access-control.yml b/app/src/test/resources/application-access-control.yml index 5454a15..1eb37b8 100644 --- a/app/src/test/resources/application-access-control.yml +++ b/app/src/test/resources/application-access-control.yml @@ -1,4 +1,4 @@ -portal-bff.access-control: +bff.access-control: ACTIONS_CREATE: [ onap_admin, onap_designer, onap_operator ] ACTIONS_GET: [ onap_admin, onap_designer, onap_operator ] ACTIONS_LIST: [ 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 8e97b45..2f408fe 100644 --- a/app/src/test/resources/application-development.yml +++ b/app/src/test/resources/application-development.yml @@ -25,7 +25,7 @@ spring: serialization: FAIL_ON_EMPTY_BEANS: false -portal-bff: +bff: realm: ONAP portal-prefs-url: http://localhost:${wiremock.server.port} portal-history-url: http://localhost:${wiremock.server.port} diff --git a/app/src/test/resources/application.yml b/app/src/test/resources/application.yml index f9a82d8..b26e5d4 100644 --- a/app/src/test/resources/application.yml +++ b/app/src/test/resources/application.yml @@ -26,7 +26,7 @@ spring: serialization: FAIL_ON_EMPTY_BEANS: false -portal-bff: +bff: realm: ONAP portal-prefs-url: http://localhost:${wiremock.server.port} portal-history-url: http://localhost:${wiremock.server.port} |