diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-10-15 13:52:13 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-10-15 13:52:13 +0200 |
commit | 8fe5e2bb110b1a99523fda8214c32e1333b57351 (patch) | |
tree | 66211c506e84bf90503396a52d619a97b62f6b9b /aai-els-onap-logging/src/main/java/org/onap | |
parent | e9a899f1866f225bddab5f08f7847b8417c5f1da (diff) |
Migrate most of the aai-common aai-els-onap-logging module to Junit 5
- the migration from Junit 4 to 5 can be done partially
- this migrates all the 'easy' cases in this module to already make some progress here
Issue-ID: AAI-3814
Change-Id: If35fe5b09c99042b6c28f10e0515062288dbf8ff
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-els-onap-logging/src/main/java/org/onap')
3 files changed, 4 insertions, 3 deletions
diff --git a/aai-els-onap-logging/src/main/java/org/onap/aai/domain/errorResponse/RequestError.java b/aai-els-onap-logging/src/main/java/org/onap/aai/domain/errorResponse/RequestError.java index 96602906..6d3a6501 100644 --- a/aai-els-onap-logging/src/main/java/org/onap/aai/domain/errorResponse/RequestError.java +++ b/aai-els-onap-logging/src/main/java/org/onap/aai/domain/errorResponse/RequestError.java @@ -21,7 +21,6 @@ package org.onap.aai.domain.errorResponse; import lombok.AllArgsConstructor; import lombok.NoArgsConstructor; -import lombok.Value; import java.util.Map; @NoArgsConstructor diff --git a/aai-els-onap-logging/src/main/java/org/onap/aai/exceptions/AAIException.java b/aai-els-onap-logging/src/main/java/org/onap/aai/exceptions/AAIException.java index e302cd5a..6c30dd07 100644 --- a/aai-els-onap-logging/src/main/java/org/onap/aai/exceptions/AAIException.java +++ b/aai-els-onap-logging/src/main/java/org/onap/aai/exceptions/AAIException.java @@ -28,7 +28,6 @@ import java.util.LinkedList; import org.onap.aai.logging.ErrorLogHelper; import org.onap.aai.logging.ErrorObject; -import org.onap.aai.logging.ErrorObjectNotFoundException; public class AAIException extends Exception { diff --git a/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java b/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java index 530d53b3..270f786e 100644 --- a/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java +++ b/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AuditLogContainerFilter.java @@ -24,7 +24,10 @@ import java.io.IOException; import javax.annotation.Priority; import javax.servlet.http.HttpServletRequest; -import javax.ws.rs.container.*; +import javax.ws.rs.container.ContainerRequestContext; +import javax.ws.rs.container.ContainerRequestFilter; +import javax.ws.rs.container.ContainerResponseContext; +import javax.ws.rs.container.ContainerResponseFilter; import javax.ws.rs.core.Context; import javax.ws.rs.ext.Providers; |