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");
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");
@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);
}
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);
}
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);
}
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);
}