3 "id": "474f3afb.a3db24",
8 "y": 111.00000190734863,
17 "id": "cc0ffd3f.b63cd",
18 "type": "service-logic",
23 "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'>",
25 "x": 328.00000762939453,
26 "y": 68.57142925262451,
27 "z": "94e86086.2ff71",
35 "id": "d652a69c.2573f8",
37 "name": "method GetTemplateConfig_Chef ",
38 "xml": "<method rpc='GetTemplateConfig_Chef' mode='sync'>\n",
41 "x": 591.5476837158203,
42 "y": 71.92856788635254,
43 "z": "94e86086.2ff71",
51 "id": "d18eff93.eb14f",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
58 "x": 159.00001907348633,
59 "y": 306.92860984802246,
60 "z": "94e86086.2ff71",
70 "id": "29e56f4.bdbe99",
72 "name": "execute isPDFILE",
73 "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\" />",
76 "x": 779.9166679382324,
77 "y": 517.5952529907227,
78 "z": "94e86086.2ff71",
87 "id": "39e0794.313fc86",
90 "xml": "<outcome value='not-found'>\n",
93 "x": 1025.9166717529297,
94 "y": 498.09522247314453,
95 "z": "94e86086.2ff71",
101 "id": "1ed9c019.ae2df",
104 "xml": "<outcome value='Other'>\n",
107 "x": 1020.4166717529297,
108 "y": 540.0952491760254,
109 "z": "94e86086.2ff71",
117 "id": "48b163ef.9f2bfc",
119 "name": "call chefDG",
120 "xml": "<call module='APPC' rpc='' mode='sync' >\n",
123 "x": 1187.416690826416,
124 "y": 542.5952291488647,
125 "z": "94e86086.2ff71",
133 "id": "d759b85b.fae9e8",
135 "name": "block : atomic",
136 "xml": "<block atomic=\"true\">",
139 "x": 1366.1667938232422,
140 "y": 543.8452787399292,
141 "z": "94e86086.2ff71",
149 "id": "5449d9db.093b88",
150 "type": "returnSuccess",
151 "name": "return success",
152 "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$chefServerResult.code`' />\n<parameter name='output.status.message' value='finish' />\n<parameter name='output.status.results' value='`$chefServerResult.message`' />\n",
154 "x": 1548.666706085205,
155 "y": 543.8452339172363,
156 "z": "94e86086.2ff71",
160 "id": "bde23f8d.a3fa4",
162 "name": "call Generic_ChefDG",
163 "xml": "<call module='APPC' rpc='Generic_ChefDG' mode='sync' >\n",
166 "x": 445.3334197998047,
167 "y": 595.0953197479248,
168 "z": "94e86086.2ff71",
177 "id": "954fec4e.93e8f",
180 "xml": "<outcome value='success'>\n",
183 "x": 1238.9521827697754,
184 "y": 235.1904354095459,
185 "z": "94e86086.2ff71",
193 "id": "168aed4a.93b013",
196 "xml": "<outcome value='failure'>\n",
199 "x": 1358.3331909179688,
200 "y": 124.42856121063232,
201 "z": "94e86086.2ff71",
209 "id": "66ab792e.5436a8",
216 "x": 1534.3331909179688,
217 "y": 128.42856121063232,
218 "z": "94e86086.2ff71",
224 "id": "3b15cd2d.821332",
226 "name": "execute getTemplate",
227 "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\" />",
230 "x": 390.2382354736328,
231 "y": 338.96442222595215,
232 "z": "94e86086.2ff71",
242 "id": "eaf78bb4.52fa78",
245 "xml": "<outcome value='failure'>\n",
248 "x": 646.3811264038086,
249 "y": 319.95239543914795,
250 "z": "94e86086.2ff71",
258 "id": "ea97965e.f38b18",
261 "xml": "<outcome value='not-found'>\n",
264 "x": 652.9049377441406,
265 "y": 242.61909008026123,
266 "z": "94e86086.2ff71",
274 "id": "d967b007.473f5",
276 "name": "block : atomic",
277 "xml": "<block atomic=\"true\">",
280 "x": 837.2381896972656,
281 "y": 246.95241832733154,
282 "z": "94e86086.2ff71",
290 "id": "206a6826.5cf278",
293 "xml": "<outcome value='success'>\n",
296 "x": 668.6666259765625,
297 "y": 706.761884689331,
298 "z": "94e86086.2ff71",
306 "id": "8fa01d79.09849",
307 "type": "returnSuccess",
308 "name": "return success",
309 "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",
311 "x": 910.0954551696777,
312 "y": 710.333270072937,
313 "z": "94e86086.2ff71",
317 "id": "43fbac1d.0c1c24",
320 "xml": "<outcome value='failure'>\n",
323 "x": 652.952320098877,
324 "y": 608.1903324127197,
325 "z": "94e86086.2ff71",
333 "id": "7f584955.519aa8",
334 "type": "returnFailure",
335 "name": "return failure",
336 "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",
338 "x": 897.3808403015137,
339 "y": 623.9045810699463,
340 "z": "94e86086.2ff71",
344 "id": "9b65458e.5b1e98",
346 "name": "Set Action",
347 "xml": "<set>\n<parameter name='request-action' value=\"GetRunningConfig\" />\n",
349 "x": 410.0000114440918,
350 "y": 250.0000286102295,
351 "z": "94e86086.2ff71",
355 "id": "5ad2d1ac.67bda",
356 "type": "get-resource",
357 "name": "get-resource: APPC.GetRunningConfig",
358 "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",
361 "x": 1029.9999542236328,
362 "y": 174.2857346534729,
363 "z": "94e86086.2ff71",
372 "id": "f7addcef.22067",
374 "name": "set GetRunningConfig",
375 "xml": "<set>\n<parameter name='APPC.GetRunningConfig' value='`$APPC.GetRunningConfig.FILE-CONTENT`' />\n\n\n\n\n\n",
377 "x": 1496.2856903076172,
378 "y": 238.28571796417236,
379 "z": "94e86086.2ff71",
383 "id": "160c81ed.70050e",
386 "xml": "<outcome value='success'>\n",
389 "x": 522.2857230050223,
390 "y": 401.4285714285714,
391 "z": "94e86086.2ff71",
399 "id": "500403e1.fd551c",
401 "name": "block : atomic",
402 "xml": "<block atomic=\"true\">",
405 "x": 459.4285583496094,
406 "y": 497.1428527832031,
407 "z": "94e86086.2ff71",
415 "id": "daccf9f.9646908",
417 "name": "Change of getDeviceRunningConfig",
418 "info": "Need to change getDeviceRunningconfig when chef returns configuartion.\n\nRight now just returning deviceRunningConfig",
420 "x": 1010.0001602172852,
421 "y": 753.142822265625,
422 "z": "94e86086.2ff71",
426 "id": "a36ba4d6.2c6688",
428 "name": "set tmp.message",
429 "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n<parameter name='request-action' value=\"`$input.action`\" />\n",
431 "x": 425.71429443359375,
432 "y": 755.4285888671875,
433 "z": "94e86086.2ff71",