3 "id": "517ee996.cae498",
\r
5 "name": "upgrade-software",
\r
6 "xml": "<method rpc='upgrade-software' mode='sync'>\n",
\r
11 "z": "4789a293.82478c",
\r
19 "id": "d43cd7d9.c78888",
\r
20 "type": "service-logic",
\r
21 "name": "LCM ${project.version}",
\r
23 "version": "${project.version}",
\r
25 "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='LCM' version='${project.version}'>",
\r
27 "x": 392.99993896484375,
\r
29 "z": "4789a293.82478c",
\r
37 "id": "586243ba.e81c7c",
\r
39 "name": "execute AnsibleA.reqExec",
\r
40 "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`$prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-software-input.payload`'/>\n<parameter name='NodeList' value=\"`$nodelist`\"/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",
\r
43 "x": 507.00001525878906,
\r
45 "z": "4789a293.82478c",
\r
55 "id": "26321155.b353fe",
\r
56 "type": "switchNode",
\r
58 "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
\r
61 "x": 906.9999389648438,
\r
62 "y": 822.5000305175781,
\r
63 "z": "4789a293.82478c",
\r
73 "id": "5f3de043.7bdd3",
\r
75 "name": "outcome 500",
\r
76 "xml": "<outcome value='500'>\n",
\r
79 "x": 1051.9999389648438,
\r
80 "y": 820.5000381469727,
\r
81 "z": "4789a293.82478c",
\r
89 "id": "3a969e87.f80f62",
\r
91 "name": "outcome 100",
\r
92 "xml": "<outcome value='100'>\n",
\r
95 "x": 1048.9999389648438,
\r
96 "y": 877.5000305175781,
\r
97 "z": "4789a293.82478c",
\r
105 "id": "199f46f9.4e7679",
\r
107 "name": "execute reqExecResult",
\r
108 "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$playbookname`'/>\n\t\n\n\n\n\n",
\r
111 "x": 1236.9999389648438,
\r
112 "y": 876.5000305175781,
\r
113 "z": "4789a293.82478c",
\r
122 "id": "fa9dc7b3.2d7ec8",
\r
125 "xml": "<outcome value='failure'>\n",
\r
128 "x": 765.9999389648438,
\r
129 "y": 735.5000915527344,
\r
130 "z": "4789a293.82478c",
\r
138 "id": "25a6718e.235c7e",
\r
141 "xml": "<outcome value='Other'>\n",
\r
144 "x": 767.9999389648438,
\r
145 "y": 787.5000610351562,
\r
146 "z": "4789a293.82478c",
\r
154 "id": "d5847215.a9d3",
\r
157 "xml": "<outcome value='failure'>\n",
\r
160 "x": 1405.9998779296875,
\r
161 "y": 858.5000610351562,
\r
162 "z": "4789a293.82478c",
\r
170 "id": "e134b022.4c628",
\r
172 "name": "outcome 101",
\r
173 "xml": "<outcome value='101'>\n",
\r
176 "x": 1048.9999389648438,
\r
177 "y": 778.5000686645508,
\r
178 "z": "4789a293.82478c",
\r
186 "id": "e3bd3bae.380ab8",
\r
189 "xml": "<outcome value='success'>\n",
\r
192 "x": 1409.9998779296875,
\r
193 "y": 902.5001220703125,
\r
194 "z": "4789a293.82478c",
\r
202 "id": "f07d79e5.f968a8",
\r
208 "z": "4789a293.82478c",
\r
216 "id": "c922d1b5.fc117",
\r
219 "xml": "<block>\n",
\r
223 "x": 252.91669082641602,
\r
224 "y": 218.58334636688232,
\r
225 "z": "4789a293.82478c",
\r
240 "id": "68e0f4a4.159fdc",
\r
242 "name": "execute Properties",
\r
243 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
\r
246 "x": 551.0000305175781,
\r
247 "y": 178.58334350585938,
\r
248 "z": "4789a293.82478c",
\r
254 "id": "8c604a5b.b81f18",
\r
256 "name": "execute DmaapMsg",
\r
257 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
\r
260 "x": 1717.9998779296875,
\r
261 "y": 684.5834045410156,
\r
262 "z": "4789a293.82478c",
\r
270 "id": "881c1cd9.b1846",
\r
273 "xml": "<outcome value='failure'>\n",
\r
276 "x": 1887.9998168945312,
\r
277 "y": 683.5834045410156,
\r
278 "z": "4789a293.82478c",
\r
286 "id": "523752f4.cd144c",
\r
289 "xml": "<block>\n",
\r
293 "x": 1520.9998168945312,
\r
294 "y": 708.5834045410156,
\r
295 "z": "4789a293.82478c",
\r
305 "id": "41cf8a88.900054",
\r
307 "name": "execute DmaapMsg",
\r
308 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
\r
311 "x": 1753.4998779296875,
\r
312 "y": 950.5833740234375,
\r
313 "z": "4789a293.82478c",
\r
321 "id": "9f640519.9a44f8",
\r
324 "xml": "<outcome value='failure'>\n",
\r
327 "x": 1938.4998779296875,
\r
328 "y": 950.5833740234375,
\r
329 "z": "4789a293.82478c",
\r
337 "id": "dadc2809.14b598",
\r
340 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
\r
343 "x": 2007.9998779296875,
\r
344 "y": 682.5833740234375,
\r
345 "z": "4789a293.82478c",
\r
351 "id": "653d2841.a51248",
\r
352 "type": "returnFailure",
\r
353 "name": "return failure",
\r
354 "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
\r
356 "x": 1699.91650390625,
\r
357 "y": 735.5834045410156,
\r
358 "z": "4789a293.82478c",
\r
362 "id": "447afdf7.f2c9a4",
\r
365 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
\r
368 "x": 2070.9166259765625,
\r
369 "y": 950.5833740234375,
\r
370 "z": "4789a293.82478c",
\r
376 "id": "12dd9e68.21d922",
\r
378 "name": "set DmaapReq",
\r
379 "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
\r
381 "x": 1704.9998779296875,
\r
382 "y": 631.5833740234375,
\r
383 "z": "4789a293.82478c",
\r
387 "id": "ab2173fb.6155",
\r
390 "xml": "<block>\n",
\r
394 "x": 1541.9998779296875,
\r
395 "y": 877.5833740234375,
\r
396 "z": "4789a293.82478c",
\r
409 "id": "18ebed43.15cc23",
\r
411 "name": "set DmaapReq",
\r
412 "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
\r
414 "x": 1740.1666564941406,
\r
415 "y": 864.3333864212036,
\r
416 "z": "4789a293.82478c",
\r
420 "id": "1eebcb5b.232c35",
\r
421 "type": "not-found",
\r
422 "name": "not-found",
\r
423 "xml": "<outcome value='not-found'>\n",
\r
426 "x": 774.9999389648438,
\r
427 "y": 687.5000610351562,
\r
428 "z": "4789a293.82478c",
\r
436 "id": "c1824b8f.435ad8",
\r
438 "name": "set Defaults",
\r
439 "xml": "<set>\n<parameter name='org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
\r
441 "x": 1065.9999389648438,
\r
443 "z": "4789a293.82478c",
\r
447 "id": "bd3250c4.fa4cd",
\r
450 "xml": "<block>\n",
\r
454 "x": 911.9999389648438,
\r
455 "y": 681.5000610351562,
\r
456 "z": "4789a293.82478c",
\r
465 "id": "f1ebf11a.c5bc5",
\r
467 "name": "set default values",
\r
468 "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n<parameter name='outputPayloadField' value='.Output' />\n",
\r
472 "z": "4789a293.82478c",
\r
476 "id": "948df1b1.145e8",
\r
477 "type": "get-resource",
\r
478 "name": "get aai.generic-vnf ",
\r
479 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $upgrade-software-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",
\r
484 "z": "4789a293.82478c",
\r
492 "id": "e8ff611b.49a6e",
\r
495 "xml": "<outcome value='success'>\n",
\r
498 "x": 1242.3907470703125,
\r
499 "y": 452.78399658203125,
\r
500 "z": "4789a293.82478c",
\r
508 "id": "ab634dae.7862b",
\r
511 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='`$playbookname`'/>\n\t<parameter name=\"field2\" value='`$nodelist`'/>",
\r
514 "x": 472.9998779296875,
\r
516 "z": "4789a293.82478c",
\r
522 "id": "189980b6.f2823f",
\r
523 "type": "switchNode",
\r
524 "name": "switch pnf-flag",
\r
525 "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
\r
528 "x": 529.7500076293945,
\r
529 "y": 373.2500057220459,
\r
530 "z": "4789a293.82478c",
\r
539 "id": "d12b72c5.d2a0d",
\r
541 "name": "execute jsonStringToCtx",
\r
542 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='upgrade-software-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",
\r
547 "z": "4789a293.82478c",
\r
553 "id": "9f0534ad.d03f28",
\r
556 "xml": "<outcome value='true'>\n",
\r
559 "x": 714.2500076293945,
\r
560 "y": 317.2500057220459,
\r
561 "z": "4789a293.82478c",
\r
569 "id": "a5db95d8.460d78",
\r
572 "xml": "<outcome value='Other'>\n",
\r
575 "x": 716.7499465942383,
\r
576 "y": 425.0000057220459,
\r
577 "z": "4789a293.82478c",
\r
585 "id": "b2749711.a1e1b8",
\r
588 "xml": "<block>\n",
\r
592 "x": 870.9999504089355,
\r
593 "y": 426.0000057220459,
\r
594 "z": "4789a293.82478c",
\r
603 "id": "9dbe8b14.8545c8",
\r
605 "name": "set AnsibleReq",
\r
606 "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`\"/>\n<parameter name='outputPayloadField' value=\"`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`\"/>\n",
\r
608 "x": 1041.500015258789,
\r
609 "y": 225.25000381469727,
\r
610 "z": "4789a293.82478c",
\r
614 "id": "1c9a4267.83f8fe",
\r
616 "name": "set playbookname",
\r
617 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $payloadJson.nf-naming-code + '.upgrade-software.playbookname'`\" />\n\n",
\r
622 "z": "4789a293.82478c",
\r
628 "id": "6c9cb3dc.03d7bc",
\r
629 "type": "switchNode",
\r
630 "name": "switch playbookname",
\r
631 "xml": "<switch test='`$playbookname`'>\n",
\r
636 "z": "4789a293.82478c",
\r
644 "id": "e38d4527.338bb8",
\r
647 "xml": "<outcome value=''>\n",
\r
652 "z": "4789a293.82478c",
\r
660 "id": "afd73c41.dd42d",
\r
662 "name": "set playbookname",
\r
663 "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-software.playbookname`'/>",
\r
667 "z": "4789a293.82478c",
\r
671 "id": "f7c7e177.43b44",
\r
672 "type": "switchNode",
\r
673 "name": "switch nodelist",
\r
674 "xml": "<switch test='`$nodelist`'>\n",
\r
679 "z": "4789a293.82478c",
\r
688 "id": "244a7ef9.90d572",
\r
691 "xml": "<outcome value=''>\n",
\r
696 "z": "4789a293.82478c",
\r
704 "id": "e6b6586a.90a5f8",
\r
706 "name": "set nodelist",
\r
707 "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
\r
711 "z": "4789a293.82478c",
\r
715 "id": "efb7985a.a80778",
\r
718 "xml": "<outcome value=\"['']\">\n\n",
\r
723 "z": "4789a293.82478c",
\r
731 "id": "6652a4df.406dfc",
\r
732 "type": "switchNode",
\r
733 "name": "switch playbookname",
\r
734 "xml": "<switch test='`$playbookname`'>\n",
\r
739 "z": "4789a293.82478c",
\r
747 "id": "fdf6c8e8.296a38",
\r
750 "xml": "<outcome value=''>\n",
\r
755 "z": "4789a293.82478c",
\r
763 "id": "ec745eef.b48a",
\r
765 "name": "set nodelist",
\r
766 "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
\r
770 "z": "4789a293.82478c",
\r
774 "id": "e295e5e6.4c6048",
\r
777 "xml": "<block>\n",
\r
783 "z": "4789a293.82478c",
\r
792 "id": "590854b0.7ac97c",
\r
794 "name": "set playbookname",
\r
795 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $aai.generic-vnf.nf-naming-code + '.upgrade-software.playbookname'`\" />\n\n",
\r
800 "z": "4789a293.82478c",
\r
806 "id": "6a05d1a3.c6749",
\r
808 "name": "execute jsonStringToCtx",
\r
809 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='org.onap.appc.adapter.ansible.results' />\n\t<parameter name='outputPath' value='resultsJson' />\n\t<parameter name='isEscaped' value='false' />\n",
\r
814 "z": "4789a293.82478c",
\r
820 "id": "9ad5d754.15c1a8",
\r
822 "name": "execute getAttributeValue",
\r
823 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='source' value=\"`'resultsJson' + $outputPayloadField`\" />\n\t<parameter name='outputPath' value='outputPayload' />",
\r
828 "z": "4789a293.82478c",
\r
834 "id": "63045d28.4542d4",
\r
835 "type": "switchNode",
\r
836 "name": "switch outputPayload",
\r
837 "xml": "<switch test='`$outputPayload`'>\n",
\r
840 "x": 1760.0000228881836,
\r
841 "y": 904.2500133514404,
\r
842 "z": "4789a293.82478c",
\r
850 "id": "c0b5f473.074fe8",
\r
853 "xml": "<outcome value='Other'>\n",
\r
856 "x": 1934.0000267028809,
\r
857 "y": 904.5000133514404,
\r
858 "z": "4789a293.82478c",
\r
866 "id": "bbcdc831.3c9348",
\r
868 "name": "set DmaapReq with payload",
\r
869 "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",
\r
871 "x": 2132.250030517578,
\r
872 "y": 905.0000133514404,
\r
873 "z": "4789a293.82478c",
\r
877 "id": "35b87e9e.4b4612",
\r
878 "type": "returnSuccess",
\r
879 "name": "return success",
\r
880 "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
\r
883 "y": 986.4999389648438,
\r
884 "z": "4789a293.82478c",
\r
888 "id": "17165733.b036f9",
\r
891 "xml": "<outcome value=''>\n",
\r
894 "x": 1937.000244140625,
\r
895 "y": 1008.4998779296875,
\r
896 "z": "4789a293.82478c",
\r
904 "id": "6e335499.cca56c",
\r
907 "xml": "<outcome value='Other'>\n",
\r
910 "x": 1936.000244140625,
\r
911 "y": 1084.4998779296875,
\r
912 "z": "4789a293.82478c",
\r
920 "id": "9a5d17c7.55f4a8",
\r
921 "type": "switchNode",
\r
922 "name": "switch outputPayload",
\r
923 "xml": "<switch test='`$outputPayload`'>\n",
\r
926 "x": 1754.000244140625,
\r
927 "y": 1044.4998779296875,
\r
928 "z": "4789a293.82478c",
\r
937 "id": "a751cca6.d89a",
\r
938 "type": "returnSuccess",
\r
939 "name": "return success with payload",
\r
940 "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='payload' value='`$outputPayload`'/>",
\r
942 "x": 2512.000244140625,
\r
943 "y": 1068.4998779296875,
\r
944 "z": "4789a293.82478c",
\r
948 "id": "71c2529a.2b6c4c",
\r
949 "type": "switchNode",
\r
950 "name": "switch result code",
\r
951 "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
\r
954 "x": 2107.000244140625,
\r
955 "y": 1008.4998779296875,
\r
956 "z": "4789a293.82478c",
\r
965 "id": "586f871e.a07558",
\r
966 "type": "switchNode",
\r
967 "name": "switch result code",
\r
968 "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
\r
971 "x": 2107.000244140625,
\r
972 "y": 1084.4998779296875,
\r
973 "z": "4789a293.82478c",
\r
982 "id": "f97605a1.be13b8",
\r
983 "type": "returnFailure",
\r
984 "name": "return failure",
\r
985 "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
\r
987 "x": 2465.000244140625,
\r
988 "y": 1024.4998779296875,
\r
989 "z": "4789a293.82478c",
\r
993 "id": "6a5ea797.248c88",
\r
994 "type": "returnFailure",
\r
995 "name": "return failure with payload",
\r
996 "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n<parameter name='payload' value='`$outputPayload`'/>",
\r
998 "x": 2508.000244140625,
\r
999 "y": 1106.4998779296875,
\r
1000 "z": "4789a293.82478c",
\r
1004 "id": "b3616040.dfb69",
\r
1006 "name": "outcome 400",
\r
1007 "xml": "<outcome value='400'>\n",
\r
1010 "x": 2295.000244140625,
\r
1011 "y": 986.4998779296875,
\r
1012 "z": "4789a293.82478c",
\r
1020 "id": "fd22e048.3d737",
\r
1021 "type": "outcome",
\r
1023 "xml": "<outcome value='Other'>\n",
\r
1026 "x": 2276.000244140625,
\r
1027 "y": 1024.4998779296875,
\r
1028 "z": "4789a293.82478c",
\r
1036 "id": "6dbe7e48.8df42",
\r
1038 "name": "outcome 400",
\r
1039 "xml": "<outcome value='400'>\n",
\r
1042 "x": 2296.000244140625,
\r
1043 "y": 1068.4998779296875,
\r
1044 "z": "4789a293.82478c",
\r
1052 "id": "3f429d60.7d5362",
\r
1053 "type": "outcome",
\r
1055 "xml": "<outcome value='Other'>\n",
\r
1058 "x": 2278.000244140625,
\r
1059 "y": 1106.4998779296875,
\r
1060 "z": "4789a293.82478c",
\r
1068 "id": "a7f091ea.70c67",
\r
1071 "xml": "<block>\n",
\r
1072 "atomic": "false",
\r
1075 "x": 873.2500114440918,
\r
1076 "y": 275.75000381469727,
\r
1077 "z": "4789a293.82478c",
\r
1080 "9dbe8b14.8545c8",
\r
1086 "id": "8eab321.a8fd0d",
\r
1087 "type": "switchNode",
\r
1088 "name": "switch playbook-name in req",
\r
1089 "xml": "<switch test='`$payloadJson.playbook-name`'>\n",
\r
1092 "x": 1079.5000133514404,
\r
1093 "y": 320.25000381469727,
\r
1094 "z": "4789a293.82478c",
\r
1097 "b9ffda2e.115ef8",
\r
1103 "id": "b9ffda2e.115ef8",
\r
1104 "type": "outcome",
\r
1106 "xml": "<outcome value=''>\n",
\r
1109 "x": 1287.0000190734863,
\r
1110 "y": 284.00000381469727,
\r
1111 "z": "4789a293.82478c",
\r
1119 "id": "b261fc07.37395",
\r
1120 "type": "outcome",
\r
1122 "xml": "<outcome value='Other'>\n",
\r
1125 "x": 1285.7500228881836,
\r
1126 "y": 349.00000381469727,
\r
1127 "z": "4789a293.82478c",
\r
1135 "id": "5945cca6.5e9904",
\r
1137 "name": "set playbookname from prop",
\r
1138 "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-software.playbookname`'/>\n",
\r
1140 "x": 1489.5000228881836,
\r
1141 "y": 284.00000381469727,
\r
1142 "z": "4789a293.82478c",
\r
1146 "id": "366917bb.643c18",
\r
1148 "name": "set playbookname from req",
\r
1149 "xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",
\r
1151 "x": 1484.5000228881836,
\r
1152 "y": 349.00000381469727,
\r
1153 "z": "4789a293.82478c",
\r