2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
22 "id": "64f09cfb.65f934",
28 "z": "c82a79e8.e87b78",
29 "wires": [["89378c24.7257"]]
32 "id": "89378c24.7257",
33 "type": "service-logic",
34 "name": "Appc-API 2.0.0.0",
38 "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
40 "x": 289.75000381469727,
41 "y": 97.00000762939453,
42 "z": "c82a79e8.e87b78",
43 "wires": [["ba19fcdd.41804"]]
46 "id": "ba19fcdd.41804",
48 "name": "VSCP_SoftwareUpload",
49 "xml": "<method rpc='VSCP_SoftwareUpload' mode='sync'>\n",
52 "x": 340.75000381469727,
53 "y": 151.9999771118164,
54 "z": "c82a79e8.e87b78",
55 "wires": [["5ec41e43.b3427"]]
58 "id": "d64712c6.1e102",
59 "type": "returnFailure",
60 "name": "return failure",
61 "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'/>",
64 "y": 330.0001220703125,
65 "z": "c82a79e8.e87b78",
69 "id": "c7104b30.9f8748",
70 "type": "returnSuccess",
71 "name": "return success",
72 "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
74 "x": 2017.749912261963,
75 "y": 678.000129699707,
76 "z": "c82a79e8.e87b78",
80 "id": "1d1d05aa.1712aa",
82 "name": "execute: handleErrorToDCAE",
83 "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"`$org.openecomp.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
86 "x": 1722.749942779541,
87 "y": 332.00012969970703,
88 "z": "c82a79e8.e87b78",
89 "wires": [["a7d06ef5.ab8e1"]]
92 "id": "457ba9cf.7006a8",
94 "name": "execute: retrieveConnectionDetails",
95 "xml": "<execute plugin='org.openecomp.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n",
98 "x": 1236.7498512268066,
99 "y": 667.0001831054688,
100 "z": "c82a79e8.e87b78",
101 "wires": [["c5cf7972.aa19a8",
105 "id": "3fd4e7ce.48fc38",
108 "xml": "<outcome value='Other'>\n",
111 "x": 1524.7498512268066,
112 "y": 655.0001373291016,
113 "z": "c82a79e8.e87b78",
114 "wires": [["1d1d05aa.1712aa"]]
117 "id": "c5cf7972.aa19a8",
120 "xml": "<outcome value='success'>\n",
123 "x": 1537.7498512268066,
124 "y": 702.0001373291016,
125 "z": "c82a79e8.e87b78",
126 "wires": [["6a8d06b2.533f18"]]
129 "id": "92a57ed9.e2bc2",
132 "xml": "<outcome value='Other'>\n",
135 "x": 1845.749912261963,
136 "y": 636.000129699707,
137 "z": "c82a79e8.e87b78",
138 "wires": [["1d1d05aa.1712aa"]]
141 "id": "9c548b9d.bbb638",
144 "xml": "<outcome value='success'>\n",
147 "x": 1852.749912261963,
148 "y": 678.000129699707,
149 "z": "c82a79e8.e87b78",
150 "wires": [["c7104b30.9f8748"]]
153 "id": "6a8d06b2.533f18",
155 "name": "executeUpload",
156 "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`\" />",
159 "x": 1714.7499732971191,
160 "y": 666.0001373291016,
161 "z": "c82a79e8.e87b78",
162 "wires": [["92a57ed9.e2bc2",
166 "id": "4ad2faef.9c5264",
168 "name": "call_VSCP_UpgradePreconditionCheck",
169 "xml": "<call rpc='VSCP_UpgradePreconditionCheck' mode='sync' version='2.0.0.0' >\n",
172 "x": 759.749942779541,
173 "y": 423.0000991821289,
174 "z": "c82a79e8.e87b78",
175 "wires": [["5788fb68.1d3114",
179 "id": "5788fb68.1d3114",
182 "xml": "<outcome value='Other'>\n",
185 "x": 983.749942779541,
186 "y": 403.0000991821289,
187 "z": "c82a79e8.e87b78",
188 "wires": [["1d1d05aa.1712aa"]]
191 "id": "5289eab5.3ed8d4",
194 "xml": "<outcome value='success'>\n",
197 "x": 989.749942779541,
198 "y": 456.0000991821289,
199 "z": "c82a79e8.e87b78",
200 "wires": [["e9d1e289.2189c"]]
203 "id": "5ec41e43.b3427",
205 "name": "execute: flatAndAddToContext",
206 "xml": "<execute plugin='org.openecomp.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
209 "x": 418.74997329711914,
210 "y": 201.9999771118164,
211 "z": "c82a79e8.e87b78",
212 "wires": [["ecbcc2c5.a3e3",
216 "id": "315df407.1e37bc",
219 "xml": "<outcome value='success'>\n",
222 "x": 642.7498207092285,
223 "y": 224.00000762939453,
224 "z": "c82a79e8.e87b78",
225 "wires": [["8a0677d8.02aee8"]]
228 "id": "ecbcc2c5.a3e3",
231 "xml": "<outcome value='Other'>\n",
234 "x": 635.749942779541,
235 "y": 174.00000762939453,
236 "z": "c82a79e8.e87b78",
237 "wires": [["1d1d05aa.1712aa"]]
240 "id": "f6093e6d.21ba",
243 "xml": "<outcome value='success'>\n",
246 "x": 798.7499122619629,
247 "y": 362.0000228881836,
248 "z": "c82a79e8.e87b78",
249 "wires": [["4ad2faef.9c5264"]]
252 "id": "5757eca4.d4a414",
255 "xml": "<outcome value='Other'>\n",
258 "x": 801.7499122619629,
259 "y": 310.00003814697266,
260 "z": "c82a79e8.e87b78",
261 "wires": [["1d1d05aa.1712aa"]]
264 "id": "8a0677d8.02aee8",
266 "name": "block : atomic",
267 "xml": "<block atomic='true'>",
271 "x": 474.74997329711914,
272 "y": 271.00003814697266,
273 "z": "c82a79e8.e87b78",
274 "wires": [["54f1eab.e4bcc14",
278 "id": "54f1eab.e4bcc14",
281 "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",
283 "x": 640.749942779541,
284 "y": 271.0000686645508,
285 "z": "c82a79e8.e87b78",
289 "id": "a7c355e0.0616b8",
291 "name": "execute: getVNFData",
292 "xml": "<execute plugin='org.openecomp.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
295 "x": 595.7499580383301,
296 "y": 338.0000915527344,
297 "z": "c82a79e8.e87b78",
298 "wires": [["5757eca4.d4a414",
302 "id": "e9d1e289.2189c",
304 "name": "execute: retrieveConnectionDetails",
305 "xml": "<execute plugin='org.openecomp.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",
308 "x": 1190.0832710266113,
309 "y": 558.0001220703125,
310 "z": "c82a79e8.e87b78",
311 "wires": [["98e434ab.bc9368",
315 "id": "98e434ab.bc9368",
318 "xml": "<outcome value='Other'>\n",
321 "x": 1425.749942779541,
322 "y": 519.0000381469727,
323 "z": "c82a79e8.e87b78",
324 "wires": [["1d1d05aa.1712aa"]]
327 "id": "c4bcc02d.c078d",
330 "xml": "<outcome value='success'>\n",
333 "x": 1428.7498817443848,
334 "y": 574.0000991821289,
335 "z": "c82a79e8.e87b78",
336 "wires": [["457ba9cf.7006a8"]]
339 "id": "a7d06ef5.ab8e1",
342 "xml": "<outcome value='success'>\n",
347 "z": "c82a79e8.e87b78",
348 "wires": [["d64712c6.1e102"]]