5 "name": "method GetTemplateConfig_Ansible",
6 "xml": "<method rpc='GetTemplateConfig_Ansible' mode='sync'>\n",
9 "x": 524.6905136108398,
10 "y": 54.78571152687073,
11 "z": "c635d405.112438",
19 "id": "3d83a335.a950bc",
23 "x": 107.28571319580078,
24 "y": 79.57142734527588,
25 "z": "c635d405.112438",
33 "id": "9a8e0176.09715",
34 "type": "service-logic",
39 "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' version='4.0.0'>",
41 "x": 261.1428680419922,
42 "y": 51.428571939468384,
43 "z": "c635d405.112438",
51 "id": "831c9f31.a8932",
53 "name": "execute getTemplate",
54 "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
57 "x": 355.64298248291016,
58 "y": 266.821546792984,
59 "z": "c635d405.112438",
69 "id": "a16f990d.bfbc08",
71 "name": "block : atomic",
72 "xml": "<block atomic=\"true\">",
76 "x": 92.14287948608398,
77 "y": 289.78575253486633,
78 "z": "c635d405.112438",
88 "id": "708b7296.ea5c5c",
91 "xml": "<outcome value='found'>\n",
94 "x": 1081.5715522766113,
95 "y": 395.75001072883606,
96 "z": "c635d405.112438",
104 "id": "996ddcaa.b670e",
107 "xml": "<outcome value='not-found'>\n",
110 "x": 1085.6787338256836,
111 "y": 464.50003838539124,
112 "z": "c635d405.112438",
120 "id": "39b0035c.ce94cc",
122 "name": "call Generic_AnsibleDG",
123 "xml": "<call module='APPC' rpc='Generic_AnsibleDG' mode='sync' >\n",
127 "y": 541.2857456207275,
128 "z": "c635d405.112438",
137 "id": "aa984fc9.ceff4",
139 "name": "call MergeTemplateData",
140 "xml": "<call module='APPC' rpc='MergeTemplateData' mode='sync' >\n",
143 "x": 1288.797721862793,
144 "y": 394.4285681247711,
145 "z": "c635d405.112438",
151 "id": "45c7ff98.f908f",
153 "name": "execute getTemplate Parameter_definition",
154 "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
157 "x": 814.5120010375977,
158 "y": 418.7143232822418,
159 "z": "c635d405.112438",
168 "id": "5ebec77e.195338",
170 "name": "block : atomic",
171 "xml": "<block atomic=\"true\">",
174 "x": 1297.3690490722656,
175 "y": 475.8571951389313,
176 "z": "c635d405.112438",
182 "id": "23f2fdd7.5ac712",
184 "name": "Set Action",
185 "xml": "<set>\n<parameter name='request-action' value=\"GetRunningConfig\" />\n",
187 "x": 338.5714416503906,
188 "y": 216.2857208251953,
189 "z": "c635d405.112438",
193 "id": "532324b8.7607ac",
196 "xml": "<outcome value='success'>\n",
199 "x": 1164.5235786437988,
200 "y": 311.4285583496094,
201 "z": "c635d405.112438",
209 "id": "37db39ee.479f96",
212 "xml": "<outcome value='failure'>\n",
215 "x": 1252.4759407043457,
216 "y": 193.52384042739868,
217 "z": "c635d405.112438",
225 "id": "17934b5e.863a65",
232 "x": 1428.4759407043457,
233 "y": 197.52384042739868,
234 "z": "c635d405.112438",
240 "id": "17e6919.76d9a6e",
243 "xml": "<outcome value='failure'>\n",
246 "x": 561.952520098005,
247 "y": 293.3333697319031,
248 "z": "c635d405.112438",
256 "id": "a0e75486.1eda18",
259 "xml": "<outcome value='not-found'>\n",
262 "x": 568.4763314383371,
263 "y": 216.00006437301636,
264 "z": "c635d405.112438",
272 "id": "ed2accea.93295",
274 "name": "block : atomic",
275 "xml": "<block atomic=\"true\">",
278 "x": 762.809585571289,
279 "y": 323.190541267395,
280 "z": "c635d405.112438",
288 "id": "aa4b0b45.5fc018",
289 "type": "get-resource",
290 "name": "get-resource: APPC.GetRunningConfig",
291 "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n key=\"SELECT FILE_CONTENT FROM CONFIGFILES WHERE FILE_CATEGORY = 'device_configuration' AND VNF_NAME = $vnf-name\n \t\tAND ACTION IN ('Configure', 'ConfigModify', 'ConfigRestore') \n \t\tAND CREATION_DATE IN (SELECT MAX(CREATION_DATE) FROM CONFIGFILES) ;\"\n force='true'\n\tpfx='APPC.GetRunningConfig'>\n",
294 "x": 955.5713500976561,
295 "y": 250.52385759353638,
296 "z": "c635d405.112438",
305 "id": "81881f82.e8718",
307 "name": "set GetRunningConfig",
308 "xml": "<set>\n<parameter name='APPC.GetRunningConfig' value='`$APPC.GetRunningConfig.FILE-CONTENT`' />\n\n\n\n\n\n",
310 "x": 1421.8570861816406,
311 "y": 314.52384090423584,
312 "z": "c635d405.112438",
316 "id": "3a927737.d59708",
319 "xml": "<outcome value='success'>\n",
322 "x": 437.85711669921875,
323 "y": 374.80954572132646,
324 "z": "c635d405.112438",
332 "id": "60cc2251.f2ed4c",
334 "name": "block : atomic",
335 "xml": "<block atomic=\"true\">",
339 "y": 442.8571472167969,
340 "z": "c635d405.112438",
348 "id": "507c8a3d.c26e24",
351 "xml": "<outcome value='success'>\n",
354 "x": 700.0000495910645,
355 "y": 615.714298248291,
356 "z": "c635d405.112438",
364 "id": "90bce11.187a52",
365 "type": "returnSuccess",
366 "name": "return success",
367 "xml": "<return status='success'>\n<parameter name='APPC.GetRunningConfig' value=\"`$APPC.GetRunningConfig`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
369 "x": 941.4288787841797,
370 "y": 619.285683631897,
371 "z": "c635d405.112438",
375 "id": "907fdc28.d558",
378 "xml": "<outcome value='failure'>\n",
381 "x": 754.2857551574707,
382 "y": 514.2855968475342,
383 "z": "c635d405.112438",
391 "id": "689e0447.d7db4c",
392 "type": "returnFailure",
393 "name": "return failure",
394 "xml": "<return status='failure'>\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n",
396 "x": 1002.9999923706055,
397 "y": 545.7141237258911,
398 "z": "c635d405.112438",
402 "id": "3190acbd.5b74a4",
404 "name": "Change of getDeviceRunningConfig",
405 "info": "Need to change getDeviceRunningconfig when Ansible returns configuration.\n\nRight now just returning deviceRunningConfig",
407 "x": 862.7621231079102,
408 "y": 662.0952320098877,
409 "z": "c635d405.112438",
413 "id": "25358328.a7b87c",
415 "name": "set tmp.message",
416 "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n<parameter name='request-action' value=\"`$input.action`\" />\n",
419 "y": 722.5714111328125,
420 "z": "c635d405.112438",