summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/bean/response/RuleResult4API.java3
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java2
2 files changed, 2 insertions, 3 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 39e1bb6..a3ef7e8 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
@@ -15,7 +15,6 @@
*/
package org.onap.holmes.rulemgt.bean.response;
-import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
@@ -33,5 +32,5 @@ public class RuleResult4API {
private Date updateTime;
private String modifier;
private int enabled;
- private String closedControlLoopName;
+ private String loopControlName;
}
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 9e324e6..484fb5f 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,7 +235,7 @@ public class RuleMgtWrapper {
ruleResult4API.setUpdateTime(correlationRule.getUpdateTime());
ruleResult4API.setModifier(correlationRule.getModifier());
ruleResult4API.setEnabled(correlationRule.getEnabled());
- ruleResult4API.setClosedControlLoopName(correlationRule.getClosedControlLoopName());
+ ruleResult4API.setLoopControlName(correlationRule.getClosedControlLoopName());
ruleResult4APIs.add(ruleResult4API);
}
return ruleResult4APIs;