aboutsummaryrefslogtreecommitdiffstats
path: root/models-pdp
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-06-21 13:17:35 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-21 13:17:35 +0000
commit2da98d086aafdcb997c1aab23bd9fff6d9b65626 (patch)
tree358ed8e325408f8a5122ffa916877895310250ba /models-pdp
parent417e292dbaff7c30f86780e20da5fc95b108032a (diff)
parentbf430888dbb1c514d10e5cc3fd25496712a86730 (diff)
Merge "Use lombok for errors pap, pdp, sim-dmaap, sim-pdp"
Diffstat (limited to 'models-pdp')
-rw-r--r--models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/DeploymentSubGroup.java9
-rw-r--r--models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpSubGroup.java9
2 files changed, 4 insertions, 14 deletions
diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/DeploymentSubGroup.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/DeploymentSubGroup.java
index 361f7daa9..2bf816a11 100644
--- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/DeploymentSubGroup.java
+++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/DeploymentSubGroup.java
@@ -24,6 +24,7 @@ package org.onap.policy.models.pdp.concepts;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
+import lombok.NoArgsConstructor;
import lombok.NonNull;
import org.onap.policy.common.parameters.BeanValidationResult;
import org.onap.policy.common.parameters.ValidationResult;
@@ -35,6 +36,7 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaConceptIdentifier;
* particular domain.
*/
@Data
+@NoArgsConstructor
public class DeploymentSubGroup {
public enum Action {
@@ -48,13 +50,6 @@ public class DeploymentSubGroup {
private List<ToscaConceptIdentifier> policies;
/**
- * Constructs the object.
- */
- public DeploymentSubGroup() {
- super();
- }
-
- /**
* Constructs the object, making a deep copy from the source.
*
* @param source source from which to copy fields
diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpSubGroup.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpSubGroup.java
index 3cf8b9b05..e35e4a397 100644
--- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpSubGroup.java
+++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpSubGroup.java
@@ -26,6 +26,7 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import lombok.Data;
+import lombok.NoArgsConstructor;
import lombok.NonNull;
import org.onap.policy.common.parameters.BeanValidationResult;
import org.onap.policy.common.parameters.ValidationResult;
@@ -40,6 +41,7 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaConceptIdentifier;
* @author Ram Krishna Verma (ram.krishna.verma@est.tech)
*/
@Data
+@NoArgsConstructor
public class PdpSubGroup {
private String pdpType;
private List<ToscaConceptIdentifier> supportedPolicyTypes;
@@ -50,13 +52,6 @@ public class PdpSubGroup {
private List<Pdp> pdpInstances;
/**
- * Constructs the object.
- */
- public PdpSubGroup() {
- super();
- }
-
- /**
* Constructs the object, making a deep copy from the source.
*
* @param source source from which to copy fields