aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/eventmanager/src/test/java
diff options
context:
space:
mode:
authorRashmi Pujar <rashmi.pujar@bell.ca>2019-11-06 14:47:03 -0500
committerRashmi Pujar <rashmi.pujar@bell.ca>2019-11-06 14:47:03 -0500
commit5f417e1ae3a6827881f21fa8293485c271f4c847 (patch)
tree26b34853761583fcc9a40af5fa15b8979f36a582 /controlloop/common/eventmanager/src/test/java
parent252688b18ec63eb0e1fe02ea6b9acdd709bde512 (diff)
Update drools-application due to https://gerrit.onap.org/r/#/c/policy/models/+/97989/
Issue-ID: POLICY-1896 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I6125a1c83f58411f08bb143ff21ccd66d4db4977
Diffstat (limited to 'controlloop/common/eventmanager/src/test/java')
-rw-r--r--controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java
index c9202904c..5601d08a8 100644
--- a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java
+++ b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java
@@ -264,7 +264,7 @@ public class ControlLoopEventManagerTest {
response.setServiceId("a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb");
response.setOrchestrationStatus("Created");
response.setInMaint(false);
- response.setIsClosedLoopDisabled(false);
+ response.setClosedLoopDisabled(false);
response.setResourceVersion("1494001988835");
response.setModelInvariantId("f18be3cd-d446-456e-9109-121d9b62feaa");
@@ -313,7 +313,7 @@ public class ControlLoopEventManagerTest {
response.setServiceId("a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb");
response.setOrchestrationStatus("Created");
response.setInMaint(false);
- response.setIsClosedLoopDisabled(false);
+ response.setClosedLoopDisabled(false);
response.setResourceVersion("1494001988835");
response.setModelInvariantId("f18be3cd-d446-456e-9109-121d9b62feaa");
@@ -1108,7 +1108,7 @@ public class ControlLoopEventManagerTest {
@Test
public void testProcessVnfResponse_Success() throws Exception {
AaiGetVnfResponse resp = new AaiGetVnfResponse();
- resp.setIsClosedLoopDisabled(false);
+ resp.setClosedLoopDisabled(false);
resp.setProvStatus(ControlLoopEventManager.PROV_STATUS_ACTIVE);
Whitebox.invokeMethod(ControlLoopEventManager.class, PROCESS_VNF_RESPONSE_METHOD_NAME, resp, true);
}
@@ -1131,7 +1131,7 @@ public class ControlLoopEventManagerTest {
resp.setRequestError(new AaiNqRequestError());
- resp.setIsClosedLoopDisabled(false);
+ resp.setClosedLoopDisabled(false);
resp.setProvStatus(ControlLoopEventManager.PROV_STATUS_ACTIVE);
Whitebox.invokeMethod(ControlLoopEventManager.class, PROCESS_VNF_RESPONSE_METHOD_NAME, resp, false);
}
@@ -1142,7 +1142,7 @@ public class ControlLoopEventManagerTest {
thrown.expectMessage("is-closed-loop-disabled is set to true (query by vnf-id)");
AaiGetVnfResponse resp = new AaiGetVnfResponse();
- resp.setIsClosedLoopDisabled(true);
+ resp.setClosedLoopDisabled(true);
resp.setProvStatus(ControlLoopEventManager.PROV_STATUS_ACTIVE);
Whitebox.invokeMethod(ControlLoopEventManager.class, PROCESS_VNF_RESPONSE_METHOD_NAME, resp, true);
}
@@ -1153,7 +1153,7 @@ public class ControlLoopEventManagerTest {
thrown.expectMessage("prov-status is not ACTIVE (query by vnf-name)");
AaiGetVnfResponse resp = new AaiGetVnfResponse();
- resp.setIsClosedLoopDisabled(false);
+ resp.setClosedLoopDisabled(false);
resp.setProvStatus("inactive1");
Whitebox.invokeMethod(ControlLoopEventManager.class, PROCESS_VNF_RESPONSE_METHOD_NAME, resp, false);
}