summaryrefslogtreecommitdiffstats
path: root/engine-d/src/test/java/org
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-29 11:38:28 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-29 11:48:38 +0800
commit954440d0acc132151df7f828e2c63606f2ba9cdf (patch)
treed316c38376b2d86d3b0c675ff6998f0336ad45b4 /engine-d/src/test/java/org
parentb6e1b12ee06a03b4faff592df9644575d9fb58c3 (diff)
Add the CL Name to the Cache when Starting Up
Change-Id: I6a21707cf0475fa42aaf416088663c9f99af5a71 Issue-ID: HOLMES-82 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d/src/test/java/org')
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java b/engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java
index b57fa30..dd0b55d 100644
--- a/engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java
@@ -88,6 +88,8 @@ public class DroolsEngineTest {
List<CorrelationRule> rules = new ArrayList<CorrelationRule>();
CorrelationRule rule = new CorrelationRule();
rule.setContent("content");
+ rule.setClosedControlLoopName("test");
+ rule.setPackageName("org.onap.holmes");
rules.add(rule);
expect(ruleMgtWrapper.queryRuleByEnable(anyInt())).andReturn(rules);