summaryrefslogtreecommitdiffstats
path: root/rulemgt
diff options
context:
space:
mode:
Diffstat (limited to 'rulemgt')
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/bean/response/RuleResult4API.java2
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java1
2 files changed, 3 insertions, 0 deletions
diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/bean/response/RuleResult4API.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/bean/response/RuleResult4API.java
index c444b22..e97b94d 100644
--- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/bean/response/RuleResult4API.java
+++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/bean/response/RuleResult4API.java
@@ -39,4 +39,6 @@ public class RuleResult4API {
private Date updateTime;
private String modifier;
private int enabled;
+ @JsonProperty(value = "loopcontrolname")
+ private String closedControlLoopName;
}
diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java
index 6ab7576..146e034 100644
--- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java
+++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java
@@ -235,6 +235,7 @@ public class RuleMgtWrapper {
ruleResult4API.setUpdateTime(correlationRule.getUpdateTime());
ruleResult4API.setModifier(correlationRule.getModifier());
ruleResult4API.setEnabled(correlationRule.getEnabled());
+ ruleResult4API.setClosedControlLoopName(correlationRule.getClosedControlLoopName());
ruleResult4APIs.add(ruleResult4API);
}
return ruleResult4APIs;