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": "9fdda929.817f18",
24 "name": "execute: flatAndAddToContext",
25 "xml": "<execute plugin='org.openecomp.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
31 "wires": [["d2011202.234fc",
35 "id": "4b5f0d0b.654314",
42 "wires": [["e8f79554.affab8"]]
45 "id": "e8f79554.affab8",
46 "type": "service-logic",
47 "name": "Appc-API 2.0.0.0",
51 "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'>",
56 "wires": [["32140628.22792a"]]
59 "id": "32140628.22792a",
61 "name": "VSCP_HealthCheck",
62 "xml": "<method rpc='VSCP_HealthCheck' mode='sync'>\n",
68 "wires": [["9fdda929.817f18"]]
71 "id": "581fe014.8acd7",
72 "type": "returnFailure",
73 "name": "return failure",
74 "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",
76 "x": 1841.5189590454102,
77 "y": 328.46160793304443,
82 "id": "af383d0c.3970d",
83 "type": "returnSuccess",
84 "name": "return success",
85 "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
87 "x": 1262.7498168945312,
88 "y": 586.0000305175781,
93 "id": "3ccf5e6c.e15652",
95 "name": "execute: handleErrorToDCAE",
96 "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",
99 "x": 1499.2882461547852,
100 "y": 327.61541652679443,
101 "z": "d59c8e6f.e6d1",
102 "wires": [["de153cb7.0f1db"]]
105 "id": "fb5b14.140314f",
107 "name": "execute: retrieveConnectionDetails",
108 "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",
111 "x": 857.7498779296875,
112 "y": 427.0000305175781,
113 "z": "d59c8e6f.e6d1",
114 "wires": [["94a1a9e3.305a48",
118 "id": "cb8b27ea.275788",
121 "xml": "<outcome value='Other'>\n",
124 "x": 1097.7498474121094,
125 "y": 427.0000305175781,
126 "z": "d59c8e6f.e6d1",
127 "wires": [["f82f2d66.fbc2d"]]
130 "id": "725be398.327c2c",
133 "xml": "<set>\n<parameter name='error-message' value='Failed to retrieve SSH credentials' />\n",
135 "x": 1427.7497940063477,
136 "y": 242.00006008148193,
137 "z": "d59c8e6f.e6d1",
141 "id": "94a1a9e3.305a48",
144 "xml": "<outcome value='success'>\n",
147 "x": 1105.7498168945312,
148 "y": 471.0000305175781,
149 "z": "d59c8e6f.e6d1",
150 "wires": [["bcfe699a.fbac68"]]
153 "id": "7e68246c.ade0ec",
156 "xml": "<outcome value='Other'>\n",
159 "x": 1100.7498168945312,
160 "y": 542.0000305175781,
161 "z": "d59c8e6f.e6d1",
162 "wires": [["cdb71eae.de0b6"]]
165 "id": "1fb23591.978aca",
168 "xml": "<outcome value='success'>\n",
171 "x": 1101.7498168945312,
172 "y": 587.0000305175781,
173 "z": "d59c8e6f.e6d1",
174 "wires": [["af383d0c.3970d"]]
177 "id": "93204e17.d82ec",
180 "xml": "<set>\n<parameter name='error-message' value='SSH command execution failure' />\n",
182 "x": 1427.4420547485352,
183 "y": 284.0001211166382,
184 "z": "d59c8e6f.e6d1",
188 "id": "bcfe699a.fbac68",
190 "name": "executeTest",
191 "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeTest'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />",
194 "x": 940.7498474121094,
195 "y": 543.0000305175781,
196 "z": "d59c8e6f.e6d1",
197 "wires": [["7e68246c.ade0ec",
201 "id": "f82f2d66.fbc2d",
208 "x": 1233.9805603027344,
209 "y": 425.8462219238281,
210 "z": "d59c8e6f.e6d1",
211 "wires": [["725be398.327c2c",
215 "id": "cdb71eae.de0b6",
222 "x": 1229.2882080078125,
223 "y": 542.615478515625,
224 "z": "d59c8e6f.e6d1",
225 "wires": [["93204e17.d82ec",
229 "id": "d2011202.234fc",
232 "xml": "<outcome value='success'>\n",
235 "x": 566.7498779296875,
237 "z": "d59c8e6f.e6d1",
238 "wires": [["32c2c94.c91df36"]]
241 "id": "f4646626.6d10f8",
244 "xml": "<outcome value='Other'>\n",
247 "x": 561.7498779296875,
249 "z": "d59c8e6f.e6d1",
250 "wires": [["3ccf5e6c.e15652"]]
253 "id": "d8b9aa6d.465a98",
256 "xml": "<outcome value='success'>\n",
259 "x": 758.083251953125,
260 "y": 343.66668701171875,
261 "z": "d59c8e6f.e6d1",
262 "wires": [["fb5b14.140314f"]]
265 "id": "a3588880.9675d8",
268 "xml": "<outcome value='Other'>\n",
271 "x": 747.083251953125,
272 "y": 298.6667175292969,
273 "z": "d59c8e6f.e6d1",
274 "wires": [["3ccf5e6c.e15652"]]
277 "id": "32c2c94.c91df36",
279 "name": "block : atomic",
280 "xml": "<block atomic='true'>",
284 "x": 313.0832824707031,
285 "y": 264.666748046875,
286 "z": "d59c8e6f.e6d1",
287 "wires": [["643ff002.2addb",
291 "id": "643ff002.2addb",
294 "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",
296 "x": 495.083251953125,
297 "y": 273.666748046875,
298 "z": "d59c8e6f.e6d1",
302 "id": "ec1d66f4.142a18",
304 "name": "execute: getVNFData",
305 "xml": "<execute plugin='org.openecomp.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
308 "x": 534.0831298828125,
309 "y": 327.6667785644531,
310 "z": "d59c8e6f.e6d1",
311 "wires": [["a3588880.9675d8",
315 "id": "de153cb7.0f1db",
318 "xml": "<outcome value='success'>\n",
321 "x": 1698.7500381469727,
322 "y": 328.9999990463257,
323 "z": "d59c8e6f.e6d1",
324 "wires": [["581fe014.8acd7"]]