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-post-check.json
index 9621049..a17cdf7 100644 (file)
-[
-    {
-        "comments": "",
-        "id": "e4e70092.b7662",
-        "name": "upgrade-post-check",
-        "outputs": 1,
-        "type": "method",
-        "wires": [
-            [
-                "bb888dbc.8c45a8"
-            ]
-        ],
-        "x": 521,
-        "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
-        "y": 182,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "8bfd5b63.3e5f4",
-        "module": "LCM",
-        "name": "LCM ${project.version}",
-        "outputs": 1,
-        "type": "service-logic",
-        "version": "${project.version}",
-        "wires": [
-            [
-                "e4e70092.b7662"
-            ]
-        ],
-        "x": 308.99993896484375,
-        "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}'>",
-        "y": 183,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "5e5ee749.3bcc48",
-        "name": "execute AnsibleA.reqExec",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "1634a5a.ed4b85a",
-                "957f4d84.2df1f",
-                "46d7a6a2.66c73"
-            ]
-        ],
-        "x": 309.00001525878906,
-        "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`'/>",
-        "y": 400,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "a6974c46.ebe7b8",
-        "name": "switch",
-        "outputs": 1,
-        "type": "switchNode",
-        "wires": [
-            [
-                "688b9000.f7d6e",
-                "6d4c7406.63e3a4",
-                "f9c039c.e2674c8"
-            ]
-        ],
-        "x": 610,
-        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
-        "y": 448,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "688b9000.f7d6e",
-        "name": "outcome 500",
-        "outputs": 1,
-        "type": "other",
-        "wires": [
-            [
-                "31c18e01.31d712"
-            ]
-        ],
-        "x": 755,
-        "xml": "<outcome value='500'>\n",
-        "y": 446.00000762939453,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "6d4c7406.63e3a4",
-        "name": "outcome 100",
-        "outputs": 1,
-        "type": "other",
-        "wires": [
-            [
-                "49c00e3.94ec7f"
-            ]
-        ],
-        "x": 758,
-        "xml": "<outcome value='100'>\n",
-        "y": 489.00003814697266,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "49c00e3.94ec7f",
-        "name": "execute reqExecResult",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "23a74147.f18206",
-                "8fc99d96.bc351"
-            ]
-        ],
-        "x": 936.0000305175781,
-        "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",
-        "y": 489.00003814697266,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "957f4d84.2df1f",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "31c18e01.31d712"
-            ]
-        ],
-        "x": 501,
-        "xml": "<outcome value='failure'>\n",
-        "y": 357.0000305175781,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "1634a5a.ed4b85a",
-        "name": "other",
-        "outputs": 1,
-        "type": "other",
-        "wires": [
-            [
-                "a6974c46.ebe7b8"
-            ]
-        ],
-        "x": 503,
-        "xml": "<outcome value='Other'>\n",
-        "y": 409,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "23a74147.f18206",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "31c18e01.31d712"
-            ]
-        ],
-        "x": 1097.0000610351562,
-        "xml": "<outcome value='failure'>\n",
-        "y": 466.00000762939453,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "f9c039c.e2674c8",
-        "name": "outcome 101",
-        "outputs": 1,
-        "type": "other",
-        "wires": [
-            [
-                "31c18e01.31d712"
-            ]
-        ],
-        "x": 752,
-        "xml": "<outcome value='101'>\n",
-        "y": 404.00003814697266,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "8fc99d96.bc351",
-        "name": "success",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "d1887396.9adf08"
-            ]
-        ],
-        "x": 1104.0000610351562,
-        "xml": "<outcome value='success'>\n",
-        "y": 514.0000381469727,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "6d18cbe4.797a4c",
-        "name": "return success",
-        "type": "returnSuccess",
-        "wires": [],
-        "x": 1386.9999389648438,
-        "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`'/>",
-        "y": 566.0000381469727,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "id": "12001730.eb4a51",
-        "name": "DGSTART",
-        "outputs": 1,
-        "type": "dgstart",
-        "wires": [
-            [
-                "8bfd5b63.3e5f4"
-            ]
-        ],
-        "x": 124,
-        "y": 182,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "bb888dbc.8c45a8",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "5e5ee749.3bcc48",
-                "a6d4fb87.681f68",
-                "b740ef3c.edfdc8"
-            ]
-        ],
-        "x": 119.91668701171875,
-        "xml": "<block>\n",
-        "y": 363.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "a6d4fb87.681f68",
-        "name": "execute Properties",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            []
-        ],
-        "x": 292.00001525878906,
-        "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",
-        "y": 321.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "cb67f90f.046f3",
-        "name": "execute DmaapMsg",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "875f0b0e.0e6f7"
-            ]
-        ],
-        "x": 1104.0000610351562,
-        "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",
-        "y": 310.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "875f0b0e.0e6f7",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "ffef3abf.fa3b28"
-            ]
-        ],
-        "x": 1274,
-        "xml": "<outcome value='failure'>\n",
-        "y": 309.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "31c18e01.31d712",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "cb67f90f.046f3",
-                "a0aa0de3.da3e58",
-                "ba94d9aa.311d58"
-            ]
-        ],
-        "x": 907,
-        "xml": "<block>\n",
-        "y": 334.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "49340dd8.256594",
-        "name": "execute DmaapMsg",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "2488d4ee.ca9d2c"
-            ]
-        ],
-        "x": 1407.4999389648438,
-        "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",
-        "y": 515.0833511352539,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "2488d4ee.ca9d2c",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "4d1cd7f3.31def8"
-            ]
-        ],
-        "x": 1567.4999389648438,
-        "xml": "<outcome value='failure'>\n",
-        "y": 515.0833511352539,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "ffef3abf.fa3b28",
-        "name": "record",
-        "outputs": 1,
-        "type": "record",
-        "wires": [
-            []
-        ],
-        "x": 1406,
-        "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'/>",
-        "y": 309.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "a0aa0de3.da3e58",
-        "name": "return failure",
-        "type": "returnFailure",
-        "wires": [],
-        "x": 1078.9166870117188,
-        "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
-        "y": 347.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "4d1cd7f3.31def8",
-        "name": "record",
-        "outputs": 1,
-        "type": "record",
-        "wires": [
-            []
-        ],
-        "x": 1688.9166870117188,
-        "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'/>",
-        "y": 516.0833511352539,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "ba94d9aa.311d58",
-        "name": "set",
-        "type": "set",
-        "wires": [],
-        "x": 1056.0000610351562,
-        "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.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.originator-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.payload' value='`$org.onap.appc.adapter.ansible.results`'/>\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",
-        "y": 257.0833435058594,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "d1887396.9adf08",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "49340dd8.256594",
-                "2c76247f.67dc84",
-                "6d18cbe4.797a4c"
-            ]
-        ],
-        "x": 1236.9999389648438,
-        "xml": "<block>\n",
-        "y": 514.0833206176758,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "2c76247f.67dc84",
-        "name": "set",
-        "type": "set",
-        "wires": [],
-        "x": 1367.1666870117188,
-        "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.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.originator-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.payload' value='`$org.onap.appc.adapter.ansible.results`'/>\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",
-        "y": 467.0833511352539,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "46d7a6a2.66c73",
-        "name": "not-found",
-        "outputs": 1,
-        "type": "not-found",
-        "wires": [
-            [
-                "c55c0137.1972f8"
-            ]
-        ],
-        "x": 497,
-        "xml": "<outcome value='not-found'>\n",
-        "y": 310,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "5abbb598.ba8e2c",
-        "name": "set Defaults",
-        "type": "set",
-        "wires": [],
-        "x": 881,
-        "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",
-        "y": 257,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "c55c0137.1972f8",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "5abbb598.ba8e2c",
-                "31c18e01.31d712"
-            ]
-        ],
-        "x": 681,
-        "xml": "<block>\n",
-        "y": 302,
-        "z": "9bf3d460.112078"
-    },
-    {
-        "comments": "",
-        "id": "b740ef3c.edfdc8",
-        "name": "set default status value",
-        "type": "set",
-        "wires": [],
-        "x": 306,
-        "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
-        "y": 361,
-        "z": "9bf3d460.112078"
-    }
-]
+[\r
+    {\r
+        "id": "c2e43cb1.7f88d",\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": 521.25,\r
+        "y": 45,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "7a82a4e1.74051c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7c3a05a.217d3",\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": 309.24993896484375,\r
+        "y": 46,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "c2e43cb1.7f88d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4aa2e04.16b662",\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": 423.25001525878906,\r
+        "y": 692,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "dfb73c1.130adc",\r
+                "ba520b63.5fbad8",\r
+                "37993504.393d8a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22e681c3.fbf5ce",\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": 823.2499389648438,\r
+        "y": 800.0000305175781,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "a39e090c.01cdb8",\r
+                "5c6685ba.e0353c",\r
+                "875ad319.3c857"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a39e090c.01cdb8",\r
+        "type": "other",\r
+        "name": "outcome 500",\r
+        "xml": "<outcome value='500'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 968.2499389648438,\r
+        "y": 798.0000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "35d55016.e4b95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c6685ba.e0353c",\r
+        "type": "other",\r
+        "name": "outcome 100",\r
+        "xml": "<outcome value='100'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 965.2499389648438,\r
+        "y": 855.0000305175781,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "57b98d51.2b4284"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "57b98d51.2b4284",\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": 1153.2499389648438,\r
+        "y": 854.0000305175781,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "6c05563.cc2bca8",\r
+                "37d17f6d.5fa27"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba520b63.5fbad8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682.2499389648438,\r
+        "y": 713.0000915527344,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "35d55016.e4b95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfb73c1.130adc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 684.2499389648438,\r
+        "y": 765.0000610351562,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "22e681c3.fbf5ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c05563.cc2bca8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1322.2498779296875,\r
+        "y": 836.0000610351562,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "9c19d3c7.c09df"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "875ad319.3c857",\r
+        "type": "other",\r
+        "name": "outcome 101",\r
+        "xml": "<outcome value='101'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 965.2499389648438,\r
+        "y": 756.0000686645508,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "35d55016.e4b95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37d17f6d.5fa27",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1326.2498779296875,\r
+        "y": 880.0001220703125,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "9c19d3c7.c09df"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d249d1c.21ada2",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 124.25,\r
+        "y": 45,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "c7c3a05a.217d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a82a4e1.74051c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 169.16669082641602,\r
+        "y": 196.08334636688232,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "4aa2e04.16b662",\r
+                "b3d629e9.2c9188",\r
+                "ab162f45.fae5a",\r
+                "f7de272b.bbcd78",\r
+                "3899b5e2.384a4a",\r
+                "72e148f.bd2b1b8",\r
+                "5a9e7617.91c178",\r
+                "6cd92845.9c27d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3d629e9.2c9188",\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": 467.2500305175781,\r
+        "y": 156.08334350585938,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f58bf2c.b9548",\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": 1634.2498779296875,\r
+        "y": 662.0834045410156,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "6180b71a.bb2e58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6180b71a.bb2e58",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1804.2498168945312,\r
+        "y": 661.0834045410156,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "b7860b2.f448af8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "35d55016.e4b95",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1437.2498168945312,\r
+        "y": 686.0834045410156,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "5f58bf2c.b9548",\r
+                "da507cbc.1345a",\r
+                "e8bf8d4b.e71c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df593d16.3a873",\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": 1669.7498779296875,\r
+        "y": 928.0833740234375,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "8cde94cd.183ad8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8cde94cd.183ad8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1854.7498779296875,\r
+        "y": 928.0833740234375,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "97083a8c.a99408"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7860b2.f448af8",\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": 1924.2498779296875,\r
+        "y": 660.0833740234375,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "da507cbc.1345a",\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": 1616.16650390625,\r
+        "y": 713.0834045410156,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "97083a8c.a99408",\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": 1987.1666259765625,\r
+        "y": 928.0833740234375,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8bf8d4b.e71c5",\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": 1621.2498779296875,\r
+        "y": 609.0833740234375,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9c19d3c7.c09df",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1458.2498779296875,\r
+        "y": 855.0833740234375,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "df593d16.3a873",\r
+                "60d331ee.302dd",\r
+                "89d6b5d0.08f888",\r
+                "35e221ba.99c04e",\r
+                "25b31875.8826d8",\r
+                "2a38d6be.132baa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a38d6be.132baa",\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": 1656.4166564941406,\r
+        "y": 841.8333864212036,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37993504.393d8a",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 691.2499389648438,\r
+        "y": 665.0000610351562,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "d005c7d.aef5638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c48a33.c60a15c",\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": 982.2499389648438,\r
+        "y": 624,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d005c7d.aef5638",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 828.2499389648438,\r
+        "y": 659.0000610351562,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "4c48a33.c60a15c",\r
+                "35d55016.e4b95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab162f45.fae5a",\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": 460.25,\r
+        "y": 203,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c357a4ca.bfb1f8",\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": 1000.25,\r
+        "y": 432,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "92bfd5f6.6a14f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92bfd5f6.6a14f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1158.6407470703125,\r
+        "y": 430.28399658203125,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "98d72ef7.86e05"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a9e7617.91c178",\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": 389.2498779296875,\r
+        "y": 620,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3899b5e2.384a4a",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-flag",\r
+        "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 446.00000762939453,\r
+        "y": 350.7500057220459,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "64bc4358.92afbc",\r
+                "2ae0f373.dadc4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7de272b.bbcd78",\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": 474.25,\r
+        "y": 250,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "64bc4358.92afbc",\r
+        "type": "outcome",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 630.5000076293945,\r
+        "y": 294.7500057220459,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "e0a7ad5f.00f71"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ae0f373.dadc4c",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 632.9999465942383,\r
+        "y": 402.5000057220459,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "b6955f66.1b829"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6955f66.1b829",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 787.2499504089355,\r
+        "y": 403.5000057220459,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "c357a4ca.bfb1f8",\r
+                "828681ee.30745"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2ca99f8.c4bfb8",\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": 957.7500152587891,\r
+        "y": 202.75000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "828681ee.30745",\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": 1009.25,\r
+        "y": 376,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "72e148f.bd2b1b8",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 439.25,\r
+        "y": 488,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "3583e961.20f9b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3583e961.20f9b6",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 610.25,\r
+        "y": 489,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "7bde6693.6b25d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7bde6693.6b25d8",\r
+        "type": "set",\r
+        "name": "set playbookname",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",\r
+        "comments": "",\r
+        "x": 800.25,\r
+        "y": 488,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6cd92845.9c27d8",\r
+        "type": "switchNode",\r
+        "name": "switch nodelist",\r
+        "xml": "<switch test='`$nodelist`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 429.25,\r
+        "y": 547,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "8b89b139.925f3",\r
+                "8a45ae4e.0ff3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b89b139.925f3",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 609.25,\r
+        "y": 540,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "27015581.7c7d8a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27015581.7c7d8a",\r
+        "type": "set",\r
+        "name": "set nodelist",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
+        "comments": "",\r
+        "x": 766.25,\r
+        "y": 554,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8a45ae4e.0ff3c",\r
+        "type": "outcome",\r
+        "name": "empty",\r
+        "xml": "<outcome value=\"['']\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 608.25,\r
+        "y": 584,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "27015581.7c7d8a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b77da834.ba8d48",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1484.25,\r
+        "y": 419,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "3d1d8601.0e200a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d1d8601.0e200a",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1662.25,\r
+        "y": 419,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "eccd491.aeea6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de4502a8.6c8e4",\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": 1457.25,\r
+        "y": 472,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "98d72ef7.86e05",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1287.25,\r
+        "y": 429,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "b77da834.ba8d48",\r
+                "de4502a8.6c8e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eccd491.aeea6b8",\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": 1834.25,\r
+        "y": 417,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "60d331ee.302dd",\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": 1684.25,\r
+        "y": 761,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "89d6b5d0.08f888",\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": 1690.25,\r
+        "y": 806,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "35e221ba.99c04e",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1676.2500228881836,\r
+        "y": 881.7500133514404,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "f003e098.7e521"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f003e098.7e521",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1850.2500267028809,\r
+        "y": 882.0000133514404,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "75f79f60.b6817"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75f79f60.b6817",\r
+        "type": "set",\r
+        "name": "set DmaapReq with payload",\r
+        "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+        "comments": "",\r
+        "x": 2048.500030517578,\r
+        "y": 882.5000133514404,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2277df4f.e54cc",\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": 2387.25,\r
+        "y": 963.9999389648438,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce7bf734.28bda8",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1853.250244140625,\r
+        "y": 985.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "d2e205c4.4281f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d19e0c7b.53065",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1852.250244140625,\r
+        "y": 1061.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "514b412e.93d64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25b31875.8826d8",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1670.250244140625,\r
+        "y": 1021.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "ce7bf734.28bda8",\r
+                "d19e0c7b.53065"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "155bb7c3.d857e8",\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": 2428.250244140625,\r
+        "y": 1045.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2e205c4.4281f8",\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": 2023.250244140625,\r
+        "y": 985.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "98292b3a.f54c38",\r
+                "ca11ee2d.ab69a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "514b412e.93d64",\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": 2023.250244140625,\r
+        "y": 1061.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "337c58c3.55ed98",\r
+                "7cab1d0c.110394"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41ed8585.4713cc",\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": 2381.250244140625,\r
+        "y": 1001.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "448216a9.053268",\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": 2424.250244140625,\r
+        "y": 1083.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "98292b3a.f54c38",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2211.250244140625,\r
+        "y": 963.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "2277df4f.e54cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca11ee2d.ab69a",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2192.250244140625,\r
+        "y": 1001.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "41ed8585.4713cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "337c58c3.55ed98",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2212.250244140625,\r
+        "y": 1045.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "155bb7c3.d857e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cab1d0c.110394",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2194.250244140625,\r
+        "y": 1083.9998779296875,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "448216a9.053268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0a7ad5f.00f71",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 789.5000114440918,\r
+        "y": 253.25000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "c2ca99f8.c4bfb8",\r
+                "5b8c934.62b5e6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b8c934.62b5e6c",\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": 995.7500133514404,\r
+        "y": 297.75000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "779f8f25.8993f",\r
+                "4556266f.9d5cb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "779f8f25.8993f",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1203.2500190734863,\r
+        "y": 261.50000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "de8d7bd8.ab0a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4556266f.9d5cb8",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1202.0000228881836,\r
+        "y": 326.50000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": [\r
+            [\r
+                "d0603697.a5edb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de8d7bd8.ab0a48",\r
+        "type": "set",\r
+        "name": "set playbookname from prop",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>\n",\r
+        "comments": "",\r
+        "x": 1405.7500228881836,\r
+        "y": 261.50000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d0603697.a5edb8",\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": 1400.7500228881836,\r
+        "y": 326.50000381469727,\r
+        "z": "29d3492e.6e65c6",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file