aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api
diff options
context:
space:
mode:
authorsliard <samuel.liard@gmail.com>2021-05-19 17:45:17 +0200
committerMichael Morris <michael.morris@est.tech>2021-05-24 09:26:20 +0000
commit0af92af7d5c4a6ecf6ea4e637077f94e3fe22ec1 (patch)
tree9e2c3652f2d0a000b55ba37a5161d247c8351701 /common-app-api
parentac69ef1da7e87ee2602b3790ec680be4c1f74cf3 (diff)
[SDC] Fix sonar issues
Fix all blocker issues for catalog-be Issue-ID: SDC-3598 Signed-off-by: sliard <samuel.liard@gmail.com> Change-Id: I53907c1be4cac5dd94b6f20ab4e5848f6fcebed9
Diffstat (limited to 'common-app-api')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java b/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java
index 2840ccd3b4..7fa1a87b9a 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java
@@ -21,6 +21,8 @@ package org.openecomp.sdc.exception;
import lombok.Setter;
+import java.io.Serializable;
+
/**
* Nested POJOs to express required JSON format of the error
* <p>
@@ -28,7 +30,7 @@ import lombok.Setter;
*
* @author paharoni
*/
-public class ResponseFormat {
+public class ResponseFormat implements Serializable {
@Setter
private int status;
@@ -110,7 +112,7 @@ public class ResponseFormat {
return this.requestErrorWrapper.requestError.policyException.getMessageId();
}
- public class RequestErrorWrapper {
+ public class RequestErrorWrapper implements Serializable {
private RequestError requestError;
@@ -143,7 +145,7 @@ public class ResponseFormat {
}
}
- public class RequestError {
+ public class RequestError implements Serializable {
@SuppressWarnings("unused")
private PolicyException policyException;