aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/resources/registration_to_simulator/add_network
diff options
context:
space:
mode:
Diffstat (limited to 'vid-automation/src/main/resources/registration_to_simulator/add_network')
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_id_network-vl.json21
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_name_network-vl.json21
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/aai_get_tenants.json468
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/aai_named_query_for_view_edit_test_network-vl.json43
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/get_sdc_catalog_services_SI_network11.json38
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network.json58
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_error.json52
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_orch_req.json27
8 files changed, 728 insertions, 0 deletions
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_id_network-vl.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_id_network-vl.json
new file mode 100644
index 000000000..0a0f8e52f
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_id_network-vl.json
@@ -0,0 +1,21 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../search/nodes-query",
+ "queryParams": {
+ "search-node-type": "service-instance",
+ "filter": "service-instance-id:EQUALS:d198cc45-158b-480e-8d2c-03943c51268e"
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "result-data": [
+ {
+ "resource-type": "service-instance",
+ "resource-link": "/aai/v11/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Mobility/service-instances/service-instance/d198cc45-158b-480e-8d2c-03943c51268e"
+ }
+ ]
+ }
+ }
+}
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_name_network-vl.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_name_network-vl.json
new file mode 100644
index 000000000..60013726a
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_filter_service_instance_by_name_network-vl.json
@@ -0,0 +1,21 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../search/nodes-query",
+ "queryParams": {
+ "search-node-type": "service-instance",
+ "filter": "service-instance-name:EQUALS:"
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "result-data": [
+ {
+ "resource-type": "service-instance",
+ "resource-link": "/aai/v11/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Mobility/service-instances/service-instance/d198cc45-158b-480e-8d2c-03943c51268e"
+ }
+ ]
+ }
+ }
+}
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_get_tenants.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_get_tenants.json
new file mode 100644
index 000000000..d9acb6be9
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_get_tenants.json
@@ -0,0 +1,468 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Mobility"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "service-type": "Mobility",
+ "resource-version": "1494001853297",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/fe4400a8e96e4caa85ccdca8a850255b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn6"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "fe4400a8e96e4caa85ccdca8a850255b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "IST_Automation_AAI_updated"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/a259ae7b7c3f493cb3d91f95a7c18149",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn6"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "a259ae7b7c3f493cb3d91f95a7c18149"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "IST_VID_DND"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn16/tenants/tenant/a259ae7b7c3f493cb3d91f95a7c18149",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn16"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "a259ae7b7c3f493cb3d91f95a7c18149"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "IST_VID_DND"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/fusion/Two/tenants/tenant/d3b49834f7164cbe831bfbfa35ef649b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "fusion"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "Two"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "d3b49834f7164cbe831bfbfa35ef649b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "fusion-admin-mitaka"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/fusion/One/tenants/tenant/c630e297a3ae486497d63eacec1d7c14",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "fusion"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "One"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "c630e297a3ae486497d63eacec1d7c14"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "fusion-admin-icehouse"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/c2609b7252b6484d89432611cfb2491b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn6"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "c2609b7252b6484d89432611cfb2491b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "ECOM_Tenant_DND"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/fusion/One/tenants/tenant/d3b49834f7164cbe831bfbfa35ef649b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "fusion"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "One"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "d3b49834f7164cbe831bfbfa35ef649b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "fusion-admin-mitaka"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/1eddb590b7f04e9890bceeef9e591333",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn6"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "1eddb590b7f04e9890bceeef9e591333"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APP-C-DND"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23b/tenants/tenant/3ae175bf8f574740b1f41588500d7d29",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23b"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "3ae175bf8f574740b1f41588500d7d29"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-02D"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/579d80c0cf754d1e9f1ddc2cdc1701e3",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn6"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "579d80c0cf754d1e9f1ddc2cdc1701e3"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "ECOM_FirstNet1_DND"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23b/tenants/tenant/72a26aabf7424ad3acd5145224f122d8",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23b"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "72a26aabf7424ad3acd5145224f122d8"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-02B"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23a/tenants/tenant/d0a030fc9fd942c88d8bbb3165c96456",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23a"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "d0a030fc9fd942c88d8bbb3165c96456"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-01B"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23b/tenants/tenant/87dbe25f3a6149dab53a742c25c90bb6",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23b"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "87dbe25f3a6149dab53a742c25c90bb6"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-02A"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/2cd3ca9abd25492eb0c6a44bc95fe714",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn6"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "2cd3ca9abd25492eb0c6a44bc95fe714"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "ECOM_FirstNet2_DND"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23a/tenants/tenant/2889dda86a19400097284de529cd950e",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23a"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "2889dda86a19400097284de529cd950e"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-01C"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23b/tenants/tenant/3e9a20a3e89e45f884e09df0cc2d2d2a",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23b"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "3e9a20a3e89e45f884e09df0cc2d2d2a"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-02C"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23a/tenants/tenant/de1096c250564451a5e48370a78a7b1f",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23a"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "de1096c250564451a5e48370a78a7b1f"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-01D"
+ }
+ ]
+ },
+ {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn23a/tenants/tenant/e6beab145f6b49098277ac163ac1b4f3",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-aic"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "mtn23a"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "e6beab145f6b49098277ac163ac1b4f3"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "tenant.tenant-name",
+ "property-value": "APPC-24595-T-IST-01A"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
+
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_named_query_for_view_edit_test_network-vl.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_named_query_for_view_edit_test_network-vl.json
new file mode 100644
index 000000000..973ffcbce
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/aai_named_query_for_view_edit_test_network-vl.json
@@ -0,0 +1,43 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/aai/search/named-query",
+ "body": {
+ "instance-filters": {
+ "instance-filter": [
+ {
+ "customer": {
+ "global-customer-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
+ },
+ "service-instance": {
+ "service-instance-id": "d198cc45-158b-480e-8d2c-03943c51268e"
+ },
+ "service-subscription": {
+ "service-type": "Mobility"
+ }
+ }
+ ]
+ },
+ "query-parameters": {
+ "named-query": {
+ "named-query-uuid": "0367193e-c785-4d5f-9cb8-7bc89dc9ddb7"
+ }
+ }
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body":{
+ "inventory-response-item": [
+ {
+ "model-name": "Using VID for VoIP Network Instantiations Shani",
+ "service-instance": {
+ "service-instance-id": "d198cc45-158b-480e-8d2c-03943c51268e",
+ "service-instance-name": "service_with_network_shani"
+ },
+ "extra-properties": {}
+ }
+ ]
+ }
+ }
+}
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/get_sdc_catalog_services_SI_network11.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/get_sdc_catalog_services_SI_network11.json
new file mode 100644
index 000000000..054946983
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/get_sdc_catalog_services_SI_network11.json
@@ -0,0 +1,38 @@
+[
+ {
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/sdc/v./catalog/services/b75e0d22-05ff-4448-9266-5f0d4e1dbbd6/toscaModel"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "file": "service-network-vl.zip"
+ }
+ },
+ {
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/sdc/v1/catalog/services/b75e0d22-05ff-4448-9266-5f0d4e1dbbd6/metadata"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "responseHeaders": {
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "uuid": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6",
+ "invariantUUID": "5b9c0f33-eec1-484a-bf77-736a6644d7a8",
+ "name": "Using VID for VoIP Network Instantiations Shani",
+ "version": "1.0",
+ "toscaModelURL": "./service-network-vl.zip",
+ "category": "VoIP Call Control",
+ "lifecycleState": "CERTIFIED",
+ "lastUpdaterUserId": "sf266t",
+ "lastUpdaterFullName": "SHANI FRANCO DE-CAFE",
+ "distributionStatus": "DISTRIBUTED",
+ "artifacts": null,
+ "resources": null
+ }
+ }
+ }
+] \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network.json
new file mode 100644
index 000000000..68faf4e29
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network.json
@@ -0,0 +1,58 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v./d198cc45-158b-480e-8d2c-03943c51268e/networks",
+ "body":
+ {
+ "requestDetails": {
+ "requestInfo": {
+ "instanceName": "<SERVICE_INSTANCE_NAME>",
+ "source": "VID",
+ "suppressRollback": false,
+ "requestorId": "mo57174000",
+ "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
+ },
+ "modelInfo": {
+ "modelType": "network",
+ "modelInvariantId": "de01afb5-532b-451d-aac4-ff9ff0644060",
+ "modelVersionId": "ac815c68-35b7-4ea4-9d04-92d2f844b27c",
+ "modelName": "AIC30_CONTRAIL_BASIC",
+ "modelVersion": "3.0",
+ "modelCustomizationId": "e94d61f7-b4b2-489a-a4a7-30b1a1a80daf",
+ "modelCustomizationName": "AIC30_CONTRAIL_BASIC 0"
+ },
+ "requestParameters": {
+ "testApi": "GR_API",
+ "userParams": []
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "One",
+ "tenantId": "c630e297a3ae486497d63eacec1d7c14"
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceId": "d198cc45-158b-480e-8d2c-03943c51268e",
+ "modelInfo": {
+ "modelType": "service",
+ "modelName": "Using VID for VoIP Network Instantiations Shani",
+ "modelInvariantId": "5b9c0f33-eec1-484a-bf77-736a6644d7a8",
+ "modelVersion": "1.0",
+ "modelVersionId": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "requestReferences": {
+ "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6",
+ "requestId": "314cc766-b673-4a50-b9c5-471f68914533"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_error.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_error.json
new file mode 100644
index 000000000..d5afa1706
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_error.json
@@ -0,0 +1,52 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/mso/serviceInstances/v./d198cc45-158b-480e-8d2c-03943c51268e/networks",
+ "body":
+ {
+ "requestDetails": {
+ "requestInfo": {
+ "instanceName": "<SERVICE_INSTANCE_NAME>",
+ "source": "VID",
+ "suppressRollback": false,
+ "requestorId": "mo57174000",
+ "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
+ },
+ "modelInfo": {
+ "modelType": "network",
+ "modelInvariantId": "de01afb5-532b-451d-aac4-ff9ff0644060",
+ "modelVersionId": "ac815c68-35b7-4ea4-9d04-92d2f844b27c",
+ "modelName": "AIC30_CONTRAIL_BASIC",
+ "modelVersion": "3.0",
+ "modelCustomizationId": "e94d61f7-b4b2-489a-a4a7-30b1a1a80daf",
+ "modelCustomizationName": "AIC30_CONTRAIL_BASIC 0"
+ },
+ "requestParameters": {
+ "testApi": "GR_API",
+ "userParams": []
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "One",
+ "tenantId": "c630e297a3ae486497d63eacec1d7c14"
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceId": "d198cc45-158b-480e-8d2c-03943c51268e",
+ "modelInfo": {
+ "modelType": "service",
+ "modelName": "Using VID for VoIP Network Instantiations Shani",
+ "modelInvariantId": "5b9c0f33-eec1-484a-bf77-736a6644d7a8",
+ "modelVersion": "1.0",
+ "modelVersionId": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 500
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_orch_req.json b/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_orch_req.json
new file mode 100644
index 000000000..efa0f436f
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/add_network/mso_add_network_orch_req.json
@@ -0,0 +1,27 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/mso/orchestrationRequests/v./314cc766-b673-4a50-b9c5-471f68914533"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "request": {
+ "requestId": "314cc766-b673-4a50-b9c5-471f68914533",
+ "startTime": "Mon, 23 Oct 2017 23:28:39 GMT",
+ "requestScope": "service",
+ "requestType": "networks",
+ "instanceReferences": {
+ "serviceInstanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6",
+ "requestorId": "mo57174000"
+ },
+ "requestStatus": {
+ "requestState": "COMPLETE",
+ "statusMessage": "Success",
+ "percentProgress": 100,
+ "finishTime": "Mon, 23 Oct 2017 23:28:39 GMT"
+ }
+ }
+ }
+ }
+} \ No newline at end of file