Replace explicit type with dimond type
[so.git] / bpmn / MSOInfrastructureBPMN / src / test / java / org / openecomp / mso / bpmn / infrastructure / DoCreateVfModuleVolumeV2Test.java
index 3b1f4b8..e9082d9 100644 (file)
@@ -1,3 +1,23 @@
+/*-\r
+ * ============LICENSE_START=======================================================\r
+ * ONAP - SO\r
+ * ================================================================================\r
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
+ * ================================================================================\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *      http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ============LICENSE_END=========================================================\r
+ */\r
+\r
 package org.openecomp.mso.bpmn.infrastructure;\r
 \r
 import java.io.IOException;\r
@@ -47,7 +67,7 @@ public class DoCreateVfModuleVolumeV2Test extends WorkflowTest {
                String businessKey = UUID.randomUUID().toString();\r
                String createVfModuleVolRequest = FileUtil.readResourceFile("__files/DoCreateVfModuleVolumeV1/CreateVfModuleVolumeRequest.xml");\r
                \r
-               Map<String, Object> testVariables = new HashMap<String, Object>();\r
+               Map<String, Object> testVariables = new HashMap<>();\r
                testVariables.put("volumeGroupId", "TEST-VOLUME-VOLUME-GROUP-ID-0123");\r
                testVariables.put("vnfId", "TEST-VNF-ID-0123");\r
                testVariables.put("lcpCloudRegionId", "AAIAIC25");\r
@@ -80,7 +100,7 @@ public class DoCreateVfModuleVolumeV2Test extends WorkflowTest {
                String businessKey = UUID.randomUUID().toString();\r
                String createVfModuleVolRequest = FileUtil.readResourceFile("__files/DoCreateVfModuleVolumeV1/CreateVfModuleVolumeRequest.xml");\r
                \r
-               Map<String, Object> testVariables = new HashMap<String, Object>();\r
+               Map<String, Object> testVariables = new HashMap<>();\r
                testVariables.put("DCVFMODVOLV2_volumeGroupId", "TEST-VOLUME-VOLUME-GROUP-ID-0123");\r
                testVariables.put("vnf-id", "TEST-VNF-ID-0123");\r
                testVariables.put("volume-group-id", "TEST-VOLUME-GROUP-ID-0123");\r
@@ -119,7 +139,7 @@ public class DoCreateVfModuleVolumeV2Test extends WorkflowTest {
                String businessKey = UUID.randomUUID().toString();\r
                String createVfModuleVolRequest = FileUtil.readResourceFile("__files/DoCreateVfModuleVolumeV1/CreateVfModuleVolumeRequest.xml");\r
                \r
-               Map<String, Object> testVariables = new HashMap<String, Object>();\r
+               Map<String, Object> testVariables = new HashMap<>();\r
                testVariables.put("DCVFMODVOLV2_volumeGroupId", "TEST-VOLUME-VOLUME-GROUP-ID-0123");\r
                testVariables.put("vnf-id", "TEST-VNF-ID-0123");\r
                testVariables.put("volume-group-id", "TEST-VOLUME-GROUP-ID-0123");\r
@@ -156,7 +176,7 @@ public class DoCreateVfModuleVolumeV2Test extends WorkflowTest {
                String businessKey = UUID.randomUUID().toString();\r
                String createVfModuleVolRequest = FileUtil.readResourceFile("__files/DoCreateVfModuleVolumeV1/CreateVfModuleVolumeRequest.xml");\r
                \r
-               Map<String, Object> testVariables = new HashMap<String, Object>();\r
+               Map<String, Object> testVariables = new HashMap<>();\r
                testVariables.put("DCVFMODVOLV2_volumeGroupId", "TEST-VOLUME-VOLUME-GROUP-ID-0123");\r
                testVariables.put("vnf-id", "TEST-VNF-ID-0123");\r
                testVariables.put("volume-group-id", "TEST-VOLUME-GROUP-ID-0123");\r
@@ -197,7 +217,7 @@ public class DoCreateVfModuleVolumeV2Test extends WorkflowTest {
                String businessKey = UUID.randomUUID().toString();\r
                String createVfModuleVolRequest = FileUtil.readResourceFile("__files/DoCreateVfModuleVolumeV1/CreateVfModuleVolumeNoRollbackRequest.xml");\r
                \r
-               Map<String, Object> testVariables = new HashMap<String, Object>();\r
+               Map<String, Object> testVariables = new HashMap<>();\r
                testVariables.put("DCVFMODVOLV2_volumeGroupId", "TEST-VOLUME-VOLUME-GROUP-ID-0123");\r
                testVariables.put("vnf-id", "TEST-VNF-ID-0123");\r
                testVariables.put("volume-group-id", "TEST-VOLUME-GROUP-ID-0123");\r