+ },\r
+ {\r
+ "id": "63045d28.4542d4",\r
+ "type": "switchNode",\r
+ "name": "switch outputPayload",\r
+ "xml": "<switch test='`$outputPayload`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1760.0000228881836,\r
+ "y": 904.2500133514404,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "c0b5f473.074fe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c0b5f473.074fe8",\r
+ "type": "outcome",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1934.0000267028809,\r
+ "y": 904.5000133514404,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "bbcdc831.3c9348"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bbcdc831.3c9348",\r
+ "type": "set",\r
+ "name": "set DmaapReq with payload",\r
+ "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+ "comments": "",\r
+ "x": 2132.250030517578,\r
+ "y": 905.0000133514404,\r
+ "z": "4789a293.82478c",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "35b87e9e.4b4612",\r
+ "type": "returnSuccess",\r
+ "name": "return success",\r
+ "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
+ "comments": "",\r
+ "x": 2471,\r
+ "y": 986.4999389648438,\r
+ "z": "4789a293.82478c",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "17165733.b036f9",\r
+ "type": "outcome",\r
+ "name": "null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1937.000244140625,\r
+ "y": 1008.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "71c2529a.2b6c4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e335499.cca56c",\r
+ "type": "outcome",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1936.000244140625,\r
+ "y": 1084.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "586f871e.a07558"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9a5d17c7.55f4a8",\r
+ "type": "switchNode",\r
+ "name": "switch outputPayload",\r
+ "xml": "<switch test='`$outputPayload`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1754.000244140625,\r
+ "y": 1044.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "17165733.b036f9",\r
+ "6e335499.cca56c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a751cca6.d89a",\r
+ "type": "returnSuccess",\r
+ "name": "return success with payload",\r
+ "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
+ "comments": "",\r
+ "x": 2512.000244140625,\r
+ "y": 1068.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "71c2529a.2b6c4c",\r
+ "type": "switchNode",\r
+ "name": "switch result code",\r
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2107.000244140625,\r
+ "y": 1008.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "b3616040.dfb69",\r
+ "fd22e048.3d737"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "586f871e.a07558",\r
+ "type": "switchNode",\r
+ "name": "switch result code",\r
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2107.000244140625,\r
+ "y": 1084.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "6dbe7e48.8df42",\r
+ "3f429d60.7d5362"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f97605a1.be13b8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 2465.000244140625,\r
+ "y": 1024.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6a5ea797.248c88",\r
+ "type": "returnFailure",\r
+ "name": "return failure with payload",\r
+ "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
+ "comments": "",\r
+ "x": 2508.000244140625,\r
+ "y": 1106.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b3616040.dfb69",\r
+ "type": "other",\r
+ "name": "outcome 400",\r
+ "xml": "<outcome value='400'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2295.000244140625,\r
+ "y": 986.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "35b87e9e.4b4612"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fd22e048.3d737",\r
+ "type": "outcome",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2276.000244140625,\r
+ "y": 1024.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "f97605a1.be13b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6dbe7e48.8df42",\r
+ "type": "other",\r
+ "name": "outcome 400",\r
+ "xml": "<outcome value='400'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2296.000244140625,\r
+ "y": 1068.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "a751cca6.d89a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3f429d60.7d5362",\r
+ "type": "outcome",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2278.000244140625,\r
+ "y": 1106.4998779296875,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "6a5ea797.248c88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a7f091ea.70c67",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 873.2500114440918,\r
+ "y": 275.75000381469727,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "9dbe8b14.8545c8",\r
+ "8eab321.a8fd0d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8eab321.a8fd0d",\r
+ "type": "switchNode",\r
+ "name": "switch playbook-name in req",\r
+ "xml": "<switch test='`$payloadJson.playbook-name`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1079.5000133514404,\r
+ "y": 320.25000381469727,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "b9ffda2e.115ef8",\r
+ "b261fc07.37395"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b9ffda2e.115ef8",\r
+ "type": "outcome",\r
+ "name": "null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1287.0000190734863,\r
+ "y": 284.00000381469727,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "5945cca6.5e9904"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b261fc07.37395",\r
+ "type": "outcome",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1285.7500228881836,\r
+ "y": 349.00000381469727,\r
+ "z": "4789a293.82478c",\r
+ "wires": [\r
+ [\r
+ "366917bb.643c18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5945cca6.5e9904",\r
+ "type": "set",\r
+ "name": "set playbookname from prop",\r
+ "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-software.playbookname`'/>\n",\r
+ "comments": "",\r
+ "x": 1489.5000228881836,\r
+ "y": 284.00000381469727,\r
+ "z": "4789a293.82478c",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "366917bb.643c18",\r
+ "type": "set",\r
+ "name": "set playbookname from req",\r
+ "xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",\r
+ "comments": "",\r
+ "x": 1484.5000228881836,\r
+ "y": 349.00000381469727,\r
+ "z": "4789a293.82478c",\r
+ "wires": []\r