Platform Hardening for DG Json files - Part 1
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / Appc-API_2.0.0.0_method_VSCP_SoftwareUpload.json
1 [\r
2     {\r
3         "id": "64f09cfb.65f934",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 123.75,\r
8         "y": 96,\r
9         "z": "c82a79e8.e87b78",\r
10         "wires": [\r
11             [\r
12                 "89378c24.7257"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "89378c24.7257",\r
18         "type": "service-logic",\r
19         "name": "Appc-API 2.0.0.0",\r
20         "module": "Appc-API",\r
21         "version": "2.0.0.0",\r
22         "comments": "",\r
23         "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'>",\r
24         "outputs": 1,\r
25         "x": 289.75000381469727,\r
26         "y": 97.00000762939453,\r
27         "z": "c82a79e8.e87b78",\r
28         "wires": [\r
29             [\r
30                 "ba19fcdd.41804"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "ba19fcdd.41804",\r
36         "type": "method",\r
37         "name": "VSCP_SoftwareUpload",\r
38         "xml": "<method rpc='VSCP_SoftwareUpload' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 340.75000381469727,\r
42         "y": 151.9999771118164,\r
43         "z": "c82a79e8.e87b78",\r
44         "wires": [\r
45             [\r
46                 "5ec41e43.b3427"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "d64712c6.1e102",\r
52         "type": "returnFailure",\r
53         "name": "return failure",\r
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'/>",\r
55         "comments": "",\r
56         "x": 2084.75,\r
57         "y": 330.0001220703125,\r
58         "z": "c82a79e8.e87b78",\r
59         "wires": []\r
60     },\r
61     {\r
62         "id": "c7104b30.9f8748",\r
63         "type": "returnSuccess",\r
64         "name": "return success",\r
65         "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",\r
66         "comments": "",\r
67         "x": 2017.749912261963,\r
68         "y": 678.000129699707,\r
69         "z": "c82a79e8.e87b78",\r
70         "wires": []\r
71     },\r
72     {\r
73         "id": "1d1d05aa.1712aa",\r
74         "type": "execute",\r
75         "name": "execute: handleErrorToDCAE",\r
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",\r
77         "comments": "",\r
78         "outputs": 1,\r
79         "x": 1722.749942779541,\r
80         "y": 332.00012969970703,\r
81         "z": "c82a79e8.e87b78",\r
82         "wires": [\r
83             [\r
84                 "a7d06ef5.ab8e1"\r
85             ]\r
86         ]\r
87     },\r
88     {\r
89         "id": "457ba9cf.7006a8",\r
90         "type": "execute",\r
91         "name": "execute: retrieveConnectionDetails",\r
92         "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n",\r
93         "comments": "",\r
94         "outputs": 1,\r
95         "x": 1236.7498512268066,\r
96         "y": 667.0001831054688,\r
97         "z": "c82a79e8.e87b78",\r
98         "wires": [\r
99             [\r
100                 "c5cf7972.aa19a8",\r
101                 "3fd4e7ce.48fc38"\r
102             ]\r
103         ]\r
104     },\r
105     {\r
106         "id": "3fd4e7ce.48fc38",\r
107         "type": "other",\r
108         "name": "other",\r
109         "xml": "<outcome value='Other'>\n",\r
110         "comments": "",\r
111         "outputs": 1,\r
112         "x": 1524.7498512268066,\r
113         "y": 655.0001373291016,\r
114         "z": "c82a79e8.e87b78",\r
115         "wires": [\r
116             [\r
117                 "1d1d05aa.1712aa"\r
118             ]\r
119         ]\r
120     },\r
121     {\r
122         "id": "c5cf7972.aa19a8",\r
123         "type": "success",\r
124         "name": "success",\r
125         "xml": "<outcome value='success'>\n",\r
126         "comments": "",\r
127         "outputs": 1,\r
128         "x": 1537.7498512268066,\r
129         "y": 702.0001373291016,\r
130         "z": "c82a79e8.e87b78",\r
131         "wires": [\r
132             [\r
133                 "6a8d06b2.533f18"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "92a57ed9.e2bc2",\r
139         "type": "other",\r
140         "name": "other",\r
141         "xml": "<outcome value='Other'>\n",\r
142         "comments": "",\r
143         "outputs": 1,\r
144         "x": 1845.749912261963,\r
145         "y": 636.000129699707,\r
146         "z": "c82a79e8.e87b78",\r
147         "wires": [\r
148             [\r
149                 "1d1d05aa.1712aa"\r
150             ]\r
151         ]\r
152     },\r
153     {\r
154         "id": "9c548b9d.bbb638",\r
155         "type": "success",\r
156         "name": "success",\r
157         "xml": "<outcome value='success'>\n",\r
158         "comments": "",\r
159         "outputs": 1,\r
160         "x": 1852.749912261963,\r
161         "y": 678.000129699707,\r
162         "z": "c82a79e8.e87b78",\r
163         "wires": [\r
164             [\r
165                 "c7104b30.9f8748"\r
166             ]\r
167         ]\r
168     },\r
169     {\r
170         "id": "6a8d06b2.533f18",\r
171         "type": "execute",\r
172         "name": "executeUpload",\r
173         "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeUpload'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"source-file-url\" value=\"`$source-file-url`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />",\r
174         "comments": "",\r
175         "outputs": 1,\r
176         "x": 1714.7499732971191,\r
177         "y": 666.0001373291016,\r
178         "z": "c82a79e8.e87b78",\r
179         "wires": [\r
180             [\r
181                 "92a57ed9.e2bc2",\r
182                 "9c548b9d.bbb638"\r
183             ]\r
184         ]\r
185     },\r
186     {\r
187         "id": "4ad2faef.9c5264",\r
188         "type": "call",\r
189         "name": "call_VSCP_UpgradePreconditionCheck",\r
190         "xml": "<call rpc='VSCP_UpgradePreconditionCheck' mode='sync' version='2.0.0.0' >\n",\r
191         "comments": "",\r
192         "outputs": 1,\r
193         "x": 759.749942779541,\r
194         "y": 423.0000991821289,\r
195         "z": "c82a79e8.e87b78",\r
196         "wires": [\r
197             [\r
198                 "5788fb68.1d3114",\r
199                 "5289eab5.3ed8d4"\r
200             ]\r
201         ]\r
202     },\r
203     {\r
204         "id": "5788fb68.1d3114",\r
205         "type": "other",\r
206         "name": "other",\r
207         "xml": "<outcome value='Other'>\n",\r
208         "comments": "",\r
209         "outputs": 1,\r
210         "x": 983.749942779541,\r
211         "y": 403.0000991821289,\r
212         "z": "c82a79e8.e87b78",\r
213         "wires": [\r
214             [\r
215                 "1d1d05aa.1712aa"\r
216             ]\r
217         ]\r
218     },\r
219     {\r
220         "id": "5289eab5.3ed8d4",\r
221         "type": "success",\r
222         "name": "success",\r
223         "xml": "<outcome value='success'>\n",\r
224         "comments": "",\r
225         "outputs": 1,\r
226         "x": 989.749942779541,\r
227         "y": 456.0000991821289,\r
228         "z": "c82a79e8.e87b78",\r
229         "wires": [\r
230             [\r
231                 "e9d1e289.2189c"\r
232             ]\r
233         ]\r
234     },\r
235     {\r
236         "id": "5ec41e43.b3427",\r
237         "type": "execute",\r
238         "name": "execute: flatAndAddToContext",\r
239         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
240         "comments": "",\r
241         "outputs": 1,\r
242         "x": 418.74997329711914,\r
243         "y": 201.9999771118164,\r
244         "z": "c82a79e8.e87b78",\r
245         "wires": [\r
246             [\r
247                 "ecbcc2c5.a3e3",\r
248                 "315df407.1e37bc"\r
249             ]\r
250         ]\r
251     },\r
252     {\r
253         "id": "315df407.1e37bc",\r
254         "type": "success",\r
255         "name": "success",\r
256         "xml": "<outcome value='success'>\n",\r
257         "comments": "",\r
258         "outputs": 1,\r
259         "x": 642.7498207092285,\r
260         "y": 224.00000762939453,\r
261         "z": "c82a79e8.e87b78",\r
262         "wires": [\r
263             [\r
264                 "8a0677d8.02aee8"\r
265             ]\r
266         ]\r
267     },\r
268     {\r
269         "id": "ecbcc2c5.a3e3",\r
270         "type": "other",\r
271         "name": "other",\r
272         "xml": "<outcome value='Other'>\n",\r
273         "comments": "",\r
274         "outputs": 1,\r
275         "x": 635.749942779541,\r
276         "y": 174.00000762939453,\r
277         "z": "c82a79e8.e87b78",\r
278         "wires": [\r
279             [\r
280                 "1d1d05aa.1712aa"\r
281             ]\r
282         ]\r
283     },\r
284     {\r
285         "id": "f6093e6d.21ba",\r
286         "type": "success",\r
287         "name": "success",\r
288         "xml": "<outcome value='success'>\n",\r
289         "comments": "",\r
290         "outputs": 1,\r
291         "x": 798.7499122619629,\r
292         "y": 362.0000228881836,\r
293         "z": "c82a79e8.e87b78",\r
294         "wires": [\r
295             [\r
296                 "4ad2faef.9c5264"\r
297             ]\r
298         ]\r
299     },\r
300     {\r
301         "id": "5757eca4.d4a414",\r
302         "type": "other",\r
303         "name": "other",\r
304         "xml": "<outcome value='Other'>\n",\r
305         "comments": "",\r
306         "outputs": 1,\r
307         "x": 801.7499122619629,\r
308         "y": 310.00003814697266,\r
309         "z": "c82a79e8.e87b78",\r
310         "wires": [\r
311             [\r
312                 "1d1d05aa.1712aa"\r
313             ]\r
314         ]\r
315     },\r
316     {\r
317         "id": "8a0677d8.02aee8",\r
318         "type": "block",\r
319         "name": "block : atomic",\r
320         "xml": "<block atomic='true'>",\r
321         "atomic": "true",\r
322         "comments": "",\r
323         "outputs": 1,\r
324         "x": 474.74997329711914,\r
325         "y": 271.00003814697266,\r
326         "z": "c82a79e8.e87b78",\r
327         "wires": [\r
328             [\r
329                 "54f1eab.e4bcc14",\r
330                 "a7c355e0.0616b8"\r
331             ]\r
332         ]\r
333     },\r
334     {\r
335         "id": "54f1eab.e4bcc14",\r
336         "type": "set",\r
337         "name": "set",\r
338         "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",\r
339         "comments": "",\r
340         "x": 640.749942779541,\r
341         "y": 271.0000686645508,\r
342         "z": "c82a79e8.e87b78",\r
343         "wires": []\r
344     },\r
345     {\r
346         "id": "a7c355e0.0616b8",\r
347         "type": "execute",\r
348         "name": "execute: getVNFData",\r
349         "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
350         "comments": "",\r
351         "outputs": 1,\r
352         "x": 595.7499580383301,\r
353         "y": 338.0000915527344,\r
354         "z": "c82a79e8.e87b78",\r
355         "wires": [\r
356             [\r
357                 "5757eca4.d4a414",\r
358                 "f6093e6d.21ba"\r
359             ]\r
360         ]\r
361     },\r
362     {\r
363         "id": "e9d1e289.2189c",\r
364         "type": "execute",\r
365         "name": "execute: retrieveConnectionDetails",\r
366         "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",\r
367         "comments": "",\r
368         "outputs": 1,\r
369         "x": 1190.0832710266113,\r
370         "y": 558.0001220703125,\r
371         "z": "c82a79e8.e87b78",\r
372         "wires": [\r
373             [\r
374                 "98e434ab.bc9368",\r
375                 "c4bcc02d.c078d"\r
376             ]\r
377         ]\r
378     },\r
379     {\r
380         "id": "98e434ab.bc9368",\r
381         "type": "other",\r
382         "name": "other",\r
383         "xml": "<outcome value='Other'>\n",\r
384         "comments": "",\r
385         "outputs": 1,\r
386         "x": 1425.749942779541,\r
387         "y": 519.0000381469727,\r
388         "z": "c82a79e8.e87b78",\r
389         "wires": [\r
390             [\r
391                 "1d1d05aa.1712aa"\r
392             ]\r
393         ]\r
394     },\r
395     {\r
396         "id": "c4bcc02d.c078d",\r
397         "type": "success",\r
398         "name": "success",\r
399         "xml": "<outcome value='success'>\n",\r
400         "comments": "",\r
401         "outputs": 1,\r
402         "x": 1428.7498817443848,\r
403         "y": 574.0000991821289,\r
404         "z": "c82a79e8.e87b78",\r
405         "wires": [\r
406             [\r
407                 "457ba9cf.7006a8"\r
408             ]\r
409         ]\r
410     },\r
411     {\r
412         "id": "a7d06ef5.ab8e1",\r
413         "type": "success",\r
414         "name": "success",\r
415         "xml": "<outcome value='success'>\n",\r
416         "comments": "",\r
417         "outputs": 1,\r
418         "x": 1932.75,\r
419         "y": 331,\r
420         "z": "c82a79e8.e87b78",\r
421         "wires": [\r
422             [\r
423                 "d64712c6.1e102"\r
424             ]\r
425         ]\r
426     }\r
427 ]\r