Fix set nodelist in SW upgrade DGs
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_upgrade-post-check.json
index 60fe6a6..18a63f2 100644 (file)
 [\r
     {\r
-        "id": "1a420388.7ce24c",\r
+        "id": "ab475552.d851d8",\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": 550,\r
-        "y": 102,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 548,\r
+        "y": 59,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "e635fd5d.f4087"\r
+                "356938f4.e6ef78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c220826b.91906",\r
+        "id": "db22c5e0.c4b368",\r
         "type": "service-logic",\r
-        "name": "LCM ${project.version}",\r
+        "name": "LCM 1.4.5",\r
         "module": "LCM",\r
-        "version": "${project.version}",\r
+        "version": "1.4.5",\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": 337.99993896484375,\r
-        "y": 103,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 335.99993896484375,\r
+        "y": 60,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "1a420388.7ce24c"\r
+                "ab475552.d851d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "810e1e54.dec1c",\r
+        "id": "74883a0a.669d34",\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='`$prop.lcm.upgrade-post-check.playbookname`'/>",\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": 345.00001525878906,\r
-        "y": 379,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 403.00001525878906,\r
+        "y": 667,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "f279f5b8.9d49b8",\r
-                "895a0a53.e12ea8",\r
-                "fa759954.4e2068"\r
+                "8efae65a.30c7b8",\r
+                "fdc248e2.dda948",\r
+                "fc8e86cf.976918"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7db5396.7b5f1",\r
+        "id": "ea8ede8a.5e5e7",\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": 690.9999389648438,\r
-        "y": 530.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 802.9999389648438,\r
+        "y": 775.0000305175781,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "bc5a2382.4973",\r
-                "84f0dd88.8438",\r
-                "ffd4aab1.e3c4b8"\r
+                "ed747ae6.f82e38",\r
+                "d348a5a9.90bb58",\r
+                "606ee94e.547568"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc5a2382.4973",\r
+        "id": "ed747ae6.f82e38",\r
         "type": "other",\r
         "name": "outcome 500",\r
         "xml": "<outcome value='500'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 835.9999389648438,\r
-        "y": 528.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 947.9999389648438,\r
+        "y": 773.0000381469727,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "8e974f56.dbd44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84f0dd88.8438",\r
+        "id": "d348a5a9.90bb58",\r
         "type": "other",\r
         "name": "outcome 100",\r
         "xml": "<outcome value='100'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 838.9999389648438,\r
-        "y": 571.0000610351562,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 944.9999389648438,\r
+        "y": 830.0000305175781,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "f44a47b3.3aa128"\r
+                "5fe71ec4.57d62"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f44a47b3.3aa128",\r
+        "id": "5fe71ec4.57d62",\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='`$prop.lcm.upgrade-post-check.playbookname`'/>\n\t\n\n\n\n\n",\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": 1025.9999389648438,\r
-        "y": 570.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1132.9999389648438,\r
+        "y": 829.0000305175781,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "dd2fe7e6.957248",\r
-                "6913b982.6c9bb8"\r
+                "484e1e77.a4c4c",\r
+                "ef7a898e.c55ae8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "895a0a53.e12ea8",\r
+        "id": "fdc248e2.dda948",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 581.9999389648438,\r
-        "y": 439.0000534057617,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 661.9999389648438,\r
+        "y": 688.0000915527344,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "8e974f56.dbd44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f279f5b8.9d49b8",\r
+        "id": "8efae65a.30c7b8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 583.9999389648438,\r
-        "y": 491.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 663.9999389648438,\r
+        "y": 740.0000610351562,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "f7db5396.7b5f1"\r
+                "ea8ede8a.5e5e7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd2fe7e6.957248",\r
+        "id": "484e1e77.a4c4c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1189.9999389648438,\r
-        "y": 542.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1301.9999389648438,\r
+        "y": 787.0000381469727,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "8e974f56.dbd44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ffd4aab1.e3c4b8",\r
+        "id": "606ee94e.547568",\r
         "type": "other",\r
         "name": "outcome 101",\r
         "xml": "<outcome value='101'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 832.9999389648438,\r
-        "y": 486.00006103515625,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 944.9999389648438,\r
+        "y": 731.0000686645508,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "8e974f56.dbd44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6913b982.6c9bb8",\r
+        "id": "ef7a898e.c55ae8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1191.9999389648438,\r
-        "y": 597.0000915527344,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1309.9998779296875,\r
+        "y": 835.0001220703125,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "14c8dea1.b5b7a1"\r
+                "565fc0b9.1ff1a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a32993f8.f8215",\r
+        "id": "bca33267.b186f",\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": 1467.9998779296875,\r
-        "y": 648.0000610351562,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1603.9998779296875,\r
+        "y": 892.0000610351562,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d8c3f83d.d0b9d8",\r
+        "id": "f3c40140.4762d",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 153,\r
-        "y": 102,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 151,\r
+        "y": 59,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "c220826b.91906"\r
+                "db22c5e0.c4b368"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e635fd5d.f4087",\r
+        "id": "356938f4.e6ef78",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 139.91668701171875,\r
-        "y": 241.08334350585938,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 148.91668701171875,\r
+        "y": 151.08334350585938,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "810e1e54.dec1c",\r
-                "ee1802be.c5c18",\r
-                "e8d3b31a.f46c6",\r
-                "4d7f56db.9375c8"\r
+                "74883a0a.669d34",\r
+                "5f157934.113238",\r
+                "fad67e1f.e709b",\r
+                "f04f2fb5.8c0ca",\r
+                "a1aa3253.06afa",\r
+                "e636c2ac.2dc0d",\r
+                "8b5b2558.88c888",\r
+                "89a1b60f.9a2848"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee1802be.c5c18",\r
+        "id": "5f157934.113238",\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": 328.00001525878906,\r
-        "y": 225.08334350585938,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 447.0000305175781,\r
+        "y": 184.08334350585938,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3830f5d4.87f1aa",\r
+        "id": "9c2d2fed.0688d",\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": 1222.9999389648438,\r
-        "y": 371.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1613.9998779296875,\r
+        "y": 637.0834045410156,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "1566d659.a0655a"\r
+                "789af377.cced2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1566d659.a0655a",\r
+        "id": "789af377.cced2c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1392.9998779296875,\r
-        "y": 370.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1783.9998168945312,\r
+        "y": 636.0834045410156,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "22f8bfd0.6139e"\r
+                "c75d24f.c2de2d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80cc4946.3f0f78",\r
+        "id": "8e974f56.dbd44",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1025.9998779296875,\r
-        "y": 395.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1416.9998168945312,\r
+        "y": 661.0834045410156,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "3830f5d4.87f1aa",\r
-                "fedbb5e6.fb3c28",\r
-                "898f667e.daf2e8"\r
+                "9c2d2fed.0688d",\r
+                "a0c3935d.9a935",\r
+                "82255155.ccaef"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ce48bed.5b7c74",\r
+        "id": "2939808a.b52ef",\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": 1488.4998779296875,\r
-        "y": 597.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1614.4998779296875,\r
+        "y": 842.0833740234375,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "37e7fa80.2728b6"\r
+                "22bed4c.08b6a2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37e7fa80.2728b6",\r
+        "id": "22bed4c.08b6a2c",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1648.4998779296875,\r
-        "y": 597.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1782.4998779296875,\r
+        "y": 842.0833740234375,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "47c7511a.dd8fe"\r
+                "8841bc4a.67149"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22f8bfd0.6139e",\r
+        "id": "c75d24f.c2de2d8",\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": 1524.9998779296875,\r
-        "y": 370.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1903.9998779296875,\r
+        "y": 635.0833740234375,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fedbb5e6.fb3c28",\r
+        "id": "a0c3935d.9a935",\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": 1197.9165649414062,\r
-        "y": 408.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1595.91650390625,\r
+        "y": 688.0834045410156,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47c7511a.dd8fe",\r
+        "id": "8841bc4a.67149",\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": 1769.9166259765625,\r
-        "y": 598.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1910.9166259765625,\r
+        "y": 842.0833740234375,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "898f667e.daf2e8",\r
+        "id": "82255155.ccaef",\r
         "type": "set",\r
-        "name": "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": 1174.9999389648438,\r
-        "y": 318.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1600.9998779296875,\r
+        "y": 584.0833740234375,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": []\r
     },\r
     {\r
-        "id": "14c8dea1.b5b7a1",\r
+        "id": "565fc0b9.1ff1a",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1317.9998779296875,\r
-        "y": 596.0833435058594,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1437.9998779296875,\r
+        "y": 836.0833740234375,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "7ce48bed.5b7c74",\r
-                "70a28c6a.563d24",\r
-                "a32993f8.f8215"\r
+                "2939808a.b52ef",\r
+                "cd18f032.f6fef",\r
+                "bca33267.b186f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70a28c6a.563d24",\r
+        "id": "cd18f032.f6fef",\r
         "type": "set",\r
-        "name": "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": 1448.1666259765625,\r
-        "y": 549.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1604.1666259765625,\r
+        "y": 787.0833740234375,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fa759954.4e2068",\r
+        "id": "fc8e86cf.976918",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 577.9999389648438,\r
-        "y": 392.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 670.9999389648438,\r
+        "y": 640.0000610351562,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "ed41675d.59c088"\r
+                "95e77813.ba9108"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "756c2e53.ca6d7",\r
+        "id": "60c18ca3.4f03c4",\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": 1009.9999389648438,\r
-        "y": 297.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 961.9999389648438,\r
+        "y": 599,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ed41675d.59c088",\r
+        "id": "95e77813.ba9108",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 761.9999389648438,\r
-        "y": 384.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 807.9999389648438,\r
+        "y": 634.0000610351562,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "756c2e53.ca6d7",\r
-                "80cc4946.3f0f78"\r
+                "60c18ca3.4f03c4",\r
+                "8e974f56.dbd44"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e8d3b31a.f46c6",\r
+        "id": "fad67e1f.e709b",\r
         "type": "set",\r
-        "name": "set default status value",\r
-        "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
+        "name": "set default values",\r
+        "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n",\r
         "comments": "",\r
-        "x": 336,\r
-        "y": 269,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 440,\r
+        "y": 231,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4d7f56db.9375c8",\r
+        "id": "24f45898.65de18",\r
         "type": "get-resource",\r
-        "name": "get aai.generic-vnf by vnf-id",\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": 349.0000305175781,\r
-        "y": 325,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 980,\r
+        "y": 407,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "fa69a126.2a554",\r
-                "f9cb9963.f9e368"\r
+                "3a57fbc.0ac6d04"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa69a126.2a554",\r
-        "type": "failure",\r
+        "id": "3a57fbc.0ac6d04",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1138.3907470703125,\r
+        "y": 405.28399658203125,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "721a47cc.cdf2d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b5b2558.88c888",\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": 368.9998779296875,\r
+        "y": 595,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1aa3253.06afa",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-flag",\r
+        "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 422,\r
+        "y": 332,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "9417db8c.51c568",\r
+                "9e3df3f5.2c2d9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f04f2fb5.8c0ca",\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": 454,\r
+        "y": 278,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9417db8c.51c568",\r
+        "type": "outcome",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 619,\r
+        "y": 311,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "94353f3f.e7eee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e3df3f5.2c2d9",\r
+        "type": "outcome",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 589.86083984375,\r
-        "y": 312.53564453125,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 618.9999389648438,\r
+        "y": 372,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "2d1a88c6.11f9d8"\r
+                "95b6db3f.a43608"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f9cb9963.f9e368",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "95b6db3f.a43608",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 591.3908081054688,\r
-        "y": 260.28399658203125,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 766.9999389648438,\r
+        "y": 371,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             [\r
-                "c4d4de4d.3e19f"\r
+                "24f45898.65de18",\r
+                "240a5e4b.ef6af2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c4d4de4d.3e19f",\r
+        "id": "94353f3f.e7eee",\r
+        "type": "set",\r
+        "name": "set AnsibleReq",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam +  $quote + ']'`\"/>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>\n",\r
+        "comments": "",\r
+        "x": 780,\r
+        "y": 309,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "240a5e4b.ef6af2",\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": 989,\r
+        "y": 351,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e636c2ac.2dc0d",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 419,\r
+        "y": 463,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "a65bd4c9.27f638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a65bd4c9.27f638",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 590,\r
+        "y": 464,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "286bc0d0.e5819"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "286bc0d0.e5819",\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": 780,\r
+        "y": 463,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "89a1b60f.9a2848",\r
+        "type": "switchNode",\r
+        "name": "switch nodelist",\r
+        "xml": "<switch test='`$nodelist`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 409,\r
+        "y": 522,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "10bd0563.dd89eb",\r
+                "9f1eacfe.fa54"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10bd0563.dd89eb",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 589,\r
+        "y": 515,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "f0ef60d3.f64f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0ef60d3.f64f",\r
         "type": "set",\r
         "name": "set nodelist",\r
-        "xml": "<set>\n<parameter name='quote' value=\"'\" />\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.ipv4-oam-address +  $quote + ']'`\"/>\n",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
         "comments": "",\r
-        "x": 740.3908081054688,\r
-        "y": 259.28399658203125,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 746,\r
+        "y": 529,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2d1a88c6.11f9d8",\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='VNF not found in AAI. Nodelist retrieved from config'/>",\r
+        "id": "9f1eacfe.fa54",\r
+        "type": "outcome",\r
+        "name": "empty",\r
+        "xml": "<outcome value=\"['']\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 588,\r
+        "y": 559,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "f0ef60d3.f64f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26d43493.24ca8c",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1464,\r
+        "y": 394,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "ad0fd429.dd1178"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad0fd429.dd1178",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1642,\r
+        "y": 394,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "bbed41e1.ca0c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3935df66.a3be5",\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": 1437,\r
+        "y": 447,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "721a47cc.cdf2d8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1267,\r
+        "y": 404,\r
+        "z": "802a6e37.fb3c1",\r
+        "wires": [\r
+            [\r
+                "26d43493.24ca8c",\r
+                "3935df66.a3be5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bbed41e1.ca0c4",\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": 736,\r
-        "y": 312,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1814,\r
+        "y": 392,\r
+        "z": "802a6e37.fb3c1",\r
         "wires": [\r
             []\r
         ]\r