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