From 9e0219abc61b28b94d88fefbf8cc4a13d1683a67 Mon Sep 17 00:00:00 2001 From: Rob Daugherty Date: Mon, 10 Sep 2018 17:45:52 -0400 Subject: Functional so/libs unit tests Unit tests to prepare for migration from the codehaus to the fasterxml implementation of jackson. Iincreases the code coverage metric from 51% to 70%. Change-Id: I6338214f3de9df95956b46d4e313d00052eb8692 Issue-ID: SO-1011 Signed-off-by: Rob Daugherty --- .../com/woorea/openstack/nova/model/SecurityGroupRuleForCreate.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nova-model/src/main/java') diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/SecurityGroupRuleForCreate.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/SecurityGroupRuleForCreate.java index fbb3f46..8911156 100644 --- a/nova-model/src/main/java/com/woorea/openstack/nova/model/SecurityGroupRuleForCreate.java +++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/SecurityGroupRuleForCreate.java @@ -20,6 +20,7 @@ import java.io.Serializable; import javax.xml.bind.annotation.XmlElement; +import org.codehaus.jackson.annotate.JsonIgnore; import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.map.annotate.JsonRootName; @@ -112,6 +113,7 @@ public class SecurityGroupRuleForCreate implements Serializable { * @deprecated Use {@link #setParentGroupId(String)} */ @Deprecated + @JsonIgnore public void setParentGroupId(Integer parentGroupId) { this.parentGroupId = String.valueOf(parentGroupId); } @@ -191,6 +193,7 @@ public class SecurityGroupRuleForCreate implements Serializable { * @deprecated Use {@link #setGroupId(String)} */ @Deprecated + @JsonIgnore public void setGroupId(Integer groupId) { this.groupId = String.valueOf(groupId); } -- cgit 1.2.3-korg