From 0dd64fb4a4b5d5db472869182b342d67004c178d Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Mon, 16 Oct 2017 19:07:43 +0800 Subject: 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 --- .../main/java/org/onap/holmes/rulemgt/db/CorrelationRuleQueryDao.java | 1 + 1 file changed, 1 insertion(+) (limited to 'rulemgt') 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; } -- cgit 1.2.3-korg