summaryrefslogtreecommitdiffstats
path: root/rulemgt
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-16 19:07:43 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-16 19:07:43 +0800
commit0dd64fb4a4b5d5db472869182b342d67004c178d (patch)
treeceb1230f4dd07c0ba30c9bbad0d07cc32c003e1f /rulemgt
parentefee8d062b331ecbf1a0c779c6567b08bcd0fcb2 (diff)
Fix a Rule Query Bug
Fix the problem that the control loop name is not returned when query rules. Change-Id: I53b3509a7b45fffb92a21c935962600813e3d0e1 Issue-ID: HOLMES-77 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt')
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/db/CorrelationRuleQueryDao.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/db/CorrelationRuleQueryDao.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/db/CorrelationRuleQueryDao.java
index 648be06..85980e5 100644
--- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/db/CorrelationRuleQueryDao.java
+++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/db/CorrelationRuleQueryDao.java
@@ -80,6 +80,7 @@ public class CorrelationRuleQueryDao {
correlationRule.setContent((String) value.get("content"));
correlationRule.setVendor((String) value.get("vendor"));
correlationRule.setPackageName((String) value.get("package"));
+ correlationRule.setClosedControlLoopName((String) value.get("ctrlloop"));
return correlationRule;
}