diff options
Diffstat (limited to 'holmes-actions')
-rw-r--r-- | holmes-actions/src/main/java/org/onap/holmes/common/api/entity/CorrelationRule.java | 2 | ||||
-rw-r--r-- | holmes-actions/src/test/java/org/onap/holmes/common/api/entity/CorrelationRuleTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/api/entity/CorrelationRule.java b/holmes-actions/src/main/java/org/onap/holmes/common/api/entity/CorrelationRule.java index 6b91bd3..c8d61b9 100644 --- a/holmes-actions/src/main/java/org/onap/holmes/common/api/entity/CorrelationRule.java +++ b/holmes-actions/src/main/java/org/onap/holmes/common/api/entity/CorrelationRule.java @@ -34,7 +34,7 @@ public class CorrelationRule { @JsonProperty
private int enabled;
@JsonProperty
- private int templateID;
+ private long templateID;
private String engineID;
@JsonProperty
private String engineType;
diff --git a/holmes-actions/src/test/java/org/onap/holmes/common/api/entity/CorrelationRuleTest.java b/holmes-actions/src/test/java/org/onap/holmes/common/api/entity/CorrelationRuleTest.java index 25ee5c6..e00f961 100644 --- a/holmes-actions/src/test/java/org/onap/holmes/common/api/entity/CorrelationRuleTest.java +++ b/holmes-actions/src/test/java/org/onap/holmes/common/api/entity/CorrelationRuleTest.java @@ -69,7 +69,7 @@ public class CorrelationRuleTest { @Test public void getterAndSetter4TemplateID() throws Exception { - final int templateId = 1; + final long templateId = 1L; correlationRule.setTemplateID(templateId); assertThat(correlationRule.getTemplateID(), equalTo(templateId)); } |