2 "id": "9fdda929.817f18",
4 "name": "execute: flatAndAddToContext",
5 "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
11 "wires": [["d2011202.234fc",
15 "id": "4b5f0d0b.654314",
22 "wires": [["e8f79554.affab8"]]
25 "id": "e8f79554.affab8",
26 "type": "service-logic",
27 "name": "Appc-API 2.0.0.0",
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'>",
36 "wires": [["32140628.22792a"]]
39 "id": "32140628.22792a",
41 "name": "VSCP_HealthCheck",
42 "xml": "<method rpc='VSCP_HealthCheck' mode='sync'>\n",
48 "wires": [["9fdda929.817f18"]]
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",
56 "x": 1841.5189590454102,
57 "y": 328.46160793304443,
62 "id": "af383d0c.3970d",
63 "type": "returnSuccess",
64 "name": "return success",
65 "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
67 "x": 1262.7498168945312,
68 "y": 586.0000305175781,
73 "id": "3ccf5e6c.e15652",
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",
79 "x": 1499.2882461547852,
80 "y": 327.61541652679443,
82 "wires": [["de153cb7.0f1db"]]
85 "id": "fb5b14.140314f",
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",
91 "x": 857.7498779296875,
92 "y": 427.0000305175781,
94 "wires": [["94a1a9e3.305a48",
98 "id": "cb8b27ea.275788",
101 "xml": "<outcome value='Other'>\n",
104 "x": 1097.7498474121094,
105 "y": 427.0000305175781,
106 "z": "d59c8e6f.e6d1",
107 "wires": [["f82f2d66.fbc2d"]]
110 "id": "725be398.327c2c",
113 "xml": "<set>\n<parameter name='error-message' value='Failed to retrieve SSH credentials' />\n",
115 "x": 1427.7497940063477,
116 "y": 242.00006008148193,
117 "z": "d59c8e6f.e6d1",
121 "id": "94a1a9e3.305a48",
124 "xml": "<outcome value='success'>\n",
127 "x": 1105.7498168945312,
128 "y": 471.0000305175781,
129 "z": "d59c8e6f.e6d1",
130 "wires": [["bcfe699a.fbac68"]]
133 "id": "7e68246c.ade0ec",
136 "xml": "<outcome value='Other'>\n",
139 "x": 1100.7498168945312,
140 "y": 542.0000305175781,
141 "z": "d59c8e6f.e6d1",
142 "wires": [["cdb71eae.de0b6"]]
145 "id": "1fb23591.978aca",
148 "xml": "<outcome value='success'>\n",
151 "x": 1101.7498168945312,
152 "y": 587.0000305175781,
153 "z": "d59c8e6f.e6d1",
154 "wires": [["af383d0c.3970d"]]
157 "id": "93204e17.d82ec",
160 "xml": "<set>\n<parameter name='error-message' value='SSH command execution failure' />\n",
162 "x": 1427.4420547485352,
163 "y": 284.0001211166382,
164 "z": "d59c8e6f.e6d1",
168 "id": "bcfe699a.fbac68",
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`\" />",
174 "x": 940.7498474121094,
175 "y": 543.0000305175781,
176 "z": "d59c8e6f.e6d1",
177 "wires": [["7e68246c.ade0ec",
181 "id": "f82f2d66.fbc2d",
188 "x": 1233.9805603027344,
189 "y": 425.8462219238281,
190 "z": "d59c8e6f.e6d1",
191 "wires": [["725be398.327c2c",
195 "id": "cdb71eae.de0b6",
202 "x": 1229.2882080078125,
203 "y": 542.615478515625,
204 "z": "d59c8e6f.e6d1",
205 "wires": [["93204e17.d82ec",
209 "id": "d2011202.234fc",
212 "xml": "<outcome value='success'>\n",
215 "x": 566.7498779296875,
217 "z": "d59c8e6f.e6d1",
218 "wires": [["32c2c94.c91df36"]]
221 "id": "f4646626.6d10f8",
224 "xml": "<outcome value='Other'>\n",
227 "x": 561.7498779296875,
229 "z": "d59c8e6f.e6d1",
230 "wires": [["3ccf5e6c.e15652"]]
233 "id": "d8b9aa6d.465a98",
236 "xml": "<outcome value='success'>\n",
239 "x": 758.083251953125,
240 "y": 343.66668701171875,
241 "z": "d59c8e6f.e6d1",
242 "wires": [["fb5b14.140314f"]]
245 "id": "a3588880.9675d8",
248 "xml": "<outcome value='Other'>\n",
251 "x": 747.083251953125,
252 "y": 298.6667175292969,
253 "z": "d59c8e6f.e6d1",
254 "wires": [["3ccf5e6c.e15652"]]
257 "id": "32c2c94.c91df36",
259 "name": "block : atomic",
260 "xml": "<block atomic='true'>",
264 "x": 313.0832824707031,
265 "y": 264.666748046875,
266 "z": "d59c8e6f.e6d1",
267 "wires": [["643ff002.2addb",
271 "id": "643ff002.2addb",
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",
276 "x": 495.083251953125,
277 "y": 273.666748046875,
278 "z": "d59c8e6f.e6d1",
282 "id": "ec1d66f4.142a18",
284 "name": "execute: getVNFData",
285 "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
288 "x": 534.0831298828125,
289 "y": 327.6667785644531,
290 "z": "d59c8e6f.e6d1",
291 "wires": [["a3588880.9675d8",
295 "id": "de153cb7.0f1db",
298 "xml": "<outcome value='success'>\n",
301 "x": 1698.7500381469727,
302 "y": 328.9999990463257,
303 "z": "d59c8e6f.e6d1",
304 "wires": [["581fe014.8acd7"]]