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_LiveUpgrade.json
1 [{
2     "id": "e30b7047.c8c7b",
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": 473.75,
9     "y": 315,
10     "z": "822325c1.dd7df8",
11     "wires": [["32e6aaee.9b6a36",
12         "e32b0726.3df2c8"]]
13 },
14     {
15         "id": "32e6aaee.9b6a36",
16         "type": "success",
17         "name": "success",
18         "xml": "<outcome value='success'>\n",
19         "comments": "",
20         "outputs": 1,
21         "x": 693.7499694824219,
22         "y": 349,
23         "z": "822325c1.dd7df8",
24         "wires": [["83239337.5a415"]]
25     },
26     {
27         "id": "e32b0726.3df2c8",
28         "type": "other",
29         "name": "other",
30         "xml": "<outcome value='Other'>\n",
31         "comments": "",
32         "outputs": 1,
33         "x": 682.7499694824219,
34         "y": 301,
35         "z": "822325c1.dd7df8",
36         "wires": [["52e82bf7.a1e6b4"]]
37     },
38     {
39         "id": "eb520291.dd81f",
40         "type": "dgstart",
41         "name": "DGSTART",
42         "outputs": 1,
43         "x": 178.75,
44         "y": 140,
45         "z": "822325c1.dd7df8",
46         "wires": [["7d65d4d5.ab461c"]]
47     },
48     {
49         "id": "7d65d4d5.ab461c",
50         "type": "service-logic",
51         "name": "Appc-API 2.0.0.0",
52         "module": "Appc-API",
53         "version": "2.0.0.0",
54         "comments": "",
55         "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'>",
56         "outputs": 1,
57         "x": 284.75,
58         "y": 197,
59         "z": "822325c1.dd7df8",
60         "wires": [["37c9d8bc.8d9b88"]]
61     },
62     {
63         "id": "37c9d8bc.8d9b88",
64         "type": "method",
65         "name": "VSCP_LiveUpgrade",
66         "xml": "<method rpc='VSCP_LiveUpgrade' mode='sync'>\n",
67         "comments": "",
68         "outputs": 1,
69         "x": 375.75,
70         "y": 258.99999237060547,
71         "z": "822325c1.dd7df8",
72         "wires": [["e30b7047.c8c7b"]]
73     },
74     {
75         "id": "804247b9.b06658",
76         "type": "returnSuccess",
77         "name": "return success",
78         "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"success in Upgrade\" />\n",
79         "comments": "",
80         "x": 1280.1944198608398,
81         "y": 766.6666898727417,
82         "z": "822325c1.dd7df8",
83         "wires": []
84     },
85     {
86         "id": "52e82bf7.a1e6b4",
87         "type": "execute",
88         "name": "execute: handleErrorToDCAE",
89         "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=\"`$org.onap.appc.dg.error`\" />\n",
90         "comments": "",
91         "outputs": 1,
92         "x": 1100.638900756836,
93         "y": 327.9999599456787,
94         "z": "822325c1.dd7df8",
95         "wires": [["83a57cf0.ab1d9"]]
96     },
97     {
98         "id": "d4e3b7fe.4d6b28",
99         "type": "returnFailure",
100         "name": "return failure",
101         "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n",
102         "comments": "",
103         "x": 1452.41650390625,
104         "y": 328.44439697265625,
105         "z": "822325c1.dd7df8",
106         "wires": []
107     },
108     {
109         "id": "6711af89.05acc",
110         "type": "execute",
111         "name": "execute: liveUpgrade",
112         "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='liveUpgrade' >\n<parameter name=\"upgrade-version\" value=\"`$upgrade-version`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"Skip-execution-installer-bin-file\" value=\"`$Skip-execution-installer-bin-file`\" />\n<parameter name=\"Skip-deploy\" value=\"`$Skip-deploy`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />\n\n\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 919.5277938842773,
116         "y": 716.8888883590698,
117         "z": "822325c1.dd7df8",
118         "wires": [["c3be342b.05c078",
119             "174e8a05.944846"]]
120     },
121     {
122         "id": "174e8a05.944846",
123         "type": "other",
124         "name": "other",
125         "xml": "<outcome value='Other'>\n",
126         "comments": "",
127         "outputs": 1,
128         "x": 1108.1944198608398,
129         "y": 716.6666593551636,
130         "z": "822325c1.dd7df8",
131         "wires": [["52e82bf7.a1e6b4"]]
132     },
133     {
134         "id": "c3be342b.05c078",
135         "type": "success",
136         "name": "success",
137         "xml": "<outcome value='success'>\n",
138         "comments": "",
139         "outputs": 1,
140         "x": 1113.1944198608398,
141         "y": 767.6666898727417,
142         "z": "822325c1.dd7df8",
143         "wires": [["804247b9.b06658"]]
144     },
145     {
146         "id": "9e7f2be9.363dc8",
147         "type": "execute",
148         "name": "execute: retrieveConnectionDetails",
149         "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",
150         "comments": "",
151         "outputs": 1,
152         "x": 828.0833129882812,
153         "y": 606.222282409668,
154         "z": "822325c1.dd7df8",
155         "wires": [["beb31231.140ba",
156             "e66ec871.d79678"]]
157     },
158     {
159         "id": "beb31231.140ba",
160         "type": "other",
161         "name": "other",
162         "xml": "<outcome value='Other'>\n",
163         "comments": "",
164         "outputs": 1,
165         "x": 1043.75,
166         "y": 583.0000228881836,
167         "z": "822325c1.dd7df8",
168         "wires": [["52e82bf7.a1e6b4"]]
169     },
170     {
171         "id": "e66ec871.d79678",
172         "type": "success",
173         "name": "success",
174         "xml": "<outcome value='success'>\n",
175         "comments": "",
176         "outputs": 1,
177         "x": 1044.9722862243652,
178         "y": 632.2222585678101,
179         "z": "822325c1.dd7df8",
180         "wires": [["6711af89.05acc"]]
181     },
182     {
183         "id": "36c1a02b.a44c5",
184         "type": "success",
185         "name": "success",
186         "xml": "<outcome value='success'>\n",
187         "comments": "",
188         "outputs": 1,
189         "x": 856.7499694824219,
190         "y": 515,
191         "z": "822325c1.dd7df8",
192         "wires": [["9e7f2be9.363dc8"]]
193     },
194     {
195         "id": "ae425047.deb98",
196         "type": "other",
197         "name": "other",
198         "xml": "<outcome value='Other'>\n",
199         "comments": "",
200         "outputs": 1,
201         "x": 859.7499694824219,
202         "y": 463.00001525878906,
203         "z": "822325c1.dd7df8",
204         "wires": [["52e82bf7.a1e6b4"]]
205     },
206     {
207         "id": "83239337.5a415",
208         "type": "block",
209         "name": "block : atomic",
210         "xml": "<block atomic='true'>",
211         "atomic": "true",
212         "comments": "",
213         "outputs": 1,
214         "x": 532.7500305175781,
215         "y": 424.00001525878906,
216         "z": "822325c1.dd7df8",
217         "wires": [["130fd187.c9cb5e",
218             "2cd2b34d.4a7c9c"]]
219     },
220     {
221         "id": "130fd187.c9cb5e",
222         "type": "set",
223         "name": "set",
224         "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",
225         "comments": "",
226         "x": 698.75,
227         "y": 424.0000228881836,
228         "z": "822325c1.dd7df8",
229         "wires": []
230     },
231     {
232         "id": "2cd2b34d.4a7c9c",
233         "type": "execute",
234         "name": "execute: getVNFData",
235         "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
236         "comments": "",
237         "outputs": 1,
238         "x": 653.7500152587891,
239         "y": 491.0000686645508,
240         "z": "822325c1.dd7df8",
241         "wires": [["ae425047.deb98",
242             "36c1a02b.a44c5"]]
243     },
244     {
245         "id": "83a57cf0.ab1d9",
246         "type": "success",
247         "name": "success",
248         "xml": "<outcome value='success'>\n",
249         "comments": "",
250         "outputs": 1,
251         "x": 1299.75,
252         "y": 328,
253         "z": "822325c1.dd7df8",
254         "wires": [["d4e3b7fe.4d6b28"]]
255     }]