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/main/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/main/java')
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/HistoryApplication.java (renamed from app/src/main/java/org/onap/portal/history/HistoryApplication.java) | 6 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/configuration/BeansConfig.java (renamed from app/src/main/java/org/onap/portal/history/configuration/BeansConfig.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/configuration/Errorhandler.java (renamed from app/src/main/java/org/onap/portal/history/configuration/Errorhandler.java) | 5 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/configuration/HistoryConfig.java (renamed from app/src/main/java/org/onap/portal/history/configuration/HistoryConfig.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/configuration/RequestIdInterceptor.java (renamed from app/src/main/java/org/onap/portal/history/configuration/RequestIdInterceptor.java) | 4 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/configuration/SchedulerConfig.java (renamed from app/src/main/java/org/onap/portal/history/configuration/SchedulerConfig.java) | 5 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/configuration/SecurityConfig.java (renamed from app/src/main/java/org/onap/portal/history/configuration/SecurityConfig.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/controller/ActionsController.java (renamed from app/src/main/java/org/onap/portal/history/controller/ActionsController.java) | 16 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/entities/ActionsDao.java (renamed from app/src/main/java/org/onap/portal/history/entities/ActionsDao.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/exception/ProblemException.java (renamed from app/src/main/java/org/onap/portal/history/exception/ProblemException.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/logging/LogContextVariable.java (renamed from app/src/main/java/org/onap/portal/history/logging/LogContextVariable.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/logging/LoggerProperties.java (renamed from app/src/main/java/org/onap/portal/history/logging/LoggerProperties.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/logging/LoggingHelper.java (renamed from app/src/main/java/org/onap/portal/history/logging/LoggingHelper.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/logging/ReactiveRequestLoggingFilter.java (renamed from app/src/main/java/org/onap/portal/history/logging/ReactiveRequestLoggingFilter.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/logging/StatusCode.java (renamed from app/src/main/java/org/onap/portal/history/logging/StatusCode.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/logging/WebExchangeUtils.java (renamed from app/src/main/java/org/onap/portal/history/logging/WebExchangeUtils.java) | 2 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/repository/ActionsRepository.java (renamed from app/src/main/java/org/onap/portal/history/repository/ActionsRepository.java) | 4 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/services/ActionsService.java (renamed from app/src/main/java/org/onap/portal/history/services/ActionsService.java) | 16 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/util/IdTokenExchange.java (renamed from app/src/main/java/org/onap/portal/history/util/IdTokenExchange.java) | 4 | ||||
-rw-r--r-- | app/src/main/java/org/onap/portalng/history/util/Logger.java (renamed from app/src/main/java/org/onap/portal/history/util/Logger.java) | 2 |
20 files changed, 43 insertions, 41 deletions
diff --git a/app/src/main/java/org/onap/portal/history/HistoryApplication.java b/app/src/main/java/org/onap/portalng/history/HistoryApplication.java index 307d883..1a9cd8e 100644 --- a/app/src/main/java/org/onap/portal/history/HistoryApplication.java +++ b/app/src/main/java/org/onap/portalng/history/HistoryApplication.java @@ -22,11 +22,11 @@ /* * This Java source file was generated by the Gradle 'init' task. */ -package org.onap.portal.history; +package org.onap.portalng.history; -import org.onap.portal.history.configuration.HistoryConfig; -import org.onap.portal.history.logging.LoggerProperties; +import org.onap.portalng.history.configuration.HistoryConfig; +import org.onap.portalng.history.logging.LoggerProperties; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; diff --git a/app/src/main/java/org/onap/portal/history/configuration/BeansConfig.java b/app/src/main/java/org/onap/portalng/history/configuration/BeansConfig.java index 9a60681..a1fb5f2 100644 --- a/app/src/main/java/org/onap/portal/history/configuration/BeansConfig.java +++ b/app/src/main/java/org/onap/portalng/history/configuration/BeansConfig.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.configuration; +package org.onap.portalng.history.configuration; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/app/src/main/java/org/onap/portal/history/configuration/Errorhandler.java b/app/src/main/java/org/onap/portalng/history/configuration/Errorhandler.java index 583420b..515935b 100644 --- a/app/src/main/java/org/onap/portal/history/configuration/Errorhandler.java +++ b/app/src/main/java/org/onap/portalng/history/configuration/Errorhandler.java @@ -19,11 +19,12 @@ * */ -package org.onap.portal.history.configuration; +package org.onap.portalng.history.configuration; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; -import org.onap.portal.history.exception.ProblemException; + +import org.onap.portalng.history.exception.ProblemException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler; import org.springframework.core.io.buffer.DataBufferFactory; diff --git a/app/src/main/java/org/onap/portal/history/configuration/HistoryConfig.java b/app/src/main/java/org/onap/portalng/history/configuration/HistoryConfig.java index f70a9d4..c790288 100644 --- a/app/src/main/java/org/onap/portal/history/configuration/HistoryConfig.java +++ b/app/src/main/java/org/onap/portalng/history/configuration/HistoryConfig.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.configuration; +package org.onap.portalng.history.configuration; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/app/src/main/java/org/onap/portal/history/configuration/RequestIdInterceptor.java b/app/src/main/java/org/onap/portalng/history/configuration/RequestIdInterceptor.java index aa1fd4e..291e5e6 100644 --- a/app/src/main/java/org/onap/portal/history/configuration/RequestIdInterceptor.java +++ b/app/src/main/java/org/onap/portalng/history/configuration/RequestIdInterceptor.java @@ -19,9 +19,9 @@ * */ -package org.onap.portal.history.configuration; +package org.onap.portalng.history.configuration; -import org.onap.portal.history.util.Logger; +import org.onap.portalng.history.util.Logger; import org.springframework.stereotype.Component; import org.springframework.web.filter.reactive.ServerWebExchangeContextFilter; import org.springframework.web.server.ServerWebExchange; diff --git a/app/src/main/java/org/onap/portal/history/configuration/SchedulerConfig.java b/app/src/main/java/org/onap/portalng/history/configuration/SchedulerConfig.java index 88531af..81299b1 100644 --- a/app/src/main/java/org/onap/portal/history/configuration/SchedulerConfig.java +++ b/app/src/main/java/org/onap/portalng/history/configuration/SchedulerConfig.java @@ -19,10 +19,11 @@ * */ -package org.onap.portal.history.configuration; +package org.onap.portalng.history.configuration; -import org.onap.portal.history.services.ActionsService; import lombok.extern.slf4j.Slf4j; + +import org.onap.portalng.history.services.ActionsService; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; diff --git a/app/src/main/java/org/onap/portal/history/configuration/SecurityConfig.java b/app/src/main/java/org/onap/portalng/history/configuration/SecurityConfig.java index e825295..9d17bba 100644 --- a/app/src/main/java/org/onap/portal/history/configuration/SecurityConfig.java +++ b/app/src/main/java/org/onap/portalng/history/configuration/SecurityConfig.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.configuration; +package org.onap.portalng.history.configuration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; diff --git a/app/src/main/java/org/onap/portal/history/controller/ActionsController.java b/app/src/main/java/org/onap/portalng/history/controller/ActionsController.java index ce781f5..dbab575 100644 --- a/app/src/main/java/org/onap/portal/history/controller/ActionsController.java +++ b/app/src/main/java/org/onap/portalng/history/controller/ActionsController.java @@ -19,17 +19,17 @@ * */ -package org.onap.portal.history.controller; +package org.onap.portalng.history.controller; import java.util.Optional; -import org.onap.portal.history.configuration.HistoryConfig; -import org.onap.portal.history.openapi.api.ActionsApi; -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.services.ActionsService; -import org.onap.portal.history.util.IdTokenExchange; +import org.onap.portalng.history.openapi.api.ActionsApi; +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.configuration.HistoryConfig; +import org.onap.portalng.history.services.ActionsService; +import org.onap.portalng.history.util.IdTokenExchange; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.server.ServerWebExchange; diff --git a/app/src/main/java/org/onap/portal/history/entities/ActionsDao.java b/app/src/main/java/org/onap/portalng/history/entities/ActionsDao.java index 5457e87..127e093 100644 --- a/app/src/main/java/org/onap/portal/history/entities/ActionsDao.java +++ b/app/src/main/java/org/onap/portalng/history/entities/ActionsDao.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.entities; +package org.onap.portalng.history.entities; import lombok.Getter; import lombok.Setter; diff --git a/app/src/main/java/org/onap/portal/history/exception/ProblemException.java b/app/src/main/java/org/onap/portalng/history/exception/ProblemException.java index f51d246..8c71ce4 100644 --- a/app/src/main/java/org/onap/portal/history/exception/ProblemException.java +++ b/app/src/main/java/org/onap/portalng/history/exception/ProblemException.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.exception; +package org.onap.portalng.history.exception; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/app/src/main/java/org/onap/portal/history/logging/LogContextVariable.java b/app/src/main/java/org/onap/portalng/history/logging/LogContextVariable.java index 76cb29e..1b1c505 100644 --- a/app/src/main/java/org/onap/portal/history/logging/LogContextVariable.java +++ b/app/src/main/java/org/onap/portalng/history/logging/LogContextVariable.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.logging; +package org.onap.portalng.history.logging; import lombok.Getter; diff --git a/app/src/main/java/org/onap/portal/history/logging/LoggerProperties.java b/app/src/main/java/org/onap/portalng/history/logging/LoggerProperties.java index c142b4f..f785822 100644 --- a/app/src/main/java/org/onap/portal/history/logging/LoggerProperties.java +++ b/app/src/main/java/org/onap/portalng/history/logging/LoggerProperties.java @@ -1,4 +1,4 @@ -package org.onap.portal.history.logging; +package org.onap.portalng.history.logging; import java.util.List; diff --git a/app/src/main/java/org/onap/portal/history/logging/LoggingHelper.java b/app/src/main/java/org/onap/portalng/history/logging/LoggingHelper.java index e587959..90c61c4 100644 --- a/app/src/main/java/org/onap/portal/history/logging/LoggingHelper.java +++ b/app/src/main/java/org/onap/portalng/history/logging/LoggingHelper.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.logging; +package org.onap.portalng.history.logging; import lombok.AccessLevel; import lombok.NoArgsConstructor; diff --git a/app/src/main/java/org/onap/portal/history/logging/ReactiveRequestLoggingFilter.java b/app/src/main/java/org/onap/portalng/history/logging/ReactiveRequestLoggingFilter.java index 059e573..91df0c1 100644 --- a/app/src/main/java/org/onap/portal/history/logging/ReactiveRequestLoggingFilter.java +++ b/app/src/main/java/org/onap/portalng/history/logging/ReactiveRequestLoggingFilter.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.logging; +package org.onap.portalng.history.logging; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; diff --git a/app/src/main/java/org/onap/portal/history/logging/StatusCode.java b/app/src/main/java/org/onap/portalng/history/logging/StatusCode.java index 1c93bd9..9feae4d 100644 --- a/app/src/main/java/org/onap/portal/history/logging/StatusCode.java +++ b/app/src/main/java/org/onap/portalng/history/logging/StatusCode.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.logging; +package org.onap.portalng.history.logging; public enum StatusCode { REQUEST, diff --git a/app/src/main/java/org/onap/portal/history/logging/WebExchangeUtils.java b/app/src/main/java/org/onap/portalng/history/logging/WebExchangeUtils.java index 8efda9c..c92564e 100644 --- a/app/src/main/java/org/onap/portal/history/logging/WebExchangeUtils.java +++ b/app/src/main/java/org/onap/portalng/history/logging/WebExchangeUtils.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.logging; +package org.onap.portalng.history.logging; import lombok.AccessLevel; import lombok.NoArgsConstructor; diff --git a/app/src/main/java/org/onap/portal/history/repository/ActionsRepository.java b/app/src/main/java/org/onap/portalng/history/repository/ActionsRepository.java index 79fc378..d0dcc44 100644 --- a/app/src/main/java/org/onap/portal/history/repository/ActionsRepository.java +++ b/app/src/main/java/org/onap/portalng/history/repository/ActionsRepository.java @@ -19,11 +19,11 @@ * */ -package org.onap.portal.history.repository; +package org.onap.portalng.history.repository; import java.util.Date; -import org.onap.portal.history.entities.ActionsDao; +import org.onap.portalng.history.entities.ActionsDao; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.ReactiveMongoRepository; diff --git a/app/src/main/java/org/onap/portal/history/services/ActionsService.java b/app/src/main/java/org/onap/portalng/history/services/ActionsService.java index a14fef2..746b108 100644 --- a/app/src/main/java/org/onap/portal/history/services/ActionsService.java +++ b/app/src/main/java/org/onap/portalng/history/services/ActionsService.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.services; +package org.onap.portalng.history.services; import java.time.LocalDateTime; import java.time.ZoneId; @@ -27,13 +27,13 @@ import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.Date; -import org.onap.portal.history.entities.ActionsDao; -import org.onap.portal.history.exception.ProblemException; -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.repository.ActionsRepository; -import org.onap.portal.history.util.Logger; +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.entities.ActionsDao; +import org.onap.portalng.history.exception.ProblemException; +import org.onap.portalng.history.repository.ActionsRepository; +import org.onap.portalng.history.util.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; diff --git a/app/src/main/java/org/onap/portal/history/util/IdTokenExchange.java b/app/src/main/java/org/onap/portalng/history/util/IdTokenExchange.java index 82cc67a..91db5f9 100644 --- a/app/src/main/java/org/onap/portal/history/util/IdTokenExchange.java +++ b/app/src/main/java/org/onap/portalng/history/util/IdTokenExchange.java @@ -19,14 +19,14 @@ * */ -package org.onap.portal.history.util; +package org.onap.portalng.history.util; import com.nimbusds.jwt.JWTClaimsSet; import com.nimbusds.jwt.JWTParser; import java.text.ParseException; -import org.onap.portal.history.exception.ProblemException; +import org.onap.portalng.history.exception.ProblemException; import org.springframework.web.server.ServerWebExchange; import org.zalando.problem.Problem; import org.zalando.problem.Status; diff --git a/app/src/main/java/org/onap/portal/history/util/Logger.java b/app/src/main/java/org/onap/portalng/history/util/Logger.java index c072c16..f1cb150 100644 --- a/app/src/main/java/org/onap/portal/history/util/Logger.java +++ b/app/src/main/java/org/onap/portalng/history/util/Logger.java @@ -19,7 +19,7 @@ * */ -package org.onap.portal.history.util; +package org.onap.portalng.history.util; import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpMethod; |