7c33979bf5a996c2699673be09816467006252f3
[externalapi/nbi.git] / src / test / resources / mappings / aai_get_service-subscription_vnf.json
1 {
2   "request": {
3     "method": "GET",
4     "url": "/aai/v11/network/generic-vnfs/generic-vnf/cb80fbb6-9aa7-4ac5-9541-e14f45de533e"
5   },
6   "response": {
7     "status": 200,
8     "jsonBody": {
9       "vnf-id": "cb80fbb6-9aa7-4ac5-9541-e14f45de533e",
10       "vnf-name": "NewFreeRadius-VNF-instance-01",
11       "vnf-type": "NewFreeRadius-service/New-FreeRadius 0",
12       "service-id": "709d157b-52fb-4250-976e-7133dff5c347",
13       "prov-status": "PREPROV",
14       "orchestration-status": "Created",
15       "in-maint": false,
16       "is-closed-loop-disabled": false,
17       "resource-version": "1516871905399",
18       "model-invariant-id": "f5993703-977f-4346-a1c9-c1884f8cfd8d",
19       "model-version-id": "902438f7-1e4c-492d-b7cc-8650e13b8aeb",
20       "model-customization-id": "a2def5c8-ab15-482b-a2cd-2af0b987300f",
21       "nf-type": "",
22       "nf-function": "",
23       "nf-role": "",
24       "nf-naming-code": "",
25       "relationship-list": {
26         "relationship": [
27           {
28             "related-to": "service-instance",
29             "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/NewFreeRadius-service/service-instances/service-instance/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb",
30             "relationship-data": [
31               {
32                 "relationship-key": "customer.global-customer-id",
33                 "relationship-value": "Sina"
34               },
35               {
36                 "relationship-key": "service-subscription.service-type",
37                 "relationship-value": "NewFreeRadius-service"
38               },
39               {
40                 "relationship-key": "service-instance.service-instance-id",
41                 "relationship-value": "e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"
42               }
43             ],
44             "related-to-property": [
45               {
46                 "property-key": "service-instance.service-instance-name",
47                 "property-value": "NewFreeRadius-service-instance-01"
48               }
49             ]
50           }
51         ]
52       }
53     },
54     "headers": {
55       "Content-Type": "application/json"
56     }
57   }
58 }