Update AAI plugin to fetch service profile
[optf/has.git] / conductor / conductor / tests / unit / data / plugins / inventory_provider / nsi_response.json
1 {
2   "service-instance": [
3   {
4     "service-instance-id": "4115d3c8-dd59-45d6-b09d-e756dee9b518",
5     "service-instance-name": "nsi_test_0211",
6     "service-type": "embb",
7     "service-role": "nsi",
8     "service-function": "shared",
9     "model-invariant-id": "51e57d4b-52ad-4d3c-a798-248b5bb9124a",
10     "model-version-id": "67ea363e-e39c-4bd9-a9d5-1371c28f4d22",
11     "resource-version": "1581418601616",
12     "orchestration-status": "active",
13     "relationship-list": {
14     "relationship": [{
15       "related-to": "network-route",
16       "relationship-label": "org.onap.relationships.inventory.ComposedOf",
17       "related-link": "/aai/v21/network/network-routes/network-route/c0c55aa0-1a03-4851-8b1d-7a01bc5a1e76",
18       "relationship-data": [{
19         "relationship-key": "network-route.route-id",
20         "relationship-value": "c0c55aa0-1a03-4851-8b1d-7a01bc5a1e76"
21       }]
22     }, {
23       "related-to": "service-instance",
24       "relationship-label": "org.onap.relationships.inventory.ComposedOf",
25       "related-link": "/aai/v21/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/aa5f4179-e42a-47d4-8f83-9fa1766ad51a",
26       "relationship-data": [{
27         "relationship-key": "customer.global-customer-id",
28         "relationship-value": "5GCustomer"
29       }, {
30         "relationship-key": "service-subscription.service-type",
31         "relationship-value": "5G"
32       }, {
33         "relationship-key": "service-instance.service-instance-id",
34         "relationship-value": "aa5f4179-e42a-47d4-8f83-9fa1766ad51a"
35       }],
36       "related-to-property": [{
37         "property-key": "service-instance.service-instance-name",
38         "property-value": "ns_smf_nsst_0302_b49301c0-0964-420c-99ee-acc47a93da70"
39       }]
40     }, {
41       "related-to": "allotted-resource",
42       "relationship-label": "org.onap.relationships.inventory.Uses",
43       "related-link": "/aai/v21/business/customers/customer/5GCustomer/service-subscriptions/service-subscription/5G/service-instances/service-instance/1c7046f2-a5a3-4d7f-9da8-388ee641a795/allotted-resources/allotted-resource/462e46c2-cd84-45e4-a6c1-77f4ef88328d",
44       "relationship-data": [{
45         "relationship-key": "customer.global-customer-id",
46         "relationship-value": "5GCustomer"
47       }, {
48         "relationship-key": "service-subscription.service-type",
49         "relationship-value": "5G"
50       }, {
51         "relationship-key": "service-instance.service-instance-id",
52         "relationship-value": "1c7046f2-a5a3-4d7f-9da8-388ee641a795"
53       }, {
54         "relationship-key": "allotted-resource.id",
55         "relationship-value": "462e46c2-cd84-45e4-a6c1-77f4ef88328d"
56       }],
57       "related-to-property": [{
58         "property-key": "allotted-resource.description"
59       }, {
60         "property-key": "allotted-resource.allotted-resource-name",
61         "property-value": "serviceProfile_ar_1812"
62       }]
63     }]
64   }
65 }]}