Merge "add junit coverage for SvnfmService"
[so.git] / mso-api-handlers / mso-api-handler-infra / src / test / resources / __files / infra / Vnf.json
1 {
2         "vnf-id": "829924cc-8932-4875-b0af-d7a02799da9a",
3         "vnf-name": "Robot_VNF_For_Volume_Group",
4         "vnf-type": "Vf zrdm5bpxmc02092017-Service/Vf zrdm5bpxmc02092017-VF 0",
5         "service-id": "06f76284-8710-11e6-ae22-56b6b6499611",
6         "prov-status": "PREPROV",
7         "orchestration-status": "Active",
8         "in-maint": false,
9         "is-closed-loop-disabled": false,
10         "resource-version": "1560538316260",
11         "model-invariant-id": "23122c9b-dd7f-483f-bf0a-e069303db2f7",
12         "model-version-id": "d326f424-2312-4dd6-b7fe-364fadbd1ef5",
13         "model-customization-id": "96c23a4a-6887-4b2c-9cce-1e4ea35eaade",
14         "selflink": "/sim/restconf/config/GENERIC-RESOURCE-API:services/service/e9fbfab4-d91c-4508-a429-2046c8751371/service-data/vnfs/vnf/829924cc-8932-4875-b0af-d7a02799da9a/vnf-data/vnf-topology/",
15         "relationship-list": {
16                 "relationship": [
17                         {
18                                 "related-to": "service-instance",
19                                 "relationship-label": "org.onap.relationships.inventory.ComposedOf",
20                                 "related-link": "/aai/v15/business/customers/customer/Robot_Test_Subscriber_ID/service-subscriptions/service-subscription/Robot_Test_Service_Type/service-instances/service-instance/e9fbfab4-d91c-4508-a429-2046c8751371",
21                                 "relationship-data": [
22                                         {
23                                                 "relationship-key": "customer.global-customer-id",
24                                                 "relationship-value": "Robot_Test_Subscriber_ID"
25                                         },
26                                         {
27                                                 "relationship-key": "service-subscription.service-type",
28                                                 "relationship-value": "Robot_Test_Service_Type"
29                                         },
30                                         {
31                                                 "relationship-key": "service-instance.service-instance-id",
32                                                 "relationship-value": "e9fbfab4-d91c-4508-a429-2046c8751371"
33                                         }
34                                 ],
35                                 "related-to-property": [
36                                         {
37                                                 "property-key": "service-instance.service-instance-name",
38                                                 "property-value": "Robot_SI_For_VolumeGroup"
39                                         }
40                                 ]
41                         },
42                         {
43                                 "related-to": "platform",
44                                 "relationship-label": "org.onap.relationships.inventory.Uses",
45                                 "related-link": "/aai/v15/business/platforms/platform/vSAMP12_14-2XXX-Aug18-9001%20-%20Platform",
46                                 "relationship-data": [
47                                         {
48                                                 "relationship-key": "platform.platform-name",
49                                                 "relationship-value": "vSAMP12_14-2XXX-Aug18-9001 - Platform"
50                                         }
51                                 ]
52                         },
53                         {
54                                 "related-to": "line-of-business",
55                                 "relationship-label": "org.onap.relationships.inventory.Uses",
56                                 "related-link": "/aai/v15/business/lines-of-business/line-of-business/vSAMP12_14-2XXX-Aug18-9001%20-%20LOB",
57                                 "relationship-data": [
58                                         {
59                                                 "relationship-key": "line-of-business.line-of-business-name",
60                                                 "relationship-value": "vSAMP12_14-2XXX-Aug18-9001 - LOB"
61                                         }
62                                 ]
63                         },
64                         {
65                                 "related-to": "tenant",
66                                 "relationship-label": "org.onap.relationships.inventory.BelongsTo",
67                                 "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/cloudOwner/regionOne/tenants/tenant/0422ffb57ba042c0800a29dc85ca70f8",
68                                 "relationship-data": [
69                                         {
70                                                 "relationship-key": "cloud-region.cloud-owner",
71                                                 "relationship-value": "cloudOwner"
72                                         },
73                                         {
74                                                 "relationship-key": "cloud-region.cloud-region-id",
75                                                 "relationship-value": "regionOne"
76                                         },
77                                         {
78                                                 "relationship-key": "tenant.tenant-id",
79                                                 "relationship-value": "0422ffb57ba042c0800a29dc85ca70f8"
80                                         }
81                                 ],
82                                 "related-to-property": [
83                                         {
84                                                 "property-key": "tenant.tenant-name",
85                                                 "property-value": "tenantName"
86                                         }
87                                 ]
88                         },
89                         {
90                                 "related-to": "volume-group",
91                                 "relationship-label": "org.onap.relationships.inventory.DependsOn",
92                                 "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/cloudOwner/regionOne/volume-groups/volume-group/volumeGroupId",
93                                 "relationship-data": [
94                                         {
95                                                 "relationship-key": "cloud-region.cloud-owner",
96                                                 "relationship-value": "cloudOwner"
97                                         },
98                                         {
99                                                 "relationship-key": "cloud-region.cloud-region-id",
100                                                 "relationship-value": "regionOne"
101                                         },
102                                         {
103                                                 "relationship-key": "volume-group.volume-group-id",
104                                                 "relationship-value": "volumeGroupId"
105                                         }
106                                 ]
107                         },
108                         {
109                                 "related-to": "cloud-region",
110                                 "relationship-label": "org.onap.relationships.inventory.LocatedIn",
111                                 "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/cloudOwner/regionOne",
112                                 "relationship-data": [
113                                         {
114                                                 "relationship-key": "cloud-region.cloud-owner",
115                                                 "relationship-value": "cloudOwner"
116                                         },
117                                         {
118                                                 "relationship-key": "cloud-region.cloud-region-id",
119                                                 "relationship-value": "regionOne"
120                                         }
121                                 ],
122                                 "related-to-property": [
123                                         {
124                                                 "property-key": "cloud-region.owner-defined-type",
125                                                 "property-value": "LCP"
126                                         }
127                                 ]
128                         }
129                 ]
130         }
131 }