summaryrefslogtreecommitdiffstats
path: root/engine-d/src/test/java/org
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-10 22:58:18 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-10 22:58:18 +0800
commitea08755cd8354a8fe6f30a2797cb5bb3ccb63da8 (patch)
treeaca3dee8351a698d9b74ab5a692afb6f68bd3a26 /engine-d/src/test/java/org
parent0cd31c398821790857c9f4862df35f684eab52fc (diff)
Cache the CL Name before rule Deploymentv1.0.02.0.0-ONAP1.0.0-ONAP1.0.0-Amsterdambeijing2.0.0-ONAP
Change-Id: I8d0efeaa01eea6163194c86e309e17367fb178db Issue-ID: HOLMES-85 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/resources/EngineResourcesTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine-d/src/test/java/org/onap/holmes/engine/resources/EngineResourcesTest.java b/engine-d/src/test/java/org/onap/holmes/engine/resources/EngineResourcesTest.java
index 98f4797..6be232f 100644
--- a/engine-d/src/test/java/org/onap/holmes/engine/resources/EngineResourcesTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/resources/EngineResourcesTest.java
@@ -66,6 +66,7 @@ public class EngineResourcesTest {
@Test
public void deployRule_normal() throws CorrelationException {
DeployRuleRequest deployRuleRequest = new DeployRuleRequest();
+ deployRuleRequest.setContent("package packageName;\n\nimport xxx.xxx.xxx;");
deployRuleRequest.setLoopControlName("loopControlName");
HttpServletRequest httpRequest = PowerMock.createMock(HttpServletRequest.class);