Update version of node base image
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / Appc-API_2.0.0.0_method_VSCP_HealthCheck.json
1 [{
2     "id": "9fdda929.817f18",
3     "type": "execute",
4     "name": "execute: flatAndAddToContext",
5     "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
6     "comments": "",
7     "outputs": 1,
8     "x": 335.75,
9     "y": 198,
10     "z": "d59c8e6f.e6d1",
11     "wires": [["d2011202.234fc",
12         "f4646626.6d10f8"]]
13 },
14     {
15         "id": "4b5f0d0b.654314",
16         "type": "dgstart",
17         "name": "DGSTART",
18         "outputs": 1,
19         "x": 93.75,
20         "y": 49,
21         "z": "d59c8e6f.e6d1",
22         "wires": [["e8f79554.affab8"]]
23     },
24     {
25         "id": "e8f79554.affab8",
26         "type": "service-logic",
27         "name": "Appc-API 2.0.0.0",
28         "module": "Appc-API",
29         "version": "2.0.0.0",
30         "comments": "",
31         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
32         "outputs": 1,
33         "x": 192.75,
34         "y": 98,
35         "z": "d59c8e6f.e6d1",
36         "wires": [["32140628.22792a"]]
37     },
38     {
39         "id": "32140628.22792a",
40         "type": "method",
41         "name": "VSCP_HealthCheck",
42         "xml": "<method rpc='VSCP_HealthCheck' mode='sync'>\n",
43         "comments": "",
44         "outputs": 1,
45         "x": 269.75,
46         "y": 146,
47         "z": "d59c8e6f.e6d1",
48         "wires": [["9fdda929.817f18"]]
49     },
50     {
51         "id": "581fe014.8acd7",
52         "type": "returnFailure",
53         "name": "return failure",
54         "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n",
55         "comments": "",
56         "x": 1841.5189590454102,
57         "y": 328.46160793304443,
58         "z": "d59c8e6f.e6d1",
59         "wires": []
60     },
61     {
62         "id": "af383d0c.3970d",
63         "type": "returnSuccess",
64         "name": "return success",
65         "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
66         "comments": "",
67         "x": 1262.7498168945312,
68         "y": 586.0000305175781,
69         "z": "d59c8e6f.e6d1",
70         "wires": []
71     },
72     {
73         "id": "3ccf5e6c.e15652",
74         "type": "execute",
75         "name": "execute: handleErrorToDCAE",
76         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
77         "comments": "",
78         "outputs": 1,
79         "x": 1499.2882461547852,
80         "y": 327.61541652679443,
81         "z": "d59c8e6f.e6d1",
82         "wires": [["de153cb7.0f1db"]]
83     },
84     {
85         "id": "fb5b14.140314f",
86         "type": "execute",
87         "name": "execute: retrieveConnectionDetails",
88         "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n",
89         "comments": "",
90         "outputs": 1,
91         "x": 857.7498779296875,
92         "y": 427.0000305175781,
93         "z": "d59c8e6f.e6d1",
94         "wires": [["94a1a9e3.305a48",
95             "cb8b27ea.275788"]]
96     },
97     {
98         "id": "cb8b27ea.275788",
99         "type": "other",
100         "name": "other",
101         "xml": "<outcome value='Other'>\n",
102         "comments": "",
103         "outputs": 1,
104         "x": 1097.7498474121094,
105         "y": 427.0000305175781,
106         "z": "d59c8e6f.e6d1",
107         "wires": [["f82f2d66.fbc2d"]]
108     },
109     {
110         "id": "725be398.327c2c",
111         "type": "set",
112         "name": "set",
113         "xml": "<set>\n<parameter name='error-message' value='Failed to retrieve SSH credentials' />\n",
114         "comments": "",
115         "x": 1427.7497940063477,
116         "y": 242.00006008148193,
117         "z": "d59c8e6f.e6d1",
118         "wires": []
119     },
120     {
121         "id": "94a1a9e3.305a48",
122         "type": "success",
123         "name": "success",
124         "xml": "<outcome value='success'>\n",
125         "comments": "",
126         "outputs": 1,
127         "x": 1105.7498168945312,
128         "y": 471.0000305175781,
129         "z": "d59c8e6f.e6d1",
130         "wires": [["bcfe699a.fbac68"]]
131     },
132     {
133         "id": "7e68246c.ade0ec",
134         "type": "other",
135         "name": "other",
136         "xml": "<outcome value='Other'>\n",
137         "comments": "",
138         "outputs": 1,
139         "x": 1100.7498168945312,
140         "y": 542.0000305175781,
141         "z": "d59c8e6f.e6d1",
142         "wires": [["cdb71eae.de0b6"]]
143     },
144     {
145         "id": "1fb23591.978aca",
146         "type": "success",
147         "name": "success",
148         "xml": "<outcome value='success'>\n",
149         "comments": "",
150         "outputs": 1,
151         "x": 1101.7498168945312,
152         "y": 587.0000305175781,
153         "z": "d59c8e6f.e6d1",
154         "wires": [["af383d0c.3970d"]]
155     },
156     {
157         "id": "93204e17.d82ec",
158         "type": "set",
159         "name": "set",
160         "xml": "<set>\n<parameter name='error-message' value='SSH command execution failure' />\n",
161         "comments": "",
162         "x": 1427.4420547485352,
163         "y": 284.0001211166382,
164         "z": "d59c8e6f.e6d1",
165         "wires": []
166     },
167     {
168         "id": "bcfe699a.fbac68",
169         "type": "execute",
170         "name": "executeTest",
171         "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeTest'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />",
172         "comments": "",
173         "outputs": 1,
174         "x": 940.7498474121094,
175         "y": 543.0000305175781,
176         "z": "d59c8e6f.e6d1",
177         "wires": [["7e68246c.ade0ec",
178             "1fb23591.978aca"]]
179     },
180     {
181         "id": "f82f2d66.fbc2d",
182         "type": "block",
183         "name": "block",
184         "xml": "<block>\n",
185         "atomic": "false",
186         "comments": "",
187         "outputs": 1,
188         "x": 1233.9805603027344,
189         "y": 425.8462219238281,
190         "z": "d59c8e6f.e6d1",
191         "wires": [["725be398.327c2c",
192             "3ccf5e6c.e15652"]]
193     },
194     {
195         "id": "cdb71eae.de0b6",
196         "type": "block",
197         "name": "block",
198         "xml": "<block>\n",
199         "atomic": "false",
200         "comments": "",
201         "outputs": 1,
202         "x": 1229.2882080078125,
203         "y": 542.615478515625,
204         "z": "d59c8e6f.e6d1",
205         "wires": [["93204e17.d82ec",
206             "3ccf5e6c.e15652"]]
207     },
208     {
209         "id": "d2011202.234fc",
210         "type": "success",
211         "name": "success",
212         "xml": "<outcome value='success'>\n",
213         "comments": "",
214         "outputs": 1,
215         "x": 566.7498779296875,
216         "y": 217,
217         "z": "d59c8e6f.e6d1",
218         "wires": [["32c2c94.c91df36"]]
219     },
220     {
221         "id": "f4646626.6d10f8",
222         "type": "other",
223         "name": "other",
224         "xml": "<outcome value='Other'>\n",
225         "comments": "",
226         "outputs": 1,
227         "x": 561.7498779296875,
228         "y": 171,
229         "z": "d59c8e6f.e6d1",
230         "wires": [["3ccf5e6c.e15652"]]
231     },
232     {
233         "id": "d8b9aa6d.465a98",
234         "type": "success",
235         "name": "success",
236         "xml": "<outcome value='success'>\n",
237         "comments": "",
238         "outputs": 1,
239         "x": 758.083251953125,
240         "y": 343.66668701171875,
241         "z": "d59c8e6f.e6d1",
242         "wires": [["fb5b14.140314f"]]
243     },
244     {
245         "id": "a3588880.9675d8",
246         "type": "other",
247         "name": "other",
248         "xml": "<outcome value='Other'>\n",
249         "comments": "",
250         "outputs": 1,
251         "x": 747.083251953125,
252         "y": 298.6667175292969,
253         "z": "d59c8e6f.e6d1",
254         "wires": [["3ccf5e6c.e15652"]]
255     },
256     {
257         "id": "32c2c94.c91df36",
258         "type": "block",
259         "name": "block : atomic",
260         "xml": "<block atomic='true'>",
261         "atomic": "true",
262         "comments": "",
263         "outputs": 1,
264         "x": 313.0832824707031,
265         "y": 264.666748046875,
266         "z": "d59c8e6f.e6d1",
267         "wires": [["643ff002.2addb",
268             "ec1d66f4.142a18"]]
269     },
270     {
271         "id": "643ff002.2addb",
272         "type": "set",
273         "name": "set",
274         "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",
275         "comments": "",
276         "x": 495.083251953125,
277         "y": 273.666748046875,
278         "z": "d59c8e6f.e6d1",
279         "wires": []
280     },
281     {
282         "id": "ec1d66f4.142a18",
283         "type": "execute",
284         "name": "execute: getVNFData",
285         "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
286         "comments": "",
287         "outputs": 1,
288         "x": 534.0831298828125,
289         "y": 327.6667785644531,
290         "z": "d59c8e6f.e6d1",
291         "wires": [["a3588880.9675d8",
292             "d8b9aa6d.465a98"]]
293     },
294     {
295         "id": "de153cb7.0f1db",
296         "type": "success",
297         "name": "success",
298         "xml": "<outcome value='success'>\n",
299         "comments": "",
300         "outputs": 1,
301         "x": 1698.7500381469727,
302         "y": 328.9999990463257,
303         "z": "d59c8e6f.e6d1",
304         "wires": [["581fe014.8acd7"]]
305     }]