aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/resources/getTopology
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/resources/getTopology')
-rw-r--r--vid-app-common/src/test/resources/getTopology/network.json79
-rw-r--r--vid-app-common/src/test/resources/getTopology/serviceWithCR/CR.json62
-rw-r--r--vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json95
-rw-r--r--vid-app-common/src/test/resources/getTopology/serviceWithCR/instanceGroup-NCF.json43
-rw-r--r--vid-app-common/src/test/resources/getTopology/serviceWithCR/service-design-and-creation.json1057
-rw-r--r--vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCR.json38
-rw-r--r--vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCRModel.json72
-rw-r--r--vid-app-common/src/test/resources/getTopology/vfModule.json66
-rw-r--r--vid-app-common/src/test/resources/getTopology/vnf.json160
9 files changed, 1672 insertions, 0 deletions
diff --git a/vid-app-common/src/test/resources/getTopology/network.json b/vid-app-common/src/test/resources/getTopology/network.json
new file mode 100644
index 000000000..ba9cf5ca6
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/network.json
@@ -0,0 +1,79 @@
+{
+ "network-id": "94c86b39-bbbf-4027-8120-ff37c6d2493a",
+ "network-name": "AUK51a_oam_calea_net_1",
+ "network-type": "SR-IOV-PROVIDER2-1",
+ "network-role": "oam_calea_net_1",
+ "network-technology": "STANDARD-SR-IOV",
+ "is-bound-to-vpn": false,
+ "resource-version": "1540925016770",
+ "orchestration-status": "Assigned",
+ "model-invariant-id": "b9a9b549-0ee4-49fc-b4f2-5edc6701da68",
+ "model-version-id": "77010093-df36-4dcb-8428-c3d02bf3f88d",
+ "model-customization-id": "e5f33853-f84c-4cdd-99f2-93846957aa18",
+ "physical-network-name": "sriovnet1",
+ "is-provider-network": true,
+ "is-shared-network": true,
+ "is-external-network": false,
+ "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/4b7cc8d1-f8ec-4461-ac43-5805e4ca3126/service-data/networks/network/94c86b39-bbbf-4027-8120-ff37c6d2493a/network-data/network-topology/",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "service-instance",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/4b7cc8d1-f8ec-4461-ac43-5805e4ca3126",
+ "relationship-data": [{
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
+ }, {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "Emanuel"
+ }, {
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "4b7cc8d1-f8ec-4461-ac43-5805e4ca3126"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "service-instance.service-instance-name",
+ "property-value": "AUK51a_oam_calea_net_service"
+ }
+ ]
+ }, {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-nc"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "auk51a"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "b530fc990b6d4334bd45518bebca6a51"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "tenant.tenant-name",
+ "property-value": "ecomp_ispt"
+ }
+ ]
+ }, {
+ "related-to": "cloud-region",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "att-nc"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "auk51a"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "cloud-region.owner-defined-type",
+ "property-value": "lcp"
+ }
+ ]
+ }
+ ]
+ }
+}
diff --git a/vid-app-common/src/test/resources/getTopology/serviceWithCR/CR.json b/vid-app-common/src/test/resources/getTopology/serviceWithCR/CR.json
new file mode 100644
index 000000000..26d598c6c
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/serviceWithCR/CR.json
@@ -0,0 +1,62 @@
+{
+ "collection-id": "84a351ae-3601-45e2-98df-878d6c816abc",
+ "model-invariant-id": "081ceb56-eb71-4566-a72d-3e7cbee5cdf1",
+ "model-version-id": "ce8c98bc-4691-44fb-8ff0-7a47487c11c4",
+ "collection-name": "NcmVlanSvcYm161f_77_vTSBC Customer Landing Network Collection",
+ "collection-type": "L3-NETWORK",
+ "collection-role": "SUB_INTERFACE",
+ "collection-function": "vTSBC_function",
+ "orchestration-status": "Active",
+ "collection-customization-id": "bac6ffe5-c851-495f-a64a-28751400ff03",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "service-instance",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/a565e6ad-75d1-4493-98f1-33234b5c17e2",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "Emanuel"
+ },
+ {
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "a565e6ad-75d1-4493-98f1-33234b5c17e2"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "service-instance.service-instance-name",
+ "property-value": "NcmVlanSvcYm161f_77"
+ }
+ ]
+ },
+ {
+ "related-to": "instance-group",
+ "relationship-label": "org.onap.inventory.BelongsTo",
+ "related-link": "/aai/v14/network/instance-groups/instance-group/6b3536cf-3a12-457f-abb5-fa2203e0d923",
+ "relationship-data": [
+ {
+ "relationship-key": "instance-group.id",
+ "relationship-value": "6b3536cf-3a12-457f-abb5-fa2203e0d923"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "instance-group.description",
+ "property-value": "vTSBC Customer Landing Network Collection Desc"
+ },
+ {
+ "property-key": "instance-group.instance-group-name",
+ "property-value": "NcmVlanSvcYm161f_77_vTSBC Customer Landing Network Collection"
+ }
+ ]
+ }
+ ]
+ },
+ "resource-version": "1539158498209"
+}
diff --git a/vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json b/vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json
new file mode 100644
index 000000000..f038427c5
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json
@@ -0,0 +1,95 @@
+{
+ "action": "None",
+ "instanceName": "NcmVlanSvcYm161f_77",
+ "instanceId": "a565e6ad-75d1-4493-98f1-33234b5c17e2",
+ "orchStatus": "Assigned",
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "cloudOwner": null,
+ "modelInfo": {
+ "modelInvariantId": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea",
+ "modelVersionId": "6e0bec91-09f3-43aa-9cf3-e617cd0146be",
+ "modelName": "NCM_VLAN_SVC_ym161f",
+ "modelType": "service",
+ "modelVersion": "8.0"
+ },
+ "globalSubscriberId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "subscriptionServiceType": "Emanuel",
+ "owningEntityId": null,
+ "owningEntityName": null,
+ "tenantName": null,
+ "aicZoneId": null,
+ "aicZoneName": null,
+ "projectName": null,
+ "rollbackOnFailure": null,
+ "isALaCarte": false,
+ "vnfs": {},
+ "networks": {},
+ "vrfs": {},
+ "vnfGroups": {},
+ "collectionResources": {
+ "84a351ae-3601-45e2-98df-878d6c816abc": {
+ "action": "None",
+ "instanceName": "NcmVlanSvcYm161f_77_vTSBC Customer Landing Network Collection",
+ "instanceId": "84a351ae-3601-45e2-98df-878d6c816abc",
+ "orchStatus": "Active",
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "cloudOwner": null,
+ "modelInfo": {
+ "modelInvariantId": "081ceb56-eb71-4566-a72d-3e7cbee5cdf1",
+ "modelVersionId": "ce8c98bc-4691-44fb-8ff0-7a47487c11c4",
+ "modelName": "NCM_VLAN_ym161f",
+ "modelType": "collection",
+ "modelVersion": "5.0"
+ },
+ "instanceType": null,
+ "provStatus": null,
+ "inMaint": false,
+ "uuid": "ce8c98bc-4691-44fb-8ff0-7a47487c11c4",
+ "originalName": "NCM_VLAN_ym161f 0",
+ "legacyRegion": null,
+ "lineOfBusiness": null,
+ "platformName": null,
+ "trackById": "84a351ae-3601-45e2-98df-878d6c816abc",
+ "ncfs": {
+ "6b3536cf-3a12-457f-abb5-fa2203e0d923": {
+ "action": "None",
+ "instanceName": "NcmVlanSvcYm161f_77_vTSBC Customer Landing Network Collection",
+ "instanceId": "6b3536cf-3a12-457f-abb5-fa2203e0d923",
+ "orchStatus": null,
+ "productFamilyId": null,
+ "lcpCloudRegionId": null,
+ "tenantId": null,
+ "cloudOwner": null,
+ "modelInfo": {
+ "modelInvariantId": "868b109c-9481-4a18-891b-af974db7705a",
+ "modelVersionId": "dd182d7d-6949-4b90-b3cc-5befe400742e",
+ "modelName": "ncm_vlan_ym161f..NetworkCollection..0",
+ "modelType": "instanceGroup",
+ "modelVersion": "1"
+ },
+ "instanceType": "L3-NETWORK",
+ "provStatus": null,
+ "inMaint": false,
+ "uuid": "dd182d7d-6949-4b90-b3cc-5befe400742e",
+ "originalName": "ncm_vlan_ym161f..NetworkCollection..0",
+ "legacyRegion": null,
+ "lineOfBusiness": null,
+ "platformName": null,
+ "trackById": "6b3536cf-3a12-457f-abb5-fa2203e0d923",
+ "instanceGroupRole": "SUB_INTERFACE",
+ "instanceGroupFunction": "vTSBC Customer Landing Network Collection",
+ "numberOfNetworks": 1
+ }
+ }
+ }
+ },
+ "validationCounter": 0,
+ "existingVNFCounterMap": {},
+ "existingNetworksCounterMap": {},
+ "existingVnfGroupCounterMap": {},
+ "existingVRFCounterMap": {}
+}
diff --git a/vid-app-common/src/test/resources/getTopology/serviceWithCR/instanceGroup-NCF.json b/vid-app-common/src/test/resources/getTopology/serviceWithCR/instanceGroup-NCF.json
new file mode 100644
index 000000000..8c4d3f26c
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/serviceWithCR/instanceGroup-NCF.json
@@ -0,0 +1,43 @@
+{
+ "id": "6b3536cf-3a12-457f-abb5-fa2203e0d923",
+ "instance-group-role": "SUB_INTERFACE",
+ "model-invariant-id": "868b109c-9481-4a18-891b-af974db7705a",
+ "model-version-id": "dd182d7d-6949-4b90-b3cc-5befe400742e",
+ "description": "vTSBC Customer Landing Network Collection Desc",
+ "instance-group-type": "L3-NETWORK",
+ "resource-version": "1539158492730",
+ "instance-group-name": "NcmVlanSvcYm161f_77_vTSBC Customer Landing Network Collection",
+ "instance-group-function": "vTSBC Customer Landing Network Collection",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to-property": [
+ {
+ "property-value": "APPC-24595-T-IST-02AShared_cps_internal_net_1",
+ "property-key": "l3-network.network-name"
+ }
+ ],
+ "relationship-data": [
+ {
+ "relationship-value": "1fea0624-dac2-4997-904d-34ca1bc12fa9",
+ "relationship-key": "l3-network.network-id"
+ }
+ ],
+ "related-link": "/aai/v14/network/l3-networks/l3-network/1fea0624-dac2-4997-904d-34ca1bc12fa9",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-to": "l3-network"
+ },
+ {
+ "related-to": "collection",
+ "relationship-label": "org.onap.inventory.BelongsTo",
+ "related-link": "/aai/v14/network/collections/collection/84a351ae-3601-45e2-98df-878d6c816abc",
+ "relationship-data": [
+ {
+ "relationship-key": "collection.collection-id",
+ "relationship-value": "84a351ae-3601-45e2-98df-878d6c816abc"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/vid-app-common/src/test/resources/getTopology/serviceWithCR/service-design-and-creation.json b/vid-app-common/src/test/resources/getTopology/serviceWithCR/service-design-and-creation.json
new file mode 100644
index 000000000..d7bafebfe
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/serviceWithCR/service-design-and-creation.json
@@ -0,0 +1,1057 @@
+{
+ "model": [
+ {
+ "model-invariant-id": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea",
+ "model-type": "service",
+ "resource-version": "1534274421300",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "a92f899d-a3ec-465b-baed-1663b0a5aee1",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "3.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1534788756086",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "901e2641-c66c-4178-a6e8-cbe2877b0a2a",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534463243387",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "d2fda667-e92e-4cfa-9620-5da5de01a319",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1534444087221",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "d291ed5e-4f50-4f57-956d-ce0e67a059e5",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534274421311",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "d4a447e5-9791-47b9-b365-1abb19b4b626",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "4.0",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1534863624237",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "0ef29f1f-836a-4fab-986c-5f1b96310a3d",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534863624242",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "0e97a118-b1b6-40d5-bbad-98cdd51b1c48",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "11.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1550783120267",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "0ea8ac21-64b8-4489-9d62-12e625d66995",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1543961990189",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "46093d8f-6dfa-4332-9c00-7e822c681b59",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "7.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1534885144462",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "d74a5dff-ef7f-4e32-9c13-d82fb2c617c9",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534885014144",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "12930bcc-5276-42bb-8ed6-1e43d7acae2c",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "10.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1539613511543",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "4d57798e-81b7-490e-bee8-48bd382a1349",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1539613450903",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "f8783bb2-6135-4c35-8320-64fa7deae76b",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "2.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1534450229751",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "c666f1dd-99ff-442a-9ba2-1ee2dabb9e25",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534450167963",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "0148e4c5-629b-4fef-9728-1e13fd630679",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "9.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1537901614540",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "6ae6fd91-2086-470d-8c36-9d668c41fd32",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1537882880185",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "1ceab842-7ded-49f1-a129-dce2ecef8c71",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "6.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1534883213652",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "5ca853fc-2984-45c7-b2e7-8514a56785ba",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534883154090",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "fd21f6b5-02f6-4ac0-9515-e1f01112da95",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "5.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1534872246413",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "0812b47d-7ef1-4a65-b6fb-9f3ff3bc3eee",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534872174141",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "6e0bec91-09f3-43aa-9cf3-e617cd0146be",
+ "model-name": "NCM_VLAN_SVC_ym161f",
+ "model-version": "8.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "Network Collection service for vLAN tagging",
+ "resource-version": "1536098608209",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "a0247d2e-3843-4753-be2f-4c252c99390e",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1536098548388",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-invariant-id": "868b109c-9481-4a18-891b-af974db7705a",
+ "model-type": "resource",
+ "resource-version": "1534795610752",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "dd182d7d-6949-4b90-b3cc-5befe400742e",
+ "model-name": "ncm_vlan_ym161f..NetworkCollection..0",
+ "model-version": "1",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "resource-version": "1534795610763"
+ },
+ {
+ "model-version-id": "e5fc56b7-e14c-45e5-b127-978c36a921c0",
+ "model-name": "ncm_vlan_ym161f..NetworkCollection..0",
+ "model-version": "1",
+ "resource-version": "1543961989136",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "9001ff96-1142-49c6-af5b-df4e2b23a305",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1543961989136",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/3bf1e610-45f7-4ad6-b833-ca4c5ee6a3fd/model-vers/model-ver/8e6ee9dc-9017-444a-83b3-219edb018128",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "3bf1e610-45f7-4ad6-b833-ca4c5ee6a3fd"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "8e6ee9dc-9017-444a-83b3-219edb018128"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "instance-group"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/081ceb56-eb71-4566-a72d-3e7cbee5cdf1/model-vers/model-ver/a580855f-8d1b-40d5-a75b-50709fbd17d3/model-elements/model-element/06014449-69d3-4aef-a96b-0a5130ba9483/model-elements/model-element/a050dc96-2c35-45c7-ba23-9279215d501e",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "081ceb56-eb71-4566-a72d-3e7cbee5cdf1"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "a580855f-8d1b-40d5-a75b-50709fbd17d3"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "06014449-69d3-4aef-a96b-0a5130ba9483"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "a050dc96-2c35-45c7-ba23-9279215d501e"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-invariant-id": "081ceb56-eb71-4566-a72d-3e7cbee5cdf1",
+ "model-type": "resource",
+ "resource-version": "1534788713816",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "747d2a17-5771-4fd6-879d-c2e9e4c5cd4f",
+ "model-name": "NCM_VLAN_ym161f",
+ "model-version": "2.0",
+ "model-description": "Network Collection Service VF for VLAN TAgging",
+ "resource-version": "1534863623891",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "0dd28c63-cadf-48b2-afb0-a7bf7184ef5a",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534863623895",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/425b2158-e51d-4509-9945-dad4556474a3/model-vers/model-ver/2a160989-b202-47dd-874b-4a0f275998f7",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "425b2158-e51d-4509-9945-dad4556474a3"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "2a160989-b202-47dd-874b-4a0f275998f7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "cloud-region"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/d4a447e5-9791-47b9-b365-1abb19b4b626/model-elements/model-element/0ef29f1f-836a-4fab-986c-5f1b96310a3d/model-elements/model-element/700f890b-05c9-471a-b859-956655d28f47",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "d4a447e5-9791-47b9-b365-1abb19b4b626"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "0ef29f1f-836a-4fab-986c-5f1b96310a3d"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "700f890b-05c9-471a-b859-956655d28f47"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "a580855f-8d1b-40d5-a75b-50709fbd17d3",
+ "model-name": "NCM_VLAN_ym161f",
+ "model-version": "6.0",
+ "model-description": "Network Collection Service VF for VLAN TAgging",
+ "resource-version": "1543961989670",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "06014449-69d3-4aef-a96b-0a5130ba9483",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1543961989670",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/8bac3599-9a1c-4b7f-80e5-c1838f744c23/model-vers/model-ver/3f908abc-3a15-40d0-b674-2a639e52884d",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "8bac3599-9a1c-4b7f-80e5-c1838f744c23"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "3f908abc-3a15-40d0-b674-2a639e52884d"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "collection"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/0e97a118-b1b6-40d5-bbad-98cdd51b1c48/model-elements/model-element/0ea8ac21-64b8-4489-9d62-12e625d66995/model-elements/model-element/d614653c-5f19-4668-ad98-cfbe012308e1",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "0e97a118-b1b6-40d5-bbad-98cdd51b1c48"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "0ea8ac21-64b8-4489-9d62-12e625d66995"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "d614653c-5f19-4668-ad98-cfbe012308e1"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "b84e2233-37bf-4c8d-b613-eb8a8820b725",
+ "model-name": "NCM_VLAN_ym161f",
+ "model-version": "4.0",
+ "model-description": "Network Collection Service VF for VLAN TAgging",
+ "resource-version": "1534883153714",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "f7c3f5bb-777a-4d9f-9401-a652f5006152",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534883153720",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/425b2158-e51d-4509-9945-dad4556474a3/model-vers/model-ver/2a160989-b202-47dd-874b-4a0f275998f7",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "425b2158-e51d-4509-9945-dad4556474a3"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "2a160989-b202-47dd-874b-4a0f275998f7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "cloud-region"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/1ceab842-7ded-49f1-a129-dce2ecef8c71/model-elements/model-element/5ca853fc-2984-45c7-b2e7-8514a56785ba/model-elements/model-element/030553aa-8d82-4b03-a3dc-bc210daadd5e",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "1ceab842-7ded-49f1-a129-dce2ecef8c71"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "5ca853fc-2984-45c7-b2e7-8514a56785ba"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "030553aa-8d82-4b03-a3dc-bc210daadd5e"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "5ededaad-905c-4356-b30d-471b0ae2a12a",
+ "model-name": "NCM_VLAN_ym161f",
+ "model-version": "3.0",
+ "model-description": "Network Collection Service VF for VLAN TAgging",
+ "resource-version": "1534872173817",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "31f558c6-d73a-43e4-aab0-c863ccd6b110",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534872173821",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/425b2158-e51d-4509-9945-dad4556474a3/model-vers/model-ver/2a160989-b202-47dd-874b-4a0f275998f7",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "425b2158-e51d-4509-9945-dad4556474a3"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "2a160989-b202-47dd-874b-4a0f275998f7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "cloud-region"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/fd21f6b5-02f6-4ac0-9515-e1f01112da95/model-elements/model-element/0812b47d-7ef1-4a65-b6fb-9f3ff3bc3eee/model-elements/model-element/110a5ba4-997b-45f0-8e53-d64d6b342be1",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "fd21f6b5-02f6-4ac0-9515-e1f01112da95"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "0812b47d-7ef1-4a65-b6fb-9f3ff3bc3eee"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "110a5ba4-997b-45f0-8e53-d64d6b342be1"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "67b91dcd-4fa5-4111-80c9-60d524740667",
+ "model-name": "NCM_VLAN_ym161f",
+ "model-version": "1.0",
+ "model-description": "Network Collection Service VF for VLAN TAgging",
+ "resource-version": "1534788713822",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "6fdf228e-89ce-4cf6-9bd7-399aa1b690b3",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534788713833",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/425b2158-e51d-4509-9945-dad4556474a3/model-vers/model-ver/2a160989-b202-47dd-874b-4a0f275998f7",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "425b2158-e51d-4509-9945-dad4556474a3"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "2a160989-b202-47dd-874b-4a0f275998f7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "cloud-region"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "model-version-id": "ce8c98bc-4691-44fb-8ff0-7a47487c11c4",
+ "model-name": "NCM_VLAN_ym161f",
+ "model-version": "5.0",
+ "model-description": "Network Collection Service VF for VLAN TAgging",
+ "resource-version": "1534885013739",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "4bd10473-a9de-4399-abe7-c9b24e48e0ee",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1534885013745",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/425b2158-e51d-4509-9945-dad4556474a3/model-vers/model-ver/2a160989-b202-47dd-874b-4a0f275998f7",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "425b2158-e51d-4509-9945-dad4556474a3"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "2a160989-b202-47dd-874b-4a0f275998f7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "cloud-region"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/12930bcc-5276-42bb-8ed6-1e43d7acae2c/model-elements/model-element/4d57798e-81b7-490e-bee8-48bd382a1349/model-elements/model-element/93eafb42-11b5-471d-8f8a-333408114a9a",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "12930bcc-5276-42bb-8ed6-1e43d7acae2c"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "4d57798e-81b7-490e-bee8-48bd382a1349"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "93eafb42-11b5-471d-8f8a-333408114a9a"
+ }
+ ]
+ },
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/6e0bec91-09f3-43aa-9cf3-e617cd0146be/model-elements/model-element/a0247d2e-3843-4753-be2f-4c252c99390e/model-elements/model-element/cb986adf-5ca8-48a5-ac9b-b222d6d2e280",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "6e0bec91-09f3-43aa-9cf3-e617cd0146be"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "a0247d2e-3843-4753-be2f-4c252c99390e"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "cb986adf-5ca8-48a5-ac9b-b222d6d2e280"
+ }
+ ]
+ },
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/0148e4c5-629b-4fef-9728-1e13fd630679/model-elements/model-element/6ae6fd91-2086-470d-8c36-9d668c41fd32/model-elements/model-element/a520808b-b8bc-4969-9eba-c85e2797f3dd",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "0148e4c5-629b-4fef-9728-1e13fd630679"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "6ae6fd91-2086-470d-8c36-9d668c41fd32"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "a520808b-b8bc-4969-9eba-c85e2797f3dd"
+ }
+ ]
+ },
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/ca26a7e6-064d-4e90-a5b9-32ffe819f826/model-vers/model-ver/e9a290ca-41f0-4117-a1b5-8b7cd5595ff7/model-elements/model-element/ff3fdeb9-24e9-406f-8761-1334c9ea29d1/model-elements/model-element/bc6ddc86-f948-4f47-a4e6-bededd8d5780",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "ca26a7e6-064d-4e90-a5b9-32ffe819f826"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "e9a290ca-41f0-4117-a1b5-8b7cd5595ff7"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "ff3fdeb9-24e9-406f-8761-1334c9ea29d1"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "bc6ddc86-f948-4f47-a4e6-bededd8d5780"
+ }
+ ]
+ },
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v14/service-design-and-creation/models/model/f6342be5-d66b-4d03-a1aa-c82c3094c4ea/model-vers/model-ver/46093d8f-6dfa-4332-9c00-7e822c681b59/model-elements/model-element/d74a5dff-ef7f-4e32-9c13-d82fb2c617c9/model-elements/model-element/f7bd32b4-bbbf-4788-9137-9dfa299e6111",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "46093d8f-6dfa-4332-9c00-7e822c681b59"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "d74a5dff-ef7f-4e32-9c13-d82fb2c617c9"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "f7bd32b4-bbbf-4788-9137-9dfa299e6111"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+}
diff --git a/vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCR.json b/vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCR.json
new file mode 100644
index 000000000..7b9672966
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCR.json
@@ -0,0 +1,38 @@
+{
+ "service-instance-id": "a565e6ad-75d1-4493-98f1-33234b5c17e2",
+ "service-instance-name": "NcmVlanSvcYm161f_77",
+ "service-type": "INFRASTRUCTURE",
+ "environment-context": "General_Revenue-Bearing",
+ "workload-context": "Production",
+ "model-invariant-id": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea",
+ "model-version-id": "6e0bec91-09f3-43aa-9cf3-e617cd0146be",
+ "resource-version": "1539158502875",
+ "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/a565e6ad-75d1-4493-98f1-33234b5c17e2/service-data/service-topology/",
+ "orchestration-status": "Assigned",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "collection",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v14/network/collections/collection/84a351ae-3601-45e2-98df-878d6c816abc",
+ "relationship-data": [
+ {
+ "relationship-key": "collection.collection-id",
+ "relationship-value": "84a351ae-3601-45e2-98df-878d6c816abc"
+ }
+ ]
+ },
+ {
+ "related-to": "owning-entity",
+ "relationship-label": "org.onap.relationships.inventory.BelongsTo",
+ "related-link": "/aai/v14/business/owning-entities/owning-entity/e4257a94-21cc-40c5-adc9-e6f4ff868e31",
+ "relationship-data": [
+ {
+ "relationship-key": "owning-entity.owning-entity-id",
+ "relationship-value": "e4257a94-21cc-40c5-adc9-e6f4ff868e31"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCRModel.json b/vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCRModel.json
new file mode 100644
index 000000000..6cca1cdc0
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/serviceWithCR/serviceWithCRModel.json
@@ -0,0 +1,72 @@
+{
+ "service": {
+ "uuid": "6e0bec91-09f3-43aa-9cf3-e617cd0146be",
+ "invariantUuid": "f6342be5-d66b-4d03-a1aa-c82c3094c4ea",
+ "name": "NCM_VLAN_SVC_ym161f",
+ "version": "8.0",
+ "toscaModelURL": null,
+ "category": "Network L4+",
+ "serviceType": "INFRASTRUCTURE",
+ "serviceRole": "",
+ "description": "Network Collection service for vLAN tagging",
+ "serviceEcompNaming": "true",
+ "instantiationType": "Macro",
+ "inputs": {},
+ "vidNotions": {
+ "instantiationType": "Macro",
+ "instantiationUI": "serviceWithCollectionResource",
+ "modelCategory": "other",
+ "viewEditUI": "serviceWithCollectionResource"
+ }
+ },
+ "vnfs": {},
+ "networks": {},
+ "collectionResources": {
+ "NCM_VLAN_ym161f 0": {
+ "uuid": "ce8c98bc-4691-44fb-8ff0-7a47487c11c4",
+ "invariantUuid": "081ceb56-eb71-4566-a72d-3e7cbee5cdf1",
+ "description": "Network Collection Service VF for VLAN TAgging",
+ "name": "NCM_VLAN_ym161f",
+ "version": "5.0",
+ "customizationUuid": "bac6ffe5-c851-495f-a64a-28751400ff03",
+ "inputs": {},
+ "commands": {},
+ "properties": {
+ "ncm_vlan_ym161f..Fixed..0_quantity": "3",
+ "cr_function": "vTSBC_function",
+ "ncm_vlan_ym161f..NetworkCollection..0_network_collection_description": "vTSBC Customer Landing Network Collection Desc",
+ "cr_role": "SUB_INTERFACE",
+ "cr_type": "L3-NETWORK",
+ "ecomp_generated_naming": "false",
+ "ncm_vlan_ym161f..NetworkCollection..0_network_collection_function": "vTSBC Customer Landing Network Collection"
+ },
+ "type": "CR",
+ "category": "Generic",
+ "subcategory": "Infrastructure",
+ "resourceVendor": "ATT",
+ "resourceVendorRelease": "201810",
+ "resourceVendorModelNumber": "294455b",
+ "customizationUUID": "bac6ffe5-c851-495f-a64a-28751400ff03",
+ "networksCollection": {
+ "ncm_vlan_ym161f..NetworkCollection..0": {
+ "uuid": "dd182d7d-6949-4b90-b3cc-5befe400742e",
+ "invariantUuid": "868b109c-9481-4a18-891b-af974db7705a",
+ "name": "ncm_vlan_ym161f..NetworkCollection..0",
+ "version": "1",
+ "networkCollectionProperties": {
+ "networkCollectionFunction": "vTSBC Customer Landing Network Collection",
+ "networkCollectionDescription": "vTSBC Customer Landing Network Collection Desc"
+ }
+ }
+ }
+ }
+ },
+ "configurations": {},
+ "fabricConfigurations": {},
+ "serviceProxies": {},
+ "vfModules": {},
+ "volumeGroups": {},
+ "pnfs": {},
+ "vnfGroups": {},
+ "vrfs": {}
+}
diff --git a/vid-app-common/src/test/resources/getTopology/vfModule.json b/vid-app-common/src/test/resources/getTopology/vfModule.json
new file mode 100644
index 000000000..3fd9c089e
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/vfModule.json
@@ -0,0 +1,66 @@
+{
+ "vf-module": [{
+ "vf-module-id": "2cb6d41e-2bef-4cb2-80ce-c7815bcdcf4e",
+ "vf-module-name": "dyh3brarf8000v_base",
+ "heat-stack-id": "dyh3brarf8000v_base/5a826d59-cafa-49fd-9860-dfc6eb7515ae",
+ "orchestration-status": "Active",
+ "is-base-vf-module": true,
+ "automated-assignment": false,
+ "resource-version": "1546547784901",
+ "model-invariant-id": "3ecca473-b0c0-46ae-b0b7-bd2969d8b79f",
+ "model-version-id": "5c35b764-e266-4498-af87-a88c4ba92dc4",
+ "model-customization-id": "06b4ece0-f6f8-4003-b445-653418292101",
+ "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/aea56040-8caf-41b3-a85b-97c44001499e/service-data/vnfs/vnf/9a7a4dc1-8e5f-43fe-a360-7734c5f51382/vnf-data/vf-modules/vf-module/2cb6d41e-2bef-4cb2-80ce-c7815bcdcf4e/vf-module-data/vf-module-topology/",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "l3-network",
+ "relationship-label": "org.onap.relationships.inventory.DependsOn",
+ "related-link": "/aai/v14/network/l3-networks/l3-network/974345f8-75d5-4ae2-be72-600930bcbe6b",
+ "relationship-data": [{
+ "relationship-key": "l3-network.network-id",
+ "relationship-value": "974345f8-75d5-4ae2-be72-600930bcbe6b"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "l3-network.network-name",
+ "property-value": "APP-C-24595-T-IST-05B_oam_protected_net_1"
+ }
+ ]
+ }, {
+ "related-to": "vnfc",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/network/vnfcs/vnfc/dyh3brarf8000vm001",
+ "relationship-data": [{
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "dyh3brarf8000vm001"
+ }
+ ]
+ }, {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/dyh3b/tenants/tenant/c8035f5ee95d4c62bbc8074c044122b9/vservers/vserver/3e3985e1-2369-4191-9721-7858a478ab6d",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "irma-aic"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "dyh3b"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "c8035f5ee95d4c62bbc8074c044122b9"
+ }, {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "3e3985e1-2369-4191-9721-7858a478ab6d"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "vserver.vserver-name",
+ "property-value": "dyh3brarf8000vm001"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+}
diff --git a/vid-app-common/src/test/resources/getTopology/vnf.json b/vid-app-common/src/test/resources/getTopology/vnf.json
new file mode 100644
index 000000000..7b640dac1
--- /dev/null
+++ b/vid-app-common/src/test/resources/getTopology/vnf.json
@@ -0,0 +1,160 @@
+{
+ "vnf-id": "9a7a4dc1-8e5f-43fe-a360-7734c5f51382",
+ "vnf-name": "dyh3brarf8000v",
+ "vnf-type": "vRAR_1902_ap7134/vRAR_1902_ap7134 0",
+ "prov-status": "PREPROV",
+ "equipment-role": "vRAR",
+ "orchestration-status": "Active",
+ "in-maint": true,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1547155053461",
+ "model-invariant-id": "b711997f-36b3-4a9b-8b37-71a0fc2ebd6d",
+ "model-version-id": "7f23e4f7-e44c-44df-b066-4cedc6950bfe",
+ "model-customization-id": "401350be-0f56-481c-86d8-f32d573fec26",
+ "nf-type": "REPORT",
+ "nf-function": "REVENUE-ASSURANCE",
+ "nf-role": "vRAR",
+ "nf-naming-code": "rarf",
+ "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/aea56040-8caf-41b3-a85b-97c44001499e/service-data/vnfs/vnf/9a7a4dc1-8e5f-43fe-a360-7734c5f51382/vnf-data/vnf-topology/",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "service-instance",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v14/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/TYLER%20SILVIA/service-instances/service-instance/aea56040-8caf-41b3-a85b-97c44001499e",
+ "relationship-data": [{
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "e433710f-9217-458d-a79d-1c7aff376d89"
+ }, {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "TYLER SILVIA"
+ }, {
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "aea56040-8caf-41b3-a85b-97c44001499e"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "service-instance.service-instance-name",
+ "property-value": "vRAR_1902_un577h"
+ }
+ ]
+ }, {
+ "related-to": "vnfc",
+ "relationship-label": "org.onap.relationships.inventory.BelongsTo",
+ "related-link": "/aai/v14/network/vnfcs/vnfc/dyh3brarf8000vm001",
+ "relationship-data": [{
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "dyh3brarf8000vm001"
+ }
+ ]
+ }, {
+ "related-to": "platform",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/business/platforms/platform/FIRSTNET-DEDICATED",
+ "relationship-data": [{
+ "relationship-key": "platform.platform-name",
+ "relationship-value": "FIRSTNET-DEDICATED"
+ }
+ ]
+ }, {
+ "related-to": "line-of-business",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/business/lines-of-business/line-of-business/FIRSTNET",
+ "relationship-data": [{
+ "relationship-key": "line-of-business.line-of-business-name",
+ "relationship-value": "LINDSEY"
+ }
+ ]
+ }, {
+ "related-to": "tenant",
+ "relationship-label": "org.onap.relationships.inventory.BelongsTo",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/dyh3b/tenants/tenant/c8035f5ee95d4c62bbc8074c044122b9",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "irma-aic"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "dyh3b"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "c8035f5ee95d4c62bbc8074c044122b9"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "tenant.tenant-name",
+ "property-value": "APP-C-24595-T-IST-05B"
+ }
+ ]
+ }, {
+ "related-to": "vserver",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/dyh3b/tenants/tenant/c8035f5ee95d4c62bbc8074c044122b9/vservers/vserver/3e3985e1-2369-4191-9721-7858a478ab6d",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "irma-aic"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "dyh3b"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "c8035f5ee95d4c62bbc8074c044122b9"
+ }, {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "3e3985e1-2369-4191-9721-7858a478ab6d"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "vserver.vserver-name",
+ "property-value": "dyh3brarf8000vm001"
+ }
+ ]
+ }, {
+ "related-to": "availability-zone",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/dyh3b/availability-zones/availability-zone/dyh3b-kvm-az02",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "irma-aic"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "dyh3b"
+ }, {
+ "relationship-key": "availability-zone.availability-zone-name",
+ "relationship-value": "dyh3b-kvm-az02"
+ }
+ ]
+ }, {
+ "related-to": "availability-zone",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/dyh3b/availability-zones/availability-zone/dyh3b-kvm-az01",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "irma-aic"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "dyh3b"
+ }, {
+ "relationship-key": "availability-zone.availability-zone-name",
+ "relationship-value": "dyh3b-kvm-az01"
+ }
+ ]
+ }, {
+ "related-to": "cloud-region",
+ "relationship-label": "org.onap.relationships.inventory.LocatedIn",
+ "related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/irma-aic/dyh3b",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "irma-aic"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "dyh3b"
+ }
+ ],
+ "related-to-property": [{
+ "property-key": "cloud-region.owner-defined-type",
+ "property-value": "lcp"
+ }
+ ]
+ }
+ ]
+ }
+}