summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2021-05-05 15:31:04 +0100
committerChristophe Closset <christophe.closset@intl.att.com>2021-05-15 06:21:13 +0000
commit2152a9a43767cdd486fd8c93894f66a05083f53c (patch)
treecbb64fc5680ba724bc317e27f6a20802d5b38502 /common-app-api/src/main/java/org
parente3de4c9d214983d38a7d66e89dae5d4bba170ca3 (diff)
Support for selection of capabilities
Change-Id: Ib1a3e3e1a59fc84c62620932c408e231acf77024 Issue-ID: SDC-3580 Signed-off-by: André Schmid <andre.schmid@est.tech>
Diffstat (limited to 'common-app-api/src/main/java/org')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java10
1 files changed, 3 insertions, 7 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 b0467425ec..2840ccd3b4 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
@@ -19,6 +19,8 @@
*/
package org.openecomp.sdc.exception;
+import lombok.Setter;
+
/**
* Nested POJOs to express required JSON format of the error
* <p>
@@ -28,6 +30,7 @@ package org.openecomp.sdc.exception;
*/
public class ResponseFormat {
+ @Setter
private int status;
private RequestErrorWrapper requestErrorWrapper;
@@ -40,10 +43,6 @@ public class ResponseFormat {
this.status = status;
}
- public void setStatus(int status) {
- this.status = status;
- }
-
public Integer getStatus() {
return status;
}
@@ -153,9 +152,6 @@ public class ResponseFormat {
@SuppressWarnings("unused")
private OkResponseInfo okResponseInfo;
- public RequestError() {
- }
-
public PolicyException getPolicyException() {
return policyException;
}