Merge "Reorder modifiers"
[so.git] / bpmn / MSOInfrastructureBPMN / src / test / java / org / openecomp / mso / bpmn / infrastructure / DeleteVfModuleVolumeInfraV1Test.java
index c343c97..0e2cf1b 100644 (file)
@@ -65,7 +65,7 @@ public class DeleteVfModuleVolumeInfraV1Test extends WorkflowTest {
                String deleteVfModuleVolRequest =
                        FileUtil.readResourceFile("__files/DeleteVfModuleVolumeInfraV1/deleteVfModuleVolume_VID_request_st.json");
                
-               Map<String, Object> testVariables = new HashMap<String, Object>();
+               Map<String, Object> testVariables = new HashMap<>();
                testVariables.put("requestId", "TEST-REQUEST-ID-0123");
                testVariables.put("volumeGroupId", "78987");
                testVariables.put("serviceInstanceId", "test-service-instance-id-0123");
@@ -74,7 +74,7 @@ public class DeleteVfModuleVolumeInfraV1Test extends WorkflowTest {
                        "v1", businessKey, deleteVfModuleVolRequest, testVariables);
                WorkflowResponse response = receiveResponse(businessKey, asyncResponse, 100000);
 
-               String responseBody = response.getResponse();
+               String responseBody = response.getContent();
                System.out.println("Workflow (Synch) Response:\n" + responseBody);
                
                injectVNFRestCallbacks(callbacks, "volumeGroupDelete");
@@ -105,7 +105,7 @@ public class DeleteVfModuleVolumeInfraV1Test extends WorkflowTest {
                String deleteVfModuleVolRequest =
                        FileUtil.readResourceFile("__files/DeleteVfModuleVolumeInfraV1/deleteVfModuleVolume_VID_request_st.json");
                
-               Map<String, Object> testVariables = new HashMap<String, Object>();
+               Map<String, Object> testVariables = new HashMap<>();
                testVariables.put("requestId", "TEST-REQUEST-ID-0123");
                testVariables.put("volumeGroupId", "78987");
                
@@ -113,7 +113,7 @@ public class DeleteVfModuleVolumeInfraV1Test extends WorkflowTest {
                        "v1", businessKey, deleteVfModuleVolRequest, testVariables);
                WorkflowResponse response = receiveResponse(businessKey, asyncResponse, 100000);
 
-               String responseBody = response.getResponse();
+               String responseBody = response.getContent();
                System.out.println("Workflow (Synch) Response:\n" + responseBody);
                
                //injectVNFRestCallbacks(callbacks, "volumeGroupDelete");
@@ -145,7 +145,7 @@ public class DeleteVfModuleVolumeInfraV1Test extends WorkflowTest {
                String deleteVfModuleVolRequest =
                        FileUtil.readResourceFile("__files/DeleteVfModuleVolumeInfraV1/deleteVfModuleVolume_VID_request_st.json");
                
-               Map<String, Object> testVariables = new HashMap<String, Object>();
+               Map<String, Object> testVariables = new HashMap<>();
                testVariables.put("requestId", "TEST-REQUEST-ID-0123");
                testVariables.put("volumeGroupId", "78987");
                
@@ -153,7 +153,7 @@ public class DeleteVfModuleVolumeInfraV1Test extends WorkflowTest {
                        "v1", businessKey, deleteVfModuleVolRequest, testVariables);
                WorkflowResponse response = receiveResponse(businessKey, asyncResponse, 100000);
 
-               String responseBody = response.getResponse();
+               String responseBody = response.getContent();
                System.out.println("Workflow (Synch) Response:\n" + responseBody);
                
                //injectVNFRestCallbacks(callbacks, "volumeGroupDelete");