@Deployment(resources = {"subprocess/GenericGetService.bpmn"})\r
public void testGenericGetService_success_serviceInstance() throws Exception{\r
MockGetServiceInstance("SDN-ETHERNET-INTERNET", "123456789", "MIS%252F1604%252F0026%252FSW_INTERNET", "GenericFlows/getServiceInstance.xml");\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", null, "SDN-ETHERNET-INTERNET", "123456789");\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
String obtainUrl = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_obtainObjectsUrl");\r
\r
MockGetServiceSubscription("1604-MVM-26", "SDN-ETHERNET-INTERNET", "GenericFlows/getServiceSubscription.xml");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesSubscription(variables, "", null , "1604-MVM-26", "SDN-ETHERNET-INTERNET");\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
MockNodeQueryServiceInstanceByName("1604-MVM-26", "GenericFlows/getSIUrlByName.xml");\r
MockGetServiceInstance("SDN-ETHERNET-INTERNET", "123456789", "MIS%252F1604%252F0026%252FSW_INTERNET", "GenericFlows/getServiceInstance.xml");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, null, "1604-MVM-26", null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
MockNodeQueryServiceInstanceById("MIS%2F1604%2F0026%2FSW_INTERNET", "GenericFlows/getSIUrlById.xml");\r
MockGetServiceInstance("SDN-ETHERNET-INTERNET", "123456789", "MIS%252F1604%252F0026%252FSW_INTERNET", "GenericFlows/getServiceInstance.xml");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", null, null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockGetServiceInstance_404("SDN-ETHERNET-INTERNET", "123456789", "MIS%2F1604%2F0026%2FSW_INTERNET");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", null, "SDN-ETHERNET-INTERNET", "123456789");\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
public void testGenericGetService_success_serviceSubscription404() throws Exception{\r
MockGetServiceSubscription("1604-MVM-26", "SDN-ETHERNET-INTERNET", 404);\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesSubscription(variables, "", "", "SDN-ETHERNET-INTERNET", "1604-MVM-26");\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockNodeQueryServiceInstanceByName_404("1604-MVM-26");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "", "1604-MVM-26", null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockNodeQueryServiceInstanceById_404("MIS%2F1604%2F0026%2FSW_INTERNET");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", null, null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockGetServiceInstance("1604-MVM-26", "SDN-ETHERNET-INTERNET", "MIS%252F1604%252F0026%252FSW_INTERNET", " ");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", null, "SDN-ETHERNET-INTERNET", "123456789");\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
public void testGenericGetService_success_serviceInstanceByNameEmpty() throws Exception{\r
MockNodeQueryServiceInstanceByName("1604-MVM-26", "");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "", "1604-MVM-26", null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockNodeQueryServiceInstanceById("MIS[%]2F1604[%]2F0026[%]2FSW_INTERNET", "");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", null, null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
@Deployment(resources = {"subprocess/GenericGetService.bpmn"})\r
public void testGenericGetService_error_serviceInstanceInvalidVariables() throws Exception{\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, null, null, "SDN-ETHERNET-INTERNET", null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
@Deployment(resources = {"subprocess/GenericGetService.bpmn"})\r
public void testGenericGetService_success_serviceSubscriptionInvalidVariables() throws Exception{\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesSubscription(variables, "", "", "SDN-ETHERNET-INTERNET", null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockGetServiceInstance_500("SDN-ETHERNET-INTERNET", "123456789", "MIS%252F1604%252F0026%252FSW_INTERNET");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", "1604-MVM-26", "SDN-ETHERNET-INTERNET", "123456789");\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockNodeQueryServiceInstanceById_500("MIS%2F1604%2F0026%2FSW_INTERNET");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, "MIS%2F1604%2F0026%2FSW_INTERNET", null, null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
\r
MockNodeQueryServiceInstanceByName_500("1604-MVM-26");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, null, "1604-MVM-26", null, null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
MockNodeQueryServiceInstanceByName("1604-MVM-26", "GenericFlows/getSIUrlByNameMultiCustomer.xml");\r
MockGetServiceInstance("XyCorporation", "123456789", "MIS%252F1604%252F0026%252FSW_INTERNET", "GenericFlows/getServiceInstance.xml");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, null, "1604-MVM-26", "XyCorporation", null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r
MockNodeQueryServiceInstanceByName("1604-MVM-26", "GenericFlows/getSIUrlByNameMultiCustomer.xml");\r
MockGetServiceInstance("CorporationNotPresent", "123456789", "MIS%252F1604%252F0026%252FSW_INTERNET", "GenericFlows/getServiceInstance.xml");\r
\r
- Map<String, String> variables = new HashMap<String, String>();\r
+ Map<String, String> variables = new HashMap<>();\r
setVariablesInstance(variables, null, "1604-MVM-26", "CorporationNotPresent", null);\r
\r
WorkflowResponse workflowResponse = executeWorkFlow(processEngineRule, "GenericGetService", variables);\r
- waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceID());\r
+ waitForWorkflowToFinish(processEngineRule, workflowResponse.getProcessInstanceId());\r
\r
String successIndicator = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_SuccessIndicator");\r
String found = BPMNUtil.getVariable(processEngineRule, "GenericGetService", "GENGS_FoundIndicator");\r