summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test
diff options
context:
space:
mode:
authorAmichai Hemli <ah0398@intl.att.com>2019-07-09 14:23:37 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-09 14:23:37 +0000
commit58d22b526418ffeb89337fed9e20406da420bc6f (patch)
tree4357c9cfe1c92d57ac0a3f90167cade7af505b95 /vid-automation/src/test
parent302b02a847e7aa8ccf3ff4bc14ff8a9cf67511b0 (diff)
parent97d9f66df456ef4573047a90baa3cc3ee4bfb0b7 (diff)
Merge changes Ib4430bf2,Icc0bdb9e,I2736b984
* changes: Merge from ecomp 718fd196 - Ext. Services Simulator Merge from ecomp 718fd196 - Integration Tests Merge from ecomp 718fd196 - Modern UI
Diffstat (limited to 'vid-automation/src/test')
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java116
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest.java54
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest2.java42
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest3.java71
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationMacroApiTest.java (renamed from vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationApiTest.java)42
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java16
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java24
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java1
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java24
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java19
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/ServicePermissionsApiTest.java11
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/ServiceTreeApiTest.java100
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java1
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java17
-rw-r--r--vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java21
-rw-r--r--vid-automation/src/test/java/org/onap/vid/more/RequestIdFilterInstalled.java4
-rw-r--r--vid-automation/src/test/resources/VnfGroup/ServiceWithVnfGroupsDeleteRequest.json8
-rw-r--r--vid-automation/src/test/resources/VnfGroup/VnfGroupCreate1Delete1None1Request.json8
-rw-r--r--vid-automation/src/test/resources/VnfGroup/deleteServiceWith2VnfGroupsRequest_AndThreeGroupMembers.json8
-rw-r--r--vid-automation/src/test/resources/VnfGroup/groupingServiceRoleResponse.json10
-rw-r--r--vid-automation/src/test/resources/VnfGroup/payloadTemplate1VnfGroupWith3MembersRequest.json8
-rw-r--r--vid-automation/src/test/resources/VnfGroup/serviceWithVnfGroupCreateRequest.json8
-rw-r--r--vid-automation/src/test/resources/VnfGroup/vnfGroupWithExistingAndNewVnfMembers.json10
-rw-r--r--vid-automation/src/test/resources/a-la-carte/redux-a-la-carte-no-testapi.json42
-rw-r--r--vid-automation/src/test/resources/a-la-carte/redux-a-la-carte.json42
-rw-r--r--vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceInstance.json70
-rw-r--r--vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceModel.json5
-rw-r--r--vid-automation/src/test/resources/aaiGetInstanceTopology/getServiceInstanceTopologyResult.json60
-rw-r--r--vid-automation/src/test/resources/aaiGetInstanceTopology/serviceWithVrfTopology.json125
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/ServiceTreeForRetry_serviceInstance.json2
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/ServiceWithFailedServiceInstance.json2
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Network.json16
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Vnf.json68
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteMacroService.json139
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithNetwork.json4
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithVnf.json2
-rw-r--r--vid-automation/src/test/resources/changeManagement/reduced_vnf_data_by_globalid_and_service_type.json130
-rw-r--r--vid-automation/src/test/resources/cr/getTopologyWithCR.json35
-rw-r--r--vid-automation/src/test/resources/cr/serviceWithCrResponse.json70
-rw-r--r--vid-automation/src/test/resources/features.properties37
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region.json4
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region_error.json4
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_create_configuration.json2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/ecompportal_getSessionSlotCheckInterval.json4
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai.json4
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VflorenceRvpmsFeAic3011217Svc.json2
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/portal_remote_users.json2
-rw-r--r--vid-automation/src/test/resources/sdcApiTest/aLaCarteInstantiationTypeResponse.json6
-rw-r--r--vid-automation/src/test/resources/sdcApiTest/emptyInstantiationTypeResponse.json6
-rw-r--r--vid-automation/src/test/resources/sdcApiTest/macroInstantiationTypeResponse.json6
-rw-r--r--vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponse.json102
-rw-r--r--vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponseOldCsar.json15
-rw-r--r--vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks.json126
-rw-r--r--vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks2.json22
-rw-r--r--vid-automation/src/test/resources/viewEdit/aaiGetVpnList.json155
-rw-r--r--vid-automation/src/test/resources/vrf/vrfServiceCreateRequest.json213
-rw-r--r--vid-automation/src/test/resources/vrf/vrfServiceRoleResponse.json87
57 files changed, 1676 insertions, 556 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java
index 952aa522d..b7c6e0e46 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java
@@ -1,44 +1,15 @@
package org.onap.vid.api;
-import static org.hamcrest.CoreMatchers.containsString;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotEquals;
-import static org.junit.Assert.assertThat;
-import static org.junit.Assert.assertTrue;
-import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.ofL3Network;
-import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.ofServiceInstance;
-import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.ofVlanTag;
-import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.ofVnf;
-import static org.onap.simulator.presetGenerator.presets.ecompportal_att.EcompPortalPresetsUtils.getEcompPortalPresets;
-import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND;
-import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
-import static vid.automation.test.utils.TestHelper.GET_SERVICE_MODELS_BY_DISTRIBUTION_STATUS;
-
+import com.fasterxml.jackson.core.JsonProcessingException;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMultimap;
-import java.io.IOException;
-import java.lang.reflect.Method;
-import java.net.URISyntaxException;
-import java.util.UUID;
import net.javacrumbs.jsonunit.JsonAssert;
import net.javacrumbs.jsonunit.core.Configuration;
import net.javacrumbs.jsonunit.core.Option;
import org.apache.commons.text.StringEscapeUtils;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIBadBodyForGetServicesGet;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAICloudRegionAndSourceFromConfigurationPut;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetHomingForVfModule;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetInstanceGroupsByCloudRegion;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetInstanceGroupsByCloudRegionInvalidRequest;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetInstanceGroupsByCloudRegionRequiredMissing;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetNetworkCollectionDetails;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetNetworkCollectionDetailsInvalidRequest;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetNetworkCollectionDetailsRequiredMissing;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetPortMirroringSourcePorts;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetPortMirroringSourcePortsError;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetRelatedInstanceGroupsByVnfId;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet;
-import org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet;
+import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset;
+import org.onap.simulator.presetGenerator.presets.aai.*;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceMetadataGet;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGet;
import org.onap.vid.model.aai.AaiResponse;
@@ -58,6 +29,24 @@ import vid.automation.test.infra.Features;
import vid.automation.test.services.SimulatorApi;
import vid.automation.test.utils.TestHelper;
+import java.io.IOException;
+import java.lang.reflect.Method;
+import java.net.URISyntaxException;
+import java.util.List;
+import java.util.UUID;
+
+import static net.javacrumbs.jsonunit.JsonMatchers.jsonEquals;
+import static org.hamcrest.CoreMatchers.containsString;
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.*;
+import static org.onap.simulator.presetGenerator.presets.ecompportal_att.EcompPortalPresetsUtils.getEcompPortalPresets;
+import static org.testng.Assert.assertNotNull;
+import static org.testng.Assert.assertTrue;
+import static org.testng.AssertJUnit.assertEquals;
+import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND;
+import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
+import static vid.automation.test.utils.TestHelper.GET_SERVICE_MODELS_BY_DISTRIBUTION_STATUS;
+
public class AaiApiTest extends BaseApiAaiTest {
private static final String AAI_HOMING_DATA_RESPONSE = "viewEdit/aaiHomingDataResponse.json";
@@ -217,6 +206,7 @@ public class AaiApiTest extends BaseApiAaiTest {
" }],\n" +
" \"readOnly\": false\n" +
"}";
+ private static final String AAI_GET_ACTIVE_NETWORKS = "/aai_get_active_networks";
private String getGetOperationEnvironmentsUri() {
return uri.toASCIIString() + "/get_operational_environments";
@@ -270,7 +260,7 @@ public class AaiApiTest extends BaseApiAaiTest {
AaiResponse<OperationalEnvironmentList> response = loginAndDoGetWithUrl(url);
assertEquals(HttpStatus.OK.value(), response.getHttpCode());
OperationalEnvironmentList list = response.getT();
- assertNotEquals(null, list.getOperationalEnvironment());
+ assertNotNull(list.getOperationalEnvironment());
assertEquals(2, list.getOperationalEnvironment().size());
assertEquals(uuidOfOperationalEnvironment, list.getOperationalEnvironment().get(0).getOperationalEnvironmentId());
assertEquals(1, list.getOperationalEnvironment().get(0).getRelationshipList().getRelationship().size());
@@ -681,12 +671,14 @@ public class AaiApiTest extends BaseApiAaiTest {
ImmutableMultimap.of("vlan-tag", vlanTagPreset3.getReqPath(), "vlan-tag", vlanTagPreset4.getReqPath()), "Created");
PresetAAIStandardQueryGet vnfPreset1 = ofVnf("c015cc0f-0f37-4488-aabf-53795fd93cd3",
- ImmutableMultimap.of("l3-network", l3NetworkPreset1.getReqPath() , "l3-network", l3NetworkPreset2.getReqPath()));
+ ImmutableMultimap.of("l3-network", l3NetworkPreset1.getReqPath() , "l3-network", l3NetworkPreset2.getReqPath()),
+ defaultPlacement());
PresetAAIStandardQueryGet l3NetworkPreset3 = ofL3Network("12aa7f3d-2bc2-48f5-aaf8-418520c54330","XXXYYYZZZ", "Network",
ImmutableMultimap.of("vlan-tag", vlanTagPreset5.getReqPath(), "vlan-tag", vlanTagPreset6.getReqPath()), "Created");
- PresetAAIStandardQueryGet vnfPreset2 = ofVnf("c55da606-cf38-42c7-bc3c-be8e23b19299", ImmutableMultimap.of("l3-network", l3NetworkPreset3.getReqPath()));
+ PresetAAIStandardQueryGet vnfPreset2 = ofVnf("c55da606-cf38-42c7-bc3c-be8e23b19299", ImmutableMultimap.of("l3-network", l3NetworkPreset3.getReqPath()),
+ defaultPlacement());
PresetAAIStandardQueryGet serviceInstance = ofServiceInstance("9cdd1b2a-43a7-47bc-a88e-759ba2399f0b",
"7a6ee536-f052-46fa-aa7e-2fca9d674c44", "6e59c5de-f052-46fa-aa7e-2fca9d674c44", globalCustomerId, serviceType,
@@ -716,7 +708,7 @@ public class AaiApiTest extends BaseApiAaiTest {
SimulatorApi.registerExpectation(AAI_VNFS_FOR_CHANGE_MANAGEMENT_JSON, APPEND);
- String url = uri + "/get_vnf_data_by_globalid_and_service_type/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/vFlowLogic";
+ String url = uri + "/get_vnf_data_by_globalid_and_service_type/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/vRichardson";
ResponseEntity<String> response = restTemplate.getForEntity(url, String.class);
//reduced_vnf_data_by_globalid_and_service_type.json
@@ -727,6 +719,58 @@ public class AaiApiTest extends BaseApiAaiTest {
}
+ @Test
+ public void getVpnList() {
+ SimulatorApi.registerExpectationFromPreset(new PresetAAIGetVpnsByType(), CLEAR_THEN_SET);
+ String url = uri + "/aai_get_vpn_list";
+ ResponseEntity<String> response = restTemplate.getForEntity(url, String.class);
+ String expected = getResourceAsString("viewEdit/aaiGetVpnList.json");
+ assertThat(response.getBody(), jsonEquals(expected).when(Option.IGNORING_ARRAY_ORDER).when(Option.IGNORING_EXTRA_FIELDS));
+ }
+
+ @DataProvider
+ public static Object[][] getActiveNetworkAaiStates() {
+ return new Object[][] {
+ {1, "viewEdit/aaiGetActiveNetworks.json"},
+ {2, "viewEdit/aaiGetActiveNetworks2.json"}
+ };
+ }
+
+ @Test(dataProvider = "getActiveNetworkAaiStates")
+ public void getActiveNetworks_givenSpecificAAIState_cypressPresetMatch(int state, String expectedResultFileName) {
+ SimulatorApi.registerExpectationFromPresets(ImmutableList.of(
+ new PresetAAIGetL3NetworksByCloudRegionSpecificState(state),
+ PresetAAIGetCloudOwnersByCloudRegionId.PRESET_AUK51A_TO_ATT_NC
+ ), CLEAR_THEN_SET);
+ String url = uri + AAI_GET_ACTIVE_NETWORKS
+ + "?cloudRegion=" + AAIBaseGetL3NetworksByCloudRegionPreset.DEFAULT_CLOUD_REGION_ID
+ + "&tenantId=" + AAIBaseGetL3NetworksByCloudRegionPreset.DEFAULT_TENANT_ID;
+ String response = restTemplate.getForObject(url, String.class);
+ System.out.println("response = " + response);
+ String expected = getResourceAsString(expectedResultFileName);
+ assertThat(response, jsonEquals(expected));
+ }
+
+ @Test
+ public void getActiveNetworks() throws JsonProcessingException {
+ String networkRole = "Some role";
+ PresetAAIGetL3NetworksByCloudRegion presetAAIGetL3NetworksByCloudRegion = new PresetAAIGetL3NetworksByCloudRegion(networkRole);
+ List<BasePreset> presets = ImmutableList.of(
+ presetAAIGetL3NetworksByCloudRegion,
+ PresetAAIGetCloudOwnersByCloudRegionId.PRESET_AUK51A_TO_ATT_NC
+ );
+ SimulatorApi.registerExpectationFromPresets(presets, CLEAR_THEN_SET);
+ String url = uri + AAI_GET_ACTIVE_NETWORKS +
+ "?cloudRegion=" + presetAAIGetL3NetworksByCloudRegion.getCloudRegionId() +
+ "&tenantId=" + presetAAIGetL3NetworksByCloudRegion.getTenantId() +
+ "&networkRole=" + networkRole;
+ ResponseEntity<String> response = restTemplate.getForEntity(url, String.class);
+
+ assertResponse(JsonAssert.when(Option.IGNORING_EXTRA_FIELDS, Option.IGNORING_ARRAY_ORDER),
+ presetAAIGetL3NetworksByCloudRegion.getActiveNetworksWithNameAndRelatedToVpnBindingAsJsonString(),
+ response.getBody());
+ }
+
private void assertResponse(Object expected, String response) {
assertResponse(Configuration.empty(), expected, response);
}
diff --git a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest.java
index 539e857c9..1a93a23d0 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest.java
@@ -1,39 +1,12 @@
package org.onap.vid.api;
-import static java.util.Collections.emptyMap;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.allOf;
-import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
-import static org.onap.simulator.presetGenerator.presets.BasePresets.BaseMSOPreset.DEFAULT_INSTANCE_ID;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost.DEFAULT_REQUEST_ID;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet.COMPLETE;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.SERVICE_NAME;
-import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
-
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
import org.onap.simulator.presetGenerator.presets.BasePresets.BaseMSOPreset;
import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetCloudOwnersByCloudRegionId;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOAddOrRemoveOneInstanceGroupMember;
+import org.onap.simulator.presetGenerator.presets.mso.*;
import org.onap.simulator.presetGenerator.presets.mso.PresetMSOAddOrRemoveOneInstanceGroupMember.InstanceGroupMemberAction;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseDelete;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateNetworkALaCarteCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateServiceInstanceGen2WithNamesAlacarteService;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateServiceInstanceGen2WithNamesAlacarteServiceCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateVfModuleALaCarteCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateVfModuleWithVolumeGroupALaCarteCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateVnfALaCarteCypress2;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateVnfGroup;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteALaCarteService;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteInstanceGroup;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceMetadataGet;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGet;
import org.onap.vid.model.asyncInstantiation.JobAuditStatus;
@@ -51,7 +24,22 @@ import vid.automation.test.services.AsyncJobsService;
import vid.automation.test.services.SimulatorApi;
import vid.automation.test.services.SimulatorApi.RegistrationStrategy;
-@FeatureTogglingTest({Features.FLAG_ASYNC_JOBS, Features.FLAG_ASYNC_INSTANTIATION, Features.FLAG_ASYNC_ALACARTE_VNF})
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+
+import static java.util.Collections.emptyMap;
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.allOf;
+import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
+import static org.onap.simulator.presetGenerator.presets.BasePresets.BaseMSOPreset.DEFAULT_INSTANCE_ID;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost.DEFAULT_REQUEST_ID;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet.COMPLETE;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.SERVICE_NAME;
+import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
+
+@FeatureTogglingTest({Features.FLAG_ASYNC_ALACARTE_VNF})
public class AsyncInstantiationALaCarteApiTest extends AsyncInstantiationBase {
private static final String CREATE_BULK_OF_ALACARTE_REQUEST = "asyncInstantiation/vidRequestCreateALaCarte.json";
@@ -484,12 +472,12 @@ public class AsyncInstantiationALaCarteApiTest extends AsyncInstantiationBase {
}
private void assertServiceInfoSpecific2(String jobId, JobStatus jobStatus, String serviceInstanceName, ServiceAction serviceAction) {
- assertExpectedStatusAndServiceInfo(jobStatus, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(jobStatus, jobId, PATIENCE_LEVEL.FAIL_VERY_SLOW, new ServiceInfo(
"us16807000", jobStatus, false,
"d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "WayneHolland", "WATKINS",
"JAG1", null,
"092eb9e8e4b7412e8787dd091bc58e86", null,
- "JANET25", null,
+ "AAIAIC25", null,
"TYLER SILVIA", null,
null, serviceInstanceName,
"2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd", "action-data", "1.0",
@@ -498,7 +486,7 @@ public class AsyncInstantiationALaCarteApiTest extends AsyncInstantiationBase {
}
private void assertServiceInfoSpecificDeletion(String jobId, JobStatus jobStatus, String serviceInstanceName, String serviceType) {
- assertExpectedStatusAndServiceInfo(jobStatus, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(jobStatus, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", jobStatus, false,
null, null, null,
null, null,
@@ -512,7 +500,7 @@ public class AsyncInstantiationALaCarteApiTest extends AsyncInstantiationBase {
}
private void assertServiceInfoSpecificUpdate(String jobId, JobStatus jobStatus, String serviceInstanceName) {
- assertExpectedStatusAndServiceInfo(jobStatus, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(jobStatus, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", jobStatus, false,
null, null, null,
null, null,
diff --git a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest2.java b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest2.java
index 54f2cc66f..b38d3da91 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest2.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest2.java
@@ -1,34 +1,13 @@
package org.onap.vid.api;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.allOf;
-import static org.hamcrest.Matchers.equalTo;
-import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost.DEFAULT_REQUEST_ID;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.SERVICE_NAME;
-import static vid.automation.test.services.SimulatorApi.registerExpectationFromPreset;
-import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
-
import com.fasterxml.jackson.core.type.TypeReference;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
-import java.io.IOException;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
import org.onap.simulator.presetGenerator.presets.BasePresets.BaseMSOPreset;
import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet;
import org.onap.simulator.presetGenerator.presets.ecompportal_att.PresetGetSessionSlotCheckIntervalGet;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseDelete;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateServiceInstanceGen2ErrorResponse;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteALaCarteService;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGetErrorResponse;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestsGetByRequestId;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestsGetByServiceInstanceId;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames;
+import org.onap.simulator.presetGenerator.presets.mso.*;
import org.onap.vid.model.asyncInstantiation.JobAuditStatus;
import org.onap.vid.model.asyncInstantiation.JobAuditStatus.SourceStatus;
import org.onap.vid.model.asyncInstantiation.ServiceInfo;
@@ -43,7 +22,22 @@ import vid.automation.test.services.AsyncJobsService;
import vid.automation.test.services.SimulatorApi;
import vid.automation.test.services.SimulatorApi.RegistrationStrategy;
-@FeatureTogglingTest({Features.FLAG_ASYNC_JOBS, Features.FLAG_ASYNC_INSTANTIATION, Features.FLAG_ASYNC_ALACARTE_VNF})
+import java.io.IOException;
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.allOf;
+import static org.hamcrest.Matchers.equalTo;
+import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost.DEFAULT_REQUEST_ID;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.SERVICE_NAME;
+import static vid.automation.test.services.SimulatorApi.registerExpectationFromPreset;
+import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
+
+@FeatureTogglingTest({Features.FLAG_ASYNC_ALACARTE_VNF})
public class AsyncInstantiationALaCarteApiTest2 extends AsyncInstantiationBase {
private static final String CREATE_BULK_OF_ALACARTE_MULTIPLE_VNF_NETWORK_REQUEST_CYPRESS = "a-la-carte/redux-multiple-vnf-network.json";
@@ -190,7 +184,7 @@ public class AsyncInstantiationALaCarteApiTest2 extends AsyncInstantiationBase {
}
private void assertServiceInfoSpecificDeletion(String jobId, JobStatus jobStatus, String serviceInstanceName, String serviceType) {
- assertExpectedStatusAndServiceInfo(jobStatus, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(jobStatus, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", jobStatus, false,
null, null, null,
null, null,
diff --git a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest3.java b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest3.java
index eed6ee90b..12ad325d5 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest3.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationALaCarteApiTest3.java
@@ -1,50 +1,15 @@
package org.onap.vid.api;
-import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.CoreMatchers.nullValue;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.allOf;
-import static org.hamcrest.Matchers.not;
-import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost.DEFAULT_REQUEST_ID;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet.COMPLETE;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.RELATED_VNF1_ACTION;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.RELATED_VNF2_ACTION;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.SERVICE_NAME;
-import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.VNF_GROUP1_ACTION;
-import static vid.automation.test.services.SimulatorApi.registerExpectationFromPreset;
-import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
-
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
-import java.util.function.Function;
import org.onap.simulator.presetGenerator.presets.BasePresets.BaseMSOPreset;
import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetCloudOwnersByCloudRegionId;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAISearchNodeQueryNonEmptyResult;
import org.onap.simulator.presetGenerator.presets.ecompportal_att.PresetGetSessionSlotCheckIntervalGet;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOAddOrRemoveOneInstanceGroupMember;
+import org.onap.simulator.presetGenerator.presets.mso.*;
import org.onap.simulator.presetGenerator.presets.mso.PresetMSOAddOrRemoveOneInstanceGroupMember.InstanceGroupMemberAction;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateNetworkALaCarteServiceCypress2;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateServiceInstanceGen2WithNamesAlacarteGroupingService;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateServiceInstanceGen2WithNamesAlacarteService;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateServiceInstanceMultipleVnfsServiceCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateVnfALaCarteServiceCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateVnfALaCarteServiceCypress2;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOCreateVnfGroup;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteBaseVfModuleCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteNetworkAlaCarteCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteService;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteVfModuleCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeleteVnfAlaCarteCypress;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet;
-import org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceMetadataGet;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGet;
import org.onap.vid.model.asyncInstantiation.JobAuditStatus;
@@ -61,7 +26,25 @@ import vid.automation.test.services.AsyncJobsService;
import vid.automation.test.services.SimulatorApi;
import vid.automation.test.services.SimulatorApi.RegistrationStrategy;
-@FeatureTogglingTest({Features.FLAG_ASYNC_JOBS, Features.FLAG_ASYNC_INSTANTIATION, Features.FLAG_ASYNC_ALACARTE_VNF})
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import java.util.function.Function;
+
+import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
+import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.CoreMatchers.nullValue;
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.allOf;
+import static org.hamcrest.Matchers.not;
+import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOBaseCreateInstancePost.DEFAULT_REQUEST_ID;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet.COMPLETE;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys.*;
+import static vid.automation.test.services.SimulatorApi.registerExpectationFromPreset;
+import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
+
+@FeatureTogglingTest({Features.FLAG_ASYNC_ALACARTE_VNF})
public class AsyncInstantiationALaCarteApiTest3 extends AsyncInstantiationBase {
private static final String CREATE_BULK_OF_ALACARTE_REQUEST = "asyncInstantiation/vidRequestCreateALaCarte.json";
@@ -385,12 +368,12 @@ public class AsyncInstantiationALaCarteApiTest3 extends AsyncInstantiationBase {
assertThat(uuids, hasSize(1));
String jobId = uuids.get(0);
- assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", JobStatus.COMPLETED, false,
"d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "WayneHolland", "WATKINS",
"JAG1", "YUDFJULP-JAG1",
"092eb9e8e4b7412e8787dd091bc58e86", "USP-SIP-IC-24335-T-01",
- "JANET25", null,
+ "AAIAIC25", null,
"TYLER SILVIA", null,
null, "InstanceName",
"6b528779-44a3-4472-bdff-9cd15ec93450", "action-data", "1.0",
@@ -417,12 +400,12 @@ public class AsyncInstantiationALaCarteApiTest3 extends AsyncInstantiationBase {
assertThat(uuids, hasSize(1));
String jobId = uuids.get(0);
- assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", JobStatus.COMPLETED, false,
"d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "WayneHolland", "WATKINS",
"JAG1", "YUDFJULP-JAG1",
"092eb9e8e4b7412e8787dd091bc58e86", "USP-SIP-IC-24335-T-01",
- "JANET25", null,
+ "AAIAIC25", null,
"TYLER SILVIA", null,
null, "InstanceName",
"6b528779-44a3-4472-bdff-9cd15ec93450", "action-data", "1.0",
@@ -460,7 +443,7 @@ public class AsyncInstantiationALaCarteApiTest3 extends AsyncInstantiationBase {
assertThat(uuids, hasSize(1));
String jobId = uuids.get(0);
- assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", JobStatus.COMPLETED, false,
"d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "WayneHolland", "WATKINS",
"NFT1", "NFTJSSSS-NFT1",
@@ -492,7 +475,7 @@ public class AsyncInstantiationALaCarteApiTest3 extends AsyncInstantiationBase {
assertThat(uuids, hasSize(1));
String jobId = uuids.get(0);
- assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", JobStatus.COMPLETED, false,
"d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "WayneHolland", "WATKINS",
"NFT1", "NFTJSSSS-NFT1",
@@ -549,7 +532,7 @@ public class AsyncInstantiationALaCarteApiTest3 extends AsyncInstantiationBase {
}
private void assertServiceInfoSpecific3(String jobId, JobStatus jobStatus, String serviceInstanceName) {
- assertExpectedStatusAndServiceInfo(jobStatus, jobId, true, new ServiceInfo(
+ assertExpectedStatusAndServiceInfo(jobStatus, jobId, PATIENCE_LEVEL.FAIL_SLOW, new ServiceInfo(
"us16807000", jobStatus, false,
"aaa1", "aaa1", "yyy1",
"YYY1", "UUUAIAAI-YYY1",
diff --git a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationMacroApiTest.java
index 5c4d8a876..1f0b0f3aa 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/AsyncInstantiationMacroApiTest.java
@@ -1,11 +1,13 @@
package org.onap.vid.api;
import com.google.common.collect.ImmutableList;
+import com.google.common.collect.ImmutableMap;
import net.bytebuddy.utility.RandomString;
import net.javacrumbs.jsonunit.JsonAssert;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
+import org.hamcrest.collection.IsCollectionWithSize;
import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetCloudOwnersByCloudRegionId;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet;
@@ -21,9 +23,9 @@ import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import vid.automation.test.infra.FeatureTogglingTest;
-import vid.automation.test.infra.Features;
import vid.automation.test.infra.Wait;
import vid.automation.test.model.JobStatus;
+import vid.automation.test.model.ServiceAction;
import vid.automation.test.services.SimulatorApi;
import java.util.*;
@@ -35,15 +37,16 @@ import static java.util.stream.Collectors.*;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasSize;
+import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestGet.COMPLETE;
import static org.onap.simulator.presetGenerator.presets.mso.PresetMSOServiceInstanceGen2WithNames.Keys;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertTrue;
import static vid.automation.test.infra.Features.FLAG_1906_INSTANTIATION_API_USER_VALIDATION;
+import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
import static vid.automation.test.utils.ExtendedHamcrestMatcher.hasItemsFromCollection;
-@FeatureTogglingTest({Features.FLAG_ASYNC_JOBS, Features.FLAG_ASYNC_INSTANTIATION})
-public class AsyncInstantiationApiTest extends AsyncInstantiationBase {
- private static final Logger logger = LogManager.getLogger(AsyncInstantiationApiTest.class);
+public class AsyncInstantiationMacroApiTest extends AsyncInstantiationBase {
+ private static final Logger logger = LogManager.getLogger(AsyncInstantiationMacroApiTest.class);
private static final String MSO_BASE_ERROR =
"Received error from SDN-C: java.lang.IllegalArgumentException: All keys must be specified for class org."+
@@ -55,6 +58,8 @@ public class AsyncInstantiationApiTest extends AsyncInstantiationBase {
private static final String INSTANCE_GROUP_LABEL = "instanceGroup";
+ private static final String DELETE_MACRO_SERVICE_FILE_NAME = "asyncInstantiation/vidRequestDeleteMacroService.json";
+
@Test
public void createBulkOfCreateInstances(){
Map<Keys, String> names = generateNames();
@@ -352,7 +357,7 @@ public class AsyncInstantiationApiTest extends AsyncInstantiationBase {
@Test(dataProvider = "macroAndALaCarteBulk", expectedExceptions = HttpClientErrorException.class)
@FeatureTogglingTest(FLAG_1906_INSTANTIATION_API_USER_VALIDATION)
public void verifyCreateBulkOfInstancesUserPermissionValidation(String requestDetailsFileName) {
- login(new UserCredentials("mo57174000", "mo57174000", null, null, null));
+ login(new UserCredentials("em1536000", "em1536000", null, null, null));
try {
createBulkOfInstances(false, 1, Collections.EMPTY_MAP, requestDetailsFileName);
} catch (HttpClientErrorException e){
@@ -365,4 +370,31 @@ public class AsyncInstantiationApiTest extends AsyncInstantiationBase {
}
+ @Test
+ public void deleteMacroService_getAuditStatus_verifyCompleted() {
+ String deleteServiceRequestId = UUID.randomUUID().toString();
+ String serviceInstanceId = "service-instance-id";
+ registerExpectationFromPresets(ImmutableList.of(
+ new PresetAAIGetSubscribersGet(),
+ new PresetMSODeleteMacroService(deleteServiceRequestId, serviceInstanceId),
+ new PresetMSOOrchestrationRequestGet(COMPLETE, deleteServiceRequestId)
+ ), SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET);
+
+ List<String> uuids = createBulkOfInstances(false, 1, ImmutableMap.of(), DELETE_MACRO_SERVICE_FILE_NAME);
+ assertThat(uuids, IsCollectionWithSize.hasSize(1));
+ String jobId = uuids.get(0);
+
+ assertExpectedStatusAndServiceInfo(JobStatus.COMPLETED, jobId, PATIENCE_LEVEL.FAIL_FAST, new ServiceInfo(
+ "us16807000", JobStatus.COMPLETED, false,
+ "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "WayneHolland", "WATKINS",
+ "JAG1", "YUDFJULP-JAG1",
+ "092eb9e8e4b7412e8787dd091bc58e86", "USP-SIP-IC-24335-T-01",
+ "AAIAIC25", null,
+ "service-instance-type", null,
+ null, "InstanceName",
+ "f028b2e2-7080-4b13-91b2-94944d4c42d8", "Service with VRF", "5.0",
+ jobId, null, ServiceAction.DELETE, false)
+ );
+ }
+
}
diff --git a/vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java
index c04d2ff0d..762a0091c 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/CategoryParametersApiTest.java
@@ -17,7 +17,6 @@ import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.io.IOException;
import java.util.List;
-import java.util.Random;
import java.util.UUID;
import java.util.stream.Collectors;
@@ -27,8 +26,7 @@ import static org.testng.AssertJUnit.assertEquals;
//This is integration test that require running tomcat
public class CategoryParametersApiTest extends BaseApiTest {
- public static final String GET_CATEGORY_PARAMETER_PROPERTIES = "maintenance/category_parameter";
- public static final String DELETE_CATEGORY_PARAMETER_PROPERTIES = "maintenance/delete_category_parameter";
+ public static final String MAINTENANCE_CATEGORY_PARAMETER = "maintenance/category_parameter";
public static final String PROPERTY_NAME = "owningEntity";
public static final String PROPERTY_FAMILY = "PARAMETER_STANDARDIZATION";
@@ -56,7 +54,7 @@ public class CategoryParametersApiTest extends BaseApiTest {
findPropertyNameInGetResponse(UPDATE_PARAMETER_PROPERTY_NAME);
CategoryParameterOption deleteReq = new CategoryParameterOption();
deleteReq.setName(UPDATE_PARAMETER_PROPERTY_NAME);
- deleteCPPropertiesRequest(HttpMethod.POST, deleteReq, HttpStatus.OK);
+ deleteCPPropertiesRequest(HttpMethod.DELETE, deleteReq, HttpStatus.OK);
}
@Test(groups = { "worksOnlyWithLocalhostVID" })
@@ -89,7 +87,7 @@ public class CategoryParametersApiTest extends BaseApiTest {
}
private Response getCPPropertiesRequest(String method, HttpStatus exceptedHttpStatus) throws IOException {
- UriComponentsBuilder urlBuilder = UriComponentsBuilder.fromUri(uri).path("/"+GET_CATEGORY_PARAMETER_PROPERTIES)
+ UriComponentsBuilder urlBuilder = UriComponentsBuilder.fromUri(uri).path("/"+ MAINTENANCE_CATEGORY_PARAMETER)
.queryParam("familyName", PROPERTY_FAMILY);
WebTarget webTarget = client.target(urlBuilder.toUriString());
Response response = webTarget.request(MediaType.APPLICATION_JSON_TYPE).method(method, Entity.json(null));
@@ -98,22 +96,22 @@ public class CategoryParametersApiTest extends BaseApiTest {
}
private Response addCPPropertiesRequest(String method, AddCategoryOptionsRequest request, HttpStatus exceptedHttpStatus) throws IOException {
- WebTarget webTarget = client.target(uri).path(GET_CATEGORY_PARAMETER_PROPERTIES+"/"+PROPERTY_NAME);
+ WebTarget webTarget = client.target(uri).path(MAINTENANCE_CATEGORY_PARAMETER +"/"+PROPERTY_NAME);
Response response = webTarget.request(MediaType.APPLICATION_JSON_TYPE).method(method, Entity.json(request));
TestUtils.assertHttpStatus(request, webTarget, response, exceptedHttpStatus);
return response;
}
private Response updateCPPropertiesRequest(String method, CategoryParameterOptionRep request, HttpStatus exceptedHttpStatus) throws IOException {
- WebTarget webTarget = client.target(uri).path(GET_CATEGORY_PARAMETER_PROPERTIES+"/"+PROPERTY_NAME);
+ WebTarget webTarget = client.target(uri).path(MAINTENANCE_CATEGORY_PARAMETER +"/"+PROPERTY_NAME);
Response response = webTarget.request(MediaType.APPLICATION_JSON_TYPE).method(method, Entity.json(request));
TestUtils.assertHttpStatus(request, webTarget, response, exceptedHttpStatus);
return response;
}
private Response deleteCPPropertiesRequest(String method, CategoryParameterOption request, HttpStatus exceptedHttpStatus) throws IOException {
- WebTarget webTarget = client.target(uri).path(DELETE_CATEGORY_PARAMETER_PROPERTIES+"/"+PROPERTY_NAME);
- Response response = webTarget.request(MediaType.APPLICATION_JSON_TYPE).method(method, Entity.json(request));
+ WebTarget webTarget = client.target(uri).path(MAINTENANCE_CATEGORY_PARAMETER+"/"+PROPERTY_NAME+"/"+request.getName());
+ Response response = webTarget.request(MediaType.APPLICATION_JSON_TYPE).method(method, Entity.json(null));
TestUtils.assertHttpStatus(request, webTarget, response, exceptedHttpStatus);
return response;
}
diff --git a/vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java
index e38617b39..a550cde4c 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/ProbeApiTest.java
@@ -1,17 +1,6 @@
package org.onap.vid.api;
-import static org.hamcrest.CoreMatchers.anyOf;
-import static org.hamcrest.CoreMatchers.both;
-import static org.hamcrest.CoreMatchers.endsWith;
-import static org.hamcrest.CoreMatchers.equalTo;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.CoreMatchers.startsWith;
-import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
-
import com.google.common.collect.ImmutableList;
-import java.lang.reflect.Method;
-import java.util.Collection;
-import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@@ -21,13 +10,13 @@ import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGetInvalidResponse;
import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestsManyStatusesGet;
import org.onap.simulator.presetGenerator.presets.mso.PresetMSOOrchestrationRequestsManyStatusesInvalidResponseGet;
-import org.onap.simulator.presetGenerator.presets.scheduler.PresetGetSchedulerChangeManagementInvalidResponse;
-import org.onap.simulator.presetGenerator.presets.scheduler.PresetGetSchedulerChangeManagements;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGet;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGetEmptyResult;
import org.onap.simulator.presetGenerator.presets.sdc.PresetSDCGetServiceToscaModelGetInvalidResponse;
import org.onap.vid.model.probe.ExternalComponentStatus;
import org.onap.vid.model.probe.HttpRequestMetadata;
+import org.onap.simulator.presetGenerator.presets.scheduler.PresetGetSchedulerChangeManagementInvalidResponse;
+import org.onap.simulator.presetGenerator.presets.scheduler.PresetGetSchedulerChangeManagements;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
@@ -36,6 +25,13 @@ import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import vid.automation.test.services.SimulatorApi;
+import java.lang.reflect.Method;
+import java.util.Collection;
+import java.util.List;
+
+import static org.hamcrest.CoreMatchers.*;
+import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
+
public class ProbeApiTest extends BaseApiTest {
private static final String MSO_QUERY_PARAMS = "filter=requestExecutionDate:EQUALS:01-01-2100";
@@ -65,7 +61,7 @@ public class ProbeApiTest extends BaseApiTest {
new HttpRequestMetadata(HttpMethod.GET,
200,
AAI_QUERY_PARMAS,
- "{\"customer\":[{\"global-customer-id\":\"CAR_2020_ER\",\"subscriber-name\":\"CAR_2020_ER\",\"subscriber-type\":\"INFRA\",\"resource-version\":\"1494001902987\",\"relationship-list\":null},{\"global-customer-id\":\"21014aa2-526b-11e6-beb8-9e71128cae77\",\"subscriber-name\":\"JULIO ERICKSON\",\"subscriber-type\":\"INFRA\",\"resource-version\":\"1494001776295\",\"relationship-list\":null},{\"global-customer-id\":\"DHV1707-TestSubscriber-2\",\"subscriber-name\":\"DALE BRIDGES\",\"subscriber-type\":\"INFRA\",\"resource-version\":\"1498751754450\",\"relationsh",
+ "{\"customer\":[{\"global-customer-id\":\"CAR_2020_ER\",\"subscriber-name\":\"CAR_2020_ER\",\"subscriber-type\":\"INFRA\",\"resource-version\":\"1494001902987\",\"relationship-list\":null},{\"global-customer-id\":\"21014aa2-526b-11e6-beb8-9e71128cae77\",\"subscriber-name\":\"JULIO ERICKSON\",\"subscriber-type\":\"INFRA\",\"resource-version\":\"1494001776295\",\"relationship-list\":null},{\"global-customer-id\":\"DHV1707-TestSubscriber-2\",\"subscriber-name\":\"DALE BRIDGES\",\"subscriber-type\":\"INFRA\",\"resource-version\":\"1498751754450\",\"relat",
"OK"
)
), new ExternalComponentStatus(ExternalComponentStatus.Component.MSO,
diff --git a/vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java
index 9d7a08120..c57a90aef 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/SampleApiTest.java
@@ -11,7 +11,6 @@ import vid.automation.test.services.SimulatorApi;
import java.io.IOException;
-import static java.util.Collections.singletonList;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
diff --git a/vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java
index 7735d59af..329291838 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/SdcApiTest.java
@@ -1,16 +1,5 @@
package org.onap.vid.api;
-import static net.javacrumbs.jsonunit.JsonMatchers.jsonStringEquals;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.core.Is.is;
-import static org.hamcrest.core.IsNot.not;
-import static org.testng.Assert.assertFalse;
-import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND;
-import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
-import static vid.automation.test.services.SimulatorApi.registerExpectation;
-import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
-import static vid.automation.test.utils.ReadFile.loadResourceAsString;
-
import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.collect.ImmutableList;
import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset;
@@ -25,6 +14,17 @@ import org.testng.annotations.Test;
import vid.automation.test.infra.FeatureTogglingTest;
import vid.automation.test.infra.Features;
+import static net.javacrumbs.jsonunit.JsonMatchers.jsonStringEquals;
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.core.Is.is;
+import static org.hamcrest.core.IsNot.not;
+import static org.testng.Assert.assertFalse;
+import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND;
+import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
+import static vid.automation.test.services.SimulatorApi.registerExpectation;
+import static vid.automation.test.services.SimulatorApi.registerExpectationFromPresets;
+import static vid.automation.test.utils.ReadFile.loadResourceAsString;
+
public class SdcApiTest extends BaseApiTest {
private static final String SDC_GET_SERVICE_MODEL = "/rest/models/services/";
@@ -170,7 +170,7 @@ public class SdcApiTest extends BaseApiTest {
// using json-pointers instead of path, because vnf name has
// dots and spaces
- final String myVnf = "vMMEvProbe_FE_AIC3-11.2.1_VF 1";
+ final String myVnf = "vFLORENCEvProbe_FE_AIC3-11.2.1_VF 1";
final String base = "/vnfs/" + myVnf;
assertFalse(response.at(base).isMissingNode(),
diff --git a/vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java
index 40ce80ba6..ef582099d 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/ServiceInstanceMsoApiTest.java
@@ -2,8 +2,6 @@ package org.onap.vid.api;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
-import java.io.IOException;
-import java.net.URISyntaxException;
import org.apache.commons.text.StringEscapeUtils;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetCloudOwnersByCloudRegionId;
import org.onap.simulator.presetGenerator.presets.mso.PresetMSOActivateFabricConfiguration;
@@ -13,8 +11,9 @@ import org.onap.simulator.presetGenerator.presets.mso.PresetMSODeactivateAndClou
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.testng.annotations.Test;
-import vid.automation.test.infra.FeatureTogglingTest;
-import vid.automation.test.infra.Features;
+
+import java.io.IOException;
+import java.net.URISyntaxException;
public class ServiceInstanceMsoApiTest extends BaseMsoApiTest{
@@ -64,7 +63,6 @@ public class ServiceInstanceMsoApiTest extends BaseMsoApiTest{
}
@Test
- @FeatureTogglingTest(Features.FLAG_UNASSIGN_SERVICE)
public void testUnassignServiceInstanceSucceed() throws Exception {
String requestBody = TestUtils.convertRequest(objectMapper, DELETE_AND_UNASSIGN_SERVICE_REQUEST_DETAILS);
callMsoWithFineRequest(UNASSIGN_OK_JSON, ImmutableMap.of(), buildUri(MSO_UNASSIGN_SERVICE_INSTANCE), requestBody,
@@ -73,7 +71,6 @@ public class ServiceInstanceMsoApiTest extends BaseMsoApiTest{
@Test
- @FeatureTogglingTest(Features.FLAG_UNASSIGN_SERVICE)
public void testDeleteServiceInstanceSucceed() throws Exception {
String requestBody = TestUtils.convertRequest(objectMapper, DELETE_AND_UNASSIGN_SERVICE_REQUEST_DETAILS);
callMsoWithFineRequest(UNASSIGN_OK_JSON, ImmutableMap.of(
@@ -82,16 +79,7 @@ public class ServiceInstanceMsoApiTest extends BaseMsoApiTest{
HttpStatus.ACCEPTED.value(), EXPECTED_SUCCESS_MSO_RESPONSE, HttpMethod.POST);
}
- @Test
- @FeatureTogglingTest(value = Features.FLAG_UNASSIGN_SERVICE, flagActive = false)
- public void testUnassignServiceInstanceBecomesDelete() throws Exception {
- String requestBody = TestUtils.convertRequest(objectMapper, DELETE_AND_UNASSIGN_SERVICE_REQUEST_DETAILS);
- callMsoWithFineRequest(DELETE_SERVICE_REQUEST_DETAILS, ImmutableMap.of(), buildUri(MSO_DELETE_SERVICE_INSTANCE), requestBody,
- HttpStatus.ACCEPTED.value(), EXPECTED_SUCCESS_MSO_RESPONSE, HttpMethod.POST);
- }
-
@Test(dataProvider = "errorCodes")
- @FeatureTogglingTest(Features.FLAG_UNASSIGN_SERVICE)
public void testUnassignServiceInstanceFailed(int errorCode) throws IOException {
String requestBody = TestUtils.convertRequest(objectMapper, DELETE_AND_UNASSIGN_SERVICE_REQUEST_DETAILS);
callMsoWithSimulatedErrorResponse(DELETE_OR_UNASSIGN_FAILED_JSON,
@@ -101,7 +89,6 @@ public class ServiceInstanceMsoApiTest extends BaseMsoApiTest{
}
@Test(dataProvider = "errorCodes")
- @FeatureTogglingTest(Features.FLAG_UNASSIGN_SERVICE)
public void testDeleteServiceInstanceFailed(int errorCode) throws IOException {
String requestBody = TestUtils.convertRequest(objectMapper, DELETE_AND_UNASSIGN_SERVICE_REQUEST_DETAILS);
callMsoWithSimulatedErrorResponse(DELETE_OR_UNASSIGN_FAILED_JSON,
diff --git a/vid-automation/src/test/java/org/onap/vid/api/ServicePermissionsApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ServicePermissionsApiTest.java
index 385ec9b0d..78fe143c9 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/ServicePermissionsApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/ServicePermissionsApiTest.java
@@ -1,18 +1,19 @@
package org.onap.vid.api;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.core.Is.is;
-
import com.google.common.collect.ImmutableMap;
-import java.util.Map;
-import org.onap.sdc.ci.tests.datatypes.UserCredentials;
import org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetSubscribersGet;
+import org.onap.sdc.ci.tests.datatypes.UserCredentials;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import vid.automation.test.Constants;
import vid.automation.test.model.User;
import vid.automation.test.services.SimulatorApi;
+import java.util.Map;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.core.Is.is;
+
public class ServicePermissionsApiTest extends BaseApiTest {
private final String emanuelSubscriberId = "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb";
diff --git a/vid-automation/src/test/java/org/onap/vid/api/ServiceTreeApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/ServiceTreeApiTest.java
index 52aa2e388..4ece31dfc 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/ServiceTreeApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/ServiceTreeApiTest.java
@@ -16,10 +16,15 @@ import vid.automation.test.services.SimulatorApi;
import java.util.UUID;
+import static net.javacrumbs.jsonunit.JsonMatchers.jsonEquals;
+import static net.javacrumbs.jsonunit.core.Option.IGNORING_ARRAY_ORDER;
+import static net.javacrumbs.jsonunit.core.Option.IGNORING_EXTRA_FIELDS;
import static org.apache.commons.text.StringEscapeUtils.escapeJson;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.*;
+import static org.hamcrest.Matchers.containsString;
+import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIGetCloudOwnersByCloudRegionId.*;
+import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.defaultPlacement;
import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.CLEAR_THEN_SET;
public class ServiceTreeApiTest extends BaseApiTest {
@@ -106,15 +111,15 @@ public class ServiceTreeApiTest extends BaseApiTest {
"\"in-maint\": true,", ImmutableMultimap.of("instance-group", instanceGroup2.getReqPath()));
Multimap<String, String> serviceInstance1 = ImmutableMultimap.<String, String>builder()
- .putAll("generic-vnf", vnfPreset1.getReqPath())
- .putAll("generic-vnf", vnfPreset3.getReqPath())
- .build();
+ .putAll("generic-vnf", vnfPreset1.getReqPath())
+ .putAll("generic-vnf", vnfPreset3.getReqPath())
+ .build();
Multimap<String, String> serviceInstance2 = ImmutableMultimap.<String, String>builder()
- .putAll("generic-vnf", vnfPreset2.getReqPath())
- .putAll("generic-vnf", vnfPreset4.getReqPath())
- .putAll("generic-vnf", vnfPreset5.getReqPath())
- .build();
+ .putAll("generic-vnf", vnfPreset2.getReqPath())
+ .putAll("generic-vnf", vnfPreset4.getReqPath())
+ .putAll("generic-vnf", vnfPreset5.getReqPath())
+ .build();
PresetAAIGetServiceInstancesByInvariantId serviceInstancesList = new PresetAAIGetServiceInstancesByInvariantId(
"global-customer-id", "service-instance-type", "24632e6b-584b-4f45-80d4-fefd75fd9f14",
@@ -207,16 +212,22 @@ public class ServiceTreeApiTest extends BaseApiTest {
PresetAAIStandardQueryGet instanceGroup1 = PresetAAIStandardQueryGet.ofInstanceGroup("L3-NETWORK", "Ruby Figueroa", ImmutableMultimap.of());
PresetAAIStandardQueryGet collection1 =
- PresetAAIStandardQueryGet.ofCollectionResource("Assigned",
- ImmutableMultimap.of("instance-group", instanceGroup1.getReqPath()));
+ PresetAAIStandardQueryGet.ofCollectionResource(
+ "Assigned",
+ ImmutableMultimap.of("instance-group", instanceGroup1.getReqPath()),
+ "081ceb56-eb71-4566-a72d-3e7cbee5cdf1",
+ "ce8c98bc-4691-44fb-8ff0-7a47487c11c4"
+ );
PresetAAIStandardQueryGet vnfPreset1 =
PresetAAIStandardQueryGet.ofVnf(randUuid(),
- ImmutableMultimap.of("l3-network", l3NetworkPreset1.getReqPath(), "l3-network", l3NetworkPreset2.getReqPath()));
+ ImmutableMultimap.of("l3-network", l3NetworkPreset1.getReqPath(), "l3-network", l3NetworkPreset2.getReqPath()),
+ new Placement(ATT_NC, olson3, "229bcdc6eaeb4ca59d55221141d01f8e"));
PresetAAIStandardQueryGet vnfPreset2 =
PresetAAIStandardQueryGet.ofVnf(randUuid(), "d6557200-ecf2-4641-8094-5393ae3aae60","91415b44-753d-494c-926a-456a9172bbb9",
- "\"in-maint\": true,", ImmutableMultimap.of("volume-group", volumeGroup1.getReqPath()));
+ "\"in-maint\": true,", ImmutableMultimap.of("volume-group", volumeGroup1.getReqPath()),
+ new Placement(ATT_AIC, hvf6, "88a6ca3ee0394ade9403f075db23167e"));
PresetAAIGetVfModulesByVnf vfModules2 = new PresetAAIGetVfModulesByVnf(vnfPreset2.getInstanceId());
@@ -264,12 +275,21 @@ public class ServiceTreeApiTest extends BaseApiTest {
assertJsonEquals(response, expected);
}
+ @Override
+ protected void assertJsonEquals(String actual, String expected) {
+ assertThat(actual, jsonEquals(expected)
+ .when(IGNORING_ARRAY_ORDER)
+ .when(IGNORING_EXTRA_FIELDS)
+ );
+ }
+
@Test
public void serviceWithVnfGotError_exceptionIsThrown() {
PresetAAIStandardQueryGet vnfPreset =
PresetAAIStandardQueryGet.ofVnf(randUuid(),
- ImmutableMultimap.of("l3-network", "/aai/v../I'm a wrong path"));
+ ImmutableMultimap.of("l3-network", "/aai/v../I'm a wrong path"),
+ defaultPlacement());
final PresetAAIStandardQueryGet serviceInstance =
PresetAAIStandardQueryGet.ofServiceInstance("service-instance-id", "7a6ee536-f052-46fa-aa7e-2fca9d674c44", "service-instance-model-invariant-id", "global-customer-id", "service-instance-type",
@@ -364,7 +384,61 @@ public class ServiceTreeApiTest extends BaseApiTest {
assertJsonEquals(response, expected);
}
+ @Test
+ public void serviceWithVrf_resultAsExpected(){
+ PresetAAIStandardQueryGet vpnBindingPreset =
+ PresetAAIStandardQueryGet.ofVpn("Active", ImmutableMultimap.of(), "mock-global-1", "mock-role-x", "VPN1260","USA,EMEA");
+
+ // in order to verify thst only one route target is parsed from the Vpn - binding of the network
+ PresetAAIStandardQueryGet vpnBindingPresetOnlyForTheNetwork =
+ PresetAAIStandardQueryGet.ofVpn("Active", ImmutableMultimap.of(), "shouldNotBeOnResult", "shouldNotBeOnResult","shouldNotBeOnResult","shouldNotBeOnResult");
+
+ PresetAAIStandardQueryGet l3NetworkPreset =
+ PresetAAIStandardQueryGet.ofL3Network("SR-IOV-PROVIDER2-2", "Assigned",
+ ImmutableMultimap.of("vpn-binding", vpnBindingPreset.getReqPath(),
+ "vpn-binding", vpnBindingPresetOnlyForTheNetwork.getReqPath()));
+
+ PresetAAIStandardQueryGet vrfPreset =
+ PresetAAIStandardQueryGet.ofVrf("Create",
+ ImmutableMultimap.of(
+ "l3-network", l3NetworkPreset.getReqPath(),
+ "vpn-binding", vpnBindingPreset.getReqPath()));
+
+ final PresetAAIStandardQueryGet serviceInstance =
+ PresetAAIStandardQueryGet.ofServiceInstance("service-instance-id", "BONDING", "INFRASTRUCTURE-VPN", "f028b2e2-7080-4b13-91b2-94944d4c42d8",
+ "dfc2c44c-2429-44ca-ae26-1e6dc1f207fb", "global-customer-id", "service-instance-type", "GARBAGE DATA",
+ ImmutableMultimap.of("configuration", vrfPreset.getReqPath()));
+
+ String expected = TestUtils.convertRequest(objectMapper, "aaiGetInstanceTopology/serviceWithVrfTopology.json");
+ expected = expected
+ .replace("SERVICE_INSTANCE_NAME", serviceInstance.getInstanceName())
+ .replace("VRF_INSTANCE_ID", vrfPreset.getInstanceId())
+ .replace("VRF_INSTANCE_NAME", vrfPreset.getInstanceName())
+ .replace("VPN_INSTANCE_ID", vpnBindingPreset.getInstanceId())
+ .replace("VPN_INSTANCE_NAME", vpnBindingPreset.getInstanceName())
+ .replace("NETWORK_INSTANCE_NAME", l3NetworkPreset.getInstanceName())
+ .replace("NETWORK_INSTANCE_ROLE", l3NetworkPreset.getInstanceRole())
+ .replace("NETWORK_INSTANCE_ID", l3NetworkPreset.getInstanceId());
+
+ SimulatorApi.registerExpectationFromPresets(ImmutableList.of(
+ serviceInstance,
+ vrfPreset,
+ vpnBindingPreset,
+ l3NetworkPreset,
+ new PresetAAIModelsByInvariantIdGet(ImmutableList.of("network-instance-model-invariant-id", "dfc2c44c-2429-44ca-ae26-1e6dc1f207fb", "b67a289b-1688-496d-86e8-1583c828be0a" )),
+ new PresetGetSessionSlotCheckIntervalGet(),
+ new PresetAAIGetSubscribersGet(),
+ new PresetSDCGetServiceMetadataGet("f028b2e2-7080-4b13-91b2-94944d4c42d8", "dfc2c44c-2429-44ca-ae26-1e6dc1f207fb", "service-Infravpn-csar.zip"),
+ new PresetSDCGetServiceToscaModelGet("f028b2e2-7080-4b13-91b2-94944d4c42d8", "service-Infravpn-csar.zip")
+ ), CLEAR_THEN_SET);
+
+ final String response = restTemplate.getForObject(buildUri(API_URL), String.class, "global-customer-id", "service-instance-type", "service-instance-id");
+
+ assertJsonEquals(response, expected);
+ }
+
private String randUuid() {
return UUID.randomUUID().toString();
}
+
}
diff --git a/vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java
index ec479d900..38ce8613d 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/VidConfigurationApiTest.java
@@ -4,7 +4,6 @@ import org.springframework.http.ResponseEntity;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import static java.util.Collections.singletonList;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
diff --git a/vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java
index db10fdc57..ff52f2b04 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/pProbeAaiApiTest.java
@@ -1,13 +1,6 @@
package org.onap.vid.api;
-import static vid.automation.test.services.SimulatorApi.RegistrationStrategy;
-import static vid.automation.test.services.SimulatorApi.registerExpectation;
-
import com.google.common.collect.ImmutableMap;
-import java.io.IOException;
-import java.lang.reflect.Method;
-import java.net.URISyntaxException;
-import java.util.ArrayList;
import org.apache.commons.text.StringEscapeUtils;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
@@ -16,6 +9,14 @@ import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
+import java.io.IOException;
+import java.lang.reflect.Method;
+import java.net.URISyntaxException;
+import java.util.ArrayList;
+
+import static vid.automation.test.services.SimulatorApi.RegistrationStrategy;
+import static vid.automation.test.services.SimulatorApi.registerExpectation;
+
public class pProbeAaiApiTest extends BaseApiAaiTest {
@@ -35,7 +36,7 @@ public class pProbeAaiApiTest extends BaseApiAaiTest {
//URIs
private static final String GET_SERVICE_INSTANCE_PNFS = "aai_get_service_instance_pnfs/31739f3e-526b-11e6-beb8-9e71128cae77/AIM Transport/f36f5734-e9df-4fbf-9f35-61be13f028a1";
private static final String GET_SPECIFIC_PNF_URI = "aai_get_pnfs/pnf/DEAAI78";
- private static final String GET_PNF_BY_REGION = "aai_get_pnf_instances/e433710f-9217-458d-a79d-1c7aff376d89/TYLER SILVIA/8a84e59b-45fe-4851-8ff1-34225a0b32c3/83b458fd-5dd3-419b-a9e3-7335814a0911/JANET25/Cisco/Nexus 3048-TP";
+ private static final String GET_PNF_BY_REGION = "aai_get_pnf_instances/e433710f-9217-458d-a79d-1c7aff376d89/TYLER SILVIA/8a84e59b-45fe-4851-8ff1-34225a0b32c3/83b458fd-5dd3-419b-a9e3-7335814a0911/AAIAIC25/Cisco/Nexus 3048-TP";
diff --git a/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java b/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java
index 7ca29f854..d72337f3d 100644
--- a/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/more/LoggerFormatTest.java
@@ -1,14 +1,6 @@
package org.onap.vid.more;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.Matchers.greaterThan;
-import static org.hamcrest.Matchers.greaterThanOrEqualTo;
-import static org.junit.Assert.assertThat;
-
import com.fasterxml.jackson.databind.JsonNode;
-import java.net.URI;
-import java.util.HashMap;
-import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -19,11 +11,20 @@ import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import vid.automation.test.services.SimulatorApi;
+import java.net.URI;
+import java.util.HashMap;
+import java.util.Map;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.greaterThan;
+import static org.hamcrest.Matchers.greaterThanOrEqualTo;
+import static org.junit.Assert.assertThat;
+
public class LoggerFormatTest extends BaseApiTest {
- // See: https://www.openecomp.org/KSAT/REST-based+Log+Checker
- private final static String logChecker = "http://eelf.onap.org:31820/validate";
+ // See: https://wiki.web.att.com/display/KSAT/REST-based+Log+Checker
+ private final static String logChecker = "http://eelflogcheck.it.att.com:31820/validate";
private final Logger logger = LogManager.getLogger(LoggerFormatTest.class);
@BeforeClass
diff --git a/vid-automation/src/test/java/org/onap/vid/more/RequestIdFilterInstalled.java b/vid-automation/src/test/java/org/onap/vid/more/RequestIdFilterInstalled.java
index 0a0045d4d..73ad53e19 100644
--- a/vid-automation/src/test/java/org/onap/vid/more/RequestIdFilterInstalled.java
+++ b/vid-automation/src/test/java/org/onap/vid/more/RequestIdFilterInstalled.java
@@ -20,7 +20,7 @@ import java.util.UUID;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
-import static org.onap.vid.api.CategoryParametersApiTest.GET_CATEGORY_PARAMETER_PROPERTIES;
+import static org.onap.vid.api.CategoryParametersApiTest.MAINTENANCE_CATEGORY_PARAMETER;
import static org.onap.vid.api.pProbeMsoApiTest.MSO_CREATE_CONFIGURATION;
import static org.springframework.http.HttpHeaders.AUTHORIZATION;
import static vid.automation.test.services.SimulatorApi.RegistrationStrategy.APPEND;
@@ -90,7 +90,7 @@ public class RequestIdFilterInstalled extends BaseApiTest {
final Pair<HttpEntity, String> responseAndUuid = makeRequest(
HttpMethod.GET,
- "/" + GET_CATEGORY_PARAMETER_PROPERTIES + "?familyName=PARAMETER_STANDARDIZATION",
+ "/" + MAINTENANCE_CATEGORY_PARAMETER + "?familyName=PARAMETER_STANDARDIZATION",
null
);
assertThatUuidInResponseAndUuidIsInARecentLog(responseAndUuid);
diff --git a/vid-automation/src/test/resources/VnfGroup/ServiceWithVnfGroupsDeleteRequest.json b/vid-automation/src/test/resources/VnfGroup/ServiceWithVnfGroupsDeleteRequest.json
index 08534ce49..d1a777028 100644
--- a/vid-automation/src/test/resources/VnfGroup/ServiceWithVnfGroupsDeleteRequest.json
+++ b/vid-automation/src/test/resources/VnfGroup/ServiceWithVnfGroupsDeleteRequest.json
@@ -1,12 +1,14 @@
{
"isDirty":true,
"vnfs": {},
+ "vrfs": {},
"instanceParams": [],
"validationCounter": 0,
"existingNames": {
"wowservicewithvnfgroping": ""
},
"existingVNFCounterMap": {},
+ "existingVRFCounterMap": {},
"existingVnfGroupCounterMap": {},
"existingNetworksCounterMap": {},
"networks": {},
@@ -28,6 +30,12 @@
"projectName": null,
"rollbackOnFailure": false,
"isALaCarte": true,
+ "vidNotions": {
+ "instantiationUI": "serviceWithVnfGrouping",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithVnfGrouping",
+ "instantiationType": "ALaCarte"
+ },
"modelInfo": {
"modelInvariantId": "7ee41ce4-4827-44b0-a48e-2707a59905d2",
"modelVersionId": "4117a0b6-e234-467d-b5b9-fe2f68c8b0fc",
diff --git a/vid-automation/src/test/resources/VnfGroup/VnfGroupCreate1Delete1None1Request.json b/vid-automation/src/test/resources/VnfGroup/VnfGroupCreate1Delete1None1Request.json
index f1bbf1712..cb2f2011c 100644
--- a/vid-automation/src/test/resources/VnfGroup/VnfGroupCreate1Delete1None1Request.json
+++ b/vid-automation/src/test/resources/VnfGroup/VnfGroupCreate1Delete1None1Request.json
@@ -2,6 +2,7 @@
"action": "None",
"isDirty": true,
"vnfs": {},
+ "vrfs": {},
"instanceParams": [],
"validationCounter": 0,
"existingNames": {
@@ -9,6 +10,7 @@
"vnf_group3_instance_name": ""
},
"existingVNFCounterMap": {},
+ "existingVRFCounterMap": {},
"existingVnfGroupCounterMap": {
"daeb6568-cef8-417f-9075-ed259ce59f48": 3
},
@@ -192,6 +194,12 @@
"projectName": null,
"rollbackOnFailure": false,
"isALaCarte": true,
+ "vidNotions": {
+ "instantiationUI": "serviceWithVnfGrouping",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithVnfGrouping",
+ "instantiationType": "ALaCarte"
+ },
"modelInfo": {
"modelInvariantId": "7ee41ce4-4827-44b0-a48e-2707a59905d2",
"modelVersionId": "4117a0b6-e234-467d-b5b9-fe2f68c8b0fc",
diff --git a/vid-automation/src/test/resources/VnfGroup/deleteServiceWith2VnfGroupsRequest_AndThreeGroupMembers.json b/vid-automation/src/test/resources/VnfGroup/deleteServiceWith2VnfGroupsRequest_AndThreeGroupMembers.json
index f43a1dd12..b7c6dc2a5 100644
--- a/vid-automation/src/test/resources/VnfGroup/deleteServiceWith2VnfGroupsRequest_AndThreeGroupMembers.json
+++ b/vid-automation/src/test/resources/VnfGroup/deleteServiceWith2VnfGroupsRequest_AndThreeGroupMembers.json
@@ -1,10 +1,12 @@
{
"existingVNFCounterMap": {},
+ "existingVRFCounterMap": {},
"existingVnfGroupCounterMap": {
"daeb6568-cef8-417f-9075-ed259ce59f48": 2
},
"existingNetworksCounterMap": {},
"vnfs": {},
+ "vrfs": {},
"vnfGroups": {
"VNF_GROUP1_INSTANCE_ID": {
"originalName": "groupingservicefortest..ResourceInstanceGroup..0",
@@ -163,6 +165,12 @@
"rollbackOnFailure": false,
"testApi": "VNF_API",
"isALaCarte": true,
+ "vidNotions": {
+ "instantiationUI": "serviceWithVnfGrouping",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithVnfGrouping",
+ "instantiationType": "ALaCarte"
+ },
"action": "Delete",
"isDirty": true,
"instanceId": "service-instance-id",
diff --git a/vid-automation/src/test/resources/VnfGroup/groupingServiceRoleResponse.json b/vid-automation/src/test/resources/VnfGroup/groupingServiceRoleResponse.json
index f83799308..7f4aca906 100644
--- a/vid-automation/src/test/resources/VnfGroup/groupingServiceRoleResponse.json
+++ b/vid-automation/src/test/resources/VnfGroup/groupingServiceRoleResponse.json
@@ -3,7 +3,8 @@
"vidNotions": {
"instantiationUI": "serviceWithVnfGrouping",
"modelCategory": "other",
- "viewEditUI": "serviceWithVnfGrouping"
+ "viewEditUI": "serviceWithVnfGrouping",
+ "instantiationType": "ALaCarte"
},
"uuid": "4117a0b6-e234-467d-b5b9-fe2f68c8b0fc",
"invariantUuid": "7ee41ce4-4827-44b0-a48e-2707a59905d2",
@@ -19,12 +20,13 @@
"inputs": {}
},
"vnfs": {},
+ "vrfs": {},
"networks": {},
- "collectionResource": {},
+ "collectionResources": {},
"configurations": {},
"fabricConfigurations": {},
"serviceProxies": {
- "vDOROTHEA_svc_vprs_proxy 0": {
+ "vdorothea_svc_vprs_proxy 0": {
"uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
"invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
"description": "A Proxy for Service vDOROTHEA_Svc_vPRS",
@@ -80,7 +82,7 @@
"quantity": 4
},
"members": {
- "vDOROTHEA_svc_vprs_proxy 0": {
+ "vdorothea_svc_vprs_proxy 0": {
"uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
"invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
"description": "A Proxy for Service vDOROTHEA_Svc_vPRS",
diff --git a/vid-automation/src/test/resources/VnfGroup/payloadTemplate1VnfGroupWith3MembersRequest.json b/vid-automation/src/test/resources/VnfGroup/payloadTemplate1VnfGroupWith3MembersRequest.json
index 734c13306..d6cf636de 100644
--- a/vid-automation/src/test/resources/VnfGroup/payloadTemplate1VnfGroupWith3MembersRequest.json
+++ b/vid-automation/src/test/resources/VnfGroup/payloadTemplate1VnfGroupWith3MembersRequest.json
@@ -2,12 +2,14 @@
"action": "None",
"isDirty": true,
"vnfs": {},
+ "vrfs": {},
"instanceParams": [],
"validationCounter": 0,
"existingNames": {
"service_instance_name": ""
},
"existingVNFCounterMap": {},
+ "existingVRFCounterMap": {},
"existingVnfGroupCounterMap": {
"daeb6568-cef8-417f-9075-ed259ce59f48": 2
},
@@ -167,6 +169,12 @@
"projectName": null,
"rollbackOnFailure": false,
"isALaCarte": true,
+ "vidNotions": {
+ "instantiationUI": "serviceWithVnfGrouping",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithVnfGrouping",
+ "instantiationType": "ALaCarte"
+ },
"modelInfo": {
"modelInvariantId": "7ee41ce4-4827-44b0-a48e-2707a59905d2",
"modelVersionId": "4117a0b6-e234-467d-b5b9-fe2f68c8b0fc",
diff --git a/vid-automation/src/test/resources/VnfGroup/serviceWithVnfGroupCreateRequest.json b/vid-automation/src/test/resources/VnfGroup/serviceWithVnfGroupCreateRequest.json
index 0f4bc3fa3..bb0334b7a 100644
--- a/vid-automation/src/test/resources/VnfGroup/serviceWithVnfGroupCreateRequest.json
+++ b/vid-automation/src/test/resources/VnfGroup/serviceWithVnfGroupCreateRequest.json
@@ -36,7 +36,7 @@
},
"instanceParams": [
{
- "2017488_PASQUALEvpe0_ASN": "AV_vPE"
+ "2017488_pasqualevpe0_ASN": "AV_vPE"
}
],
"globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
@@ -51,6 +51,12 @@
"modelName": "Grouping Service for Test",
"modelVersion": "1.0"
},
+ "vidNotions": {
+ "instantiationUI": "serviceWithVnfGrouping",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithVnfGrouping",
+ "instantiationType": "ALaCarte"
+ },
"existingNames": {
"abc": ""
},
diff --git a/vid-automation/src/test/resources/VnfGroup/vnfGroupWithExistingAndNewVnfMembers.json b/vid-automation/src/test/resources/VnfGroup/vnfGroupWithExistingAndNewVnfMembers.json
index da9727e89..cabdbca38 100644
--- a/vid-automation/src/test/resources/VnfGroup/vnfGroupWithExistingAndNewVnfMembers.json
+++ b/vid-automation/src/test/resources/VnfGroup/vnfGroupWithExistingAndNewVnfMembers.json
@@ -8,6 +8,7 @@
},
"existingNetworksCounterMap": {},
"existingVNFCounterMap": {},
+ "existingVRFCounterMap": {},
"existingVnfGroupCounterMap": {
"daeb6568-cef8-417f-9075-ed259ce59f48": 2,
"c2b300e6-45de-4e5e-abda-3032bee2de56": 0
@@ -17,6 +18,12 @@
"instanceName": "SERVICE_INSTANCE_NAME",
"instanceParams": [],
"isALaCarte": true,
+ "vidNotions": {
+ "instantiationUI": "serviceWithVnfGrouping",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithVnfGrouping",
+ "instantiationType": "ALaCarte"
+ },
"isDirty": true,
"lcpCloudRegionId": null,
"modelInfo": {
@@ -205,5 +212,6 @@
"vnfs": {}
}
},
- "vnfs": {}
+ "vnfs": {},
+ "vrfs": {}
} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte-no-testapi.json b/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte-no-testapi.json
index 47643d21e..a6c4dc16f 100644
--- a/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte-no-testapi.json
+++ b/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte-no-testapi.json
@@ -9,8 +9,8 @@
"action": "Create",
"rollbackOnFailure": "true",
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
"instanceName": "mimazepubi",
"lcpCloudRegionId": "hvf6",
"tenantId": "624eb554b0d147c19ff8885341760481",
@@ -21,50 +21,50 @@
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
"modelUniqueId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
"isMissingData": false
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
"instanceName": "puwesovabe",
"volumeGroupName": "puwesovabe_vol",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"legacyRegion": "my region",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"rollbackOnFailure": "true",
"sdncPreLoad": true,
"instanceParams": [{
- "PASQUALEvpe0_bandwidth": "10",
- "2017488_PASQUALEvpe0_vnf_instance_name": "mtnj309me6",
- "2017488_PASQUALEvpe0_vnf_config_template_version": "17.2",
- "2017488_PASQUALEvpe0_AIC_CLLI": "ATLMY8GA",
- "PASQUALEvpe0_bandwidth_units": "Gbps"
+ "pasqualevpe0_bandwidth": "10",
+ "2017488_pasqualevpe0_vnf_instance_name": "mtnj309me6",
+ "2017488_pasqualevpe0_vnf_config_template_version": "17.2",
+ "2017488_pasqualevpe0_AIC_CLLI": "ATLMY8GA",
+ "pasqualevpe0_bandwidth_units": "Gbps"
}
],
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
"modelUniqueId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
"isMissingData": false
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
"instanceName": "bnmgtrx",
"volumeGroupName": "",
"lcpCloudRegionId": "hvf6",
@@ -76,11 +76,11 @@
"modelInfo": {
"modelInvariantId": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
"modelVersionId": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
"modelVersion": "6",
"modelCustomizationId": "3cd946bb-50e0-40d8-96d3-c9023520b557",
"modelUniqueId": "3cd946bb-50e0-40d8-96d3-c9023520b557",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
"uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a"
},
"uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
@@ -95,7 +95,7 @@
"instanceName": "2017-488_PASQUALE-vPE",
"inMaint":false,
"productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"legacyRegion": "just another region",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"platformName": "xxx1",
@@ -128,7 +128,7 @@
"inMaint":false,
"legacyRegion": "lcpRegionText",
"productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"platformName": "xxx1",
"lineOfBusiness": "zzz1",
@@ -188,7 +188,7 @@
"tenantName": null,
"aicZoneId": "JAG1",
"aicZoneName": null,
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
"isMultiStepDesign": false
} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte.json b/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte.json
index 7fcc9b1eb..cc1d5b566 100644
--- a/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte.json
+++ b/vid-automation/src/test/resources/a-la-carte/redux-a-la-carte.json
@@ -9,8 +9,8 @@
"action": "Create",
"rollbackOnFailure": "true",
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
"instanceName": "mimazepubi",
"lcpCloudRegionId": "hvf6",
"tenantId": "624eb554b0d147c19ff8885341760481",
@@ -21,50 +21,50 @@
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
"modelUniqueId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
"isMissingData": false
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
"instanceName": "puwesovabe",
"volumeGroupName": "puwesovabe_vol",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"legacyRegion": "my region",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"rollbackOnFailure": "true",
"sdncPreLoad": true,
"instanceParams": [{
- "PASQUALEvpe0_bandwidth": "10",
- "2017488_PASQUALEvpe0_vnf_instance_name": "mtnj309me6",
- "2017488_PASQUALEvpe0_vnf_config_template_version": "17.2",
- "2017488_PASQUALEvpe0_AIC_CLLI": "ATLMY8GA",
- "PASQUALEvpe0_bandwidth_units": "Gbps"
+ "pasqualevpe0_bandwidth": "10",
+ "2017488_pasqualevpe0_vnf_instance_name": "mtnj309me6",
+ "2017488_pasqualevpe0_vnf_config_template_version": "17.2",
+ "2017488_pasqualevpe0_AIC_CLLI": "ATLMY8GA",
+ "pasqualevpe0_bandwidth_units": "Gbps"
}
],
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
"modelUniqueId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
"isMissingData": false
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
"instanceName": "bnmgtrx",
"volumeGroupName": "",
"lcpCloudRegionId": "hvf6",
@@ -76,11 +76,11 @@
"modelInfo": {
"modelInvariantId": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
"modelVersionId": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
"modelVersion": "6",
"modelCustomizationId": "3cd946bb-50e0-40d8-96d3-c9023520b557",
"modelUniqueId": "3cd946bb-50e0-40d8-96d3-c9023520b557",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vPFE_BV..module-2",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
"uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a"
},
"uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
@@ -95,7 +95,7 @@
"instanceName": "2017-488_PASQUALE-vPE",
"inMaint":false,
"productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"legacyRegion": "just another region",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"platformName": "xxx1",
@@ -128,7 +128,7 @@
"inMaint":false,
"legacyRegion": "lcpRegionText",
"productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"platformName": "xxx1",
"lineOfBusiness": "zzz1",
@@ -189,7 +189,7 @@
"tenantName": null,
"aicZoneId": "JAG1",
"aicZoneName": null,
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034",
"isMultiStepDesign": false
} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceInstance.json b/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceInstance.json
index a95573558..50786d36b 100644
--- a/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceInstance.json
+++ b/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceInstance.json
@@ -42,15 +42,15 @@
},
"uuid": "vnf-instance-model-version-id",
"productFamilyId": null,
- "lcpCloudRegionId": null,
+ "lcpCloudRegionId": "olson3",
+ "cloudOwner": "att-nc",
"legacyRegion": null,
- "tenantId": null,
+ "tenantId": "229bcdc6eaeb4ca59d55221141d01f8e",
"lineOfBusiness": null,
"platformName": null,
"vfModules": {},
"networks": {
"NETWORK1_INSTANCE_ID": {
- "originalName": null,
"trackById": "NETWORK1_INSTANCE_ID",
"instanceName": "NETWORK1_INSTANCE_NAME",
"action": "None",
@@ -65,16 +65,9 @@
"modelCustomizationId": "network-instance-model-customization-id",
"modelType": "network"
},
- "uuid": "network-instance-model-version-id",
- "productFamilyId": null,
- "lcpCloudRegionId": null,
- "legacyRegion": null,
- "tenantId": null,
- "lineOfBusiness": null,
- "platformName": null
+ "uuid": "network-instance-model-version-id"
},
"NETWORK2_INSTANCE_ID": {
- "originalName": null,
"trackById": "NETWORK2_INSTANCE_ID",
"instanceName": "NETWORK2_INSTANCE_NAME",
"action": "None",
@@ -89,13 +82,7 @@
"modelCustomizationId": "network-instance-model-customization-id",
"modelType": "network"
},
- "uuid": "network-instance-model-version-id",
- "productFamilyId": null,
- "lcpCloudRegionId": null,
- "legacyRegion": null,
- "tenantId": null,
- "lineOfBusiness": null,
- "platformName": null
+ "uuid": "network-instance-model-version-id"
}
}
},
@@ -118,15 +105,16 @@
},
"uuid": "d6557200-ecf2-4641-8094-5393ae3aae60",
"productFamilyId": null,
- "lcpCloudRegionId": null,
+ "lcpCloudRegionId": "hvf6",
+ "cloudOwner": "irma-aic",
"legacyRegion": null,
- "tenantId": null,
+ "tenantId": "88a6ca3ee0394ade9403f075db23167e",
"lineOfBusiness": null,
"platformName": null,
"vfModules": {
"vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1": {
"2c1ca484-cbc2-408b-ab86-25a2c15ce280": {
- "originalName": "VfVgeraldine..vflorence_vlc..module-1",
+ "originalName": "vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1",
"trackById": "2c1ca484-cbc2-408b-ab86-25a2c15ce280",
"instanceName": "ss820f_0918_db",
"action": "None",
@@ -203,13 +191,7 @@
"modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
"modelType": "network"
},
- "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
- "productFamilyId": null,
- "lcpCloudRegionId": null,
- "legacyRegion": null,
- "tenantId": null,
- "lineOfBusiness": null,
- "platformName": null
+ "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
},
"NETWORK4_INSTANCE_ID": {
"originalName": "ExtVL 0",
@@ -228,39 +210,9 @@
"modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
"modelType": "network"
},
- "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
- "productFamilyId": null,
- "lcpCloudRegionId": null,
- "legacyRegion": null,
- "tenantId": null,
- "lineOfBusiness": null,
- "platformName": null
+ "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
}
},
- "instanceName": "SERVICE_INSTANCE_NAME",
- "action": "None",
- "instanceId": "service-instance-id",
- "orchStatus": "GARBAGE DATA",
- "globalSubscriberId": "global-customer-id",
- "subscriptionServiceType": "service-instance-type",
- "owningEntityId": null,
- "owningEntityName": null,
- "productFamilyId": null,
- "lcpCloudRegionId": null,
- "tenantId": null,
- "tenantName": null,
- "aicZoneId": null,
- "aicZoneName": null,
- "projectName": null,
- "rollbackOnFailure": null,
- "isALaCarte": false,
- "modelInfo": {
- "modelInvariantId": "d27e42cf-087e-4d31-88ac-6c4b7585f800",
- "modelVersionId": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
- "modelName": "vf_vEPDG",
- "modelType": "service",
- "modelVersion": "5.0"
- },
"validationCounter": 0,
"vnfGroups": {},
"existingVNFCounterMap": {
diff --git a/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceModel.json b/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceModel.json
index 0fbf83070..013745c90 100644
--- a/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceModel.json
+++ b/vid-automation/src/test/resources/aaiGetInstanceTopology/ServiceTreeWithMultipleChildren_serviceModel.json
@@ -15,7 +15,8 @@
"vidNotions": {
"instantiationUI": "legacy",
"modelCategory": "other",
- "viewEditUI": "legacy"
+ "viewEditUI": "legacy",
+ "instantiationType": "Macro"
}
},
"vnfs": {
@@ -292,7 +293,7 @@
"modelCustomizationName": "ExtVL 0"
}
},
- "collectionResource": {},
+ "collectionResources": {},
"configurations": {
"Port Mirroring Configuration By Policy 0": {
"uuid": "b4398538-e89d-4f13-b33d-ca323434ba50",
diff --git a/vid-automation/src/test/resources/aaiGetInstanceTopology/getServiceInstanceTopologyResult.json b/vid-automation/src/test/resources/aaiGetInstanceTopology/getServiceInstanceTopologyResult.json
index b2ba2c7e9..7cf11c824 100644
--- a/vid-automation/src/test/resources/aaiGetInstanceTopology/getServiceInstanceTopologyResult.json
+++ b/vid-automation/src/test/resources/aaiGetInstanceTopology/getServiceInstanceTopologyResult.json
@@ -32,7 +32,7 @@
"vfModules": {},
"uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
@@ -51,44 +51,44 @@
},
"2017-488_PASQUALE-vPE 0": {
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
"instanceName": "VFinstancenameZERO",
"action": "None",
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
"provStatus": "Prov Status",
"orchStatus": "Active",
"inMaint": true,
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86"
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1fshmc": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1fshmc": {
"instanceName": "VFinstancename",
"action": "None",
"volumeGroupName": "VFinstancename_vol_abc",
"orchStatus": "Create",
"provStatus": "Prov Status",
"inMaint": false,
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
@@ -97,7 +97,7 @@
},
"uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
@@ -118,8 +118,8 @@
},
"2017-488_PASQUALE-vPE 0:0001": {
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
"instanceName": "VFinstancenameZERO_001",
"action": "None",
"provStatus": "Prov Status",
@@ -127,27 +127,27 @@
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1fshmc": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1fshmc": {
"instanceName": "VFinstancename_001",
"action": "None",
"volumeGroupName": "VFinstancename_vol_abc_001",
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
@@ -157,7 +157,7 @@
"uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
@@ -176,34 +176,34 @@
},
"2017-488_PASQUALE-vPE 0:0002": {
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
"instanceName": "VFinstancenameZERO_002",
"action": "None",
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1fshmc": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1fshmc": {
"instanceName": "VFinstancename_002",
"action": "None",
"volumeGroupName": "VFinstancename_vol_abc_002",
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
@@ -212,7 +212,7 @@
},
"uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
diff --git a/vid-automation/src/test/resources/aaiGetInstanceTopology/serviceWithVrfTopology.json b/vid-automation/src/test/resources/aaiGetInstanceTopology/serviceWithVrfTopology.json
new file mode 100644
index 000000000..fda51c25a
--- /dev/null
+++ b/vid-automation/src/test/resources/aaiGetInstanceTopology/serviceWithVrfTopology.json
@@ -0,0 +1,125 @@
+{
+ "instanceName": "SERVICE_INSTANCE_NAME",
+ "action": "None",
+ "globalSubscriberId": "global-customer-id",
+ "subscriptionServiceType": "service-instance-type",
+ "owningEntityId": null,
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "aicZoneId": null,
+ "projectName": null,
+ "rollbackOnFailure": null,
+ "aicZoneName": null,
+ "cloudOwner": null,
+ "owningEntityName": null,
+ "tenantName": null,
+ "instanceId": "service-instance-id",
+ "modelInfo": {
+ "modelInvariantId": "dfc2c44c-2429-44ca-ae26-1e6dc1f207fb",
+ "modelVersionId": "f028b2e2-7080-4b13-91b2-94944d4c42d8",
+ "modelName": "Service with VRF",
+ "modelVersion": "5.0",
+ "modelType": "service"
+ },
+ "isALaCarte": true,
+ "orchStatus": "GARBAGE DATA",
+ "collectionResources": {
+ },
+ "networks": {},
+ "vnfs": {},
+ "vnfGroups": {},
+ "vrfs": {
+ "VRF_INSTANCE_ID": {
+ "action": "None",
+ "cloudOwner": null,
+ "inMaint": false,
+ "instanceId": "VRF_INSTANCE_ID",
+ "instanceName": "VRF_INSTANCE_NAME",
+ "instanceType": null,
+ "lcpCloudRegionId": null,
+ "legacyRegion": null,
+ "lineOfBusiness": null,
+ "modelInfo": {
+ "modelVersionId": "9cac02be-2489-4374-888d-2863b4511a59",
+ "modelInvariantId": "b67a289b-1688-496d-86e8-1583c828be0a",
+ "modelCustomizationId":"dd024d73-9bd1-425d-9db5-476338d53433",
+ "modelName": "VRF Entry Configuration",
+ "modelVersion": "5.0",
+ "modelType": "configuration"
+ },
+ "vpns": {
+ "VPN_INSTANCE_ID": {
+ "action": "None",
+ "instanceId": "VPN_INSTANCE_ID",
+ "trackById": "VPN_INSTANCE_ID",
+ "instanceName": "VPN_INSTANCE_NAME",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "orchStatus": "Active",
+ "provStatus": "prov",
+ "inMaint": false,
+ "region": "USA,EMEA",
+ "customerId": "VPN1260",
+ "modelInfo": {
+ "modelVersionId": "vpn-model-version-id",
+ "modelInvariantId": "vpn-model-invariant-id",
+ "modelCustomizationId": "vpn-model-customization-id",
+ "modelName": "vf_vEPDG",
+ "modelVersion": "6.0",
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": [
+ {
+ "globalRouteTarget": "mock-global-1",
+ "routeTargetRole": "mock-role-x"
+ }
+ ],
+ "uuid": "vpn-model-version-id"
+ }
+ },
+ "networks": {
+ "NETWORK_INSTANCE_ID": {
+ "action": "None",
+ "boundToVpn": true,
+ "inMaint": false,
+ "instanceId": "NETWORK_INSTANCE_ID",
+ "instanceName": "NETWORK_INSTANCE_NAME",
+ "instanceType": "SR-IOV-PROVIDER2-2",
+ "modelInfo": {
+ "modelVersionId": "network-instance-model-version-id",
+ "modelInvariantId": "network-instance-model-invariant-id",
+ "modelCustomizationId": "network-instance-model-customization-id",
+ "modelType": "network",
+ "modelVersion": "6.0",
+ "modelName": "Network Entry"
+ },
+ "orchStatus": "Assigned",
+ "provStatus": "prov",
+ "role": "NETWORK_INSTANCE_ROLE",
+ "trackById": "NETWORK_INSTANCE_ID",
+ "uuid": "network-instance-model-version-id",
+ "routeTarget":
+ {
+ "globalRouteTarget": "mock-global-1",
+ "routeTargetRole": "mock-role-x"
+ }
+ }
+ },
+ "orchStatus": "Create",
+ "originalName": "VRF Entry Configuration 0",
+ "platformName": null,
+ "productFamilyId": null,
+ "provStatus": null,
+ "tenantId": null,
+ "trackById": "VRF_INSTANCE_ID",
+ "uuid": "9cac02be-2489-4374-888d-2863b4511a59"
+ }
+ },
+ "validationCounter": 0,
+ "existingVNFCounterMap": {},
+ "existingVRFCounterMap": {
+ "dd024d73-9bd1-425d-9db5-476338d53433": 1
+ },
+ "existingVnfGroupCounterMap": {},
+ "existingNetworksCounterMap": {}
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/asyncInstantiation/ServiceTreeForRetry_serviceInstance.json b/vid-automation/src/test/resources/asyncInstantiation/ServiceTreeForRetry_serviceInstance.json
index ccf095294..869ff2d96 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/ServiceTreeForRetry_serviceInstance.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/ServiceTreeForRetry_serviceInstance.json
@@ -6,6 +6,7 @@
"modelType": "service",
"modelVersion": "5.1"
},
+ "vidNotions":null,
"owningEntityId": "038d99af-0427-42c2-9d15-971b99b9b489",
"owningEntityName": "Lucine Sarika",
"projectName": "zasaki",
@@ -47,6 +48,7 @@
}
},
"networks": {},
+ "vrfs": {},
"vnfGroups": {},
"instanceParams": [],
"pause": false,
diff --git a/vid-automation/src/test/resources/asyncInstantiation/ServiceWithFailedServiceInstance.json b/vid-automation/src/test/resources/asyncInstantiation/ServiceWithFailedServiceInstance.json
index d1c40594b..d27dd05cd 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/ServiceWithFailedServiceInstance.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/ServiceWithFailedServiceInstance.json
@@ -18,6 +18,7 @@
"modelVersion": "5.1",
"modelVersionId": "e3c34d88-a216-4f1d-a782-9af9f9588705"
},
+ "vidNotions":null,
"networks": {
},
"owningEntityId": "038d99af-0427-42c2-9d15-971b99b9b489",
@@ -35,6 +36,7 @@
"trackById": "TRACK_BY_ID",
"vnfGroups": {
},
+ "vrfs": {},
"vnfs": {
"vSAMP12 1": {
"action": "Create",
diff --git a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Network.json b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Network.json
index eeda4e59a..fe4aab145 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Network.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Network.json
@@ -4,9 +4,12 @@
"vnfs":{
},
+ "vrfs":{
+
+ },
"instanceParams":[
{
- "2017488_PASQUALEvpe0_ASN":"AV_vPE"
+ "2017488_pasqualevpe0_ASN":"AV_vPE"
}
],
"validationCounter":0,
@@ -21,6 +24,9 @@
"existingVnfGroupCounterMap":{
},
+ "existingVRFCounterMap":{
+
+ },
"existingNetworksCounterMap":{
"94fdd893-4a36-4d70-b16a-ec29c54c184f":1
},
@@ -87,7 +93,7 @@
"subscriptionServiceType":"TYLER SILVIA",
"owningEntityId":"d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
"productFamilyId":"17cc1042-527b-11e6-beb8-9e71128cae77",
- "lcpCloudRegionId":"JANET25",
+ "lcpCloudRegionId":"AAIAIC25",
"tenantId":"092eb9e8e4b7412e8787dd091bc58e86",
"aicZoneId":"JAG1",
"projectName":"WATKINS",
@@ -104,6 +110,12 @@
"uuid":"6b528779-44a3-4472-bdff-9cd15ec93450"
},
"isALaCarte":true,
+ "vidNotions": {
+ "instantiationUI": "legacy",
+ "modelCategory": "other",
+ "viewEditUI": "legacy",
+ "instantiationType": "ALaCarte"
+ },
"name":"action-data",
"version":"1.0",
"description":"",
diff --git a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Vnf.json b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Vnf.json
index 3ee4a2b20..f54419169 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Vnf.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDelete1Create1Vnf.json
@@ -6,7 +6,7 @@
"vfModules": {},
"uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
@@ -25,30 +25,30 @@
},
"2017-488_PASQUALE-vPE 0": {
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
"instanceId": "VF_MODULE_BASE_INSTANCE_ID",
"instanceName": "VFinstancenameZERO",
"action": "None_Delete",
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
"provStatus": "Prov Status",
"orchStatus": "Active",
"inMaint": true,
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86"
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1fshmc": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1fshmc": {
"instanceId": "VF_MODULE_INSTANCE_ID",
"instanceName": "VFinstancename",
"action": "None_Delete",
@@ -56,15 +56,15 @@
"orchStatus": "Create",
"provStatus": "Prov Status",
"inMaint": false,
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
@@ -73,7 +73,7 @@
},
"uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
@@ -95,8 +95,8 @@
},
"2017-488_PASQUALE-vPE 0:0001": {
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
"instanceName": "VFinstancenameZERO_001",
"action": "None",
"provStatus": "Prov Status",
@@ -104,27 +104,27 @@
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1fshmc": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1fshmc": {
"instanceName": "VFinstancename_001",
"action": "None",
"volumeGroupName": "VFinstancename_vol_abc_001",
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
@@ -133,7 +133,7 @@
},
"uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
@@ -152,34 +152,34 @@
},
"2017-488_PASQUALE-vPE 0:0002": {
"vfModules": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0uvfot": {
"instanceName": "VFinstancenameZERO_002",
"action": "None",
"modelInfo": {
"modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
"modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
- "modelName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"modelVersion": "5",
"modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
},
"uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db"
}
},
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1": {
- "2017488_PASQUALEvpe0..2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1fshmc": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
+ "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1fshmc": {
"instanceName": "VFinstancename_002",
"action": "None",
"volumeGroupName": "VFinstancename_vol_abc_002",
"modelInfo": {
"modelInvariantId": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
"modelVersionId": "25284168-24bb-4698-8cb4-3f509146eca5",
- "modelName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"modelVersion": "6",
"modelCustomizationId": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
- "modelCustomizationName": "2017488PASQUALEVpe..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
},
"uuid": "25284168-24bb-4698-8cb4-3f509146eca5"
@@ -188,7 +188,7 @@
},
"uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
@@ -243,6 +243,7 @@
"uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
}
},
+ "vrfs": {},
"instanceParams": [],
"validationCounter": 0,
"existingNames": {
@@ -254,6 +255,7 @@
"b3c76f73-eeb5-4fb6-9d31-72a889f1811c": 1
},
"existingVnfGroupCounterMap": {},
+ "existingVRFCounterMap": {},
"existingNetworksCounterMap": {},
"networks": {},
"vnfGroups": {},
@@ -280,6 +282,12 @@
"uuid": "6b528779-44a3-4472-bdff-9cd15ec93450"
},
"isALaCarte": true,
+ "vidNotions": {
+ "instantiationUI": "legacy",
+ "viewEditUI": "legacy",
+ "modelCategory": "other",
+ "instantiationType": "ALaCarte"
+ },
"orchStatus": "Active",
"modelInavariantId": "6b528779-44a3-4472-bdff-9cd15ec93450",
"testApi": "VNF_API"
diff --git a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteMacroService.json b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteMacroService.json
new file mode 100644
index 000000000..64f2b161d
--- /dev/null
+++ b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteMacroService.json
@@ -0,0 +1,139 @@
+{
+ "action":"Delete",
+ "isDirty":true,
+ "vnfs":{
+
+ },
+ "vrfs":{
+ "VRF_INSTANCE_ID":{
+ "action":"None_Delete",
+ "cloudOwner":null,
+ "inMaint":false,
+ "instanceId":"VRF_INSTANCE_ID",
+ "instanceName":"VRF_INSTANCE_NAME",
+ "instanceType":null,
+ "lcpCloudRegionId":"AAIAIC25",
+ "legacyRegion":null,
+ "lineOfBusiness":null,
+ "modelInfo":{
+ "modelVersionId":"9cac02be-2489-4374-888d-2863b4511a59",
+ "modelInvariantId":"b67a289b-1688-496d-86e8-1583c828be0a",
+ "modelCustomizationId":"dd024d73-9bd1-425d-9db5-476338d53433",
+ "modelName":"VRF Entry Configuration",
+ "modelVersion":"5.0",
+ "modelType":"collection"
+ },
+ "vpns":{
+ "VPN_INSTANCE_ID":{
+ "action":"None",
+ "instanceId":"VPN_INSTANCE_ID",
+ "trackById":"VPN_INSTANCE_ID",
+ "instanceName":"VPN_INSTANCE_NAME",
+ "instanceType":"SERVICE-INFRASTRUCTURE",
+ "orchStatus":"Active",
+ "provStatus":"prov",
+ "inMaint":false,
+ "modelInfo":{
+ "modelVersionId":"vpn-model-version-id",
+ "modelInvariantId":"vpn-model-invariant-id",
+ "modelCustomizationId":"vpn-model-customization-id",
+ "modelName":"vf_vEPDG",
+ "modelVersion":"6.0",
+ "modelType":"vpnBinding"
+ },
+ "routeTargets":[
+
+ ],
+ "uuid":"vpn-model-version-id"
+ }
+ },
+ "networks":{
+ "NETWORK_INSTANCE_ID":{
+ "action":"None",
+ "boundToVpn":true,
+ "inMaint":false,
+ "instanceId":"NETWORK_INSTANCE_ID",
+ "instanceName":"NETWORK_INSTANCE_NAME",
+ "instanceType":"SR-IOV-PROVIDER2-2",
+ "modelInfo":{
+ "modelVersionId":"network-instance-model-version-id",
+ "modelInvariantId":"network-instance-model-invariant-id",
+ "modelCustomizationId":"network-instance-model-customization-id",
+ "modelType":"network",
+ "modelVersion":"6.0",
+ "modelName":"Network Entry"
+ },
+ "orchStatus":"Assigned",
+ "provStatus":"prov",
+ "role":"NETWORK_INSTANCE_ROLE",
+ "trackById":"NETWORK_INSTANCE_ID",
+ "uuid":"network-instance-model-version-id"
+ }
+ },
+ "orchStatus":"Create",
+ "originalName":null,
+ "platformName":null,
+ "productFamilyId":null,
+ "provStatus":null,
+ "tenantId":"092eb9e8e4b7412e8787dd091bc58e86",
+ "trackById":"VRF_INSTANCE_ID",
+ "uuid":"9cac02be-2489-4374-888d-2863b4511a59"
+ }
+ },
+ "instanceParams":[
+
+ ],
+ "validationCounter":0,
+ "existingNames":{
+ "service_instance_name":""
+ },
+ "existingVNFCounterMap":{
+
+ },
+ "existingVRFCounterMap":{
+ "dd024d73-9bd1-425d-9db5-476338d53433":1
+ },
+ "existingVnfGroupCounterMap":{
+
+ },
+ "existingNetworksCounterMap":{
+
+ },
+ "networks":{
+
+ },
+ "vnfGroups":{
+
+ },
+ "bulkSize":1,
+ "instanceName":"InstanceName",
+ "globalSubscriberId":"global-customer-id",
+ "subscriptionServiceType":"service-instance-type",
+ "owningEntityId":"d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
+ "productFamilyId":null,
+ "lcpCloudRegionId":"AAIAIC25",
+ "tenantId":"092eb9e8e4b7412e8787dd091bc58e86",
+ "aicZoneId":"JAG1",
+ "projectName": "WATKINS",
+ "rollbackOnFailure":false,
+ "aicZoneName":"YUDFJULP-JAG1",
+ "cloudOwner":null,
+ "owningEntityName":"WayneHolland",
+ "tenantName":"USP-SIP-IC-24335-T-01",
+ "instanceId":"service-instance-id",
+ "modelInfo":{
+ "modelInvariantId":"dfc2c44c-2429-44ca-ae26-1e6dc1f207fb",
+ "modelVersionId":"f028b2e2-7080-4b13-91b2-94944d4c42d8",
+ "modelName":"Service with VRF",
+ "modelVersion":"5.0",
+ "modelType":"service"
+ },
+ "isALaCarte":false,
+ "orchStatus":"GARBAGE DATA",
+ "vidNotions":{
+ "instantiationUI":"infrastructureVpn",
+ "modelCategory":"other",
+ "viewEditUI":"infrastructureVpn",
+ "instantiationType":"Macro"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithNetwork.json b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithNetwork.json
index 171568b89..fe595360d 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithNetwork.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithNetwork.json
@@ -6,7 +6,7 @@
},
"instanceParams":[
{
- "2017488_PASQUALEvpe0_ASN":"AV_vPE"
+ "2017488_pasqualevpe0_ASN":"AV_vPE"
}
],
"validationCounter":0,
@@ -56,7 +56,7 @@
"subscriptionServiceType":"TYLER SILVIA",
"owningEntityId":"d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
"productFamilyId":"17cc1042-527b-11e6-beb8-9e71128cae77",
- "lcpCloudRegionId":"JANET25",
+ "lcpCloudRegionId":"AAIAIC25",
"tenantId":"092eb9e8e4b7412e8787dd091bc58e86",
"aicZoneId":"JAG1",
"projectName":"WATKINS",
diff --git a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithVnf.json b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithVnf.json
index 695ce343b..ac5f7faf9 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithVnf.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/vidRequestDeleteServiceWithVnf.json
@@ -7,7 +7,7 @@
},
"uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
"productFamilyId": "e433710f-9217-458d-a79d-1c7aff376d89",
- "lcpCloudRegionId": "JANET25",
+ "lcpCloudRegionId": "AAIAIC25",
"tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"lineOfBusiness": "ONAP",
"platformName": "platform",
diff --git a/vid-automation/src/test/resources/changeManagement/reduced_vnf_data_by_globalid_and_service_type.json b/vid-automation/src/test/resources/changeManagement/reduced_vnf_data_by_globalid_and_service_type.json
index 20831bec8..1f6a5eb2c 100644
--- a/vid-automation/src/test/resources/changeManagement/reduced_vnf_data_by_globalid_and_service_type.json
+++ b/vid-automation/src/test/resources/changeManagement/reduced_vnf_data_by_globalid_and_service_type.json
@@ -3,7 +3,7 @@
{
"id": "3400916992",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/66b13cb4-b575-449f-aa45-ffbfe005c7b1",
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/66b13cb4-b575-449f-aa45-ffbfe005c7b1",
"properties": {
"service-instance-id": "66b13cb4-b575-449f-aa45-ffbfe005c7b1",
"service-instance-name": "CHARLOTTE_preload_1710_0914",
@@ -16,19 +16,19 @@
{
"id": "10207440",
"node-type": "service-subscription",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson"
},
{
"id": "3481829392",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec"
}
]
},
{
"id": "3771572432",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/f195837b-ef28-42c3-8dea-47ad37eaed95",
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/f195837b-ef28-42c3-8dea-47ad37eaed95",
"properties": {
"service-instance-id": "f195837b-ef28-42c3-8dea-47ad37eaed95",
"service-instance-name": "CHARLOTTE_preload_1710_0914_0920",
@@ -41,19 +41,19 @@
{
"id": "10207440",
"node-type": "service-subscription",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson"
},
{
"id": "3484520464",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1"
}
]
},
{
"id": "3775807704",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/9ad4ac55-a5e0-4b49-95c0-b2d846abf700",
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/9ad4ac55-a5e0-4b49-95c0-b2d846abf700",
"properties": {
"service-instance-id": "9ad4ac55-a5e0-4b49-95c0-b2d846abf700",
"service-instance-name": "CHARLOTTE_preload_1710_0914_100417",
@@ -66,19 +66,19 @@
{
"id": "10207440",
"node-type": "service-subscription",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson"
},
{
"id": "3783459064",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/54626a59-ec0d-4fa9-b0c2-08d008688165"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/54626a59-ec0d-4fa9-b0c2-08d008688165"
}
]
},
{
"id": "4178862184",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/599c7247-b083-447c-b6b1-0cdd5170dfd2",
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/599c7247-b083-447c-b6b1-0cdd5170dfd2",
"properties": {
"service-instance-id": "599c7247-b083-447c-b6b1-0cdd5170dfd2",
"service-instance-name": "CHARLOTTE_preload_1710_0914_1010",
@@ -91,19 +91,19 @@
{
"id": "10207440",
"node-type": "service-subscription",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson"
},
{
"id": "3892133896",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/d74503d8-abab-49c6-ba48-a6211eee9b7a"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/d74503d8-abab-49c6-ba48-a6211eee9b7a"
}
]
},
{
"id": "3008335920",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08",
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08",
"properties": {
"service-instance-id": "97315a05-e6f3-4c47-ae7e-d850c327aa08",
"service-instance-name": "CHARLOTTE_preload_1710_0914_0927",
@@ -116,19 +116,19 @@
{
"id": "10207440",
"node-type": "service-subscription",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson"
},
{
"id": "3418898432",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855"
}
]
},
{
"id": "3481829392",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec",
"properties": {
"vnf-id": "0c465dd3-4151-4da9-92a2-541bb3174cec",
"vnf-name": "Eoghan Fausto",
@@ -151,34 +151,34 @@
{
"id": "3285635208",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec/vf-modules/vf-module/d49713bf-1bff-4eab-bed1-a8f1bb83aa98"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec/vf-modules/vf-module/d49713bf-1bff-4eab-bed1-a8f1bb83aa98"
},
{
"id": "3441209432",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec/vf-modules/vf-module/b8397fec-cf13-40b3-be8f-7d0912506419"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec/vf-modules/vf-module/b8397fec-cf13-40b3-be8f-7d0912506419"
},
{
"id": "3687522312",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec/vf-modules/vf-module/fd098a52-09be-4c48-a9e9-a565d1b39db3"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/0c465dd3-4151-4da9-92a2-541bb3174cec/vf-modules/vf-module/fd098a52-09be-4c48-a9e9-a565d1b39db3"
},
{
"id": "3400916992",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/66b13cb4-b575-449f-aa45-ffbfe005c7b1"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/66b13cb4-b575-449f-aa45-ffbfe005c7b1"
},
{
"id": "3477385312",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
}
]
},
{
"id": "3484520464",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1",
"properties": {
"vnf-id": "c2d2d389-fa00-4fb4-a269-e46d495719e1",
"vnf-name": "Odell Romana",
@@ -201,54 +201,54 @@
{
"id": "3447107680",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/c4711b5c-742e-4d03-8146-bff763f69fbd"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/c4711b5c-742e-4d03-8146-bff763f69fbd"
},
{
"id": "3448307712",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/0ba3fcdd-0536-4ac7-a9ec-8d8622db7fb2"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/0ba3fcdd-0536-4ac7-a9ec-8d8622db7fb2"
},
{
"id": "3692179528",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/6bb843eb-ef84-43b1-83b4-3154a7f9928c"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/6bb843eb-ef84-43b1-83b4-3154a7f9928c"
},
{
"id": "3771588816",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/a4c008c6-cac0-4e3f-928f-90fa37dc8c4b"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/a4c008c6-cac0-4e3f-928f-90fa37dc8c4b"
},
{
"id": "3904077944",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/eecb619c-a173-4ead-bf48-d4d09cbbdd5e"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/eecb619c-a173-4ead-bf48-d4d09cbbdd5e"
},
{
"id": "4027855088",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/1e29424e-2dca-45ac-b1df-59a8f74d0bc1"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/1e29424e-2dca-45ac-b1df-59a8f74d0bc1"
},
{
"id": "4390871192",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/b185220a-7f63-4b29-867d-1452813a4f09"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/b185220a-7f63-4b29-867d-1452813a4f09"
},
{
"id": "4450529432",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/7a0c4b98-b3cc-490c-bbab-e2d7f169f2d7"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/c2d2d389-fa00-4fb4-a269-e46d495719e1/vf-modules/vf-module/7a0c4b98-b3cc-490c-bbab-e2d7f169f2d7"
},
{
"id": "3771572432",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/f195837b-ef28-42c3-8dea-47ad37eaed95"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/f195837b-ef28-42c3-8dea-47ad37eaed95"
}
]
},
{
"id": "3783459064",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/54626a59-ec0d-4fa9-b0c2-08d008688165",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/54626a59-ec0d-4fa9-b0c2-08d008688165",
"properties": {
"vnf-id": "54626a59-ec0d-4fa9-b0c2-08d008688165",
"vnf-name": "Dominika Fionnbharr",
@@ -271,14 +271,14 @@
{
"id": "3775807704",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/9ad4ac55-a5e0-4b49-95c0-b2d846abf700"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/9ad4ac55-a5e0-4b49-95c0-b2d846abf700"
}
]
},
{
"id": "3892133896",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/d74503d8-abab-49c6-ba48-a6211eee9b7a",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/d74503d8-abab-49c6-ba48-a6211eee9b7a",
"properties": {
"vnf-id": "d74503d8-abab-49c6-ba48-a6211eee9b7a",
"vnf-name": "CHARLOTTE_PreloadTest_VNF",
@@ -301,14 +301,14 @@
{
"id": "4178862184",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/599c7247-b083-447c-b6b1-0cdd5170dfd2"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/599c7247-b083-447c-b6b1-0cdd5170dfd2"
}
]
},
{
"id": "1507690314",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/385548e2-3f31-4900-9437-317d0346e49a",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/385548e2-3f31-4900-9437-317d0346e49a",
"properties": {
"vnf-id": "385548e2-3f31-4900-9437-317d0346e49a",
"vnf-name": "Senga Gabrielle",
@@ -331,24 +331,24 @@
{
"id": "3664617648",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
},
{
"id": "3008335920",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
},
{
"id": "3477385312",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
}
]
},
{
"id": "5278880615",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/0465e048-92a4-4a7f-bfe7-de39b32de4bd",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/0465e048-92a4-4a7f-bfe7-de39b32de4bd",
"properties": {
"vnf-id": "0465e048-92a4-4a7f-bfe7-de39b32de4bd",
"vnf-name": "Constantius Raghu",
@@ -371,24 +371,24 @@
{
"id": "3664617648",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
},
{
"id": "3008335920",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
},
{
"id": "3477385312",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
}
]
},
{
"id": "3418898432",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855",
"properties": {
"vnf-id": "8e5e3ba1-3fe6-4d86-966e-f9f03dab4855",
"vnf-name": "zolson3amdns02test2",
@@ -411,59 +411,59 @@
{
"id": "3664617648",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
},
{
"id": "3008335920",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
},
{
"id": "3477385312",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
},
{
"id": "3647635704",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/b30b17e9-10d0-4475-b558-7d18ae0aade0"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/b30b17e9-10d0-4475-b558-7d18ae0aade0"
},
{
"id": "3664621744",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/d3b293ba-85de-440e-904b-9dad160fbdce"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/d3b293ba-85de-440e-904b-9dad160fbdce"
},
{
"id": "3975352504",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/495a9a72-c9f6-41ed-93eb-065ebc2bfb1f"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/495a9a72-c9f6-41ed-93eb-065ebc2bfb1f"
},
{
"id": "4059455552",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/b4b9f419-3ed4-4bd8-bb2e-32b0a98e80b7"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/b4b9f419-3ed4-4bd8-bb2e-32b0a98e80b7"
},
{
"id": "4098130088",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/94c79f43-e76d-461e-b8df-8af2acb08e1e"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/94c79f43-e76d-461e-b8df-8af2acb08e1e"
},
{
"id": "4401291416",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/99cad3c6-1301-49c4-ad67-ae3c955de5f1"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/99cad3c6-1301-49c4-ad67-ae3c955de5f1"
},
{
"id": "4458950808",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/047354dc-0244-4241-b24a-7d7b00413b82"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/mdt1/tenants/tenant/88a6ca3ee0394ade9403f075db23167e/vservers/vserver/047354dc-0244-4241-b24a-7d7b00413b82"
}
]
},
{
"id": "1024648346",
"node-type": "generic-vnf",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/a58bf551-a79c-42d1-83b4-ed9288036245",
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/a58bf551-a79c-42d1-83b4-ed9288036245",
"properties": {
"vnf-id": "a58bf551-a79c-42d1-83b4-ed9288036245",
"vnf-name": "Harrison Kris",
@@ -486,52 +486,52 @@
{
"id": "3664617648",
"node-type": "vf-module",
- "url": "https://aai.onap:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
+ "url": "https://aai.onap.org:8443/aai/v10/network/generic-vnfs/generic-vnf/8e5e3ba1-3fe6-4d86-966e-f9f03dab4855/vf-modules/vf-module/788cde64-c288-4971-8e8c-77973c5009dc"
},
{
"id": "3008335920",
"node-type": "service-instance",
- "url": "https://aai.onap:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vFlowLogic/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
+ "url": "https://aai.onap.org:8443/aai/v10/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vRichardson/service-instances/service-instance/97315a05-e6f3-4c47-ae7e-d850c327aa08"
},
{
"id": "3477385312",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/8627b971-1032-420f-a044-6802f0ab6976"
},
{
"id": "3647635704",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/b30b17e9-10d0-4475-b558-7d18ae0aade0"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/b30b17e9-10d0-4475-b558-7d18ae0aade0"
},
{
"id": "3664621744",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/d3b293ba-85de-440e-904b-9dad160fbdce"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/d3b293ba-85de-440e-904b-9dad160fbdce"
},
{
"id": "3975352504",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/495a9a72-c9f6-41ed-93eb-065ebc2bfb1f"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/495a9a72-c9f6-41ed-93eb-065ebc2bfb1f"
},
{
"id": "4059455552",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/b4b9f419-3ed4-4bd8-bb2e-32b0a98e80b7"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/b4b9f419-3ed4-4bd8-bb2e-32b0a98e80b7"
},
{
"id": "4098130088",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/94c79f43-e76d-461e-b8df-8af2acb08e1e"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/94c79f43-e76d-461e-b8df-8af2acb08e1e"
},
{
"id": "4401291416",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/99cad3c6-1301-49c4-ad67-ae3c955de5f1"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/99cad3c6-1301-49c4-ad67-ae3c955de5f1"
},
{
"id": "4458950808",
"node-type": "vserver",
- "url": "https://aai.onap:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/047354dc-0244-4241-b24a-7d7b00413b82"
+ "url": "https://aai.onap.org:8443/aai/v10/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/olson3/tenants/tenant/eecd15e8e7ee46c3bbc2096f0924f4c4/vservers/vserver/047354dc-0244-4241-b24a-7d7b00413b82"
}
]
}
diff --git a/vid-automation/src/test/resources/cr/getTopologyWithCR.json b/vid-automation/src/test/resources/cr/getTopologyWithCR.json
new file mode 100644
index 000000000..c25b759ff
--- /dev/null
+++ b/vid-automation/src/test/resources/cr/getTopologyWithCR.json
@@ -0,0 +1,35 @@
+{
+ "action": "None",
+ "instanceName": "DrorSvcNetworkCollector_9",
+ "instanceId": "d2abf307-5c7c-4271-b300-83be2787ef3b",
+ "orchStatus": "Assigned",
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "cloudOwner": null,
+ "modelInfo": {
+ "modelInvariantId": "fedbf04e-4af8-4e0f-b5f6-15eb8a68579a",
+ "modelVersionId": "b0650fa9-145f-4c4a-98d9-c035f9cc72b1",
+ "modelName": "Dror_SVC_Network_Collector",
+ "modelType": "service",
+ "modelVersion": "3.0"
+ },
+ "globalSubscriberId": "21014aa2-526b-11e6-beb8-9e71128cae77",
+ "subscriptionServiceType": "VPE",
+ "owningEntityId": null,
+ "owningEntityName": null,
+ "tenantName": null,
+ "aicZoneId": null,
+ "aicZoneName": null,
+ "projectName": null,
+ "rollbackOnFailure": null,
+ "isALaCarte": false,
+ "vnfs": {},
+ "vrfs": {},
+ "networks": {},
+ "vnfGroups": {},
+ "validationCounter": 0,
+ "existingVNFCounterMap": {},
+ "existingNetworksCounterMap": {},
+ "existingVnfGroupCounterMap": {}
+}
diff --git a/vid-automation/src/test/resources/cr/serviceWithCrResponse.json b/vid-automation/src/test/resources/cr/serviceWithCrResponse.json
new file mode 100644
index 000000000..29cdcde93
--- /dev/null
+++ b/vid-automation/src/test/resources/cr/serviceWithCrResponse.json
@@ -0,0 +1,70 @@
+{
+ "service": {
+ "vidNotions": {
+ "instantiationUI": "serviceWithCollectionResource",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithCollectionResource",
+ "instantiationType": "Macro"
+ },
+ "uuid":"b0650fa9-145f-4c4a-98d9-c035f9cc72b1",
+ "invariantUuid":"fedbf04e-4af8-4e0f-b5f6-15eb8a68579a",
+ "name":"Dror_SVC_Network_Collector",
+ "version":"3.0",
+ "toscaModelURL":null,
+ "category":"Network L1-3",
+ "serviceType":"INFRASTRUCTURE",
+ "serviceRole":"","description":"VT feature CR part Dror",
+ "serviceEcompNaming":"true",
+ "instantiationType":"Macro",
+ "inputs":{}
+ },
+ "isDirty" : false,
+ "vnfs": {},
+ "vrfs": { },
+ "networks": {},
+ "collectionResources": {
+ "Dror_CR_Network_1810 0": {
+ "uuid":"648d4e9f-74dc-46f2-aab4-c114ee8df24b",
+ "invariantUuid":"34f62a07-17c2-4f0d-a50e-3ad516e04658",
+ "description":"Testing VT feature on 1810. CR part. Dror",
+ "name":"Dror_CR_Network_1810","version":"4.0",
+ "customizationUuid":"a5e69ff2-119c-4aca-9c0c-fe653f9e419e",
+ "inputs":{},
+ "commands":{},
+ "properties":{
+ "dror_cr_network_1810..NetworkCollection..0_network_collection_function":"vTSBC Customer Landing Network Collection",
+ "cr_role":"SUB-INTERFACE",
+ "cr_type":"L3-NETWORK",
+ "dror_cr_network_1810..NetworkCollection..0_network_collection_description":"Landing Networks for vTSBC Customer",
+ "ecomp_generated_naming":"false","dror_cr_network_1810..Fixed..1_quantity":"10"
+ },
+ "type":"CR",
+ "category":"Generic",
+ "subcategory":"Infrastructure",
+ "resourceVendor":"AT&T",
+ "resourceVendorRelease":"0.1",
+ "resourceVendorModelNumber":"",
+ "customizationUUID":"a5e69ff2-119c-4aca-9c0c-fe653f9e419e",
+ "networksCollection":{
+ "dror_cr_network_1810..NetworkCollection..0":{
+ "uuid":"0c5e0919-3a6e-47dd-98e9-ad7c55c3552f",
+ "invariantUuid":"2434c82c-8607-46d2-a4fd-da91a75294e1",
+ "name":"dror_cr_network_1810..NetworkCollection..0",
+ "version":"1",
+ "networkCollectionProperties":
+ {
+ "networkCollectionFunction":"vTSBC Customer Landing Network Collection",
+ "networkCollectionDescription":"Landing Networks for vTSBC Customer"
+ }
+ }
+ }
+ }
+ },
+ "configurations": {},
+ "fabricConfigurations": {},
+ "serviceProxies": {},
+ "vfModules": {},
+ "volumeGroups": {},
+ "pnfs": {},
+ "vnfGroups": {}
+}
diff --git a/vid-automation/src/test/resources/features.properties b/vid-automation/src/test/resources/features.properties
index 6f4f4efd4..782d28908 100644
--- a/vid-automation/src/test/resources/features.properties
+++ b/vid-automation/src/test/resources/features.properties
@@ -1,15 +1,32 @@
-FLAG_ASYNC_INSTANTIATION = true
-FLAG_ASYNC_JOBS = true
-FLAG_REGION_ID_FROM_REMOTE = true
CREATE_INSTANCE_TEST = false
EMPTY_DRAWING_BOARD_TEST = false
-FLAG_ADVANCED_PORTS_FILTER = true
FLAG_ADD_MSO_TESTAPI_FIELD = true
-FLAG_UNASSIGN_SERVICE = true
-FLAG_COLLECTION_RESOURCE_SUPPORT = true
-FLAG_NETWORK_TO_ASYNC_INSTANTIATION = true
+FLAG_NETWORK_TO_ASYNC_INSTANTIATION = false
FLAG_SERVICE_MODEL_CACHE = true
FLAG_SHOW_ASSIGNMENTS = true
-FLAG_SHOW_VERIFY_SERVICE = false
-FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARD = false
-FLAG_HANDLE_SO_WORKFLOWS = false \ No newline at end of file
+FLAG_SHOW_VERIFY_SERVICE = true
+FLAG_DEFAULT_VNF = true
+FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARD = true
+FLAG_RESTRICTED_SELECT = false
+FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS = true
+FLAG_A_LA_CARTE_AUDIT_INFO=true
+FLAG_5G_IN_NEW_INSTANTIATION_UI = true
+FLAG_PRESENT_PROVIDER_NETWORKS_ASSOCIATIONS = true
+FLAG_ASYNC_ALACARTE_VNF = true
+FLAG_ASYNC_ALACARTE_VFMODULE= true
+FLAG_SUPPLEMENTARY_FILE = true
+FLAG_EXP_ANY_ALACARTE_NEW_INSTANTIATION_UI=false
+FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST=true
+FLAG_1810_CR_LET_SELECTING_COLLECTOR_TYPE_UNCONDITIONALLY=true
+FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE = true
+FLAG_1810_AAI_LOCAL_CACHE = true
+FLAG_1902_NEW_VIEW_EDIT= false
+FLAG_EXP_USE_DEFAULT_HOST_NAME_VERIFIER = false
+FLAG_1902_VNF_GROUPING = true
+FLAG_1902_RETRY_JOB = true
+FLAG_VF_MODULE_RESUME_STATUS_CREATE = true
+FLAG_EXP_CREATE_RESOURCES_IN_PARALLEL = false
+FLAG_1906_COMPONENT_INFO = false
+FLAG_1906_INSTANTIATION_API_USER_VALIDATION = true
+FLAG_1908_RESUME_MACRO_SERVICE=true
+FLAG_1908_RELEASE_TENANT_ISOLATION=true
diff --git a/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region.json b/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region.json
index 74b8637aa..ef7396590 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region.json
@@ -6,8 +6,8 @@
"format": ["simple"]
},
"body": {
- "start": "/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL%20USP/service-instances?model-version-id=8a84e59b-45fe-4851-8ff1-34225a0b32c3&model-invariant-id=83b458fd-5dd3-419b-a9e3-7335814a0911",
- "query": "query/pnf-fromModel-byRegion?cloudRegionId=JANET25&equipVendor=Cisco&equipModel=Nexus%203048-TP"
+ "start": "/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/TYLER%20SILVIA/service-instances?model-version-id=8a84e59b-45fe-4851-8ff1-34225a0b32c3&model-invariant-id=83b458fd-5dd3-419b-a9e3-7335814a0911",
+ "query": "query/pnf-fromModel-byRegion?cloudRegionId=AAIAIC25&equipVendor=Cisco&equipModel=Nexus%203048-TP"
}
} ,
"simulatorResponse": {
diff --git a/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region_error.json b/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region_error.json
index 386c982c0..34ffff414 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region_error.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region_error.json
@@ -6,8 +6,8 @@
"format": ["simple"]
},
"body": {
- "start": "/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL%20USP/service-instances?model-version-id=8a84e59b-45fe-4851-8ff1-34225a0b32c3&model-invariant-id=83b458fd-5dd3-419b-a9e3-7335814a0911",
- "query": "query/pnf-fromModel-byRegion?cloudRegionId=JANET25&equipVendor=Cisco&equipModel=Nexus%203048-TP"
+ "start": "/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/TYLER%20SILVIA/service-instances?model-version-id=8a84e59b-45fe-4851-8ff1-34225a0b32c3&model-invariant-id=83b458fd-5dd3-419b-a9e3-7335814a0911",
+ "query": "query/pnf-fromModel-byRegion?cloudRegionId=AAIAIC25&equipVendor=Cisco&equipModel=Nexus%203048-TP"
}
} ,
"simulatorResponse": {
diff --git a/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_create_configuration.json b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_create_configuration.json
index c726590eb..ca175834b 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_create_configuration.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_create_configuration.json
@@ -10,7 +10,7 @@
"modelCustomizationName": "Port Mirroring Configuration By Policy 1"
},
"cloudConfiguration": {
- "lcpCloudRegionId": "JANET25"
+ "lcpCloudRegionId": "AAIAIC25"
},
"requestInfo": {
"instanceName": "dummy_instance",
diff --git a/vid-automation/src/test/resources/registration_to_simulator/ecompportal_getSessionSlotCheckInterval.json b/vid-automation/src/test/resources/registration_to_simulator/ecompportal_getSessionSlotCheckInterval.json
index a71270e72..18643d792 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/ecompportal_getSessionSlotCheckInterval.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/ecompportal_getSessionSlotCheckInterval.json
@@ -2,7 +2,7 @@
{
"simulatorRequest": {
"method": "GET",
- "path": "/ecompportal_att/auxapi//v3/getSessionSlotCheckInterval"
+ "path": "/(ONAPPORTAL|ecompportal_att)/auxapi//v[0-9]+/getSessionSlotCheckInterval"
},
"simulatorResponse": {
"responseCode": 200,
@@ -22,7 +22,7 @@
{
"simulatorRequest": {
"method": "GET",
- "path": "/ecompportal_att/auxapi/v3/getSessionSlotCheckInterval"
+ "path": "/(ONAPPORTAL|ecompportal_att)/auxapi/v[0-9]+/getSessionSlotCheckInterval"
},
"simulatorResponse": {
"responseCode": 200,
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai.json b/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai.json
index 596104b83..968f2d00c 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai.json
@@ -10,7 +10,7 @@
"operational-environment-id": "UUID_of_Operational_Environment",
"operational-environment-name": "Op Env Name",
"operational-environment-type": "VNF",
- "operational-environment-status": "Activate",
+ "operational-environment-status": "ACTIVE",
"tenant-context": "Test",
"workload-context": "VNF_Development",
"resource-version": "1505228226913",
@@ -39,7 +39,7 @@
"operational-environment-id": "UUID of ECOMP Operational Environment",
"operational-environment-name": "ECOMP Env Name",
"operational-environment-type": "ONAP",
- "operational-environment-status": "Activate",
+ "operational-environment-status": "ACTIVE",
"tenant-context": "ECOMP Test",
"workload-context": "ECOMP_Development",
"resource-version": "1505228226912"
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VflorenceRvpmsFeAic3011217Svc.json b/vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VflorenceRvpmsFeAic3011217Svc.json
index 7fca48f10..d1bc1dbaf 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VflorenceRvpmsFeAic3011217Svc.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VflorenceRvpmsFeAic3011217Svc.json
@@ -22,7 +22,7 @@
"body": {
"uuid": "245562de-3984-49ef-a708-6c9d7cfcabd1",
"invariantUUID": "124216d6-71d0-41c8-ac81-0c5acfee514a",
- "name": "vMMEvProbe_FE_AIC3-11.2.1_VF",
+ "name": "vFLORENCEvProbe_FE_AIC3-11.2.1_VF",
"version": "1.0",
"toscaModelURL": "./service-VflorenceRvpmsFeAic3011217Svc-csar.csar.zip",
"category": "Application L4+",
diff --git a/vid-automation/src/test/resources/registration_to_simulator/portal_remote_users.json b/vid-automation/src/test/resources/registration_to_simulator/portal_remote_users.json
index 3b3f878f7..b8aea08ba 100644
--- a/vid-automation/src/test/resources/registration_to_simulator/portal_remote_users.json
+++ b/vid-automation/src/test/resources/registration_to_simulator/portal_remote_users.json
@@ -1,7 +1,7 @@
{
"simulatorRequest": {
"method" : "GET",
- "path" : "/ecompportal_att/auxapi//v3/user/1"
+ "path" : "/(ONAPPORTAL|ecompportal_att)/auxapi//v[0-9]+/user/1"
} ,
"simulatorResponse": {
"responseCode": 200,
diff --git a/vid-automation/src/test/resources/sdcApiTest/aLaCarteInstantiationTypeResponse.json b/vid-automation/src/test/resources/sdcApiTest/aLaCarteInstantiationTypeResponse.json
index ff4b6d1b6..e61769508 100644
--- a/vid-automation/src/test/resources/sdcApiTest/aLaCarteInstantiationTypeResponse.json
+++ b/vid-automation/src/test/resources/sdcApiTest/aLaCarteInstantiationTypeResponse.json
@@ -3,7 +3,8 @@
"vidNotions": {
"instantiationUI": "legacy",
"modelCategory": "other",
- "viewEditUI": "legacy"
+ "viewEditUI": "legacy",
+ "instantiationType": "ALaCarte"
},
"uuid": "4d71990b-d8ad-4510-ac61-496288d9078e",
"invariantUuid": "d27e42cf-087e-4d31-88ac-6c4b7585f800",
@@ -19,6 +20,7 @@
"inputs": {}
},
"vnfs": {},
+ "vrfs": {},
"networks": {
"MULTI_PROVIDER_PORT_GROUP 0": {
"uuid": "e5d235de-2188-4f9f-a28c-fe38967883f2",
@@ -43,7 +45,7 @@
"modelCustomizationName": "MULTI_PROVIDER_PORT_GROUP 0"
}
},
- "collectionResource": {},
+ "collectionResources": {},
"configurations": {},
"fabricConfigurations": {},
"serviceProxies": {},
diff --git a/vid-automation/src/test/resources/sdcApiTest/emptyInstantiationTypeResponse.json b/vid-automation/src/test/resources/sdcApiTest/emptyInstantiationTypeResponse.json
index 2136c84cb..582147ac2 100644
--- a/vid-automation/src/test/resources/sdcApiTest/emptyInstantiationTypeResponse.json
+++ b/vid-automation/src/test/resources/sdcApiTest/emptyInstantiationTypeResponse.json
@@ -3,7 +3,8 @@
"vidNotions": {
"instantiationUI": "legacy",
"modelCategory": "other",
- "viewEditUI": "legacy"
+ "viewEditUI": "legacy",
+ "instantiationType": "ClientConfig"
},
"uuid": "4d71990b-d8ad-4510-ac61-496288d9078e",
"invariantUuid": "a8dcd72d-d44d-44f2-aa85-53aa9ca99cba",
@@ -19,6 +20,7 @@
"inputs": {}
},
"vnfs": {},
+ "vrfs": {},
"networks": {
"MULTI_PROVIDER_PORT_GROUP 0": {
"uuid": "e5d235de-2188-4f9f-a28c-fe38967883f2",
@@ -43,7 +45,7 @@
"modelCustomizationName": "MULTI_PROVIDER_PORT_GROUP 0"
}
},
- "collectionResource": {},
+ "collectionResources": {},
"configurations": {},
"fabricConfigurations": {},
"serviceProxies": {},
diff --git a/vid-automation/src/test/resources/sdcApiTest/macroInstantiationTypeResponse.json b/vid-automation/src/test/resources/sdcApiTest/macroInstantiationTypeResponse.json
index 07fd1d3a9..9f251ed7f 100644
--- a/vid-automation/src/test/resources/sdcApiTest/macroInstantiationTypeResponse.json
+++ b/vid-automation/src/test/resources/sdcApiTest/macroInstantiationTypeResponse.json
@@ -3,7 +3,8 @@
"vidNotions": {
"instantiationUI": "legacy",
"modelCategory": "other",
- "viewEditUI": "legacy"
+ "viewEditUI": "legacy",
+ "instantiationType": "Macro"
},
"uuid": "4d71990b-d8ad-4510-ac61-496288d9078e",
"invariantUuid": "a8dcd72d-d44d-44f2-aa85-53aa9ca99cba",
@@ -19,6 +20,7 @@
"inputs": {}
},
"vnfs": {},
+ "vrfs": {},
"networks": {
"MULTI_PROVIDER_PORT_GROUP 0": {
"uuid": "e5d235de-2188-4f9f-a28c-fe38967883f2",
@@ -43,7 +45,7 @@
"modelCustomizationName": "MULTI_PROVIDER_PORT_GROUP 0"
}
},
- "collectionResource": {},
+ "collectionResources": {},
"configurations": {},
"fabricConfigurations": {},
"serviceProxies": {},
diff --git a/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponse.json b/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponse.json
index 785635cd6..2b648c1ed 100644
--- a/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponse.json
+++ b/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponse.json
@@ -3,7 +3,8 @@
"vidNotions": {
"instantiationUI": "legacy",
"modelCategory": "other",
- "viewEditUI": "legacy"
+ "viewEditUI": "legacy",
+ "instantiationType": "ClientConfig"
},
"uuid": "43f13072-fe50-496b-b673-7af075d10143",
"invariantUuid": "35fb95d8-d1f0-4e46-99ac-e01b423e8e3f",
@@ -17,7 +18,7 @@
"serviceEcompNaming": "true",
"instantiationType": "ClientConfig",
"inputs": {
- "2017488PASQUALEvpe20_ASN": {
+ "2017488pasqualevpe20_ASN": {
"type": "string",
"description": "AV/PE",
"entry_schema": null,
@@ -26,7 +27,7 @@
"required": true,
"default": "AV_vPE"
},
- "2017488PASQUALEvpe20_bandwidth": {
+ "2017488pasqualevpe20_bandwidth": {
"type": "string",
"description": "Requested VPE bandwidth",
"entry_schema": null,
@@ -35,7 +36,7 @@
"required": true,
"default": "10"
},
- "2017488PASQUALEvpe20_bandwidth_units": {
+ "2017488pasqualevpe20_bandwidth_units": {
"type": "string",
"description": "Units of bandwidth",
"entry_schema": null,
@@ -44,7 +45,7 @@
"required": true,
"default": "Gbps"
},
- "2017488PASQUALEvpe20_AIC_CLLI": {
+ "2017488pasqualevpe20_AIC_CLLI": {
"type": "string",
"description": "AIC Site CLLI",
"entry_schema": null,
@@ -53,7 +54,7 @@
"required": true,
"default": "ATLMY8GA"
},
- "2017488PASQUALEvpe20_vnf_config_template_version": {
+ "2017488pasqualevpe20_vnf_config_template_version": {
"type": "string",
"description": "VPE Software Version",
"entry_schema": null,
@@ -62,7 +63,7 @@
"required": true,
"default": "17.2"
},
- "2017488PASQUALEvpe20_vnf_instance_name": {
+ "2017488pasqualevpe20_vnf_instance_name": {
"type": "string",
"description": "The hostname assigned to the vpe.",
"entry_schema": null,
@@ -141,37 +142,37 @@
"vnf_config_template_version": {
"displayName": "vnf_config_template_version",
"command": "get_input",
- "inputName": "2017488PASQUALEvpe20_vnf_config_template_version"
+ "inputName": "2017488pasqualevpe20_vnf_config_template_version"
},
"bandwidth_units": {
"displayName": "bandwidth_units",
"command": "get_input",
- "inputName": "2017488PASQUALEvpe20_bandwidth_units"
+ "inputName": "2017488pasqualevpe20_bandwidth_units"
},
"bandwidth": {
"displayName": "bandwidth",
"command": "get_input",
- "inputName": "2017488PASQUALEvpe20_bandwidth"
+ "inputName": "2017488pasqualevpe20_bandwidth"
},
"AIC_CLLI": {
"displayName": "AIC_CLLI",
"command": "get_input",
- "inputName": "2017488PASQUALEvpe20_AIC_CLLI"
+ "inputName": "2017488pasqualevpe20_AIC_CLLI"
},
"ASN": {
"displayName": "ASN",
"command": "get_input",
- "inputName": "2017488PASQUALEvpe20_ASN"
+ "inputName": "2017488pasqualevpe20_ASN"
},
"vnf_instance_name": {
"displayName": "vnf_instance_name",
"command": "get_input",
- "inputName": "2017488PASQUALEvpe20_vnf_instance_name"
+ "inputName": "2017488pasqualevpe20_vnf_instance_name"
}
},
"properties": {
"vmxvre_retype": "RE-VMX",
- "vnf_config_template_version": "get_input:2017488PASQUALEvpe20_vnf_config_template_version",
+ "vnf_config_template_version": "get_input:2017488pasqualevpe20_vnf_config_template_version",
"sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
"int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
"vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
@@ -217,7 +218,7 @@
"vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
"vmxvre_int_ctl_ip_0": "10.0.0.10",
"ecomp_generated_naming": "true",
- "AIC_CLLI": "get_input:2017488PASQUALEvpe20_AIC_CLLI",
+ "AIC_CLLI": "get_input:2017488pasqualevpe20_AIC_CLLI",
"vnf_name": "mtnj309me6vre",
"vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
"vmxvre_volume_type_1": "HITACHI",
@@ -225,14 +226,14 @@
"vmxvre_volume_type_0": "HITACHI",
"vmxvpfe_volume_type_0": "HITACHI",
"vmxvpfe_sriov43_0_port_broadcastallow": "true",
- "bandwidth_units": "get_input:2017488PASQUALEvpe20_bandwidth_units",
+ "bandwidth_units": "get_input:2017488pasqualevpe20_bandwidth_units",
"vnf_id": "123",
"vmxvre_oam_prefix": "24",
"availability_zone_0": "mtpocfo-kvm-az01",
- "ASN": "get_input:2017488PASQUALEvpe20_ASN",
+ "ASN": "get_input:2017488pasqualevpe20_ASN",
"vmxvre_chassis_i2cid": "161",
"vmxvpfe_name_0": "vPFEXI",
- "bandwidth": "get_input:2017488PASQUALEvpe20_bandwidth",
+ "bandwidth": "get_input:2017488pasqualevpe20_bandwidth",
"availability_zone_max_count": "1",
"vmxvre_volume_size_0": "45.0",
"vmxvre_volume_size_1": "50.0",
@@ -242,7 +243,7 @@
"vmxvre_ore_present": "0",
"vmxvre_volume_name_0": "vREXI_FBVolume",
"vmxvre_type": "0",
- "vnf_instance_name": "get_input:2017488PASQUALEvpe20_vnf_instance_name",
+ "vnf_instance_name": "get_input:2017488pasqualevpe20_vnf_instance_name",
"vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
"oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
"vmx_int_ctl_len": "24",
@@ -258,14 +259,14 @@
"type": "VF",
"modelCustomizationName": "2017 488 PASQUALE vPE 2 0",
"vfModules": {
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2": {
"uuid": "13bea14d-9405-43c6-920b-97bab64b6a01",
"invariantUuid": "83dc51de-a337-498e-9fee-763603a057b4",
"customizationUuid": "a90865d5-6de0-4ef8-bf53-d45fa3edddfc",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "name": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"properties": {
"minCountInstances": null,
"maxCountInstances": null,
@@ -276,14 +277,14 @@
"inputs": {},
"volumeGroupAllowed": true
},
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1": {
"uuid": "3f6d5e51-a9a0-4c53-bb6d-be836767d96f",
"invariantUuid": "54466b6d-e33c-4f4d-87e2-32bc5b103589",
"customizationUuid": "dba1d1ff-77e2-4f4d-b1b4-1bed564f13b1",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "name": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"properties": {
"minCountInstances": 0,
"maxCountInstances": null,
@@ -294,14 +295,14 @@
"inputs": {},
"volumeGroupAllowed": true
},
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_base_vPE_BV..module-0": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_base_vPE_BV..module-0": {
"uuid": "0a45a870-3a19-4238-a72a-eadfc583d4fe",
"invariantUuid": "c636b302-fba2-4ed7-9f3b-c99715b6bb2e",
"customizationUuid": "a0b634e6-514e-4977-91dd-3b8c295e6bc8",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_base_vPE_BV..module-0",
+ "name": "2017488PasqualeVpe2..PASQUALE_base_vPE_BV..module-0",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_base_vPE_BV..module-0",
"properties": {
"minCountInstances": 1,
"maxCountInstances": 1,
@@ -314,14 +315,14 @@
}
},
"volumeGroups": {
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2": {
"uuid": "13bea14d-9405-43c6-920b-97bab64b6a01",
"invariantUuid": "83dc51de-a337-498e-9fee-763603a057b4",
"customizationUuid": "a90865d5-6de0-4ef8-bf53-d45fa3edddfc",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "name": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"properties": {
"minCountInstances": null,
"maxCountInstances": null,
@@ -331,14 +332,14 @@
},
"inputs": {}
},
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1": {
"uuid": "3f6d5e51-a9a0-4c53-bb6d-be836767d96f",
"invariantUuid": "54466b6d-e33c-4f4d-87e2-32bc5b103589",
"customizationUuid": "dba1d1ff-77e2-4f4d-b1b4-1bed564f13b1",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "name": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"properties": {
"minCountInstances": 0,
"maxCountInstances": null,
@@ -352,20 +353,21 @@
"vfcInstanceGroups": {}
}
},
+ "vrfs": {},
"networks": {},
- "collectionResource": {},
+ "collectionResources": {},
"configurations": {},
"fabricConfigurations": {},
"serviceProxies": {},
"vfModules": {
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2": {
"uuid": "13bea14d-9405-43c6-920b-97bab64b6a01",
"invariantUuid": "83dc51de-a337-498e-9fee-763603a057b4",
"customizationUuid": "a90865d5-6de0-4ef8-bf53-d45fa3edddfc",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "name": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"properties": {
"minCountInstances": null,
"maxCountInstances": null,
@@ -376,14 +378,14 @@
"inputs": {},
"volumeGroupAllowed": true
},
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_base_vPE_BV..module-0": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_base_vPE_BV..module-0": {
"uuid": "0a45a870-3a19-4238-a72a-eadfc583d4fe",
"invariantUuid": "c636b302-fba2-4ed7-9f3b-c99715b6bb2e",
"customizationUuid": "a0b634e6-514e-4977-91dd-3b8c295e6bc8",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_base_vPE_BV..module-0",
+ "name": "2017488PasqualeVpe2..PASQUALE_base_vPE_BV..module-0",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_base_vPE_BV..module-0",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_base_vPE_BV..module-0",
"properties": {
"minCountInstances": 1,
"maxCountInstances": 1,
@@ -394,14 +396,14 @@
"inputs": {},
"volumeGroupAllowed": false
},
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1": {
"uuid": "3f6d5e51-a9a0-4c53-bb6d-be836767d96f",
"invariantUuid": "54466b6d-e33c-4f4d-87e2-32bc5b103589",
"customizationUuid": "dba1d1ff-77e2-4f4d-b1b4-1bed564f13b1",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "name": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"properties": {
"minCountInstances": 0,
"maxCountInstances": null,
@@ -414,14 +416,14 @@
}
},
"volumeGroups": {
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2": {
"uuid": "13bea14d-9405-43c6-920b-97bab64b6a01",
"invariantUuid": "83dc51de-a337-498e-9fee-763603a057b4",
"customizationUuid": "a90865d5-6de0-4ef8-bf53-d45fa3edddfc",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "name": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vPFE_BV..module-2",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vPFE_BV..module-2",
"properties": {
"minCountInstances": null,
"maxCountInstances": null,
@@ -431,14 +433,14 @@
},
"inputs": {}
},
- "2017488PASQUALEvpe20..2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1": {
+ "2017488pasqualevpe20..2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1": {
"uuid": "3f6d5e51-a9a0-4c53-bb6d-be836767d96f",
"invariantUuid": "54466b6d-e33c-4f4d-87e2-32bc5b103589",
"customizationUuid": "dba1d1ff-77e2-4f4d-b1b4-1bed564f13b1",
"description": null,
- "name": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "name": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"version": "1",
- "modelCustomizationName": "2017488PASQUALEVpe2..PASQUALE_vRE_BV..module-1",
+ "modelCustomizationName": "2017488PasqualeVpe2..PASQUALE_vRE_BV..module-1",
"properties": {
"minCountInstances": 0,
"maxCountInstances": null,
diff --git a/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponseOldCsar.json b/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponseOldCsar.json
index 4097fd936..11c6b184b 100644
--- a/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponseOldCsar.json
+++ b/vid-automation/src/test/resources/sdcApiTest/minMaxInitialExpectedResponseOldCsar.json
@@ -2,30 +2,30 @@
"service": {
"uuid": "281b5f7d-c7ac-4ea9-92fb-2c1d625ca681",
"invariantUuid": "a977af77-db15-4375-a637-e9b994ecd569",
- "name": "vMME_rVPMS_FE AIC3.0-11.2.1.7_SVC",
+ "name": "vFLORENCE_rVPMS_FE AIC3.0-11.2.1.7_SVC",
"version": "1.0",
"toscaModelURL": null,
"category": "Emanuel",
"serviceType": null,
"serviceRole": null,
- "description": "New service for vMME vProbe Front End AIC3.0 VPMS Radcom 11.2.1.7. Front End includes Qrouter, vProbe aff, vLB Agent aff and vLB.",
+ "description": "New service for vFLORENCE vProbe Front End AIC3.0 VPMS Radcom 11.2.1.7. Front End includes Qrouter, vProbe aff, vLB Agent aff and vLB.",
"serviceEcompNaming": "true",
"instantiationType": null,
"inputs": {}
},
"vnfs": {
- "vMMEvProbe_FE_AIC3-11.2.1_VF 1": {
+ "vFLORENCEvProbe_FE_AIC3-11.2.1_VF 1": {
"uuid": "245562de-3984-49ef-a708-6c9d7cfcabd1",
"invariantUuid": "124216d6-71d0-41c8-ac81-0c5acfee514a",
- "description": " New service for vMME vProbe Front End AIC3.0 VPMS Radcom 11.2.1.7. Front End includes Qrouter, vProbe aff, vLB Agent aff and vLB. ",
- "name": "vMMEvProbe_FE_AIC3-11.2.1_VF",
+ "description": " New service for vFLORENCE vProbe Front End AIC3.0 VPMS Radcom 11.2.1.7. Front End includes Qrouter, vProbe aff, vLB Agent aff and vLB. ",
+ "name": "vFLORENCEvProbe_FE_AIC3-11.2.1_VF",
"version": "1.0",
"customizationUuid": "8293273d-0e76-4661-926f-06a01ad2e683",
"inputs": {},
"commands": {},
"properties": {},
"type": null,
- "modelCustomizationName": "vMMEvProbe_FE_AIC3-11.2.1_VF 1",
+ "modelCustomizationName": "vFLORENCEvProbe_FE_AIC3-11.2.1_VF 1",
"vfModules": {
"vflorencevprobe_fe_aic31121_vf1..VflorencevprobeFeAic31121Vf..FE_Add_On_Module_vprobe_eph..module-1": {
"uuid": "e67e5b39-1f3b-4692-beec-eda94a0375a5",
@@ -191,8 +191,9 @@
"vfcInstanceGroups": {}
}
},
+ "vrfs": null,
"networks": {},
- "collectionResource": null,
+ "collectionResources": null,
"configurations": null,
"fabricConfigurations": {},
"serviceProxies": null,
diff --git a/vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks.json b/vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks.json
new file mode 100644
index 000000000..471cd854d
--- /dev/null
+++ b/vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks.json
@@ -0,0 +1,126 @@
+[
+ {
+ "action": "None",
+ "boundToVpn": true,
+ "cloudOwner": "att-nc",
+ "inMaint": false,
+ "instanceId": "3b3308d4-0cd3-43e4-9a7b-d1925c861131",
+ "instanceName": "AUK51a_oam_calea_net_0",
+ "role": "oam_calea_net_0",
+ "instanceType": "SR-IOV-PROVIDER2-0",
+ "orchStatus": "Active",
+ "physicalName": "sriovnet0",
+ "lcpCloudRegionId": "auk51a",
+ "serviceUUID": "1c98917b-8255-43c6-98f1-7a2942e75ce1",
+ "serviceName": "AUK51a_oam_calea_net_service_0",
+ "tenantName": "ecomp_ispt",
+ "tenantId": "b530fc990b6d4334bd45518bebca6a51",
+ "trackById": "3b3308d4-0cd3-43e4-9a7b-d1925c861131",
+ "uuid": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelInfo" : {
+ "modelCustomizationId": "e5f33853-f84c-4cdd-99f2-93846957aa18",
+ "modelInvariantId": "b9a9b549-0ee4-49fc-b4f2-5edc6701da68",
+ "modelVersionId": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelType": "network"
+ }
+ },
+ {
+ "action": "None",
+ "boundToVpn": true,
+ "cloudOwner": "att-nc",
+ "inMaint": false,
+ "instanceId": "b45cdb14-7a80-4ebd-b979-b1d7c7620851",
+ "instanceName": "AUK51a_oam_calea_net_1",
+ "role": "oam_calea_net_1",
+ "instanceType": "SR-IOV-PROVIDER2-1",
+ "orchStatus": "Active",
+ "physicalName": "sriovnet1",
+ "lcpCloudRegionId": "auk51a",
+ "serviceUUID": "fc21e453-7ff4-438e-bc69-df1f9474b00a",
+ "serviceName": "AUK51a_oam_calea_net_service_1",
+ "tenantName": "ecomp_ispt",
+ "tenantId": "b530fc990b6d4334bd45518bebca6a51",
+ "trackById": "b45cdb14-7a80-4ebd-b979-b1d7c7620851",
+ "uuid": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelInfo" : {
+ "modelCustomizationId": "3b45cdb14-7a80-4ebd-b979-b1d7c7620851",
+ "modelInvariantId": "3b3308d4-0cd3-43e4-9a7b-d1925c861135",
+ "modelVersionId": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelType": "network"
+ }
+ },
+ {
+ "action": "None",
+ "boundToVpn": true,
+ "cloudOwner": "att-nc",
+ "inMaint": false,
+ "instanceId": "10a74149-c9d7-4918-bbcf-d5fb9b1799ce",
+ "instanceName": "AUK51a_oam_calea_net_2",
+ "role": "oam_calea_net_2",
+ "instanceType": "SR-IOV-PROVIDER2-2",
+ "orchStatus": "Active",
+ "physicalName": "sriovnet2",
+ "lcpCloudRegionId": "auk51a",
+ "serviceUUID": "b28d8a84-7d93-4b56-b525-c239c1e780a4",
+ "serviceName": "AUK51a_oam_calea_net_service_2",
+ "tenantName": "ecomp_ispt",
+ "tenantId": "b530fc990b6d4334bd45518bebca6a51",
+ "trackById": "10a74149-c9d7-4918-bbcf-d5fb9b1799ce",
+ "uuid": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelInfo" : {
+ "modelCustomizationId": "10a74149-c9d7-4918-bbcf-d5fb9b1799ce",
+ "modelInvariantId": "3b3308d4-0cd3-43e4-9a7b-d1925c861135",
+ "modelVersionId": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelType": "network"
+ }
+ },
+ {
+ "action": "None",
+ "boundToVpn": true,
+ "cloudOwner": "att-nc",
+ "inMaint": false,
+ "instanceId": "95380967-0f1c-41e9-a47f-9baa3f90860c",
+ "instanceName": "AUK51a_oam_calea_net_3",
+ "role": "oam_calea_net_3",
+ "instanceType": "SR-IOV-PROVIDER2-3",
+ "orchStatus": "Active",
+ "physicalName": "sriovnet3",
+ "lcpCloudRegionId": "auk51a",
+ "serviceUUID": "f09bbb55-8942-4621-892f-4690a8e5570a",
+ "serviceName": "AUK51a_oam_calea_net_service_3",
+ "tenantName": "ecomp_ispt",
+ "tenantId": "b530fc990b6d4334bd45518bebca6a51",
+ "trackById": "95380967-0f1c-41e9-a47f-9baa3f90860c",
+ "uuid": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelInfo" : {
+ "modelCustomizationId": "95380967-0f1c-41e9-a47f-9baa3f90860c",
+ "modelInvariantId": "3b3308d4-0cd3-43e4-9a7b-d1925c861135",
+ "modelVersionId": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelType": "network"
+ }
+ },
+ {
+ "action": "None",
+ "boundToVpn": true,
+ "cloudOwner": "att-nc",
+ "inMaint": false,
+ "instanceId": "3b3308d4-0cd3-43e4-9a7b-d1925c861135",
+ "instanceName": "AUK51a_oam_calea_net_0",
+ "instanceType": "SR-IOV-PROVIDER2-0",
+ "orchStatus": "Active",
+ "physicalName": "sriovnet0",
+ "lcpCloudRegionId": "auk51a",
+ "serviceUUID": "1c98917b-8255-43c6-98f1-7a2942e75ce1",
+ "serviceName": "AUK51a_oam_calea_net_service_0",
+ "tenantName": "ecomp_ispt",
+ "tenantId": "b530fc990b6d4334bd45518bebca6a51",
+ "trackById": "3b3308d4-0cd3-43e4-9a7b-d1925c861135",
+ "uuid": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelInfo" : {
+ "modelCustomizationId": "95380967-0f1c-41e9-a47f-9baa3f90860c",
+ "modelInvariantId": "3b3308d4-0cd3-43e4-9a7b-d1925c861135",
+ "modelVersionId": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelType": "network"
+ }
+ }
+] \ No newline at end of file
diff --git a/vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks2.json b/vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks2.json
new file mode 100644
index 000000000..596a9f353
--- /dev/null
+++ b/vid-automation/src/test/resources/viewEdit/aaiGetActiveNetworks2.json
@@ -0,0 +1,22 @@
+[
+ {
+ "action":"None",
+ "instanceName":"CHICGIL01VDBE01_SubIntNtwk043",
+ "instanceId":"l3network2-550-as988q",
+ "orchStatus":"active",
+ "lcpCloudRegionId":"cloud-region-id-CC-ANAI-528",
+ "tenantId":"tenant-id-CC-ANAI-528T1",
+ "cloudOwner":"cloud-owner-CC-ANAI-528",
+ "modelInfo":{
+ "modelCustomizationId":"wgmn6PrJ5",
+ "modelType":"network"
+ },
+ "instanceType":"K6VD",
+ "inMaint":false,
+ "trackById":"l3network2-550-as988q",
+ "role":"X92XE0j",
+ "physicalName":"wq6OKbZMTY",
+ "tenantName":"tenant-name-CC-ANAI-528T1",
+ "boundToVpn":true
+ }
+] \ No newline at end of file
diff --git a/vid-automation/src/test/resources/viewEdit/aaiGetVpnList.json b/vid-automation/src/test/resources/viewEdit/aaiGetVpnList.json
new file mode 100644
index 000000000..bc1f655c4
--- /dev/null
+++ b/vid-automation/src/test/resources/viewEdit/aaiGetVpnList.json
@@ -0,0 +1,155 @@
+[
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "120d39fb-3627-473d-913c-d228dd0f8e5b",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1260",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": [
+ {
+ "globalRouteTarget":"mock-global-1",
+ "routeTargetRole" : "mock-role-x"
+ },
+ {
+ "globalRouteTarget":"mock-global-2",
+ "routeTargetRole" : "mock-role-y"
+ }
+
+ ]
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "c70391f3-a6e3-4874-9834-cbe12d7bf8b6",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1274",
+ "modelInfo": {
+ "modelCustomizationId": "cc3bff3f-cd4d-49bb-aac3-77e8e1168297",
+ "modelInvariantId": "e73127d5-c2de-43b2-bc02-602fa5c9aa29",
+ "modelVersionId": "94209bf1-67fa-4741-96fe-a2b3f86f84b2",
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "4776516b-7da2-446c-9ba7-47ca8c30c571",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1275",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "46fcb25a-e7ba-4d96-99ba-3bb6eae6aba7",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1271",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "ffefbe38-3087-418a-87ae-f6582a15be78",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1272",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "961d05be-ee41-40a2-8653-f603fc495175",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1273",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "14bcfc2f-bbee-4fd9-89a5-42eb5dbb08d5",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "913443",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "89d4c968-158c-4722-a22c-c5c2ccc17fd5",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1276",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "3e7834fb-a8e0-4243-a837-5352ccab4602",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1259",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ },
+ {
+ "action": "None",
+ "inMaint": false,
+ "instanceId": "844a1ea7-556a-4e49-8aa3-171f1db4ea02",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1277",
+ "modelInfo": {
+ "modelType": "vpnBinding"
+ },
+ "routeTargets": []
+ }
+] \ No newline at end of file
diff --git a/vid-automation/src/test/resources/vrf/vrfServiceCreateRequest.json b/vid-automation/src/test/resources/vrf/vrfServiceCreateRequest.json
new file mode 100644
index 000000000..a3fcd0e4e
--- /dev/null
+++ b/vid-automation/src/test/resources/vrf/vrfServiceCreateRequest.json
@@ -0,0 +1,213 @@
+{
+ "action": "Create",
+ "isDirty": false,
+ "vrfs": {
+ "VRF Entry Configuration 0": {
+ "originalName": null,
+ "trackById": "VRF1_INSTANCE_ID",
+ "action": "None",
+ "instanceId": "VRF1_INSTANCE_ID",
+ "instanceType": "VRF1_INSTANCE_TYPE",
+ "orchStatus": null,
+ "provStatus": null,
+ "inMaint": false,
+ "modelInfo": {
+ "modelInvariantId": "vnf-instance-model-invariant-id",
+ "modelVersionId": "vnf-instance-model-version-id",
+ "modelCustomizationId": "vnf-instance-model-customization-id",
+ "modelType": "vrf"
+ },
+ "uuid": "vnf-instance-model-version-id",
+ "productFamilyId": null,
+ "lcpCloudRegionId": "olson3",
+ "cloudOwner": "att-nc",
+ "legacyRegion": null,
+ "tenantId": "229bcdc6eaeb4ca59d55221141d01f8e",
+ "lineOfBusiness": null,
+ "platformName": null,
+ "vfModules": {},
+ "networks": {
+ "NETWORK1_INSTANCE_ID": {
+ "originalName": null,
+ "trackById": "NETWORK1_INSTANCE_ID",
+ "instanceName": "NETWORK1_INSTANCE_NAME",
+ "action": "None",
+ "instanceId": "NETWORK1_INSTANCE_ID",
+ "instanceType": "CONTRAIL30_BASIC",
+ "orchStatus": "Assigned",
+ "provStatus": "prov",
+ "inMaint": false,
+ "modelInfo": {
+ "modelInvariantId": "network-instance-model-invariant-id",
+ "modelVersionId": "network-instance-model-version-id",
+ "modelCustomizationId": "network-instance-model-customization-id",
+ "modelName": "modelName",
+ "modelType": "network"
+ },
+ "uuid": "network-instance-model-version-id",
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "legacyRegion": null,
+ "tenantId": null,
+ "lineOfBusiness": null,
+ "platformName": null
+ }
+ },
+ "vpns": {
+ "VPN1_INSTANCE_ID": {
+ "originalName": null,
+ "trackById": "VPN1_INSTANCE_ID",
+ "instanceName": "VPN1_INSTANCE_NAME",
+ "action": "None",
+ "instanceId": "VPN1_INSTANCE_ID",
+ "instanceType": "CONTRAIL30_BASIC",
+ "orchStatus": "Assigned",
+ "provStatus": "prov",
+ "inMaint": false,
+ "modelInfo": {
+ "modelInvariantId": "network-instance-model-invariant-id",
+ "modelVersionId": "network-instance-model-version-id",
+ "modelCustomizationId": "network-instance-model-customization-id",
+ "modelName": "modelName",
+ "modelType": "vpnBinding"
+ },
+ "uuid": "network-instance-model-version-id",
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "legacyRegion": null,
+ "tenantId": null,
+ "lineOfBusiness": null,
+ "platformName": null
+ }
+ }
+ },
+ "VRF Entry Configuration": {
+ "uuid": "9cac02be-2489-4374-888d-2863b4511a59",
+ "invariantUuid": "b67a289b-1688-496d-86e8-1583c828be0a",
+ "description": "VRF Entry configuration object",
+ "name": "VRF Entry Configuration",
+ "version": "30.0",
+ "customizationUuid": "dd024d73-9bd1-425d-9db5-476338d53433",
+ "inputs": {},
+ "commands": {},
+ "properties": {
+ "ecomp_generated_naming": "false"
+ },
+ "type": "Configuration",
+ "modelCustomizationName": "VRF Entry Configuration 0",
+ "sourceNodes": [],
+ "collectorNodes": null,
+ "configurationByPolicy": false,
+ "vpns": {
+ "VRF Entry Configuration vpns 1": {
+ "instanceId": "120d39fb-3627-473d-913c-d228dd0f8e5b",
+ "instanceName": "LPPVPN",
+ "platformName": "AVPN",
+ "instanceType": "SERVICE-INFRASTRUCTURE",
+ "region": "USA,EMEA",
+ "customerId": "VPN1260",
+ "modelInfo": {
+ "modelCustomizationId": null,
+ "modelInvariantId": null,
+ "modelVersionId": null
+ },
+ "routeTargets": [
+ {
+ "globalRouteTarget": "globalRouteTarget_1",
+ "routeTargetRole": "routeTargetRole_1"
+ },
+ {
+ "globalRouteTarget": "globalRouteTarget_2",
+ "routeTargetRole": "routeTargetRole_2"
+ },
+ {
+ "globalRouteTarget": "globalRouteTarget_3",
+ "routeTargetRole": "routeTargetRole_3"
+ }
+ ],
+ "isSelected": true
+ }
+ },
+ "networks": {
+ "VRF Entry Configuration networks 1": {
+ "action": "None",
+ "boundToVpn": true,
+ "cloudOwner": "att-nc",
+ "inMaint": false,
+ "instanceId": "10a74149-c9d7-4918-bbcf-d5fb9b1799ce",
+ "instanceName": "AUK51a_oam_calea_net_2",
+ "role": "oam_calea_net_2",
+ "instanceType": "SR-IOV-PROVIDER2-2",
+ "orchStatus": "Active",
+ "physicalName": "sriovnet2",
+ "lcpCloudRegionId": "auk51a",
+ "serviceUUID": "b28d8a84-7d93-4b56-b525-c239c1e780a4",
+ "serviceName": "AUK51a_oam_calea_net_service_2",
+ "tenantName": "ecomp_ispt",
+ "tenantId": "b530fc990b6d4334bd45518bebca6a51",
+ "trackById": "10a74149-c9d7-4918-bbcf-d5fb9b1799ce",
+ "uuid": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelInfo": {
+ "modelCustomizationId": "10a74149-c9d7-4918-bbcf-d5fb9b1799ce",
+ "modelInvariantId": "3b3308d4-0cd3-43e4-9a7b-d1925c861135",
+ "modelVersionId": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "modelType": "network"
+ },
+ "isSelected": true
+ }
+ }
+ }
+ },
+ "vnfs": {},
+ "instanceParams": [
+ {}
+ ],
+ "validationCounter": 0,
+ "existingNames": {
+ "dfd": ""
+ },
+ "existingVNFCounterMap": {},
+ "existingVRFCounterMap": {},
+ "existingVnfGroupCounterMap": {},
+ "existingNetworksCounterMap": {},
+ "networks": {},
+ "vnfGroups": {},
+ "bulkSize": 1,
+ "instanceName": "dfd",
+ "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
+ "subscriptionServiceType": "TYLER SILVIA",
+ "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
+ "lcpCloudRegionId": "lcpCloudRegionId",
+ "tenantName": "tenantName",
+ "projectName": "WATKINS",
+ "rollbackOnFailure": true,
+ "aicZoneName": null,
+ "owningEntityName": "WayneHolland",
+ "testApi": "VNF_API",
+ "modelInfo": {
+ "modelInvariantId": "dfc2c44c-2429-44ca-ae26-1e6dc1f207fb",
+ "modelVersionId": "f028b2e2-7080-4b13-91b2-94944d4c42d8",
+ "modelName": "infraVPN",
+ "modelVersion": "1.0",
+ "uuid": "f028b2e2-7080-4b13-91b2-94944d4c42d8",
+ "modelUniqueId": "f028b2e2-7080-4b13-91b2-94944d4c42d8"
+ },
+ "isALaCarte": true,
+ "name": "infraVPN",
+ "version": "1.0",
+ "description": "ddd",
+ "category": "Network Service",
+ "uuid": "f028b2e2-7080-4b13-91b2-94944d4c42d8",
+ "invariantUuid": "dfc2c44c-2429-44ca-ae26-1e6dc1f207fb",
+ "serviceType": "BONDING",
+ "serviceRole": "INFRASTRUCTURE-VPN",
+ "vidNotions": {
+ "instantiationUI": "macroService",
+ "modelCategory": "other",
+ "viewEditUI": "legacy",
+ "instantiationType": "Macro"
+ },
+ "isEcompGeneratedNaming": true,
+ "isMultiStepDesign": false,
+ "subscriberName": "SILVIA ROBBINS"
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/vrf/vrfServiceRoleResponse.json b/vid-automation/src/test/resources/vrf/vrfServiceRoleResponse.json
new file mode 100644
index 000000000..d4a6b022e
--- /dev/null
+++ b/vid-automation/src/test/resources/vrf/vrfServiceRoleResponse.json
@@ -0,0 +1,87 @@
+{
+ "service": {
+ "vidNotions": {
+ "instantiationUI": "infrastructureVpn",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithVRF",
+ "instantiationType": "Macro"
+ },
+ "uuid": "4117a0b6-e234-467d-b5b9-fe2f68c8b0fc",
+ "invariantUuid": "7ee41ce4-4827-44b0-a48e-2707a59905d2",
+ "name": "VRF Service for Test",
+ "version": "1.0",
+ "toscaModelURL": null,
+ "category": "Network L4+",
+ "serviceType": "INFRASTRUCTURE",
+ "serviceRole": "CONFIGURATION",
+ "description": "xxx",
+ "serviceEcompNaming": "true",
+ "instantiationType": "A-La-Carte",
+ "inputs": {}
+ },
+ "vnfs": {},
+ "vrfs": {
+ "VRF Entry Configuration 0": {
+ "uuid": "9cac02be-2489-4374-888d-2863b4511a59",
+ "invariantUuid": "b67a289b-1688-496d-86e8-1583c828be0a",
+ "description": "VRF Entry configuration object",
+ "name": "VRF Entry Configuration",
+ "version": "30.0",
+ "customizationUuid": "dd024d73-9bd1-425d-9db5-476338d53433",
+ "inputs": {},
+ "commands": {},
+ "properties": {
+ "ecomp_generated_naming": "false"
+ },
+ "type": "Configuration",
+ "modelCustomizationName": "VRF Entry Configuration 0",
+ "sourceNodes": [],
+ "collectorNodes": null,
+ "configurationByPolicy": false
+ }
+ },
+ "networks": {},
+ "collectionResources": {},
+ "configurations": {},
+ "fabricConfigurations": {},
+ "serviceProxies": {
+ "vdorothea_svc_vprs_proxy 0": {
+ "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
+ "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
+ "description": "A Proxy for Service vDOROTHEA_Svc_vPRS",
+ "name": "vDOROTHEA_Svc_vPRS Service Proxy",
+ "version": "1.0",
+ "customizationUuid": "bdb63d23-e132-4ce7-af2c-a493b4cafac9",
+ "inputs": {},
+ "commands": {},
+ "properties": {
+ "ecomp_generated_naming": "false"
+ },
+ "type": "Service Proxy",
+ "sourceModelUuid": "da7827a2-366d-4be6-8c68-a69153c61274",
+ "sourceModelInvariant": "24632e6b-584b-4f45-80d4-fefd75fd9f14",
+ "sourceModelName": "vDOROTHEA_Svc_vPRS"
+ },
+ "tsbc0001vm001_svc_proxy 0": {
+ "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
+ "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
+ "description": "A Proxy for Service tsbc0001vm001_Svc",
+ "name": "tsbc0001vm001_Svc Service Proxy",
+ "version": "1.0",
+ "customizationUuid": "3d814462-30fb-4c62-b997-9aa360d27ead",
+ "inputs": {},
+ "commands": {},
+ "properties": {
+ "ecomp_generated_naming": "false"
+ },
+ "type": "Service Proxy",
+ "sourceModelUuid": "28aeb8f6-5620-4148-8bfb-a5fb406f0309",
+ "sourceModelInvariant": "c989ab9a-33c7-46ec-b521-1b2daef5f047",
+ "sourceModelName": "tsbc0001vm001_Svc"
+ }
+ },
+ "vfModules": {},
+ "volumeGroups": {},
+ "pnfs": {},
+ "vnfGroups": { }
+}