summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/resources/getTopology/vnf.json
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2019-07-16 17:17:36 +0300
committerIttay Stern <ittay.stern@att.com>2019-07-30 06:01:44 +0300
commite601bbdc43bae9a08e2e10c5139a6f76b47860d7 (patch)
tree1913f0b369ead3f2ea5557e5649d8281eca9871c /vid-app-common/src/test/resources/getTopology/vnf.json
parent76c6ee4a697617ec4cdee2f3b48bc83136c858c5 (diff)
Implant vid-app-common org.onap.vid.job (main and test)
Issue-ID: VID-378 Change-Id: I41b0bdc2c4e3635f3f3319b1cd63cefc61912dfc Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/test/resources/getTopology/vnf.json')
-rw-r--r--vid-app-common/src/test/resources/getTopology/vnf.json160
1 files changed, 160 insertions, 0 deletions
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"
+ }
+ ]
+ }
+ ]
+ }
+}