aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test/resources
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-08-12 14:51:28 +0300
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-08-12 15:02:57 +0300
commit4a4dcc5185f8ba5a28c7f9fef509f32c0c2389e6 (patch)
tree23e55ee7e1ad9b91bcc3ef1dbe1fb7b183f8b2b6 /vid-automation/src/test/resources
parent661a24fd57de02869a9771761e0fcba7eb77d121 (diff)
vid-automation selenium tests
Change-Id: I6c1b0a0cf3bbfa4314c81f0cc72507db805ec632 Issue-ID: VID-281 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-automation/src/test/resources')
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/vidRequestCreateBulkOfMacro.json77
-rw-r--r--vid-automation/src/test/resources/features.properties14
-rw-r--r--vid-automation/src/test/resources/operationalEnvironmentController/activateOperationalEnvironment.json13
-rw-r--r--vid-automation/src/test/resources/operationalEnvironmentController/createOperationalEnvironment.json8
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/aai_get_full_subscribers.json107
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region.json47
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region_error.json17
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf.json34
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/activate_service_instance.json15
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/activate_service_instance_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_activate_service_instance.json24
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_create_configuration.json62
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_deactivate_service_instance.json24
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_delete_or_unassign_service_instance.json19
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_dissociate_pnf_from_service.json28
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance.json15
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/delete_or_unassign_service_instance_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/delete_schedule_not_authorized.json9
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/delete_schedule_ok.json9
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/delete_service_instance1802.json15
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/ecompportal_getSessionSlotCheckInterval.json33
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/getServicesAaiErrorResp.json16
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/getServicesAaiFineResp.json385
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_cloud_resources_request_status.json39
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_logical_link.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_logical_link_not_found.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai.json48
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VmmeRvpmsFeAic3011217Svc.json38
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_service_instance.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_service_instance_direct_relation_pnf.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/get_service_instance_not_found.json9
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_activate_configurations.json21
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships.json15
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json13
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json18
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json18
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations.json15
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations_error.json10
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_deactivate.json13
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_post_operational_environmnet.json13
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_status.json16
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json13
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json18
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json18
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_deactivate.json18
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_post_operational_environmnet.json18
-rw-r--r--vid-automation/src/test/resources/registration_to_simulator/unassign_service_instance.json15
-rw-r--r--vid-automation/src/test/resources/test_config.properties3
54 files changed, 1480 insertions, 0 deletions
diff --git a/vid-automation/src/test/resources/asyncInstantiation/vidRequestCreateBulkOfMacro.json b/vid-automation/src/test/resources/asyncInstantiation/vidRequestCreateBulkOfMacro.json
new file mode 100644
index 000000000..0ceaeeb3e
--- /dev/null
+++ b/vid-automation/src/test/resources/asyncInstantiation/vidRequestCreateBulkOfMacro.json
@@ -0,0 +1,77 @@
+{
+ "modelInfo": {
+ "modelInvariantId": "300adb1e-9b0c-4d52-bfb5-fa5393c4eabb",
+ "modelVersionId": "5c9e863f-2716-467b-8799-4a67f378dcaa",
+ "modelName": "AIM_TRANSPORT_00004",
+ "modelVersion": "1.0"
+ },
+ "owningEntityId" : "someID",
+ "owningEntityName": "someName",
+ "projectName" : "myProject",
+ "globalSubscriberId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "subscriberName": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "productFamilyId" : "myProductFamilyId",
+ "instanceName" : "SERVICE_NAME",
+ "isUserProvidedNaming":"true",
+ "subscriptionServiceType" : "mySubType",
+ "lcpCloudRegionId" : "mtn3",
+ "tenantId" : "greatTenant",
+ "tenantName" : "greatTenant",
+ "aicZoneId" : "NFT1",
+ "aicZoneName" : "NFTJSSSS-NFT1",
+ "bulkSize": "BULK_SIZE",
+ "pause" : "IS_PAUSE_VALUE",
+ "rollbackOnFailure": "true",
+ "vnfs": {
+ "2016-73_MOW-AVPN-vPE-BV-L-name": {
+ "modelInfo": {
+ "modelCustomizationName": "2016-73_MOW-AVPN-vPE-BV-L 0",
+ "modelCustomizationId": "ab153b6e-c364-44c0-bef6-1f2982117f04",
+ "modelVersionId": "7f40c192-f63c-463e-ba94-286933b895f8",
+ "modelName": "2016-73_MOW-AVPN-vPE-BV-L"
+ },
+ "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "instanceName": "VNF_NAME",
+ "isUserProvidedNaming":"true",
+ "platformName": "platformName",
+ "lineOfBusinessName": "lineOfBusinessName",
+ "lcpCloudRegionId": "mdt1",
+ "tenantId": "88a6ca3ee0394ade9403f075db23167e",
+ "instanceParams": null,
+ "vfModules": {
+ "201673MowAvpnVpeBvL..AVPN_base_vPE_BV..module-0": {
+ "201673MowAvpnVpeBvL..AVPN_base_vPE_BV..module-0": {
+ "modelInfo": {
+ "modelCustomizationId": "a25e8e8c-58b8-4eec-810c-97dcc1f5cb7f",
+ "modelVersionId": "4c75f813-fa91-45a4-89d0-790ff5f1ae79",
+ "modelName": "201673MowAvpnVpeBvL..AVPN_base_vPE_BV..module-0"
+ },
+ "instanceName": "VFM_NAME1",
+ "instanceParams": [
+ {
+ "vmx_int_net_len": "24"
+ }
+ ]
+ }},
+ "201673MowAvpnVpeBvL..AVPN_base_vPE_BV..module-1": {
+ "201673MowAvpnVpeBvL..AVPN_vRE_BV..module-1": {
+ "modelInfo": {
+ "modelCustomizationId": "72d9d1cd-f46d-447a-abdb-451d6fb05fa8",
+ "modelVersionId": "56e2b103-637c-4d1a-adc8-3a7f4a6c3240",
+ "modelName": "201673MowAvpnVpeBvL..AVPN_vRE_BV..module-1"
+ },
+ "instanceName": "VFM_NAME2",
+ "volumeGroupName" : "VG_NAME",
+ "instanceParams": [
+ {
+ "vre_a_volume_size_0": "100",
+ "availability_zone_0": "mtpocdv-kvm-az01"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
+
diff --git a/vid-automation/src/test/resources/features.properties b/vid-automation/src/test/resources/features.properties
new file mode 100644
index 000000000..8ff0db2ab
--- /dev/null
+++ b/vid-automation/src/test/resources/features.properties
@@ -0,0 +1,14 @@
+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_SERVICE_MODEL_CACHE = true
+FLAG_SHOW_ASSIGNMENTS = true
+FLAG_SHOW_VERIFY_SERVICE=false
+FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARD = false
diff --git a/vid-automation/src/test/resources/operationalEnvironmentController/activateOperationalEnvironment.json b/vid-automation/src/test/resources/operationalEnvironmentController/activateOperationalEnvironment.json
new file mode 100644
index 000000000..f7b09fb0d
--- /dev/null
+++ b/vid-automation/src/test/resources/operationalEnvironmentController/activateOperationalEnvironment.json
@@ -0,0 +1,13 @@
+{
+ "relatedInstanceId": "1117887f-068f-46d7-9e43-9b73bef17af8",
+ "relatedInstanceName": "managing ECOMP Operational Environment",
+ "workloadContext": "VNF_E2E-IST",
+ "manifest": {
+ "serviceModelList": [
+ {
+ "serviceModelVersionId": "6fad4be0-a433-42f3-ba24-e1cfaf3ada72",
+ "recoveryAction": "retry"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/operationalEnvironmentController/createOperationalEnvironment.json b/vid-automation/src/test/resources/operationalEnvironmentController/createOperationalEnvironment.json
new file mode 100644
index 000000000..d34dba431
--- /dev/null
+++ b/vid-automation/src/test/resources/operationalEnvironmentController/createOperationalEnvironment.json
@@ -0,0 +1,8 @@
+{
+ "instanceName": "newNameForTest",
+ "ecompInstanceId": "cc6928c8-f80a-4189-8c96-7c0a9b0c05d4",
+ "ecompInstanceName":"myOpEnv",
+ "operationalEnvironmentType": "VNF",
+ "tenantContext": "Test",
+ "workloadContext": "VNF_E2E-IST"
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/aai_get_full_subscribers.json b/vid-automation/src/test/resources/registration_to_simulator/aai_get_full_subscribers.json
new file mode 100644
index 000000000..23009f8db
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/aai_get_full_subscribers.json
@@ -0,0 +1,107 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../business/customers",
+ "queryParams": {
+ "subscriber-type": "INFRA",
+ "depth": 0
+ }
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "customer":[
+ {
+ "global-customer-id":"MSO_1610_ST",
+ "subscriber-name":"MSO_1610_ST",
+ "subscriber-type":"INFRA",
+ "resource-version":"1494001902987"
+ },
+ {
+ "global-customer-id":"21014aa2-526b-11e6-beb8-9e71128cae77",
+ "subscriber-name":"PACKET CORE",
+ "subscriber-type":"INFRA",
+ "resource-version":"1494001776295"
+ },
+ {
+ "global-customer-id":"DHV1707-TestSubscriber-2",
+ "subscriber-name":"ICORE CORE",
+ "subscriber-type":"INFRA",
+ "resource-version":"1498751754450"
+ },
+ {
+ "global-customer-id":"DHV1707-TestSubscriber-1",
+ "subscriber-name":"PACKET1 CORE",
+ "subscriber-type":"INFRA",
+ "resource-version":"1498595633607"
+ },
+ {
+ "global-customer-id":"jimmy-example",
+ "subscriber-name":"JimmyExampleCust-20161102",
+ "subscriber-type":"INFRA",
+ "resource-version":"1494001970063"
+ },
+ {
+ "global-customer-id":"jimmy-example2",
+ "subscriber-name":"JimmyExampleCust-20161103",
+ "subscriber-type":"INFRA",
+ "resource-version":"1494001970225"
+ },
+ {
+ "global-customer-id":"DHV1802-TestSub-PWT-102",
+ "subscriber-name":"DHV1802-TestSub-PWT-102",
+ "subscriber-type":"INFRA",
+ "resource-version":"1508852495058"
+ },
+ {
+ "global-customer-id":"DHV1802-TestSub-PWT-101",
+ "subscriber-name":"DHV1802-TestSub-PWT-101",
+ "subscriber-type":"INFRA",
+ "resource-version":"1508179953733"
+ },
+ {
+ "global-customer-id":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "subscriber-name":"Mobility",
+ "subscriber-type":"INFRA",
+ "resource-version":"1494001894192"
+ },
+ {
+ "global-customer-id":"DHV1802-Subscriber-4",
+ "subscriber-name":"DHV1802-Subscriber-5",
+ "subscriber-type":"INFRA",
+ "resource-version":"1509134064531"
+ },
+ {
+ "global-customer-id":"DHV1802-TestSub-PWT-103",
+ "subscriber-name":"DHV1802-TestSub-PWT-103",
+ "subscriber-type":"INFRA",
+ "resource-version":"1509045503736"
+ },
+ {
+ "global-customer-id":"DHV1802-Subscriber-2",
+ "subscriber-name":"DHV1802-Subscriber-2",
+ "subscriber-type":"INFRA",
+ "resource-version":"1509122065439"
+ },
+ {
+ "global-customer-id":"e433710f-9217-458d-a79d-1c7aff376d89",
+ "subscriber-name":"USP VOICE",
+ "subscriber-type":"INFRA",
+ "resource-version":"1494001938080"
+ },
+ {
+ "global-customer-id":"DHV1802-Subscriber-3",
+ "subscriber-name":"DHV1802-Subscriber-3",
+ "subscriber-type":"INFRA",
+ "resource-version":"1509122759407"
+ },
+ {
+ "global-customer-id":"31739f3e-526b-11e6-beb8-9e71128cae77",
+ "subscriber-name":"FIREWALL/MISC",
+ "subscriber-type":"INFRA",
+ "resource-version":"1494001772223"
+ }
+ ]
+ }
+ }
+} \ No newline at end of file
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
new file mode 100644
index 000000000..da18285bc
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region.json
@@ -0,0 +1,47 @@
+{
+ "simulatorRequest": {
+ "method": "PUT",
+ "path": "/aai/v../query",
+ "queryParams" : {
+ "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=AAIAIC25&equipVendor=Cisco&equipModel=Nexus%203048-TP"
+ }
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "results":[
+ {
+ "id":"901128280",
+ "node-type":"pnf",
+ "url":"/aai/v12/network/pnfs/pnf/AS-pnf2-10219--as988q",
+ "properties":{
+ "pnf-name":"AS-pnf2-10219--as988q",
+ "equip-type":"Switch",
+ "equip-vendor":"Cisco",
+ "equip-model":"Nexus3048-TP",
+ "in-maint":false,
+ "resource-version":"1508776538192"
+ },
+ "related-to":[
+ {
+ "id":"532488360",
+ "relationship-label":"uses",
+ "node-type":"service-instance",
+ "url":"/aai/v12/business/customers/customer/customer-10219-as988q/service-subscriptions/service-subscription/serviceSub2-test-10219-as988q/service-instances/service-instance/serviceIns2-test-10219-as988q"
+ },
+ {
+ "id":"860164248",
+ "relationship-label":"locatedIn",
+ "node-type":"complex",
+ "url":"/aai/v12/cloud-infrastructure/complexes/complex/complex-10219--as988q"
+ }
+ ]
+ }
+ ]
+}
+}
+} \ No newline at end of file
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
new file mode 100644
index 000000000..5dc4e77eb
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/aai_get_pnf_by_region_error.json
@@ -0,0 +1,17 @@
+{
+ "simulatorRequest": {
+ "method": "PUT",
+ "path": "/aai/v../query",
+ "queryParams" : {
+ "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=AAIAIC25&equipVendor=Cisco&equipModel=Nexus%203048-TP"
+ }
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "ERROR_PAYLOAD"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf.json b/vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf.json
new file mode 100644
index 000000000..a0e9e88cc
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf.json
@@ -0,0 +1,34 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v12/network/pnfs/pnf/DEAAI78"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "pnf-name": "DEAAI78",
+ "pnf-name2": "DEAAI78-name-2",
+ "pnf-name2-source": "DEAAI78-name-2-source",
+ "pnf-id": "DEAAI78-id",
+ "equip-type": "Switch",
+ "equip-vendor": "Cisco",
+ "equip-model": "ASR1002-X",
+ "resource-version": "1494001797554",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "complex",
+ "related-link": "/aai/v11/cloud-infrastructure/complexes/complex/NAMEAAI2",
+ "relationship-label": "onap.pnf",
+ "relationship-data": [
+ {
+ "relationship-key": "complex.physical-location-id",
+ "relationship-value": "NAMEAAI2"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf_error.json b/vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf_error.json
new file mode 100644
index 000000000..cc84a7588
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/aai_get_specific_pnf_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v12/network/pnfs/pnf/DEAAI78"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "ERROR_PAYLOAD"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/activate_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/activate_service_instance.json
new file mode 100644
index 000000000..949a86afb
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/activate_service_instance.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/activate"
+ },
+ "simulatorResponse": {
+ "responseCode": 202,
+ "body": {
+ "requestReferences": {
+ "instanceId": "f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/activate_service_instance_error.json b/vid-automation/src/test/resources/registration_to_simulator/activate_service_instance_error.json
new file mode 100644
index 000000000..96322b7ae
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/activate_service_instance_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/activate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "ERROR_PAYLOAD"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_activate_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_activate_service_instance.json
new file mode 100644
index 000000000..97364e017
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_activate_service_instance.json
@@ -0,0 +1,24 @@
+{
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "300adb1e-9b0c-4d52-bfb5-fa5393c4eabb",
+ "modelVersionId": "5c9e863f-2716-467b-8799-4a67f378dcaa",
+ "modelName": "AIM_TRANSPORT_00004",
+ "modelVersion": "1.0"
+ },
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "1"
+ },
+ "requestParameters": {
+ "userParams": [
+ {
+ "name": "ABC11",
+ "value": "someValue"
+ }
+ ]
+ }
+ }
+}
+
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
new file mode 100644
index 000000000..e0942bae2
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_create_configuration.json
@@ -0,0 +1,62 @@
+
+{
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "configuration",
+ "modelInvariantId": "c30a024e-a6c6-4670-b73c-3df64eb57ff6",
+ "modelVersionId": "f58d039d-4cfc-40ec-bd75-1f05f0458a6c",
+ "modelName": "Port Mirroring Configuration By Policy",
+ "modelVersion": "1.0",
+ "modelCustomizationId": "4b7ebace-bad6-4526-9be6-bf248e20fc5f",
+ "modelCustomizationName": "Port Mirroring Configuration By Policy 1"
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "AAIAIC25"
+ },
+ "requestInfo": {
+ "instanceName":"test_sssdad",
+ "source": "VID",
+ "requestorId": "1"
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6 ",
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408",
+ "modelVersionId": "ee6d61be-4841-4f98-8f23-5de9da846ca7",
+ "modelName": "ServiceContainerMultiplepProbes",
+ "modelVersion": "1.0"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "9be14a4f-7367-4cf9-96a1-f08f10f485a7",
+ "instanceDirection": "source",
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelInvariantId": "a7eac2b3-8444-40ee-92e3-b3359b32445c",
+ "modelVersionId": "2a2ea15f-07c6-4b89-bfca-e8aba39a34d6",
+ "modelName": "vmmeService2",
+ "modelVersion": "1.0",
+ "modelCustomizationId": "060be63d-5f9c-4fd0-8ef7-830d5e8eca17"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "AS-pnf2-10219--as988q",
+ "instanceDirection": "destination",
+ "modelInfo": {
+ "modelType": "pnf"
+ }
+ }
+ }
+ ],
+ "requestParameters": {
+ "userParams": []
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_deactivate_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_deactivate_service_instance.json
new file mode 100644
index 000000000..97364e017
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_deactivate_service_instance.json
@@ -0,0 +1,24 @@
+{
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "300adb1e-9b0c-4d52-bfb5-fa5393c4eabb",
+ "modelVersionId": "5c9e863f-2716-467b-8799-4a67f378dcaa",
+ "modelName": "AIM_TRANSPORT_00004",
+ "modelVersion": "1.0"
+ },
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "1"
+ },
+ "requestParameters": {
+ "userParams": [
+ {
+ "name": "ABC11",
+ "value": "someValue"
+ }
+ ]
+ }
+ }
+}
+
diff --git a/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_delete_or_unassign_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_delete_or_unassign_service_instance.json
new file mode 100644
index 000000000..951eac1fb
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_delete_or_unassign_service_instance.json
@@ -0,0 +1,19 @@
+{
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408",
+ "modelVersionId": "ee6d61be-4841-4f98-8f23-5de9da846ca7",
+ "modelName": "ServiceContainerMultiplepProbes",
+ "modelVersion": "1.0"
+ },
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "16807000"
+ },
+ "requestParameters": {
+ "testApi": "GR_API",
+ "aLaCarte": false
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_dissociate_pnf_from_service.json b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_dissociate_pnf_from_service.json
new file mode 100644
index 000000000..362a5dc0f
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/body_jsons/mso_request_dissociate_pnf_from_service.json
@@ -0,0 +1,28 @@
+{
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "300adb1e-9b0c-4d52-bfb5-fa5393c4eabb",
+ "modelVersionId": "5c9e863f-2716-467b-8799-4a67f378dcaa",
+ "modelName": "AIM_TRANSPORT_00004",
+ "modelVersion": "1.0"
+ },
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "az2016"
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceName": "SANITY6785cce9",
+ "modelInfo": {
+ "modelType": "pnf"
+ }
+ }
+ }
+ ],
+ "requestParameters": {
+ "aLaCarte": true
+ }
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance.json
new file mode 100644
index 000000000..d98dbfe64
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/deactivate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "body": {
+ "requestReferences": {
+ "instanceId": "f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance_error.json b/vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance_error.json
new file mode 100644
index 000000000..1a6aee73a
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/deactivate_service_instance_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/deactivate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "ERROR_PAYLOAD"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/delete_or_unassign_service_instance_error.json b/vid-automation/src/test/resources/registration_to_simulator/delete_or_unassign_service_instance_error.json
new file mode 100644
index 000000000..eba3995a6
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/delete_or_unassign_service_instance_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstantiation/v./serviceInstances/f36f5734-e9df-4fbf-9f35-61be13f028a1/unassign"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "ERROR_PAYLOAD"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/delete_schedule_not_authorized.json b/vid-automation/src/test/resources/registration_to_simulator/delete_schedule_not_authorized.json
new file mode 100644
index 000000000..602a6c6a9
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/delete_schedule_not_authorized.json
@@ -0,0 +1,9 @@
+{
+ "simulatorRequest": {
+ "method": "DELETE",
+ "path": "/scheduler/v1/ChangeManagement/schedules/1234"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 401
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/delete_schedule_ok.json b/vid-automation/src/test/resources/registration_to_simulator/delete_schedule_ok.json
new file mode 100644
index 000000000..d532a8e62
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/delete_schedule_ok.json
@@ -0,0 +1,9 @@
+{
+ "simulatorRequest": {
+ "method": "DELETE",
+ "path": "/scheduler/v1/ChangeManagement/schedules/1234"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 204
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/delete_service_instance1802.json b/vid-automation/src/test/resources/registration_to_simulator/delete_service_instance1802.json
new file mode 100644
index 000000000..fd8171760
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/delete_service_instance1802.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "DELETE",
+ "path": "/mso/serviceInstances/v./f36f5734-e9df-4fbf-9f35-61be13f028a1"
+ },
+ "simulatorResponse": {
+ "responseCode": 202,
+ "body": {
+ "requestReferences": {
+ "instanceId": "f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance.json
new file mode 100644
index 000000000..c5e3c6ee4
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/removeRelationships"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "body": "{\"requestReferences\": {\"instanceId\": \"f36f5734-e9df-4fbf-9f35-61be13f028a1\", \"requestId\": \"b6dc9806-b094-42f7-9386-a48de8218ce8\"}}"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance_error.json b/vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance_error.json
new file mode 100644
index 000000000..d4b5f54fc
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/dissociate_pnf_from_service_instance_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/removeRelationships"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 404,
+ "body": ""
+ }
+} \ No newline at end of file
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
new file mode 100644
index 000000000..a43092ef9
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/ecompportal_getSessionSlotCheckInterval.json
@@ -0,0 +1,33 @@
+[
+ {
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/ecompportal_att/auxapi//getSessionSlotCheckInterval"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": "300000"
+ }
+ },
+ {
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/ecompportal_att/auxapi//extendSessionTimeOuts"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": "300000"
+ }
+ },
+ {
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/ecompportal_att/auxapi/context/get_user"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": [
+ ]
+ }
+ }
+] \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/getServicesAaiErrorResp.json b/vid-automation/src/test/resources/registration_to_simulator/getServicesAaiErrorResp.json
new file mode 100644
index 000000000..0f0bcee02
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/getServicesAaiErrorResp.json
@@ -0,0 +1,16 @@
+{
+ "simulatorRequest": {
+ "method": "PUT",
+ "path": "/aai/v../query",
+ "body": "{\"start\" : \"service-design-and-creation\/models\/\", \"query\" : \"query\/serviceModels-byDistributionStatus?distributionStatus=DISTRIBUTION_COMPLETE_OK\"}",
+ "queryParams": {
+ "format": [
+ "resource"
+ ]
+ }
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "body"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/getServicesAaiFineResp.json b/vid-automation/src/test/resources/registration_to_simulator/getServicesAaiFineResp.json
new file mode 100644
index 000000000..906c07b0c
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/getServicesAaiFineResp.json
@@ -0,0 +1,385 @@
+{
+ "simulatorRequest": {
+ "method": "PUT",
+ "path": "/aai/v../query",
+ "body": "{\"start\" : \"service-design-and-creation\/models\/\", \"query\" : \"query\/serviceModels-byDistributionStatus?distributionStatus=DISTRIBUTION_COMPLETE_OK\"}",
+ "queryParams": {
+ "format": [
+ "resource"
+ ]
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "results": [
+ {
+ "model": {
+ "model-invariant-id": "78ca26d0-246d-11e7-93ae-92361f002671",
+ "model-type": "resource",
+ "resource-version": "1492627634298",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "20c4431c-246d-11e7-93ae-92361f002671",
+ "model-name": "vSAMP10aDEV::base::module-0",
+ "model-version": "2",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "MSO aLaCarte VF vSAMP10aDEV Base",
+ "resource-version": "1492627634300"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "5b607929-6088-4614-97ef-cac817508e0e",
+ "model-type": "resource",
+ "resource-version": "1492814035001",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "797a6c41-0f80-4d35-a288-3920c4e06baa",
+ "model-name": "CONTRAIL30_L2NODHCP",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_ERROR",
+ "model-description": "contrail 3.0.x L2 network for AIC 3.x sites (and No DHCP).",
+ "resource-version": "1492814035003",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "isA",
+ "related-link": "/aai/v12/service-design-and-creation/models/model/52b49b5d-3086-4ffd-b5e6-1b1e5e7e062f/model-vers/model-ver/aed5a5b7-20d3-44f7-90a3-ddbd16f14d1e/model-elements/model-element/2f622421-1c67-4142-be6e-cecad5242af6/model-elements/model-element/2add7556-a23b-46b8-b6b4-ad300b47ceab",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "52b49b5d-3086-4ffd-b5e6-1b1e5e7e062f"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "aed5a5b7-20d3-44f7-90a3-ddbd16f14d1e"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "2f622421-1c67-4142-be6e-cecad5242af6"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "2add7556-a23b-46b8-b6b4-ad300b47ceab"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "0143d57b-a517-4de9-a0a1-eb76db51f402",
+ "model-type": "resource",
+ "resource-version": "1497897268768",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "f1bde010-cc5f-4765-941f-75f15b24f9fc",
+ "model-name": "BkVmxAv061917..base_vPE_AV..module-0",
+ "model-version": "2",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "resource-version": "1497897268769",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "isA",
+ "related-link": "/aai/v12/service-design-and-creation/models/model/267ef491-3c1a-4c32-8e69-0e557bfb61e7/model-vers/model-ver/18655c7f-c846-4934-9e25-34378dfd33d6/model-elements/model-element/578492b2-36a4-47da-83dc-91b58c699ad1/model-elements/model-element/6b1fc7a5-fc01-4a9d-a87f-0ad0d8caa13f",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "267ef491-3c1a-4c32-8e69-0e557bfb61e7"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "18655c7f-c846-4934-9e25-34378dfd33d6"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "578492b2-36a4-47da-83dc-91b58c699ad1"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "6b1fc7a5-fc01-4a9d-a87f-0ad0d8caa13f"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "ipe-resource-id-ps-02",
+ "model-type": "resource",
+ "resource-version": "1493389430122",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "ipe-resource-id-ps-02",
+ "model-name": "abc",
+ "model-version": "v1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "resource-version": "1493389520357",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "isA",
+ "related-link": "/aai/v12/service-design-and-creation/models/model/l2-bridge-for-wan-connector-model-id-ps-02/model-vers/model-ver/l2-bridge-for-wan-connector-resource-id-ps-02/model-elements/model-element/e874da22-729d-47bd-8c08-d596fd9c213d/model-elements/model-element/ccbb65b8-2faf-4f5f-80d9-804bb50f1455",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "l2-bridge-for-wan-connector-model-id-ps-02"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "l2-bridge-for-wan-connector-resource-id-ps-02"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "e874da22-729d-47bd-8c08-d596fd9c213d"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "ccbb65b8-2faf-4f5f-80d9-804bb50f1455"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "lmoser410-connector-model-id",
+ "model-type": "widget",
+ "resource-version": "1493389512180",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "lmoser410-connector-model-version-id",
+ "model-name": "connector",
+ "model-version": "v1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "resource-version": "1493389444766"
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "named-query-element",
+ "relationship-label": "isA",
+ "related-link": "/aai/v12/service-design-and-creation/named-queries/named-query/lmoser410-named-query-uuid/named-query-elements/named-query-element/48278a7d-2b1e-454f-89e6-5c0ba145f486",
+ "relationship-data": [
+ {
+ "relationship-key": "named-query.named-query-uuid",
+ "relationship-value": "lmoser410-named-query-uuid"
+ },
+ {
+ "relationship-key": "named-query-element.named-query-element-uuid",
+ "relationship-value": "48278a7d-2b1e-454f-89e6-5c0ba145f486"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "3a97db99-c4bb-498a-a13a-38f65f1ced3d",
+ "model-type": "resource",
+ "resource-version": "1492630209768",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "ff2ae348-214a-11e7-93ae-92361f002673",
+ "model-name": "vSAMP10aDEV::base::module-0",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "MACRO_vSAMP_module",
+ "resource-version": "1492630209769"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "3c504d40-b847-424c-9d25-4fb7e0a3e994",
+ "model-type": "widget",
+ "resource-version": "1493389430124",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "204c641a-3494-48c8-979a-86856f5fd32a",
+ "model-name": "named-query-element",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "resource-version": "1493389423212"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "93e56950-cb19-44e6-ace4-8b50f2d02e45",
+ "model-type": "resource",
+ "resource-version": "1497898974232",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "acba1f72-c6e0-477f-9426-ad190151e100",
+ "model-name": "RG_6-19_Test",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "RG_6-19_Test",
+ "resource-version": "1497898974233",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "isA",
+ "related-link": "/aai/v12/service-design-and-creation/models/model/a07220ba-954e-422f-86b5-e8b95fe6b116/model-vers/model-ver/bf6dbd68-2c7d-4ba2-ade1-dfd4476aa505/model-elements/model-element/6e10fe2e-6d04-4198-9124-dd051a5ae65f/model-elements/model-element/cb3c22e1-9dc6-467f-9636-0a7aef10d5d0",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "a07220ba-954e-422f-86b5-e8b95fe6b116"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "bf6dbd68-2c7d-4ba2-ade1-dfd4476aa505"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "6e10fe2e-6d04-4198-9124-dd051a5ae65f"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "cb3c22e1-9dc6-467f-9636-0a7aef10d5d0"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "ee448504-ceee-47db-8e1b-742115f219db",
+ "model-type": "service",
+ "resource-version": "1485048194",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "fc65e5e7-45c7-488a-b36d-f453ab3057fe",
+ "model-name": "ciServicea268facd387e",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "service Description",
+ "resource-version": "1485048194"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "56f2d0d3-7943-4159-bf01-b82692ec035e",
+ "model-type": "service",
+ "resource-version": "1499678302089",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "027948b6-25e2-4e39-b87d-d9f5797941de",
+ "model-name": "service_sanity_amir",
+ "model-version": "2.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "service_sanity_amir",
+ "resource-version": "1499678302091"
+ },
+ {
+ "model-version-id": "fbf96e3b-1804-4c89-bf5b-53acb7f2edc0",
+ "model-name": "service_sanity_amir",
+ "model-version": "3.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "service_sanity_amir",
+ "resource-version": "1499702469579"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model-ver": {
+ "model-version-id": "f5186256-08ee-48a4-aa96-308e9646ea5d",
+ "model-name": "vMog_0831",
+ "model-version": "2.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "vMog_0831",
+ "resource-version": "1504215084607",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "08de99d8-eada-4d53-874f-a294d643cd05",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1504215084610",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v12/service-design-and-creation/models/model/82194af1-3c2c-485a-8f44-420e22a9eaa4/model-vers/model-ver/46b92144-923a-4d20-b85a-3cbd847668a9",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "82194af1-3c2c-485a-8f44-420e22a9eaa4"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "46b92144-923a-4d20-b85a-3cbd847668a9"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "service-instance"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_cloud_resources_request_status.json b/vid-automation/src/test/resources/registration_to_simulator/get_cloud_resources_request_status.json
new file mode 100644
index 000000000..685d6f8fa
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_cloud_resources_request_status.json
@@ -0,0 +1,39 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/mso/cloudResourcesRequests/v1",
+ "queryParams" : {
+ "requestId": [ "3212b08c-0dcd-4d20-8c84-51e4f325c14a" ]
+ }
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "request": {
+ "requestId": "3212b08c-0dcd-4d20-8c84-51e4f325c14a",
+ "startTime": "Thu, 02 Jun 2017 02:51:59 GMT",
+ "instanceReferences": {
+ "operationalEnvironmentInstanceId": "bc305d54-75b4-431b-adb2-eb6b9e546014"
+ },
+ "requestScope": "operationalEnvironment",
+ "requestType": "deactivate",
+ "requestDetails": {
+ "requestInfo": {
+ "resourceType": "operationalEnvironment",
+ "source": "VID",
+ "requestorId": "az2017"
+ },
+ "requestParameters": {
+ "operationalEnvironmentType": "VNF"
+ }
+ },
+ "requestStatus": {
+ "timestamp": "Thu, 02 Jun 2017 02:53:39 GMT",
+ "requestState": "COMPLETE",
+ "statusMessage": "Operational Environment successfully deactivated",
+ "percentProgress": "100"
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_logical_link.json b/vid-automation/src/test/resources/registration_to_simulator/get_logical_link.json
new file mode 100644
index 000000000..61ede56d1
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_logical_link.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v12/network/logical-links/logical-link/tesai371ve2:ae10|tesaaisdgraclz1a1:po100"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": "{\"link-name\":\"tesai371ve2:ae10|tesaaisdgraclz1a1:po100\",\"in-maint\":false,\"link-type\":\"LAG\",\"resource-version\":\"1508364831589\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"lag-interface\",\"related-link\":\"/aai/v11/network/pnfs/pnf/tesaaisdgraclz1a1/lag-interfaces/lag-interface/po100\",\"relationship-data\":[{\"relationship-key\":\"pnf.pnf-name\",\"relationship-value\":\"tesaaisdgraclz1a1\"},{\"relationship-key\":\"lag-interface.interface-name\",\"relationship-value\":\"po100\"}]},{\"related-to\":\"service-instance\",\"related-link\":\"/aai/v11/business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/MISVPN%20Transport/service-instances/service-instance/5e72ff6e-8bab-4ec7-bfc9-54f58c01a666\",\"relationship-data\":[{\"relationship-key\":\"customer.global-customer-id\",\"relationship-value\":\"31739f3e-526b-11e6-beb8-9e71128cae77\"},{\"relationship-key\":\"service-subscription.service-type\",\"relationship-value\":\"MISVPN Transport\"},{\"relationship-key\":\"service-instance.service-instance-id\",\"relationship-value\":\"5e72ff6e-8bab-4ec7-bfc9-54f58c01a666\"}],\"related-to-property\":[{\"property-key\":\"service-instance.service-instance-name\",\"property-value\":\"MISVPN_TRANSPORT_00001\"}]},{\"related-to\":\"lag-interface\",\"related-link\":\"/aai/v11/network/pnfs/pnf/tesai371ve2/lag-interfaces/lag-interface/ae10\",\"relationship-data\":[{\"relationship-key\":\"pnf.pnf-name\",\"relationship-value\":\"tesai371ve2\"},{\"relationship-key\":\"lag-interface.interface-name\",\"relationship-value\":\"ae10\"}]}]}}"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_logical_link_not_found.json b/vid-automation/src/test/resources/registration_to_simulator/get_logical_link_not_found.json
new file mode 100644
index 000000000..abe4d2b5e
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_logical_link_not_found.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v12/network/logical-links/logical-link/tesai371ve2:ae10|tesaaisdgraclz1a1:po100"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 404,
+ "body": "{\"requestError\": {\"serviceException\": {\"messageId\": \"SVC3001\", \"text\": \"Resource not found for %1 using id %2 (msg=%3) (ec=%4)\", \"variables\": [\"GET\", \"business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/ MISVPN Transport/service-instances/service-instance/4ea864f2-b946-473a-b51c-51a7c10b8391\", \"Node Not Found:No Node of type service-instance found at: business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/ MISVPN Transport/service-instances/service-instance/4ea864f2-b946-473a-b51c-51a7c10b8391\", \"ERR.5.4.6114\"]}}}"
+ }
+} \ No newline at end of file
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
new file mode 100644
index 000000000..955f356d9
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai.json
@@ -0,0 +1,48 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../cloud-infrastructure/operational-environments"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "operational-environment":[{
+ "operational-environment-id": "UUID_of_Operational_Environment",
+ "operational-environment-name": "Op Env Name",
+ "operational-environment-type": "VNF",
+ "operational-environment-status": "Activate",
+ "tenant-context": "Test",
+ "workload-context": "VNF_Development",
+ "resource-version": "1505228226913",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "operational-environment",
+ "related-link": "string",
+ "relationship-data": [
+ {
+ "relationship-key": "operational-environment.operational-environment-id",
+ "relationship-value": "UUID of the ECOMP Operational Environment"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "operational-environment.operational-environment-name",
+ "property-value": "Name of the ECOMP Operational Environment"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "operational-environment-id": "UUID of ECOMP Operational Environment",
+ "operational-environment-name": "ECOMP Env Name",
+ "operational-environment-type": "ECOMP",
+ "operational-environment-status": "Activate",
+ "tenant-context": "ECOMP Test",
+ "workload-context": "ECOMP_Development",
+ "resource-version": "1505228226912"
+ }]}
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai_error.json b/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai_error.json
new file mode 100644
index 000000000..c3ea72ebd
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_operational_environments_aai_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../cloud-infrastructure/operational-environments"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "simulated error text"
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VmmeRvpmsFeAic3011217Svc.json b/vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VmmeRvpmsFeAic3011217Svc.json
new file mode 100644
index 000000000..1d7849a6c
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_sdc_catalog_services_VmmeRvpmsFeAic3011217Svc.json
@@ -0,0 +1,38 @@
+[
+ {
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/sdc/v./catalog/services/245562de-3984-49ef-a708-6c9d7cfcabd1/toscaModel"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "file": "service-VmmeRvpmsFeAic3011217Svc-csar.csar.zip"
+ }
+ },
+ {
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/sdc/v1/catalog/services/245562de-3984-49ef-a708-6c9d7cfcabd1/metadata"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "uuid": "245562de-3984-49ef-a708-6c9d7cfcabd1",
+ "invariantUUID": "124216d6-71d0-41c8-ac81-0c5acfee514a",
+ "name": "vMMEvProbe_FE_AIC3-11.2.1_VF",
+ "version": "1.0",
+ "toscaModelURL": "./service-VmmeRvpmsFeAic3011217Svc-csar.csar.zip",
+ "category": "Application L4+",
+ "lifecycleState": "CERTIFIED",
+ "lastUpdaterUserId": "rg276b",
+ "lastUpdaterFullName": null,
+ "distributionStatus": "DISTRIBUTED",
+ "artifacts": null,
+ "resources": null
+ }
+ }
+ }
+] \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/get_service_instance.json
new file mode 100644
index 000000000..c72cffabb
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_service_instance.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/AIM Transport/service-instances/service-instance/f36f5734-e9df-4fbf-9f35-61be13f028a1"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": "{\"service-instance-id\":\"5e72ff6e-8bab-4ec7-bfc9-54f58c01a666\",\"service-instance-name\":\"MISVPN_TRANSPORT_00001\",\"service-type\":\"TRANSPORT\",\"service-role\":\"MISVPN\",\"environment-context\":\"General_Revenue-Bearing\",\"workload-context\":\"Production\",\"model-invariant-id\":\"6ffab618-bc86-46b4-bc8c-685ee48b316a\",\"model-version-id\":\"2f2ae06d-02e8-45ba-a54b-597f66830558\",\"resource-version\":\"1508513387222\",\"orchestration-status\":\"Active\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"zone\",\"related-link\":\"/aai/v11/network/zones/zone/TAT37\",\"relationship-data\":[{\"relationship-key\":\"zone.zone-id\",\"relationship-value\":\"TAT37\"}],\"related-to-property\":[{\"property-key\":\"zone.zone-name\",\"property-value\":\"TESAAISD-TAT37\"}]},{\"related-to\":\"logical-link\",\"related-link\":\"/aai/v11/network/logical-links/logical-link/tesai371ve2%3Aae10%7Ctesaaisdgraclz1a1%3Apo100\",\"relationship-data\":[{\"relationship-key\":\"logical-link.link-name\",\"relationship-value\":\"tesai371ve2:ae10|tesaaisdgraclz1a1:po100\"}]},{\"related-to\":\"logical-link\",\"related-link\":\"/aai/v11/network/logical-links/logical-link/tesai372ve2%3Aae10%7Ctesaaisdgrbclz1a1%3Apo100\",\"relationship-data\":[{\"relationship-key\":\"logical-link.link-name\",\"relationship-value\":\"tesai372ve2:ae10|tesaaisdgrbclz1a1:po100\"}]},{\"related-to\":\"logical-link\",\"related-link\":\"/aai/v11/network/logical-links/logical-link/SANITY6757cce9%3ALAG1988%7CSANITY6785cce9%3ALAG1957\",\"relationship-data\":[{\"relationship-key\":\"logical-link.link-name\",\"relationship-value\":\"SANITY6757cce9:LAG1988|SANITY6785cce9:LAG1957\"}]},{\"related-to\":\"logical-link\",\"related-link\":\"/aai/v11/network/logical-links/logical-link/SANITY6758cce9%3ALAG1992%7CSANITY6785cce9%3ALAG1961\",\"relationship-data\":[{\"relationship-key\":\"logical-link.link-name\",\"relationship-value\":\"SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961\"}]}]}}"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_service_instance_direct_relation_pnf.json b/vid-automation/src/test/resources/registration_to_simulator/get_service_instance_direct_relation_pnf.json
new file mode 100644
index 000000000..c9cb6422c
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_service_instance_direct_relation_pnf.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/AIM Transport/service-instances/service-instance/f36f5734-e9df-4fbf-9f35-61be13f028a1"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": "{\"service-instance-id\":\"5e72ff6e-8bab-4ec7-bfc9-54f58c01a666\",\"service-instance-name\":\"MISVPN_TRANSPORT_00001\",\"service-type\":\"TRANSPORT\",\"service-role\":\"MISVPN\",\"environment-context\":\"General_Revenue-Bearing\",\"workload-context\":\"Production\",\"model-invariant-id\":\"6ffab618-bc86-46b4-bc8c-685ee48b316a\",\"model-version-id\":\"2f2ae06d-02e8-45ba-a54b-597f66830558\",\"resource-version\":\"1508513387222\",\"orchestration-status\":\"Active\",\"relationship-list\":{\"relationship\":[{\"related-to\":\"zone\",\"related-link\":\"/aai/v11/network/zones/zone/TAT37\",\"relationship-data\":[{\"relationship-key\":\"zone.zone-id\",\"relationship-value\":\"TAT37\"}],\"related-to-property\":[{\"property-key\":\"zone.zone-name\",\"property-value\":\"TESAAISD-TAT37\"}]},{\"related-to\":\"pnf\",\"related-link\":\"/aai/v11/network/pnfs/pnf/tesaaisdgraclz1a1\",\"relationship-data\":[{\"relationship-key\":\"pnf.pnf-name\",\"relationship-value\":\"tesaaisdgraclz1a1\"}]},{\"related-to\":\"pnf\",\"related-link\":\"/aai/v11/network/pnfs/pnf/tesai371ve2\",\"relationship-data\":[{\"relationship-key\":\"pnf.pnf-name\",\"relationship-value\":\"tesai371ve2\"}]}]}}"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/get_service_instance_not_found.json b/vid-automation/src/test/resources/registration_to_simulator/get_service_instance_not_found.json
new file mode 100644
index 000000000..235c642ec
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/get_service_instance_not_found.json
@@ -0,0 +1,9 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v12/business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/AIM+Transport/service-instances/service-instance/f36f5734-e9df-4fbf-9f35-61be13f028a1"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 404
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_activate_configurations.json b/vid-automation/src/test/resources/registration_to_simulator/mso_activate_configurations.json
new file mode 100644
index 000000000..19d70d90b
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_activate_configurations.json
@@ -0,0 +1,21 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/configurations/a53c9ca8-8986-44da-9e5e-9e4179e6c78a/activate",
+ "body": {
+ "val": "dummy payload"
+ }
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "requestReferences": {
+ "instanceId": "f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships.json b/vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships.json
new file mode 100644
index 000000000..7b72f053a
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/addRelationships"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "body": {
+ "requestReferences": {
+ "instanceId": "f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships_error.json b/vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships_error.json
new file mode 100644
index 000000000..126369df3
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_add_relationships_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/addRelationships"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "ERROR_PAYLOAD"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json
new file mode 100644
index 000000000..58d338726
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_404.json
@@ -0,0 +1,13 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": ".*/serviceInstances/v6/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 404,
+ "responseHeaders": {
+ "Content-Type": "text/html"
+ },
+ "body": "<html><head><title>Error</title></head><body>404 - Not Found</body></html>"
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json
new file mode 100644
index 000000000..f049d7662
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_error_409.json
@@ -0,0 +1,18 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": ".*/serviceInstances/v6/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 409,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "serviceException":{
+ "messageId":"SVC2000",
+ "text":"Error: Locked instance - This vnf (VNF_INSTANCE_ID) already has a request being worked with a status of IN_PROGRESS (RequestId - 1621d4a0-015e-4bbe-92e9-b7574fd2ea10). The existing request must finish or be cleaned up before proceeding."
+ }
+ }
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json
new file mode 100644
index 000000000..09addafe9
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_config_update_ok.json
@@ -0,0 +1,18 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": ".*/serviceInstances/v6/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/applyUpdatedConfig"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "requestReferences": {
+ "instanceId": "SERVICE_INSTANCE_ID",
+ "requestId": "dbe54591-c8ed-46d3-abc7-d3a24873dfbd"
+ }
+ }
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations.json b/vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations.json
new file mode 100644
index 000000000..de0c07bc8
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/configurations"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "body": {
+ "requestReferences": {
+ "instanceId": "f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations_error.json b/vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations_error.json
new file mode 100644
index 000000000..0752cd15f
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_create_configurations_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v6/f36f5734-e9df-4fbf-9f35-61be13f028a1/configurations"
+ } ,
+ "simulatorResponse": {
+ "responseCode": "<ERROR_CODE>",
+ "body": "<ERROR_PAYLOAD>"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_deactivate.json b/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_deactivate.json
new file mode 100644
index 000000000..daf0a2537
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_deactivate.json
@@ -0,0 +1,13 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/cloudResources/v1/operationalEnvironments/UUID/deactivate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "responseHeaders": {
+ "Content-Type": "text/html"
+ },
+ "body": "ERROR_PAYLOAD"
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_post_operational_environmnet.json b/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_post_operational_environmnet.json
new file mode 100644
index 000000000..63a983ffa
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_post_operational_environmnet.json
@@ -0,0 +1,13 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/cloudResources/v1/operationalEnvironments"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "responseHeaders": {
+ "Content-Type": "text/html"
+ },
+ "body": "ERROR_PAYLOAD"
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_status.json b/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_status.json
new file mode 100644
index 000000000..704460dc1
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_error_response_for_status.json
@@ -0,0 +1,16 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/mso/cloudResourcesRequests/v1",
+ "queryParams" : {
+ "requestId": [ "3212b08c-0dcd-4d20-8c84-51e4f325c14a" ]
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 500,
+ "responseHeaders": {
+ "Content-Type": "text/html"
+ },
+ "body": "ERROR_PAYLOAD"
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json
new file mode 100644
index 000000000..b5e3f1883
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_404.json
@@ -0,0 +1,13 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": ".*/serviceInstances/v6/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 404,
+ "responseHeaders": {
+ "Content-Type": "text/html"
+ },
+ "body": "<html><head><title>Error</title></head><body>404 - Not Found</body></html>"
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json
new file mode 100644
index 000000000..f3985ef32
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_error_409.json
@@ -0,0 +1,18 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": ".*/serviceInstances/v6/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 409,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "serviceException":{
+ "messageId":"SVC2000",
+ "text":"Error: Locked instance - This vnf (VNF_INSTANCE_ID) already has a request being worked with a status of IN_PROGRESS (RequestId - 1621d4a0-015e-4bbe-92e9-b7574fd2ea10). The existing request must finish or be cleaned up before proceeding."
+ }
+ }
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json
new file mode 100644
index 000000000..ee0453393
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_in_place_software_update_ok.json
@@ -0,0 +1,18 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": ".*/serviceInstances/v6/SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/inPlaceSoftwareUpdate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "requestReferences": {
+ "instanceId": "SERVICE_INSTANCE_ID",
+ "requestId": "dbe54591-c8ed-46d3-abc7-d3a24873dfbd"
+ }
+ }
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_deactivate.json b/vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_deactivate.json
new file mode 100644
index 000000000..eec77a0e6
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_deactivate.json
@@ -0,0 +1,18 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/cloudResources/v1/operationalEnvironments/UUID/deactivate"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "requestReferences": {
+ "instanceId": "UUID",
+ "requestId": "dbe54591-c8ed-46d3-abc7-d3a24873dfbd"
+ }
+ }
+ }
+}
diff --git a/vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_post_operational_environmnet.json b/vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_post_operational_environmnet.json
new file mode 100644
index 000000000..0726d8b7d
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/mso_ok_response_for_post_operational_environmnet.json
@@ -0,0 +1,18 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/cloudResources/v1/operationalEnvironments"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 202,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body":{
+ "requestReferences": {
+ "instanceId": "UUID",
+ "requestId": "dbe54591-c8ed-46d3-abc7-d3a24873dfbd"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/registration_to_simulator/unassign_service_instance.json b/vid-automation/src/test/resources/registration_to_simulator/unassign_service_instance.json
new file mode 100644
index 000000000..5f16e3828
--- /dev/null
+++ b/vid-automation/src/test/resources/registration_to_simulator/unassign_service_instance.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstantiation/v./serviceInstances/f36f5734-e9df-4fbf-9f35-61be13f028a1/unassign"
+ },
+ "simulatorResponse": {
+ "responseCode": 202,
+ "body": {
+ "requestReferences": {
+ "instanceId": "f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/test/resources/test_config.properties b/vid-automation/src/test/resources/test_config.properties
new file mode 100644
index 000000000..ce4ce6a7e
--- /dev/null
+++ b/vid-automation/src/test/resources/test_config.properties
@@ -0,0 +1,3 @@
+test.loginId=ab2222
+test.loginPassword=ab2222
+