regression unit test for getServicesByOwningEntityId
[vid.git] / vid-app-common / src / test / resources / responses / aai / listServicesByOwningEntity.json
1 {
2   "owning-entity": [
3     {
4       "owning-entity-id": "43b8a85a-0421-4265-9069-117dd6526b8a",
5       "owning-entity-name": "Melissa",
6       "resource-version": "1527418700853",
7       "relationship-list": {
8         "relationship": [
9           {
10             "related-to": "service-instance",
11             "relationship-label": "org.onap.relationships.inventory.BelongsTo",
12             "related-link": "/aai/v12/business/customers/customer/256cddb4-3aa1-43cc-a08f-315bb50b275e/service-subscriptions/service-subscription/MSO-dev-service-type/service-instances/service-instance/af9d52f9-13b2-4657-a198-463677f82dc0",
13             "relationship-data": [
14               {
15                 "relationship-key": "customer.global-customer-id",
16                 "relationship-value": "256cddb4-3aa1-43cc-a08f-315bb50b275e"
17               },
18               {
19                 "relationship-key": "service-subscription.service-type",
20                 "relationship-value": "MSO-dev-service-type"
21               },
22               {
23                 "relationship-key": "service-instance.service-instance-id",
24                 "relationship-value": "af9d52f9-13b2-4657-a198-463677f82dc0"
25               }
26             ],
27             "related-to-property": [
28               {
29                 "property-key": "service-instance.service-instance-name",
30                 "property-value": "xbghrftgr_shani"
31               }
32             ]
33           },
34           {
35             "related-to": "service-instance",
36             "relationship-label": "org.onap.relationships.inventory.BelongsTo",
37             "related-link": "/aai/v12/business/customers/customer/e02fd6f2-7fc2-434b-a92d-15abdb24b68d/service-subscriptions/service-subscription/JUST-another-service-type/service-instances/service-instance/49769492-5def-4c89-8e73-b236f958fa40",
38             "relationship-data": [
39               {
40                 "relationship-key": "customer.global-customer-id",
41                 "relationship-value": "e02fd6f2-7fc2-434b-a92d-15abdb24b68d"
42               },
43               {
44                 "relationship-key": "service-subscription.service-type",
45                 "relationship-value": "JUST-another-service-type"
46               },
47               {
48                 "relationship-key": "service-instance.service-instance-id",
49                 "relationship-value": "49769492-5def-4c89-8e73-b236f958fa40"
50               }
51             ],
52             "related-to-property": [
53               {
54                 "property-key": "service-instance.service-instance-name",
55                 "property-value": "fghghfhgf"
56               }
57             ]
58           }
59         ]
60       }
61     },
62     {
63       "owning-entity-id": "26dcc4aa-725a-447d-8346-aa26dfaa4eb7",
64       "owning-entity-name": "Kobe",
65       "resource-version": "1527418700844",
66       "relationship-list": {
67         "relationship": [
68           {
69             "related-to": "service-instance",
70             "relationship-label": "org.onap.relationships.inventory.BelongsTo",
71             "related-link": "/aai/v12/business/customers/customer/256cddb4-3aa1-43cc-a08f-315bb50b275e/service-subscriptions/service-subscription/MSO-dev-service-type/service-instances/service-instance/1d8fd482-2f53-4d62-a7bd-20e4bab14c45",
72             "relationship-data": [
73               {
74                 "relationship-key": "customer.global-customer-id",
75                 "relationship-value": "256cddb4-3aa1-43cc-a08f-315bb50b275e"
76               },
77               {
78                 "relationship-key": "service-subscription.service-type",
79                 "relationship-value": "MSO-dev-service-type"
80               },
81               {
82                 "relationship-key": "service-instance.service-instance-id",
83                 "relationship-value": "1d8fd482-2f53-4d62-a7bd-20e4bab14c45"
84               }
85             ],
86             "related-to-property": [
87               {
88                 "property-key": "service-instance.service-instance-name",
89                 "property-value": "Bryant"
90               }
91             ]
92           }
93         ]
94       }
95     }
96   ]
97 }