diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-05-07 13:42:39 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-05-07 13:42:39 +0200 |
commit | 717018f3d1d8ef2a6f9b7e45be57a75eb7ea7050 (patch) | |
tree | 62d998e3133e305fe957d24f1e5ac60b4c10a677 /app/src/test/java | |
parent | a3e692a4e0309342f8c8f60ce8fdeb0d2f14ab5c (diff) |
Adjust history package name to use org.onap.portalng instead of org.onap.portal
Issue-ID: PORTALNG-92
Change-Id: I67f5a75834960ace8cb5ee6846c6741dc69fde2f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/test/java')
-rw-r--r-- | app/src/test/java/org/onap/portalng/history/BaseIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java) | 5 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/history/TokenGenerator.java (renamed from app/src/test/java/org/onap/portal/history/TokenGenerator.java) | 2 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/history/actions/ActionDto.java (renamed from app/src/test/java/org/onap/portal/history/actions/ActionDto.java) | 2 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/history/actions/ActionFixtures.java (renamed from app/src/test/java/org/onap/portal/history/actions/ActionFixtures.java) | 6 | ||||
-rw-r--r-- | app/src/test/java/org/onap/portalng/history/actions/ActionsControllerIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java) | 18 |
5 files changed, 17 insertions, 16 deletions
diff --git a/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java b/app/src/test/java/org/onap/portalng/history/BaseIntegrationTest.java index feee00c..ec682dd 100644 --- a/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/history/BaseIntegrationTest.java @@ -19,18 +19,19 @@ * */ -package org.onap.portal.history; +package org.onap.portalng.history; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.tomakehurst.wiremock.client.WireMock; import com.nimbusds.jose.jwk.JWKSet; -import org.onap.portal.history.util.IdTokenExchange; + import io.restassured.RestAssured; import io.restassured.filter.log.RequestLoggingFilter; import io.restassured.filter.log.ResponseLoggingFilter; import io.restassured.specification.RequestSpecification; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; +import org.onap.portalng.history.util.IdTokenExchange; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.context.SpringBootTest; diff --git a/app/src/test/java/org/onap/portal/history/TokenGenerator.java b/app/src/test/java/org/onap/portalng/history/TokenGenerator.java index 986507c..1887682 100644 --- a/app/src/test/java/org/onap/portal/history/TokenGenerator.java +++ b/app/src/test/java/org/onap/portalng/history/TokenGenerator.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history; +package org.onap.portalng.history; import com.nimbusds.jose.JOSEObjectType; import com.nimbusds.jose.JWSAlgorithm; diff --git a/app/src/test/java/org/onap/portal/history/actions/ActionDto.java b/app/src/test/java/org/onap/portalng/history/actions/ActionDto.java index 2deec8e..b2b7cd4 100644 --- a/app/src/test/java/org/onap/portal/history/actions/ActionDto.java +++ b/app/src/test/java/org/onap/portalng/history/actions/ActionDto.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.actions; +package org.onap.portalng.history.actions; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/app/src/test/java/org/onap/portal/history/actions/ActionFixtures.java b/app/src/test/java/org/onap/portalng/history/actions/ActionFixtures.java index efab59a..4137a58 100644 --- a/app/src/test/java/org/onap/portal/history/actions/ActionFixtures.java +++ b/app/src/test/java/org/onap/portalng/history/actions/ActionFixtures.java @@ -19,15 +19,15 @@ * */ -package org.onap.portal.history.actions; +package org.onap.portalng.history.actions; import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.Date; import java.util.List; -import org.onap.portal.history.entities.ActionsDao; -import org.onap.portal.history.openapi.model.CreateActionRequest; +import org.onap.portalng.history.openapi.model.CreateActionRequest; +import org.onap.portalng.history.entities.ActionsDao; public class ActionFixtures { diff --git a/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java b/app/src/test/java/org/onap/portalng/history/actions/ActionsControllerIntegrationTest.java index feab695..317f582 100644 --- a/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java +++ b/app/src/test/java/org/onap/portalng/history/actions/ActionsControllerIntegrationTest.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.actions; +package org.onap.portalng.history.actions; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertNotNull; @@ -33,14 +33,14 @@ import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.onap.portal.history.BaseIntegrationTest; -import org.onap.portal.history.entities.ActionsDao; -import org.onap.portal.history.openapi.model.ActionResponse; -import org.onap.portal.history.openapi.model.ActionsListResponse; -import org.onap.portal.history.openapi.model.CreateActionRequest; -import org.onap.portal.history.openapi.model.Problem; -import org.onap.portal.history.repository.ActionsRepository; -import org.onap.portal.history.services.ActionsService; +import org.onap.portalng.history.BaseIntegrationTest; +import org.onap.portalng.history.openapi.model.ActionResponse; +import org.onap.portalng.history.openapi.model.ActionsListResponse; +import org.onap.portalng.history.openapi.model.CreateActionRequest; +import org.onap.portalng.history.openapi.model.Problem; +import org.onap.portalng.history.entities.ActionsDao; +import org.onap.portalng.history.repository.ActionsRepository; +import org.onap.portalng.history.services.ActionsService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; |