Reduce log output
[externalapi/nbi.git] / src / test / resources / mappings / aai_get_tenants.json
1 {
2     "request": {
3         "method": "GET",
4         "url": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants"
5     },
6     "response": {
7         "status": 200,
8         "jsonBody": {
9
10     "tenant": [
11         {
12             "tenant-id": "31047205ce114b60833b23e400d6a535",
13             "tenant-name": "onap-vnfs",
14             "resource-version": "1516022902124",
15             "relationship-list": {
16                 "relationship": [
17                     {
18                         "related-to": "service-subscription",
19                         "related-link": "/aai/v11/business/customers/customer/OPL-User/service-subscriptions/service-subscription/OPL_FWtest1_service_type",
20                         "relationship-data": [
21                             {
22                                 "relationship-key": "customer.global-customer-id",
23                                 "relationship-value": "OPL-User"
24                             },
25                             {
26                                 "relationship-key": "service-subscription.service-type",
27                                 "relationship-value": "OPL_FWtest1_service_type"
28                             }
29                         ]
30                     },
31                     {
32                         "related-to": "service-subscription",
33                         "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/NewFreeRadius-service",
34                         "relationship-data": [
35                             {
36                                 "relationship-key": "customer.global-customer-id",
37                                 "relationship-value": "Sina"
38                             },
39                             {
40                                 "relationship-key": "service-subscription.service-type",
41                                 "relationship-value": "NewFreeRadius-service"
42                             }
43                         ]
44                     },
45                     {
46                         "related-to": "service-subscription",
47                         "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/vMRFaaS3",
48                         "relationship-data": [
49                             {
50                                 "relationship-key": "customer.global-customer-id",
51                                 "relationship-value": "Sina"
52                             },
53                             {
54                                 "relationship-key": "service-subscription.service-type",
55                                 "relationship-value": "vMRFaaS3"
56                             }
57                         ]
58                     },
59                     {
60                         "related-to": "service-subscription",
61                         "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/FreeRadius-service",
62                         "relationship-data": [
63                             {
64                                 "relationship-key": "customer.global-customer-id",
65                                 "relationship-value": "Sina"
66                             },
67                             {
68                                 "relationship-key": "service-subscription.service-type",
69                                 "relationship-value": "FreeRadius-service"
70                             }
71                         ]
72                     },
73                     {
74                         "related-to": "service-subscription",
75                         "related-link": "/aai/v11/business/customers/customer/6401/service-subscriptions/service-subscription/vFW-service-model",
76                         "relationship-data": [
77                             {
78                                 "relationship-key": "customer.global-customer-id",
79                                 "relationship-value": "6401"
80                             },
81                             {
82                                 "relationship-key": "service-subscription.service-type",
83                                 "relationship-value": "vFW-service-model"
84                             }
85                         ]
86                     },
87                     {
88                         "related-to": "service-subscription",
89                         "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/vFW-service-model",
90                         "relationship-data": [
91                             {
92                                 "relationship-key": "customer.global-customer-id",
93                                 "relationship-value": "Sina"
94                             },
95                             {
96                                 "relationship-key": "service-subscription.service-type",
97                                 "relationship-value": "vFW-service-model"
98                             }
99                         ]
100                     },
101                     {
102                         "related-to": "service-subscription",
103                         "related-link": "/aai/v11/business/customers/customer/6404/service-subscriptions/service-subscription/vFW-service-model",
104                         "relationship-data": [
105                             {
106                                 "relationship-key": "customer.global-customer-id",
107                                 "relationship-value": "6404"
108                             },
109                             {
110                                 "relationship-key": "service-subscription.service-type",
111                                 "relationship-value": "vFW-service-model"
112                             }
113                         ]
114                     },
115                     {
116                         "related-to": "service-subscription",
117                         "related-link": "/aai/v11/business/customers/customer/6405/service-subscriptions/service-subscription/vFW-service-model",
118                         "relationship-data": [
119                             {
120                                 "relationship-key": "customer.global-customer-id",
121                                 "relationship-value": "6405"
122                             },
123                             {
124                                 "relationship-key": "service-subscription.service-type",
125                                 "relationship-value": "vFW-service-model"
126                             }
127                         ]
128                     },
129                     {
130                         "related-to": "service-subscription",
131                         "related-link": "/aai/v11/business/customers/customer/6406/service-subscriptions/service-subscription/vFW-service-model",
132                         "relationship-data": [
133                             {
134                                 "relationship-key": "customer.global-customer-id",
135                                 "relationship-value": "6406"
136                             },
137                             {
138                                 "relationship-key": "service-subscription.service-type",
139                                 "relationship-value": "vFW-service-model"
140                             }
141                         ]
142                     },
143                     {
144                         "related-to": "service-subscription",
145                         "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/serviceFRDBS",
146                         "relationship-data": [
147                             {
148                                 "relationship-key": "customer.global-customer-id",
149                                 "relationship-value": "Sina"
150                             },
151                             {
152                                 "relationship-key": "service-subscription.service-type",
153                                 "relationship-value": "serviceFRDBS"
154                             }
155                         ]
156                     }
157                 ]
158             }
159         }
160     ]
161
162         },
163         "headers": {
164             "Content-Type": "application/json"
165         }
166     }
167 }