Merge "Support playbook-name in payload of PNF S/W upgrade LCM API's request"
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_upgrade-pre-check.json
index 51d33da..d6a4317 100644 (file)
-[
-    {
-        "id": "8794d455.5cce5",
-        "type": "method",
-        "name": "upgrade-pre-check",
-        "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 520,
-        "y": 133,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "ff45289b.166bd8"
-            ]
-        ]
-    },
-    {
-        "id": "80857f67.984b6",
-        "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": 307.99993896484375,
-        "y": 134,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "8794d455.5cce5"
-            ]
-        ]
-    },
-    {
-        "id": "d102dc2d.41fe",
-        "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-pre-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-pre-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 308.00001525878906,
-        "y": 351,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "dde77b94.93ef18",
-                "ed53398e.b83e6",
-                "f5081dcd.9b7118"
-            ]
-        ]
-    },
-    {
-        "id": "fe62b59e.3e5e2",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 609,
-        "y": 399,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "1521e2ba.c5b60d",
-                "c92b8968.b6598",
-                "1549489f.79a4df"
-            ]
-        ]
-    },
-    {
-        "id": "1521e2ba.c5b60d",
-        "type": "other",
-        "name": "outcome 500",
-        "xml": "<outcome value='500'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 754,
-        "y": 397.00000762939453,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "c92b8968.b6598",
-        "type": "other",
-        "name": "outcome 100",
-        "xml": "<outcome value='100'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 757,
-        "y": 440.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "a515c0c.2a1774"
-            ]
-        ]
-    },
-    {
-        "id": "a515c0c.2a1774",
-        "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-pre-check.playbookname`'/>\n\t\n\n\n\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 935.0000305175781,
-        "y": 440.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "aafd18f3.e67588",
-                "12d7ff4a.4dff39"
-            ]
-        ]
-    },
-    {
-        "id": "ed53398e.b83e6",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 500,
-        "y": 308.0000305175781,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "dde77b94.93ef18",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 502,
-        "y": 360,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "fe62b59e.3e5e2"
-            ]
-        ]
-    },
-    {
-        "id": "aafd18f3.e67588",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1096.0000610351562,
-        "y": 417.00000762939453,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "1549489f.79a4df",
-        "type": "other",
-        "name": "outcome 101",
-        "xml": "<outcome value='101'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 751,
-        "y": 355.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "12d7ff4a.4dff39",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1103.0000610351562,
-        "y": 465.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "db47df98.2c4588"
-            ]
-        ]
-    },
-    {
-        "id": "cdc8f332.5e3cb8",
-        "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": 1385.9999389648438,
-        "y": 517.0000381469727,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "35025675.c3eb3a",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 123,
-        "y": 133,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "80857f67.984b6"
-            ]
-        ]
-    },
-    {
-        "id": "ff45289b.166bd8",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 118.91668701171875,
-        "y": 314.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "d102dc2d.41fe",
-                "8c1fb722.e712a8",
-                "d66534d5.e238c"
-            ]
-        ]
-    },
-    {
-        "id": "8c1fb722.e712a8",
-        "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": 292.00001525878906,
-        "y": 267.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "5aa80cdf.0a7ab4",
-        "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": 1103.0000610351562,
-        "y": 261.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "33950e88.f14ed2"
-            ]
-        ]
-    },
-    {
-        "id": "33950e88.f14ed2",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1273,
-        "y": 260.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "d29bb160.8e2c18"
-            ]
-        ]
-    },
-    {
-        "id": "6680d59e.022b5c",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 906,
-        "y": 285.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "5aa80cdf.0a7ab4",
-                "b116f2bd.6d187",
-                "3c43772b.4e0da8"
-            ]
-        ]
-    },
-    {
-        "id": "ee44a647.c4fff",
-        "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": 1406.4999389648438,
-        "y": 466.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "96654ac9.0d28b8"
-            ]
-        ]
-    },
-    {
-        "id": "96654ac9.0d28b8",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1566.4999389648438,
-        "y": 466.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "8e468697.9f9a2"
-            ]
-        ]
-    },
-    {
-        "id": "d29bb160.8e2c18",
-        "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": 1405,
-        "y": 260.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "b116f2bd.6d187",
-        "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": 1077.9166870117188,
-        "y": 298.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "8e468697.9f9a2",
-        "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": 1687.9166870117188,
-        "y": 467.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "3c43772b.4e0da8",
-        "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-pre-check-input.common-header.request-id + '-' + $upgrade-pre-check-input.common-header.sub-request-id`\"/>\n\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-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": 1055.0000610351562,
-        "y": 208.08334350585938,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "db47df98.2c4588",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1235.9999389648438,
-        "y": 465.0833206176758,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "ee44a647.c4fff",
-                "61a3bf4.bcdb3c",
-                "cdc8f332.5e3cb8"
-            ]
-        ]
-    },
-    {
-        "id": "61a3bf4.bcdb3c",
-        "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-pre-check-input.common-header.request-id + '-' + $upgrade-pre-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-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-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": 1366.1666870117188,
-        "y": 418.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "f5081dcd.9b7118",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 496,
-        "y": 261,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "ce8b68f1.22b2d8"
-            ]
-        ]
-    },
-    {
-        "id": "e7918964.c04f3",
-        "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": 880,
-        "y": 208,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "ce8b68f1.22b2d8",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 680,
-        "y": 253,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "e7918964.c04f3",
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "d66534d5.e238c",
-        "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": 301,
-        "y": 311,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    }
-]
+[\r
+    {\r
+        "id": "79123894.fcdcc8",\r
+        "type": "method",\r
+        "name": "upgrade-pre-check",\r
+        "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 498.75,\r
+        "y": 41.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "54c3a48c.9ff08c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "700edfe2.db0dd",\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": 286.74993896484375,\r
+        "y": 42.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "79123894.fcdcc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63cab8d6.48eba8",\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-pre-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-pre-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 400.75001525878906,\r
+        "y": 688.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "be544d01.a8609",\r
+                "1f309cc0.2f6233",\r
+                "cca4076a.107908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb1a1ff1.d1c85",\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": 800.7499389648438,\r
+        "y": 796.2500305175781,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "1ecad72d.159dd9",\r
+                "61406129.c065d",\r
+                "e371269b.c16e28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ecad72d.159dd9",\r
+        "type": "other",\r
+        "name": "outcome 500",\r
+        "xml": "<outcome value='500'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 945.7499389648438,\r
+        "y": 794.2500381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "a19523e1.35cbd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61406129.c065d",\r
+        "type": "other",\r
+        "name": "outcome 100",\r
+        "xml": "<outcome value='100'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 942.7499389648438,\r
+        "y": 851.2500305175781,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "21d794bd.98632c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21d794bd.98632c",\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": 1130.7499389648438,\r
+        "y": 850.2500305175781,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "10f75364.16ad2d",\r
+                "6e5d5eb.c0cdfa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f309cc0.2f6233",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 659.7499389648438,\r
+        "y": 709.2500915527344,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "a19523e1.35cbd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be544d01.a8609",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 661.7499389648438,\r
+        "y": 761.2500610351562,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "eb1a1ff1.d1c85"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10f75364.16ad2d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1299.7498779296875,\r
+        "y": 832.2500610351562,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "35aa42ce.44d35e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e371269b.c16e28",\r
+        "type": "other",\r
+        "name": "outcome 101",\r
+        "xml": "<outcome value='101'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 942.7499389648438,\r
+        "y": 752.2500686645508,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "a19523e1.35cbd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e5d5eb.c0cdfa",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1303.7498779296875,\r
+        "y": 876.2501220703125,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "35aa42ce.44d35e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17dc23e5.79688c",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 101.75,\r
+        "y": 41.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "700edfe2.db0dd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54c3a48c.9ff08c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 146.66669082641602,\r
+        "y": 192.33334636688232,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "63cab8d6.48eba8",\r
+                "e0ff5747.e0e408",\r
+                "28a0da8f.9238c6",\r
+                "9d9af3e3.66cfb",\r
+                "fb9c8e38.ca40a",\r
+                "51abfe6f.79ea7",\r
+                "97847ebc.c54a9",\r
+                "b335e1b5.94d26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0ff5747.e0e408",\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": 444.7500305175781,\r
+        "y": 152.33334350585938,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9d7923c.2ca01",\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": 1611.7498779296875,\r
+        "y": 658.3334045410156,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "f8292962.0b6818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f8292962.0b6818",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1781.7498168945312,\r
+        "y": 657.3334045410156,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "2356f9f0.a42e76"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a19523e1.35cbd",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1414.7498168945312,\r
+        "y": 682.3334045410156,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "a9d7923c.2ca01",\r
+                "f3ee8743.36d458",\r
+                "f66a0341.fd891"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a59867f8.a2eaa8",\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": 1647.2498779296875,\r
+        "y": 924.3333740234375,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "712d36ea.cfb478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "712d36ea.cfb478",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1832.2498779296875,\r
+        "y": 924.3333740234375,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "a57d56eb.e502e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2356f9f0.a42e76",\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": 1901.7498779296875,\r
+        "y": 656.3333740234375,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3ee8743.36d458",\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": 1593.66650390625,\r
+        "y": 709.3334045410156,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a57d56eb.e502e8",\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": 1964.6666259765625,\r
+        "y": 924.3333740234375,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f66a0341.fd891",\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-pre-check-input.common-header.request-id + '-' + $upgrade-pre-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-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-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": 1598.7498779296875,\r
+        "y": 605.3333740234375,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35aa42ce.44d35e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1435.7498779296875,\r
+        "y": 851.3333740234375,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "a59867f8.a2eaa8",\r
+                "556a3910.4bdad8",\r
+                "e92cf733.30ba38",\r
+                "e3dfd6bf.4ead58",\r
+                "ce2a6d93.154ee",\r
+                "4de0f71c.f3cdf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4de0f71c.f3cdf8",\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-pre-check-input.common-header.request-id + '-' + $upgrade-pre-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-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-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": 1633.9166564941406,\r
+        "y": 838.0833864212036,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cca4076a.107908",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 668.7499389648438,\r
+        "y": 661.2500610351562,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "8e5e5147.24c25"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1a3d0c1.ed1c7",\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": 959.7499389648438,\r
+        "y": 620.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8e5e5147.24c25",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 805.7499389648438,\r
+        "y": 655.2500610351562,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "e1a3d0c1.ed1c7",\r
+                "a19523e1.35cbd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "28a0da8f.9238c6",\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<parameter name='outputPayloadField' value='.Output' />\n",\r
+        "comments": "",\r
+        "x": 437.75,\r
+        "y": 199.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b9d0103e.a3c0f",\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-pre-check-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 977.75,\r
+        "y": 428.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "707a6dc2.a56554"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "707a6dc2.a56554",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1136.1407470703125,\r
+        "y": 426.53399658203125,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "f770f730.800e58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97847ebc.c54a9",\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": 366.7498779296875,\r
+        "y": 616.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb9c8e38.ca40a",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-flag",\r
+        "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 423.50000762939453,\r
+        "y": 347.0000057220459,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "335af4ab.8619ac",\r
+                "deac08e0.fa0578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d9af3e3.66cfb",\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-pre-check-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 451.75,\r
+        "y": 246.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "335af4ab.8619ac",\r
+        "type": "outcome",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 608.0000076293945,\r
+        "y": 291.0000057220459,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "7ba201ed.e5e12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "deac08e0.fa0578",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 610.4999465942383,\r
+        "y": 398.7500057220459,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "b91d48aa.1e6708"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b91d48aa.1e6708",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 764.7499504089355,\r
+        "y": 399.7500057220459,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "b9d0103e.a3c0f",\r
+                "df4c69bf.c75128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9826fbc.acb59",\r
+        "type": "set",\r
+        "name": "set AnsibleReq",\r
+        "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
+        "comments": "",\r
+        "x": 935.2500152587891,\r
+        "y": 199.00000381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "df4c69bf.c75128",\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-pre-check.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 986.75,\r
+        "y": 372.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "51abfe6f.79ea7",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 416.75,\r
+        "y": 484.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "159a0737.e614f9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "159a0737.e614f9",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 587.75,\r
+        "y": 485.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "7c0bd670.f80e88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c0bd670.f80e88",\r
+        "type": "set",\r
+        "name": "set playbookname",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>",\r
+        "comments": "",\r
+        "x": 777.75,\r
+        "y": 484.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b335e1b5.94d26",\r
+        "type": "switchNode",\r
+        "name": "switch nodelist",\r
+        "xml": "<switch test='`$nodelist`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 406.75,\r
+        "y": 543.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "bcd038e8.2000e8",\r
+                "438394.8dcf2c6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bcd038e8.2000e8",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 586.75,\r
+        "y": 536.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "7554d6f5.ecbc18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7554d6f5.ecbc18",\r
+        "type": "set",\r
+        "name": "set nodelist",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
+        "comments": "",\r
+        "x": 743.75,\r
+        "y": 550.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "438394.8dcf2c6c",\r
+        "type": "outcome",\r
+        "name": "empty",\r
+        "xml": "<outcome value=\"['']\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 585.75,\r
+        "y": 580.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "7554d6f5.ecbc18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81ee25ea.70a5d8",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1461.75,\r
+        "y": 415.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "aa8d4256.96bc7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa8d4256.96bc7",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1639.75,\r
+        "y": 415.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "25ca05e6.56319a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6663d9a.24393",\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": 1434.75,\r
+        "y": 468.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f770f730.800e58",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1264.75,\r
+        "y": 425.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "81ee25ea.70a5d8",\r
+                "e6663d9a.24393"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25ca05e6.56319a",\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-pre-check.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1811.75,\r
+        "y": 413.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "556a3910.4bdad8",\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": 1661.75,\r
+        "y": 757.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e92cf733.30ba38",\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' + $outputPayloadField`\" />\n\t<parameter name='outputPath' value='outputPayload' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1667.75,\r
+        "y": 802.25,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3dfd6bf.4ead58",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1653.7500228881836,\r
+        "y": 878.0000133514404,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "2d71184f.d707e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d71184f.d707e8",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1827.7500267028809,\r
+        "y": 878.2500133514404,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "17ec9bb3.6c7794"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17ec9bb3.6c7794",\r
+        "type": "set",\r
+        "name": "set DmaapReq with payload",\r
+        "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+        "comments": "",\r
+        "x": 2026.0000305175781,\r
+        "y": 878.7500133514404,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "421baef1.ca44d",\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": 2364.75,\r
+        "y": 960.2499389648438,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "52010210.9a3a3c",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1830.750244140625,\r
+        "y": 982.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "86cbc6a0.b5d6e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "555ad08b.2b8e",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1829.750244140625,\r
+        "y": 1058.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "4f3f37a2.c71f38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce2a6d93.154ee",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1647.750244140625,\r
+        "y": 1018.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "52010210.9a3a3c",\r
+                "555ad08b.2b8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18ff9108.05c38f",\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": 2405.750244140625,\r
+        "y": 1042.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "86cbc6a0.b5d6e8",\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": 2000.750244140625,\r
+        "y": 982.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "1e14d58a.ceb40a",\r
+                "1771d8c.468b627"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4f3f37a2.c71f38",\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": 2000.750244140625,\r
+        "y": 1058.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "e5846df5.e9d01",\r
+                "6896eb19.633b54"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "257794.a39f786c",\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": 2358.750244140625,\r
+        "y": 998.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dac7ab2b.e0d178",\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": 2401.750244140625,\r
+        "y": 1080.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1e14d58a.ceb40a",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2188.750244140625,\r
+        "y": 960.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "421baef1.ca44d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1771d8c.468b627",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2169.750244140625,\r
+        "y": 998.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "257794.a39f786c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5846df5.e9d01",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2189.750244140625,\r
+        "y": 1042.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "18ff9108.05c38f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6896eb19.633b54",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2171.750244140625,\r
+        "y": 1080.2498779296875,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "dac7ab2b.e0d178"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ba201ed.e5e12",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 767.0000114440918,\r
+        "y": 249.50000381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "b9826fbc.acb59",\r
+                "c9d057b5.ff9928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9d057b5.ff9928",\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": 973.2500133514404,\r
+        "y": 294.00000381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "b044a404.bd11f8",\r
+                "a1cad1b1.1a72f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b044a404.bd11f8",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1180.7500190734863,\r
+        "y": 257.75000381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "c89043b.0269bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1cad1b1.1a72f",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1179.5000228881836,\r
+        "y": 322.75000381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": [\r
+            [\r
+                "b3960e3d.f7841"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c89043b.0269bc",\r
+        "type": "set",\r
+        "name": "set playbookname from prop",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-pre-check.playbookname`'/>\n",\r
+        "comments": "",\r
+        "x": 1383.2500228881836,\r
+        "y": 257.75000381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b3960e3d.f7841",\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": 1378.2500228881836,\r
+        "y": 322.75000381469727,\r
+        "z": "98ab1d2d.2aba2",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file