Add missing payload for DGs and Playbooks of LCM APIs
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_upgrade-post-check.json
index 102870d..aad0514 100644 (file)
-[
-    {
-        "id": "7a39f2fe.3dcdf4",
-        "type": "method",
-        "name": "upgrade-post-check",
-        "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 504,
-        "y": 189,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "29adfec5.3e996a"
-            ]
-        ]
-    },
-    {
-        "id": "d4e963ab.cbd07",
-        "type": "service-logic",
-        "name": "LCM ${project.version}",
-        "module": "LCM",
-        "version": "${project.version}",
-        "comments": "",
-        "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}'>",
-        "outputs": 1,
-        "x": 291.99993896484375,
-        "y": 190,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "7a39f2fe.3dcdf4"
-            ]
-        ]
-    },
-    {
-        "id": "dbae8f8c.b9f5c8",
-        "type": "execute",
-        "name": "execute AnsibleA.reqExec",
-        "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-post-check-input.payload`'/>\n<parameter name='NodeList' value='`$prop.ansible.nodelist`'/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 292.00001525878906,
-        "y": 407,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "6f51d66.269da28",
-                "3cef6eb.3854f92",
-                "7d81ec43.a1807c"
-            ]
-        ]
-    },
-    {
-        "id": "d7bab1d5.51757",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 593,
-        "y": 455,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "2746f459.4c8844",
-                "f804c90e.5a0878",
-                "a107745e.d375f"
-            ]
-        ]
-    },
-    {
-        "id": "2746f459.4c8844",
-        "type": "other",
-        "name": "outcome 500",
-        "xml": "<outcome value='500'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 738,
-        "y": 453.00000762939453,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "812cc9c1.aee1"
-            ]
-        ]
-    },
-    {
-        "id": "f804c90e.5a0878",
-        "type": "other",
-        "name": "outcome 100",
-        "xml": "<outcome value='100'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 741,
-        "y": 496.00003814697266,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "91a9092c.bcfc5"
-            ]
-        ]
-    },
-    {
-        "id": "91a9092c.bcfc5",
-        "type": "execute",
-        "name": "execute reqExecResult",
-        "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='`$prop.lcm.upgrade-post-check.playbookname`'/>\n\t\n\n\n\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 919.0000305175781,
-        "y": 496.00003814697266,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "746c71a8.ecf54",
-                "3553670.a015a9a"
-            ]
-        ]
-    },
-    {
-        "id": "3cef6eb.3854f92",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 484,
-        "y": 364.0000305175781,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "812cc9c1.aee1"
-            ]
-        ]
-    },
-    {
-        "id": "6f51d66.269da28",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 486,
-        "y": 416,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "d7bab1d5.51757"
-            ]
-        ]
-    },
-    {
-        "id": "746c71a8.ecf54",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1080.0000610351562,
-        "y": 473.00000762939453,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "812cc9c1.aee1"
-            ]
-        ]
-    },
-    {
-        "id": "a107745e.d375f",
-        "type": "other",
-        "name": "outcome 101",
-        "xml": "<outcome value='101'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 735,
-        "y": 411.00003814697266,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "812cc9c1.aee1"
-            ]
-        ]
-    },
-    {
-        "id": "3553670.a015a9a",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1087.0000610351562,
-        "y": 521.0000381469727,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "9eb97883.c25dd"
-            ]
-        ]
-    },
-    {
-        "id": "4d0102b3.cb0034",
-        "type": "returnSuccess",
-        "name": "return success",
-        "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`'/>",
-        "comments": "",
-        "x": 1369.9999389648438,
-        "y": 573.0000381469727,
-        "z": "8298903b.6dd47",
-        "wires": []
-    },
-    {
-        "id": "b0b34f77.1a63a",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 107,
-        "y": 189,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "d4e963ab.cbd07"
-            ]
-        ]
-    },
-    {
-        "id": "29adfec5.3e996a",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 102.91668701171875,
-        "y": 370.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "dbae8f8c.b9f5c8",
-                "2da1a6a3.957b62",
-                "f33027ae.498be"
-            ]
-        ]
-    },
-    {
-        "id": "2da1a6a3.957b62",
-        "type": "execute",
-        "name": "execute Properties",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 275.00001525878906,
-        "y": 328.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "e8fdf598.f43db",
-        "type": "execute",
-        "name": "execute DmaapMsg",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 1087.0000610351562,
-        "y": 317.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "27736dcd.8ac982"
-            ]
-        ]
-    },
-    {
-        "id": "27736dcd.8ac982",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1257,
-        "y": 316.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "86cb0ea6.638338"
-            ]
-        ]
-    },
-    {
-        "id": "812cc9c1.aee1",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 890,
-        "y": 341.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "e8fdf598.f43db",
-                "e11198e6.679a2",
-                "a3a650c3.8200a8"
-            ]
-        ]
-    },
-    {
-        "id": "7d25ddd1.4d85f4",
-        "type": "execute",
-        "name": "execute DmaapMsg",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 1390.4999389648438,
-        "y": 522.0833511352539,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "1bd36512.b1eedb"
-            ]
-        ]
-    },
-    {
-        "id": "1bd36512.b1eedb",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1550.4999389648438,
-        "y": 522.0833511352539,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "8b14e6d.6ed9318"
-            ]
-        ]
-    },
-    {
-        "id": "86cb0ea6.638338",
-        "type": "record",
-        "name": "record",
-        "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'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1389,
-        "y": 316.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "e11198e6.679a2",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
-        "comments": "",
-        "x": 1061.9166870117188,
-        "y": 354.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": []
-    },
-    {
-        "id": "8b14e6d.6ed9318",
-        "type": "record",
-        "name": "record",
-        "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'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1671.9166870117188,
-        "y": 523.0833511352539,
-        "z": "8298903b.6dd47",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "a3a650c3.8200a8",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-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-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-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",
-        "comments": "",
-        "x": 1039.0000610351562,
-        "y": 264.0833435058594,
-        "z": "8298903b.6dd47",
-        "wires": []
-    },
-    {
-        "id": "9eb97883.c25dd",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1219.9999389648438,
-        "y": 521.0833206176758,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "7d25ddd1.4d85f4",
-                "5aed86b8.dac118",
-                "4d0102b3.cb0034"
-            ]
-        ]
-    },
-    {
-        "id": "5aed86b8.dac118",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-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-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-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",
-        "comments": "",
-        "x": 1350.1666870117188,
-        "y": 474.0833511352539,
-        "z": "8298903b.6dd47",
-        "wires": []
-    },
-    {
-        "id": "7d81ec43.a1807c",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 480,
-        "y": 317,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "97422b5e.b01ec"
-            ]
-        ]
-    },
-    {
-        "id": "c3ed93bf.f51b6",
-        "type": "set",
-        "name": "set Defaults",
-        "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",
-        "comments": "",
-        "x": 864,
-        "y": 264,
-        "z": "8298903b.6dd47",
-        "wires": []
-    },
-    {
-        "id": "97422b5e.b01ec",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 664,
-        "y": 309,
-        "z": "8298903b.6dd47",
-        "wires": [
-            [
-                "c3ed93bf.f51b6",
-                "812cc9c1.aee1"
-            ]
-        ]
-    },
-    {
-        "id": "f33027ae.498be",
-        "type": "set",
-        "name": "set default status value",
-        "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
-        "comments": "",
-        "x": 289,
-        "y": 368,
-        "z": "8298903b.6dd47",
-        "wires": []
-    }
-]
+[\r
+    {\r
+        "id": "fe0acee3.b3d4f",\r
+        "type": "method",\r
+        "name": "upgrade-post-check",\r
+        "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 523,\r
+        "y": 71,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "88d3f9c3.91e818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd69f330.0db38",\r
+        "type": "service-logic",\r
+        "name": "LCM ${project.version}",\r
+        "module": "LCM",\r
+        "version": "${project.version}",\r
+        "comments": "",\r
+        "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
+        "outputs": 1,\r
+        "x": 310.99993896484375,\r
+        "y": 72,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "fe0acee3.b3d4f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca77e1d2.5f235",\r
+        "type": "execute",\r
+        "name": "execute AnsibleA.reqExec",\r
+        "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-post-check-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-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 378.00001525878906,\r
+        "y": 679,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "98532a13.9e8648",\r
+                "300b9189.6839ae",\r
+                "93689f4a.8157"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "338f7649.ef4e9a",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 777.9999389648438,\r
+        "y": 787.0000305175781,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "13e6fdd5.284672",\r
+                "558456ec.861628",\r
+                "d84c0d6b.4e961"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "13e6fdd5.284672",\r
+        "type": "other",\r
+        "name": "outcome 500",\r
+        "xml": "<outcome value='500'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 922.9999389648438,\r
+        "y": 785.0000381469727,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "d4f3b77a.b39508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "558456ec.861628",\r
+        "type": "other",\r
+        "name": "outcome 100",\r
+        "xml": "<outcome value='100'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 919.9999389648438,\r
+        "y": 842.0000305175781,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "a1c39fcf.a06c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1c39fcf.a06c",\r
+        "type": "execute",\r
+        "name": "execute reqExecResult",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1107.9999389648438,\r
+        "y": 841.0000305175781,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "f58c60bb.b391f",\r
+                "b18d4538.e8ef28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "300b9189.6839ae",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636.9999389648438,\r
+        "y": 700.0000915527344,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "d4f3b77a.b39508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98532a13.9e8648",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 638.9999389648438,\r
+        "y": 752.0000610351562,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "338f7649.ef4e9a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f58c60bb.b391f",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1278.9998779296875,\r
+        "y": 820.0000610351562,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "44e1b1d0.b5bf9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d84c0d6b.4e961",\r
+        "type": "other",\r
+        "name": "outcome 101",\r
+        "xml": "<outcome value='101'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 919.9999389648438,\r
+        "y": 743.0000686645508,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "d4f3b77a.b39508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b18d4538.e8ef28",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1281.9998779296875,\r
+        "y": 871.0001220703125,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "44e1b1d0.b5bf9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67392fb2.3fda3",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 126,\r
+        "y": 71,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "dd69f330.0db38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88d3f9c3.91e818",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 123.91668701171875,\r
+        "y": 163.08334350585938,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "ca77e1d2.5f235",\r
+                "c7ec6050.45978",\r
+                "889f84ed.e111e8",\r
+                "40652fca.65d24",\r
+                "983b7f00.0aa95",\r
+                "43b098aa.2b8088",\r
+                "3c8d18f4.57a768",\r
+                "5c9efc94.d81d24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7ec6050.45978",\r
+        "type": "execute",\r
+        "name": "execute Properties",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 422.0000305175781,\r
+        "y": 196.08334350585938,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9d2286.379c4d8",\r
+        "type": "execute",\r
+        "name": "execute DmaapMsg",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1588.9998779296875,\r
+        "y": 649.0834045410156,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "642ae55d.535a7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "642ae55d.535a7c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1758.9998168945312,\r
+        "y": 648.0834045410156,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "7969554f.e56e0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4f3b77a.b39508",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1391.9998168945312,\r
+        "y": 673.0834045410156,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "d9d2286.379c4d8",\r
+                "8a00ee98.85d8c",\r
+                "a967853.2e08a78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61a865a3.81374c",\r
+        "type": "execute",\r
+        "name": "execute DmaapMsg",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1600.4998779296875,\r
+        "y": 904.0833740234375,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "bf6e3414.ac0ab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf6e3414.ac0ab8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1782.4998779296875,\r
+        "y": 904.0833740234375,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "a98ac8b6.1c8b18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7969554f.e56e0c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1878.9998779296875,\r
+        "y": 647.0833740234375,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a00ee98.85d8c",\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": 1570.91650390625,\r
+        "y": 700.0834045410156,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a98ac8b6.1c8b18",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1912.9166259765625,\r
+        "y": 904.0833740234375,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a967853.2e08a78",\r
+        "type": "set",\r
+        "name": "set DmaapReq",\r
+        "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-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-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-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
+        "comments": "",\r
+        "x": 1575.9998779296875,\r
+        "y": 596.0833740234375,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "44e1b1d0.b5bf9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1406.9998779296875,\r
+        "y": 845.0833740234375,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "61a865a3.81374c",\r
+                "af2360f3.a1b32",\r
+                "c058b1a3.cafa7",\r
+                "d59d4575.f7aa08",\r
+                "97b68625.59c538"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72836a7a.768624",\r
+        "type": "set",\r
+        "name": "set DmaapReq",\r
+        "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-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-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-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
+        "comments": "",\r
+        "x": 1938.1666259765625,\r
+        "y": 819.0833740234375,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "93689f4a.8157",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 645.9999389648438,\r
+        "y": 652.0000610351562,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "c92e96da.bead68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3705b5ae.a55ada",\r
+        "type": "set",\r
+        "name": "set Defaults",\r
+        "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
+        "comments": "",\r
+        "x": 936.9999389648438,\r
+        "y": 611,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c92e96da.bead68",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 782.9999389648438,\r
+        "y": 646.0000610351562,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "3705b5ae.a55ada",\r
+                "d4f3b77a.b39508"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "889f84ed.e111e8",\r
+        "type": "set",\r
+        "name": "set default values",\r
+        "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",\r
+        "comments": "",\r
+        "x": 415,\r
+        "y": 243,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9e2047bf.84ca98",\r
+        "type": "get-resource",\r
+        "name": "get aai.generic-vnf ",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $upgrade-post-check-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 955,\r
+        "y": 419,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "db67679b.d5f7f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db67679b.d5f7f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1113.3907470703125,\r
+        "y": 417.28399658203125,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "9f78147c.45b0d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c8d18f4.57a768",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 343.9998779296875,\r
+        "y": 607,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "983b7f00.0aa95",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-flag",\r
+        "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 397,\r
+        "y": 344,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "6ab53366.6b679c",\r
+                "c2f80dd0.8d1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40652fca.65d24",\r
+        "type": "execute",\r
+        "name": "execute jsonStringToCtx",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='upgrade-post-check-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 429,\r
+        "y": 290,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ab53366.6b679c",\r
+        "type": "outcome",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 594,\r
+        "y": 323,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "b2f335c.b319ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2f80dd0.8d1",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 593.9999389648438,\r
+        "y": 384,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "64084999.263e28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64084999.263e28",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 741.9999389648438,\r
+        "y": 383,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "9e2047bf.84ca98",\r
+                "1c2838e7.02c327"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2f335c.b319ac8",\r
+        "type": "set",\r
+        "name": "set AnsibleReq",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam +  $quote + ']'`\"/>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>\n",\r
+        "comments": "",\r
+        "x": 755,\r
+        "y": 321,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1c2838e7.02c327",\r
+        "type": "execute",\r
+        "name": "set playbookname",\r
+        "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-post-check.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 964,\r
+        "y": 363,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "43b098aa.2b8088",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 394,\r
+        "y": 475,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "f5a4d554.8310a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5a4d554.8310a8",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 565,\r
+        "y": 476,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "e3207caa.85b44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3207caa.85b44",\r
+        "type": "set",\r
+        "name": "set playbookname",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",\r
+        "comments": "",\r
+        "x": 755,\r
+        "y": 475,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5c9efc94.d81d24",\r
+        "type": "switchNode",\r
+        "name": "switch nodelist",\r
+        "xml": "<switch test='`$nodelist`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 384,\r
+        "y": 534,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "77224991.c20a78",\r
+                "2deab8c5.642298"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77224991.c20a78",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 564,\r
+        "y": 527,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "3881d027.425ff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3881d027.425ff",\r
+        "type": "set",\r
+        "name": "set nodelist",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
+        "comments": "",\r
+        "x": 721,\r
+        "y": 541,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2deab8c5.642298",\r
+        "type": "outcome",\r
+        "name": "empty",\r
+        "xml": "<outcome value=\"['']\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 563,\r
+        "y": 571,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "3881d027.425ff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "153ed401.962ddc",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1439,\r
+        "y": 406,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "3cfaf009.20065"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3cfaf009.20065",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1617,\r
+        "y": 406,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "8e725f1f.6662f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e70216f.c9b2f",\r
+        "type": "set",\r
+        "name": "set nodelist",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address +  $quote + ']'`\"/>\n",\r
+        "comments": "",\r
+        "x": 1412,\r
+        "y": 459,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9f78147c.45b0d8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1242,\r
+        "y": 416,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "153ed401.962ddc",\r
+                "9e70216f.c9b2f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e725f1f.6662f",\r
+        "type": "execute",\r
+        "name": "set playbookname",\r
+        "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-post-check.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1789,\r
+        "y": 404,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "af2360f3.a1b32",\r
+        "type": "execute",\r
+        "name": "execute jsonStringToCtx",\r
+        "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
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1616,\r
+        "y": 750,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c058b1a3.cafa7",\r
+        "type": "execute",\r
+        "name": "execute getAttributeValue",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='source' value=\"`'resultsJson.' + $payloadJson.ipaddress-v4-oam + '.Output'`\" />\n\t<parameter name='outputPath' value='outputPayload' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1622,\r
+        "y": 793,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d59d4575.f7aa08",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1606,\r
+        "y": 840,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "676d5ce5.e9d864",\r
+                "8ecd1678.ebdff8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "676d5ce5.e9d864",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1783,\r
+        "y": 819,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "72836a7a.768624"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ecd1678.ebdff8",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1782,\r
+        "y": 859,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "5f5e736e.9d3b8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f5e736e.9d3b8c",\r
+        "type": "set",\r
+        "name": "set DmaapReq with payload",\r
+        "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-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-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-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<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+        "comments": "",\r
+        "x": 1980,\r
+        "y": 859,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bd7deada.205038",\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": 2322,\r
+        "y": 937,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "530e9d63.07dd34",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1788.000244140625,\r
+        "y": 958.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "aba50f21.a535d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6c0e471.9108d8",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1787.000244140625,\r
+        "y": 1034.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "801dd50e.8622c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97b68625.59c538",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1605.000244140625,\r
+        "y": 994.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "530e9d63.07dd34",\r
+                "d6c0e471.9108d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acbbf9db.eeba28",\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": 2363.000244140625,\r
+        "y": 1018.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aba50f21.a535d",\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": 1958.000244140625,\r
+        "y": 958.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "3ac4241b.62144c",\r
+                "c67e4b5c.d70a28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "801dd50e.8622c8",\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": 1958.000244140625,\r
+        "y": 1034.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "8dcd3ae3.608a58",\r
+                "a94e8dc6.52647"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "657ecc9e.2687c4",\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": 2316.000244140625,\r
+        "y": 974.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "52f49f6f.dcf4",\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": 2359.000244140625,\r
+        "y": 1056.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ac4241b.62144c",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2146.000244140625,\r
+        "y": 936.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "bd7deada.205038"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c67e4b5c.d70a28",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2127.000244140625,\r
+        "y": 974.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "657ecc9e.2687c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dcd3ae3.608a58",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2147.000244140625,\r
+        "y": 1018.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "acbbf9db.eeba28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a94e8dc6.52647",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2129.000244140625,\r
+        "y": 1056.9999389648438,\r
+        "z": "b4969602.e5a2a8",\r
+        "wires": [\r
+            [\r
+                "52f49f6f.dcf4"\r
+            ]\r
+        ]\r
+    }\r
+]
\ No newline at end of file