summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-02-26 15:17:34 +0200
committerIttay Stern <ittay.stern@att.com>2020-02-26 15:47:40 +0200
commite51ebedbdead7413d8e76de7da2f8fb39f22e5c4 (patch)
tree85acc2daf38d8cc959e021421eca047fad2fab16 /vid-app-common/src/main/java/org
parent9390a1c811b1659fa66ab6c885f45a2225ea6326 (diff)
Test many POJOs getters/setters
Issue-ID: VID-768 Change-Id: I891af541bec9aaddaf4d68c8c2b0ae15690bde2c Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/main/java/org')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/InstanceGroup.java4
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/model/Properties.java13
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/model/Workflow.java2
3 files changed, 13 insertions, 6 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/InstanceGroup.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/InstanceGroup.java
index 4bc83ce3c..522f77c33 100644
--- a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/InstanceGroup.java
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/InstanceGroup.java
@@ -44,10 +44,6 @@ public class InstanceGroup {
@JsonProperty("relationship-list")
private RelationshipList relationshipList;
- public InstanceGroup(){
- super();
- }
-
@JsonIgnoreProperties(ignoreUnknown = true)
public InstanceGroup(
@JsonProperty("instance-group-role")
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/Properties.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/Properties.java
index 0ccf73f59..34daf66ce 100644
--- a/vid-app-common/src/main/java/org/onap/vid/aai/model/Properties.java
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/Properties.java
@@ -23,7 +23,6 @@ package org.onap.vid.aai.model;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonProperty;
-
import java.util.HashMap;
import java.util.Map;
@@ -58,14 +57,26 @@ public class Properties {
return interfaceName;
}
+ public void setInterfaceName(String interfaceName) {
+ this.interfaceName = interfaceName;
+ }
+
public String getInterfaceId() {
return interfaceId;
}
+ public void setInterfaceId(String interfaceId) {
+ this.interfaceId = interfaceId;
+ }
+
public Boolean getIsPortMirrored() {
return isPortMirrored;
}
+ public void setPortMirrored(Boolean portMirrored) {
+ isPortMirrored = portMirrored;
+ }
+
public String getTenantId() {
return tenantId;
}
diff --git a/vid-app-common/src/main/java/org/onap/vid/model/Workflow.java b/vid-app-common/src/main/java/org/onap/vid/model/Workflow.java
index e11a40cfc..b29db5fff 100644
--- a/vid-app-common/src/main/java/org/onap/vid/model/Workflow.java
+++ b/vid-app-common/src/main/java/org/onap/vid/model/Workflow.java
@@ -61,7 +61,7 @@ public class Workflow {
this.workflowName = workflowName;
}
- public void setVnfName(Collection<String> vnfNames) {
+ public void setVnfNames(Collection<String> vnfNames) {
this.vnfNames = vnfNames;
}
}