773b91b9bd290be7c098078fe2367b8c09347c42
[holmes/common.git] / holmes-actions / src / test / resources / ccvpn.data.json
1 {
2   "resource-version": "1536316872154",
3   "logic-link": {
4     "p-interface": {
5       "interface-name": "{ifName}",
6       "network-ref": "some ref",
7       "transparent": "some value",
8       "operational-status ": "{status}",
9       "speed-value": "some speed",
10       "relationship-list": {
11         "relationship": [
12           {
13             "related-to": "logical-link",
14             "related-link": "url of logical-link",
15             "relationship-data": [
16               {
17                 "relationship-key": "logical-link.link-name",
18                 "relationship-value": "logic-link-1"
19               }
20             ]
21           }
22         ]
23       }
24     }
25   },
26   "vpn-binding": {
27     "p-interface": {
28       "interface-name": "{ifName}",
29       "network-ref": "some ref",
30       "transparent": "some value",
31       "operational-status ": "{status}",
32       "speed-value": "some speed",
33       "relationship-list": {
34         "relationship": [
35           {
36             "related-to": "vpn-binding",
37             "related-link": "url of vpn-binding",
38             "relationship-data": [
39               {
40                 "relationship-key": "vpn-binding.vpn-id",
41                 "relationship-value": "some id"
42               }
43             ]
44           }
45         ]
46       }
47     }
48   },
49   "connectivity": {
50     "vpn-binding": {
51       "vpn-id": "{vpnId}",
52       "vpn-name": "some name",
53       "access-provider-id": "provider id",
54       "access-client-id": "client id",
55       "access-topology-id": "topology id",
56       "src-access-node-id": "src node id",
57       "src-access-ltp-id": "src ltp id",
58       "dst-access-node-id": "dst node id",
59       "dst-access-ltp-id": "dst ltp id",
60       "operational-status": "some status",
61       "relationship-list": {
62         "relationship": [
63           {
64             "related-to": "connectivity",
65             "related-link": "url of connectivity",
66             "relationship-data": [
67               {
68                 "relationship-key": "connectivity.connectivity-id",
69                 "relationship-value": "some id"
70               }
71             ]
72           }
73         ]
74       }
75     }
76   },
77   "service-instance-by-connectivity": {
78     "connectivity": {
79       "connectivity-id": "{connectivityId}",
80       "bandwidth-profile-name": "some profile",
81       "vpn-type": "some type",
82       "cir": "cir value",
83       "eir": "eir value",
84       "cbs": "cbs value",
85       "ebs": "ebs value",
86       "color-aware": "color value",
87       "coupling-flag": "flag value",
88       "etht-svc-name": "some name",
89       "access-provider-id": "provider id",
90       "access-client-id": "client id",
91       "access-topology-id": "topology id",
92       "access-node-id": "node id",
93       "access-ltp-id": "ltp id",
94       "connectivity-selflink": "some URL",
95       "cvlan ": "some tag",
96       "operational-status": "some status",
97       "relationship-list": {
98         "relationship": [
99           {
100             "related-to": "service-instance",
101             "related-link": "/aai/v14/business/customers/customer/e151059a-d924-4629-845f-264db19e50b4/service-subscriptions/service-subscription/volte/service-instances?service-instance-id=service-1",
102             "relationship-data": [
103               {
104                 "relationship-key": "service-instance.service-instance-id",
105                 "relationship-value": "some id"
106               }
107             ]
108           }
109         ]
110       }
111     }
112   },
113   "service-instances-by-service-type": {
114     "results": [
115       {
116         "service-subscription": {
117           "service-type": "volte",
118           "temp-ub-sub-account-id": "some sub account",
119           "service-instances": {
120             "service-instance": [
121               {
122                 "service-instance-id": "some id 1",
123                 "service-instance-name": "some name 1",
124                 "environment-context": "some context 1",
125                 "workload-context": "some workload 1",
126                 "relationship-list": {
127                   "relationship": [
128                   ]
129                 }
130               },
131               {
132                 "service-instance-id": "some id 2",
133                 "service-instance-name": "some name 2",
134                 "environment-context": "some context 2",
135                 "workload-context": "some workload 2",
136                 "relationship-list": {
137                   "relationship": [
138                   ]
139                 }
140               },
141               {
142                 "service-instance-id": "some id 3",
143                 "service-instance-name": "some name 3",
144                 "environment-context": "some context 3",
145                 "workload-context": "some workload 3",
146                 "relationship-list": {
147                   "relationship": [
148                   ]
149                 }
150               }
151             ]
152           },
153           "relationship-list": {
154             "relationship": [
155             ]
156           }
157         }
158       }
159     ]
160   },
161   "service-instance": {
162     "service-instance-id": "176d9eba-1662-4289-8396-0097b50fd485",
163     "service-type": "E2E Service",
164     "service-role": "E2E Service",
165     "model-invariant-id": "c22a9483-d2b6-49cc-b1f7-ef34c93572a1",
166     "model-version-id": "71d0e396-e246-4c23-aa57-6da2043d6209",
167     "input-parameters": "This is the service instance recreation input looked up by CL.",
168     "resource-version": "1528975017336",
169     "relationship-list": {
170       "relationship": [
171         {
172           "related-to": "pnf",
173           "related-link": "/aai/v11/network/pnfs/pnf/MME-0001",
174           "relationship-data": [
175             {
176               "relationship-key": "pnf.pnf-id",
177               "relationship-value": "176d9eba-1662-4289-8396-0097b50fd466"
178             }
179           ],
180           "related-to-property": [
181             {
182               "property-key": "pnf.pnf-name",
183               "property-value": "MME-0001"
184             }
185           ]
186         }
187       ]
188     }
189   }
190 }