summaryrefslogtreecommitdiffstats
path: root/nova-model/src/main
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-09-10 17:45:52 -0400
committerRob Daugherty <rd472p@att.com>2018-09-10 17:53:28 -0400
commit9e0219abc61b28b94d88fefbf8cc4a13d1683a67 (patch)
tree2e1e76e80bcea8c398d2a22851dce66680e68352 /nova-model/src/main
parent77ba0e5627d39af1459cf3058fb521e68b475220 (diff)
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 <rd472p@att.com>
Diffstat (limited to 'nova-model/src/main')
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/SecurityGroupRuleForCreate.java3
1 files changed, 3 insertions, 0 deletions
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);
}