summaryrefslogtreecommitdiffstats
path: root/src/test/resources/mappings/aai_get_tenants.json
blob: 2dda86e52293708a79a2753de7af6ece7b3d0f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
    "request": {
        "method": "GET",
        "url": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants"
    },
    "response": {
        "status": 200,
        "jsonBody": {

    "tenant": [
        {
            "tenant-id": "31047205ce114b60833b23e400d6a535",
            "tenant-name": "onap-vnfs",
            "resource-version": "1516022902124",
            "relationship-list": {
                "relationship": [
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/OPL-User/service-subscriptions/service-subscription/OPL_FWtest1_service_type",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "OPL-User"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "OPL_FWtest1_service_type"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/NewFreeRadius-service",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "Sina"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "NewFreeRadius-service"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/vMRFaaS3",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "Sina"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "vMRFaaS3"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/FreeRadius-service",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "Sina"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "FreeRadius-service"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/6401/service-subscriptions/service-subscription/vFW-service-model",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "6401"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "vFW-service-model"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/vFW-service-model",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "Sina"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "vFW-service-model"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/6404/service-subscriptions/service-subscription/vFW-service-model",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "6404"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "vFW-service-model"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/6405/service-subscriptions/service-subscription/vFW-service-model",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "6405"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "vFW-service-model"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/6406/service-subscriptions/service-subscription/vFW-service-model",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "6406"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "vFW-service-model"
                            }
                        ]
                    },
                    {
                        "related-to": "service-subscription",
                        "related-link": "/aai/v11/business/customers/customer/Sina/service-subscriptions/service-subscription/serviceFRDBS",
                        "relationship-data": [
                            {
                                "relationship-key": "customer.global-customer-id",
                                "relationship-value": "Sina"
                            },
                            {
                                "relationship-key": "service-subscription.service-type",
                                "relationship-value": "serviceFRDBS"
                            }
                        ]
                    }
                ]
            }
        }
    ]

        },
        "headers": {
            "Content-Type": "application/json"
        }
    }
}