diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-16 19:07:43 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-16 19:07:43 +0800 |
commit | 0dd64fb4a4b5d5db472869182b342d67004c178d (patch) | |
tree | ceb1230f4dd07c0ba30c9bbad0d07cc32c003e1f | |
parent | efee8d062b331ecbf1a0c779c6567b08bcd0fcb2 (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>
-rw-r--r-- | rulemgt/src/main/java/org/onap/holmes/rulemgt/db/CorrelationRuleQueryDao.java | 1 |
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;
}
|