aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/lcm/src
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/lcm/src')
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json956
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json956
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-software.json956
-rw-r--r--platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml8
-rw-r--r--platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml8
-rw-r--r--platform-logic/lcm/src/main/xml/LCM_upgrade-software.xml8
6 files changed, 1437 insertions, 1455 deletions
diff --git a/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json b/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
index 69573f4a..102870d5 100644
--- a/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
+++ b/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
@@ -1,478 +1,478 @@
-[
- {
- "id": "f6682445.892ef8",
- "type": "method",
- "name": "upgrade-post-check",
- "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 548,
- "y": 311,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "c20144c8.6587e8"
- ]
- ]
- },
- {
- "id": "865e584e.0afff8",
- "type": "service-logic",
- "name": "LCM ${project.version}",
- "module": "LCM",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",
- "outputs": 1,
- "x": 335.99993896484375,
- "y": 312,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "f6682445.892ef8"
- ]
- ]
- },
- {
- "id": "6c07ca37.928634",
- "type": "execute",
- "name": "execute AnsibleA.reqExec",
- "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-post-check-input.payload`'/>\n<parameter name='NodeList' value='`$prop.ansible.nodelist`'/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",
- "comments": "",
- "outputs": 1,
- "x": 336.00001525878906,
- "y": 529,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "b717870f.456598",
- "b9c620c2.80061",
- "72a5893f.c8a998"
- ]
- ]
- },
- {
- "id": "4aba83c3.5ee0ec",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 637,
- "y": 577,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "b9795048.eb4b6",
- "70e3e20c.4b044c",
- "4084a912.f7f808"
- ]
- ]
- },
- {
- "id": "b9795048.eb4b6",
- "type": "other",
- "name": "outcome 500",
- "xml": "<outcome value='500'>\n",
- "comments": "",
- "outputs": 1,
- "x": 782,
- "y": 575.0000076293945,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "49899cde.495504"
- ]
- ]
- },
- {
- "id": "70e3e20c.4b044c",
- "type": "other",
- "name": "outcome 100",
- "xml": "<outcome value='100'>\n",
- "comments": "",
- "outputs": 1,
- "x": 785,
- "y": 618.0000381469727,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "89fa06a6.e6a638"
- ]
- ]
- },
- {
- "id": "89fa06a6.e6a638",
- "type": "execute",
- "name": "execute reqExecResult",
- "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>\n\t\n\n\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 963.0000305175781,
- "y": 618.0000381469727,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "7b63eafe.c8e3e4",
- "1b4d4653.98c8ca"
- ]
- ]
- },
- {
- "id": "b9c620c2.80061",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 528,
- "y": 486.0000305175781,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "49899cde.495504"
- ]
- ]
- },
- {
- "id": "b717870f.456598",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 530,
- "y": 538,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "4aba83c3.5ee0ec"
- ]
- ]
- },
- {
- "id": "7b63eafe.c8e3e4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1124.0000610351562,
- "y": 595.0000076293945,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "49899cde.495504"
- ]
- ]
- },
- {
- "id": "4084a912.f7f808",
- "type": "other",
- "name": "outcome 101",
- "xml": "<outcome value='101'>\n",
- "comments": "",
- "outputs": 1,
- "x": 779,
- "y": 533.0000381469727,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "49899cde.495504"
- ]
- ]
- },
- {
- "id": "1b4d4653.98c8ca",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1131.0000610351562,
- "y": 643.0000381469727,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "f92faff8.6416c"
- ]
- ]
- },
- {
- "id": "278a7129.c89b5e",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
- "comments": "",
- "x": 1413.9999389648438,
- "y": 695.0000381469727,
- "z": "559d4ed7.13584",
- "wires": []
- },
- {
- "id": "2fc40544.c90bfa",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 151,
- "y": 311,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "865e584e.0afff8"
- ]
- ]
- },
- {
- "id": "c20144c8.6587e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 146.91668701171875,
- "y": 492.0833435058594,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "6c07ca37.928634",
- "285a76c5.92c0ea",
- "1759857f.fa031b"
- ]
- ]
- },
- {
- "id": "285a76c5.92c0ea",
- "type": "execute",
- "name": "execute Properties",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
- "comments": "",
- "outputs": 1,
- "x": 319.00001525878906,
- "y": 450.0833435058594,
- "z": "559d4ed7.13584",
- "wires": [
- []
- ]
- },
- {
- "id": "247c4873.f4da88",
- "type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1131.0000610351562,
- "y": 439.0833435058594,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "a0302f37.0a777"
- ]
- ]
- },
- {
- "id": "a0302f37.0a777",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1301,
- "y": 438.0833435058594,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "d28cf873.76fe18"
- ]
- ]
- },
- {
- "id": "49899cde.495504",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 934,
- "y": 463.0833435058594,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "247c4873.f4da88",
- "d17577f9.361e58",
- "a26c76c8.bafc18"
- ]
- ]
- },
- {
- "id": "c96ded4.f8ab51",
- "type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1434.4999389648438,
- "y": 644.0833511352539,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "dbeb9454.3f2438"
- ]
- ]
- },
- {
- "id": "dbeb9454.3f2438",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1594.4999389648438,
- "y": 644.0833511352539,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "ab882161.681b2"
- ]
- ]
- },
- {
- "id": "d28cf873.76fe18",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
- "comments": "",
- "outputs": 1,
- "x": 1433,
- "y": 438.0833435058594,
- "z": "559d4ed7.13584",
- "wires": [
- []
- ]
- },
- {
- "id": "d17577f9.361e58",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
- "comments": "",
- "x": 1105.9166870117188,
- "y": 476.0833435058594,
- "z": "559d4ed7.13584",
- "wires": []
- },
- {
- "id": "ab882161.681b2",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
- "comments": "",
- "outputs": 1,
- "x": 1715.9166870117188,
- "y": 645.0833511352539,
- "z": "559d4ed7.13584",
- "wires": [
- []
- ]
- },
- {
- "id": "a26c76c8.bafc18",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.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",
- "comments": "",
- "x": 1083.0000610351562,
- "y": 386.0833435058594,
- "z": "559d4ed7.13584",
- "wires": []
- },
- {
- "id": "f92faff8.6416c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1263.9999389648438,
- "y": 643.0833206176758,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "c96ded4.f8ab51",
- "519209a.311b3f8",
- "278a7129.c89b5e"
- ]
- ]
- },
- {
- "id": "519209a.311b3f8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.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",
- "comments": "",
- "x": 1394.1666870117188,
- "y": 596.0833511352539,
- "z": "559d4ed7.13584",
- "wires": []
- },
- {
- "id": "72a5893f.c8a998",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 524,
- "y": 439,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "9871197b.1e3d18"
- ]
- ]
- },
- {
- "id": "41214bd9.1f8ad4",
- "type": "set",
- "name": "set Defaults",
- "xml": "<set>\n<parameter name='$org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
- "comments": "",
- "x": 908,
- "y": 386,
- "z": "559d4ed7.13584",
- "wires": []
- },
- {
- "id": "9871197b.1e3d18",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 708,
- "y": 431,
- "z": "559d4ed7.13584",
- "wires": [
- [
- "41214bd9.1f8ad4",
- "49899cde.495504"
- ]
- ]
- },
- {
- "id": "1759857f.fa031b",
- "type": "set",
- "name": "set default status value",
- "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
- "comments": "",
- "x": 333,
- "y": 490,
- "z": "559d4ed7.13584",
- "wires": []
- }
-] \ No newline at end of file
+[
+ {
+ "id": "7a39f2fe.3dcdf4",
+ "type": "method",
+ "name": "upgrade-post-check",
+ "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 504,
+ "y": 189,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "29adfec5.3e996a"
+ ]
+ ]
+ },
+ {
+ "id": "d4e963ab.cbd07",
+ "type": "service-logic",
+ "name": "LCM ${project.version}",
+ "module": "LCM",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",
+ "outputs": 1,
+ "x": 291.99993896484375,
+ "y": 190,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "7a39f2fe.3dcdf4"
+ ]
+ ]
+ },
+ {
+ "id": "dbae8f8c.b9f5c8",
+ "type": "execute",
+ "name": "execute AnsibleA.reqExec",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-post-check-input.payload`'/>\n<parameter name='NodeList' value='`$prop.ansible.nodelist`'/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 292.00001525878906,
+ "y": 407,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "6f51d66.269da28",
+ "3cef6eb.3854f92",
+ "7d81ec43.a1807c"
+ ]
+ ]
+ },
+ {
+ "id": "d7bab1d5.51757",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 593,
+ "y": 455,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "2746f459.4c8844",
+ "f804c90e.5a0878",
+ "a107745e.d375f"
+ ]
+ ]
+ },
+ {
+ "id": "2746f459.4c8844",
+ "type": "other",
+ "name": "outcome 500",
+ "xml": "<outcome value='500'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 738,
+ "y": 453.00000762939453,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "812cc9c1.aee1"
+ ]
+ ]
+ },
+ {
+ "id": "f804c90e.5a0878",
+ "type": "other",
+ "name": "outcome 100",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 741,
+ "y": 496.00003814697266,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "91a9092c.bcfc5"
+ ]
+ ]
+ },
+ {
+ "id": "91a9092c.bcfc5",
+ "type": "execute",
+ "name": "execute reqExecResult",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>\n\t\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 919.0000305175781,
+ "y": 496.00003814697266,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "746c71a8.ecf54",
+ "3553670.a015a9a"
+ ]
+ ]
+ },
+ {
+ "id": "3cef6eb.3854f92",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 484,
+ "y": 364.0000305175781,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "812cc9c1.aee1"
+ ]
+ ]
+ },
+ {
+ "id": "6f51d66.269da28",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 486,
+ "y": 416,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "d7bab1d5.51757"
+ ]
+ ]
+ },
+ {
+ "id": "746c71a8.ecf54",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1080.0000610351562,
+ "y": 473.00000762939453,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "812cc9c1.aee1"
+ ]
+ ]
+ },
+ {
+ "id": "a107745e.d375f",
+ "type": "other",
+ "name": "outcome 101",
+ "xml": "<outcome value='101'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735,
+ "y": 411.00003814697266,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "812cc9c1.aee1"
+ ]
+ ]
+ },
+ {
+ "id": "3553670.a015a9a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1087.0000610351562,
+ "y": 521.0000381469727,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "9eb97883.c25dd"
+ ]
+ ]
+ },
+ {
+ "id": "4d0102b3.cb0034",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
+ "comments": "",
+ "x": 1369.9999389648438,
+ "y": 573.0000381469727,
+ "z": "8298903b.6dd47",
+ "wires": []
+ },
+ {
+ "id": "b0b34f77.1a63a",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 107,
+ "y": 189,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "d4e963ab.cbd07"
+ ]
+ ]
+ },
+ {
+ "id": "29adfec5.3e996a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 102.91668701171875,
+ "y": 370.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "dbae8f8c.b9f5c8",
+ "2da1a6a3.957b62",
+ "f33027ae.498be"
+ ]
+ ]
+ },
+ {
+ "id": "2da1a6a3.957b62",
+ "type": "execute",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 275.00001525878906,
+ "y": 328.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e8fdf598.f43db",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1087.0000610351562,
+ "y": 317.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "27736dcd.8ac982"
+ ]
+ ]
+ },
+ {
+ "id": "27736dcd.8ac982",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1257,
+ "y": 316.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "86cb0ea6.638338"
+ ]
+ ]
+ },
+ {
+ "id": "812cc9c1.aee1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 890,
+ "y": 341.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "e8fdf598.f43db",
+ "e11198e6.679a2",
+ "a3a650c3.8200a8"
+ ]
+ ]
+ },
+ {
+ "id": "7d25ddd1.4d85f4",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1390.4999389648438,
+ "y": 522.0833511352539,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "1bd36512.b1eedb"
+ ]
+ ]
+ },
+ {
+ "id": "1bd36512.b1eedb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1550.4999389648438,
+ "y": 522.0833511352539,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "8b14e6d.6ed9318"
+ ]
+ ]
+ },
+ {
+ "id": "86cb0ea6.638338",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1389,
+ "y": 316.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e11198e6.679a2",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
+ "comments": "",
+ "x": 1061.9166870117188,
+ "y": 354.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": []
+ },
+ {
+ "id": "8b14e6d.6ed9318",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1671.9166870117188,
+ "y": 523.0833511352539,
+ "z": "8298903b.6dd47",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3a650c3.8200a8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1039.0000610351562,
+ "y": 264.0833435058594,
+ "z": "8298903b.6dd47",
+ "wires": []
+ },
+ {
+ "id": "9eb97883.c25dd",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1219.9999389648438,
+ "y": 521.0833206176758,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "7d25ddd1.4d85f4",
+ "5aed86b8.dac118",
+ "4d0102b3.cb0034"
+ ]
+ ]
+ },
+ {
+ "id": "5aed86b8.dac118",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1350.1666870117188,
+ "y": 474.0833511352539,
+ "z": "8298903b.6dd47",
+ "wires": []
+ },
+ {
+ "id": "7d81ec43.a1807c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 480,
+ "y": 317,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "97422b5e.b01ec"
+ ]
+ ]
+ },
+ {
+ "id": "c3ed93bf.f51b6",
+ "type": "set",
+ "name": "set Defaults",
+ "xml": "<set>\n<parameter name='$org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
+ "comments": "",
+ "x": 864,
+ "y": 264,
+ "z": "8298903b.6dd47",
+ "wires": []
+ },
+ {
+ "id": "97422b5e.b01ec",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 664,
+ "y": 309,
+ "z": "8298903b.6dd47",
+ "wires": [
+ [
+ "c3ed93bf.f51b6",
+ "812cc9c1.aee1"
+ ]
+ ]
+ },
+ {
+ "id": "f33027ae.498be",
+ "type": "set",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
+ "comments": "",
+ "x": 289,
+ "y": 368,
+ "z": "8298903b.6dd47",
+ "wires": []
+ }
+]
diff --git a/platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json b/platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json
index ca713fba..51d33da3 100644
--- a/platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json
+++ b/platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json
@@ -1,478 +1,478 @@
-[
- {
- "id": "8f8b6a32.647e2",
- "type": "method",
- "name": "upgrade-pre-check",
- "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 559,
- "y": 294,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "7fd9ef18.f2ed78"
- ]
- ]
- },
- {
- "id": "59a5c829.6824e",
- "type": "service-logic",
- "name": "LCM ${project.version}",
- "module": "LCM",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",
- "outputs": 1,
- "x": 346.99993896484375,
- "y": 295,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "8f8b6a32.647e2"
- ]
- ]
- },
- {
- "id": "a0bfd483.1d05a8",
- "type": "execute",
- "name": "execute AnsibleA.reqExec",
- "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-pre-check-input.payload`'/>\n<parameter name='NodeList' value='`$prop.ansible.nodelist`'/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>",
- "comments": "",
- "outputs": 1,
- "x": 347.00001525878906,
- "y": 512,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "3faa8c0d.7c76dc",
- "730a2ac.ac7a254",
- "ff0c1a71.8db25"
- ]
- ]
- },
- {
- "id": "7b8e8551.6739f4",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 648,
- "y": 560,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "9997ad99.656ba",
- "251aa2bd.3255ce",
- "19061d90.32c37a"
- ]
- ]
- },
- {
- "id": "9997ad99.656ba",
- "type": "other",
- "name": "outcome 500",
- "xml": "<outcome value='500'>\n",
- "comments": "",
- "outputs": 1,
- "x": 793,
- "y": 558.0000076293945,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "8b7c0757.979618"
- ]
- ]
- },
- {
- "id": "251aa2bd.3255ce",
- "type": "other",
- "name": "outcome 100",
- "xml": "<outcome value='100'>\n",
- "comments": "",
- "outputs": 1,
- "x": 796,
- "y": 601.0000381469727,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "59f732a3.29a3dc"
- ]
- ]
- },
- {
- "id": "59f732a3.29a3dc",
- "type": "execute",
- "name": "execute reqExecResult",
- "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>\n\t\n\n\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 974.0000305175781,
- "y": 601.0000381469727,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "665399bc.90a228",
- "9947c0c2.0bad38"
- ]
- ]
- },
- {
- "id": "730a2ac.ac7a254",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 539,
- "y": 469.0000305175781,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "8b7c0757.979618"
- ]
- ]
- },
- {
- "id": "3faa8c0d.7c76dc",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 541,
- "y": 521,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "7b8e8551.6739f4"
- ]
- ]
- },
- {
- "id": "665399bc.90a228",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1135.0000610351562,
- "y": 578.0000076293945,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "8b7c0757.979618"
- ]
- ]
- },
- {
- "id": "19061d90.32c37a",
- "type": "other",
- "name": "outcome 101",
- "xml": "<outcome value='101'>\n",
- "comments": "",
- "outputs": 1,
- "x": 790,
- "y": 516.0000381469727,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "8b7c0757.979618"
- ]
- ]
- },
- {
- "id": "9947c0c2.0bad38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1142.0000610351562,
- "y": 626.0000381469727,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "7e43b622.5535c8"
- ]
- ]
- },
- {
- "id": "6a30a994.3ca8e8",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
- "comments": "",
- "x": 1424.9999389648438,
- "y": 678.0000381469727,
- "z": "8e82c78b.3253d8",
- "wires": []
- },
- {
- "id": "3123d7af.60a66",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 162,
- "y": 294,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "59a5c829.6824e"
- ]
- ]
- },
- {
- "id": "7fd9ef18.f2ed78",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 157.91668701171875,
- "y": 475.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "a0bfd483.1d05a8",
- "795753b1.362064",
- "1872375f.c08bb1"
- ]
- ]
- },
- {
- "id": "795753b1.362064",
- "type": "execute",
- "name": "execute Properties",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
- "comments": "",
- "outputs": 1,
- "x": 331.00001525878906,
- "y": 428.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": [
- []
- ]
- },
- {
- "id": "6dde91d9.2b278",
- "type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1142.0000610351562,
- "y": 422.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "4c1e83c0.729474"
- ]
- ]
- },
- {
- "id": "4c1e83c0.729474",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1312,
- "y": 421.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "be504f4e.6e8158"
- ]
- ]
- },
- {
- "id": "8b7c0757.979618",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 945,
- "y": 446.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "6dde91d9.2b278",
- "32e620d0.14aab8",
- "8156d91e.66c9"
- ]
- ]
- },
- {
- "id": "6078cfef.b6b9c",
- "type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1445.4999389648438,
- "y": 627.0833511352539,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "287251c7.95902e"
- ]
- ]
- },
- {
- "id": "287251c7.95902e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1605.4999389648438,
- "y": 627.0833511352539,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "dda83a49.a35b9"
- ]
- ]
- },
- {
- "id": "be504f4e.6e8158",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
- "comments": "",
- "outputs": 1,
- "x": 1444,
- "y": 421.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": [
- []
- ]
- },
- {
- "id": "32e620d0.14aab8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
- "comments": "",
- "x": 1116.9166870117188,
- "y": 459.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": []
- },
- {
- "id": "dda83a49.a35b9",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
- "comments": "",
- "outputs": 1,
- "x": 1726.9166870117188,
- "y": 628.0833511352539,
- "z": "8e82c78b.3253d8",
- "wires": [
- []
- ]
- },
- {
- "id": "8156d91e.66c9",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-pre-check-input.common-header.request-id + '-' + $upgrade-pre-check-input.common-header.sub-request-id`\"/>\n\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.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",
- "comments": "",
- "x": 1094.0000610351562,
- "y": 369.0833435058594,
- "z": "8e82c78b.3253d8",
- "wires": []
- },
- {
- "id": "7e43b622.5535c8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1274.9999389648438,
- "y": 626.0833206176758,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "6078cfef.b6b9c",
- "6e5dc321.5d13f4",
- "6a30a994.3ca8e8"
- ]
- ]
- },
- {
- "id": "6e5dc321.5d13f4",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-pre-check-input.common-header.request-id + '-' + $upgrade-pre-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.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",
- "comments": "",
- "x": 1405.1666870117188,
- "y": 579.0833511352539,
- "z": "8e82c78b.3253d8",
- "wires": []
- },
- {
- "id": "ff0c1a71.8db25",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 535,
- "y": 422,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "c12fad1e.df7a3"
- ]
- ]
- },
- {
- "id": "fcf3a642.3a7fa",
- "type": "set",
- "name": "set Defaults",
- "xml": "<set>\n<parameter name='org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
- "comments": "",
- "x": 919,
- "y": 369,
- "z": "8e82c78b.3253d8",
- "wires": []
- },
- {
- "id": "c12fad1e.df7a3",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 719,
- "y": 414,
- "z": "8e82c78b.3253d8",
- "wires": [
- [
- "fcf3a642.3a7fa",
- "8b7c0757.979618"
- ]
- ]
- },
- {
- "id": "1872375f.c08bb1",
- "type": "set",
- "name": "set default status value",
- "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
- "comments": "",
- "x": 340,
- "y": 472,
- "z": "8e82c78b.3253d8",
- "wires": []
- }
-] \ No newline at end of file
+[
+ {
+ "id": "8794d455.5cce5",
+ "type": "method",
+ "name": "upgrade-pre-check",
+ "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 520,
+ "y": 133,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "ff45289b.166bd8"
+ ]
+ ]
+ },
+ {
+ "id": "80857f67.984b6",
+ "type": "service-logic",
+ "name": "LCM ${project.version}",
+ "module": "LCM",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",
+ "outputs": 1,
+ "x": 307.99993896484375,
+ "y": 134,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "8794d455.5cce5"
+ ]
+ ]
+ },
+ {
+ "id": "d102dc2d.41fe",
+ "type": "execute",
+ "name": "execute AnsibleA.reqExec",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-pre-check-input.payload`'/>\n<parameter name='NodeList' value='`$prop.ansible.nodelist`'/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 308.00001525878906,
+ "y": 351,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "dde77b94.93ef18",
+ "ed53398e.b83e6",
+ "f5081dcd.9b7118"
+ ]
+ ]
+ },
+ {
+ "id": "fe62b59e.3e5e2",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 609,
+ "y": 399,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "1521e2ba.c5b60d",
+ "c92b8968.b6598",
+ "1549489f.79a4df"
+ ]
+ ]
+ },
+ {
+ "id": "1521e2ba.c5b60d",
+ "type": "other",
+ "name": "outcome 500",
+ "xml": "<outcome value='500'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 754,
+ "y": 397.00000762939453,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "6680d59e.022b5c"
+ ]
+ ]
+ },
+ {
+ "id": "c92b8968.b6598",
+ "type": "other",
+ "name": "outcome 100",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 757,
+ "y": 440.00003814697266,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "a515c0c.2a1774"
+ ]
+ ]
+ },
+ {
+ "id": "a515c0c.2a1774",
+ "type": "execute",
+ "name": "execute reqExecResult",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>\n\t\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 935.0000305175781,
+ "y": 440.00003814697266,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "aafd18f3.e67588",
+ "12d7ff4a.4dff39"
+ ]
+ ]
+ },
+ {
+ "id": "ed53398e.b83e6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 500,
+ "y": 308.0000305175781,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "6680d59e.022b5c"
+ ]
+ ]
+ },
+ {
+ "id": "dde77b94.93ef18",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 502,
+ "y": 360,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "fe62b59e.3e5e2"
+ ]
+ ]
+ },
+ {
+ "id": "aafd18f3.e67588",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.0000610351562,
+ "y": 417.00000762939453,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "6680d59e.022b5c"
+ ]
+ ]
+ },
+ {
+ "id": "1549489f.79a4df",
+ "type": "other",
+ "name": "outcome 101",
+ "xml": "<outcome value='101'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 751,
+ "y": 355.00003814697266,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "6680d59e.022b5c"
+ ]
+ ]
+ },
+ {
+ "id": "12d7ff4a.4dff39",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1103.0000610351562,
+ "y": 465.00003814697266,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "db47df98.2c4588"
+ ]
+ ]
+ },
+ {
+ "id": "cdc8f332.5e3cb8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
+ "comments": "",
+ "x": 1385.9999389648438,
+ "y": 517.0000381469727,
+ "z": "7da5048.3ddb5fc",
+ "wires": []
+ },
+ {
+ "id": "35025675.c3eb3a",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 123,
+ "y": 133,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "80857f67.984b6"
+ ]
+ ]
+ },
+ {
+ "id": "ff45289b.166bd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 118.91668701171875,
+ "y": 314.0833435058594,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "d102dc2d.41fe",
+ "8c1fb722.e712a8",
+ "d66534d5.e238c"
+ ]
+ ]
+ },
+ {
+ "id": "8c1fb722.e712a8",
+ "type": "execute",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 292.00001525878906,
+ "y": 267.0833435058594,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5aa80cdf.0a7ab4",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1103.0000610351562,
+ "y": 261.0833435058594,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "33950e88.f14ed2"
+ ]
+ ]
+ },
+ {
+ "id": "33950e88.f14ed2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1273,
+ "y": 260.0833435058594,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "d29bb160.8e2c18"
+ ]
+ ]
+ },
+ {
+ "id": "6680d59e.022b5c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 906,
+ "y": 285.0833435058594,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "5aa80cdf.0a7ab4",
+ "b116f2bd.6d187",
+ "3c43772b.4e0da8"
+ ]
+ ]
+ },
+ {
+ "id": "ee44a647.c4fff",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1406.4999389648438,
+ "y": 466.0833511352539,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "96654ac9.0d28b8"
+ ]
+ ]
+ },
+ {
+ "id": "96654ac9.0d28b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1566.4999389648438,
+ "y": 466.0833511352539,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "8e468697.9f9a2"
+ ]
+ ]
+ },
+ {
+ "id": "d29bb160.8e2c18",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1405,
+ "y": 260.0833435058594,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b116f2bd.6d187",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
+ "comments": "",
+ "x": 1077.9166870117188,
+ "y": 298.0833435058594,
+ "z": "7da5048.3ddb5fc",
+ "wires": []
+ },
+ {
+ "id": "8e468697.9f9a2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1687.9166870117188,
+ "y": 467.0833511352539,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c43772b.4e0da8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-pre-check-input.common-header.request-id + '-' + $upgrade-pre-check-input.common-header.sub-request-id`\"/>\n\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1055.0000610351562,
+ "y": 208.08334350585938,
+ "z": "7da5048.3ddb5fc",
+ "wires": []
+ },
+ {
+ "id": "db47df98.2c4588",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.9999389648438,
+ "y": 465.0833206176758,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "ee44a647.c4fff",
+ "61a3bf4.bcdb3c",
+ "cdc8f332.5e3cb8"
+ ]
+ ]
+ },
+ {
+ "id": "61a3bf4.bcdb3c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-pre-check-input.common-header.request-id + '-' + $upgrade-pre-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1366.1666870117188,
+ "y": 418.0833511352539,
+ "z": "7da5048.3ddb5fc",
+ "wires": []
+ },
+ {
+ "id": "f5081dcd.9b7118",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 496,
+ "y": 261,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "ce8b68f1.22b2d8"
+ ]
+ ]
+ },
+ {
+ "id": "e7918964.c04f3",
+ "type": "set",
+ "name": "set Defaults",
+ "xml": "<set>\n<parameter name='org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
+ "comments": "",
+ "x": 880,
+ "y": 208,
+ "z": "7da5048.3ddb5fc",
+ "wires": []
+ },
+ {
+ "id": "ce8b68f1.22b2d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 680,
+ "y": 253,
+ "z": "7da5048.3ddb5fc",
+ "wires": [
+ [
+ "e7918964.c04f3",
+ "6680d59e.022b5c"
+ ]
+ ]
+ },
+ {
+ "id": "d66534d5.e238c",
+ "type": "set",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
+ "comments": "",
+ "x": 301,
+ "y": 311,
+ "z": "7da5048.3ddb5fc",
+ "wires": []
+ }
+]
diff --git a/platform-logic/lcm/src/main/json/LCM_upgrade-software.json b/platform-logic/lcm/src/main/json/LCM_upgrade-software.json
index a239a2ed..54b75cd3 100644
--- a/platform-logic/lcm/src/main/json/LCM_upgrade-software.json
+++ b/platform-logic/lcm/src/main/json/LCM_upgrade-software.json
@@ -1,478 +1,478 @@
-[
- {
- "id": "2189c37f.7d745c",
- "type": "method",
- "name": "upgrade-software",
- "xml": "<method rpc='upgrade-software' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 524,
- "y": 203,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "200bd935.5c4296"
- ]
- ]
- },
- {
- "id": "33405b66.254a24",
- "type": "service-logic",
- "name": "LCM ${project.version}",
- "module": "LCM",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",
- "outputs": 1,
- "x": 311.99993896484375,
- "y": 204,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "2189c37f.7d745c"
- ]
- ]
- },
- {
- "id": "70d63640.e2d148",
- "type": "execute",
- "name": "execute AnsibleA.reqExec",
- "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-software-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-software-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-software.playbookname`'/>",
- "comments": "",
- "outputs": 1,
- "x": 312.00001525878906,
- "y": 421,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "a9686655.3f4ab8",
- "22afa298.2efb1e",
- "447f65a.9f7919c"
- ]
- ]
- },
- {
- "id": "4a011b96.270794",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 613,
- "y": 469,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "c0abf3c2.456f8",
- "4d37ed5a.7d21b4",
- "3dce5412.8af8ac"
- ]
- ]
- },
- {
- "id": "c0abf3c2.456f8",
- "type": "other",
- "name": "outcome 500",
- "xml": "<outcome value='500'>\n",
- "comments": "",
- "outputs": 1,
- "x": 758,
- "y": 467.00000762939453,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "41ed13b3.d624bc"
- ]
- ]
- },
- {
- "id": "4d37ed5a.7d21b4",
- "type": "other",
- "name": "outcome 100",
- "xml": "<outcome value='100'>\n",
- "comments": "",
- "outputs": 1,
- "x": 761,
- "y": 510.00003814697266,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "936b39d4.8b5a38"
- ]
- ]
- },
- {
- "id": "936b39d4.8b5a38",
- "type": "execute",
- "name": "execute reqExecResult",
- "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-software.playbookname`'/>\n\t\n\n\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 939.0000305175781,
- "y": 510.00003814697266,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "ca460fcf.02e98",
- "296c3998.c540f6"
- ]
- ]
- },
- {
- "id": "22afa298.2efb1e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 504,
- "y": 378.0000305175781,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "41ed13b3.d624bc"
- ]
- ]
- },
- {
- "id": "a9686655.3f4ab8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 506,
- "y": 430,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "4a011b96.270794"
- ]
- ]
- },
- {
- "id": "ca460fcf.02e98",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1100.0000610351562,
- "y": 487.00000762939453,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "41ed13b3.d624bc"
- ]
- ]
- },
- {
- "id": "3dce5412.8af8ac",
- "type": "other",
- "name": "outcome 101",
- "xml": "<outcome value='101'>\n",
- "comments": "",
- "outputs": 1,
- "x": 755,
- "y": 425.00003814697266,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "41ed13b3.d624bc"
- ]
- ]
- },
- {
- "id": "296c3998.c540f6",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1107.0000610351562,
- "y": 535.0000381469727,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "7b87f117.b4313"
- ]
- ]
- },
- {
- "id": "94bc239f.d51ed",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
- "comments": "",
- "x": 1389.9999389648438,
- "y": 587.0000381469727,
- "z": "f89ff8f8.fd73f8",
- "wires": []
- },
- {
- "id": "1018873c.0eea29",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 127,
- "y": 203,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "33405b66.254a24"
- ]
- ]
- },
- {
- "id": "200bd935.5c4296",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 122.91668701171875,
- "y": 384.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "70d63640.e2d148",
- "da0d3fe2.9fb83",
- "ff90e7e4.933fd8"
- ]
- ]
- },
- {
- "id": "da0d3fe2.9fb83",
- "type": "execute",
- "name": "execute Properties",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
- "comments": "",
- "outputs": 1,
- "x": 297.00001525878906,
- "y": 326.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- []
- ]
- },
- {
- "id": "e9671ba3.d82fd8",
- "type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1107.0000610351562,
- "y": 331.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "54800975.8a5fa8"
- ]
- ]
- },
- {
- "id": "54800975.8a5fa8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1277,
- "y": 330.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "a3e81bc7.85e588"
- ]
- ]
- },
- {
- "id": "41ed13b3.d624bc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 910,
- "y": 355.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "e9671ba3.d82fd8",
- "efa1ef26.9748",
- "a558be34.99d0b"
- ]
- ]
- },
- {
- "id": "62a61f1a.99219",
- "type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1410.4999389648438,
- "y": 536.0833511352539,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "24389a0d.bab8f6"
- ]
- ]
- },
- {
- "id": "24389a0d.bab8f6",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1570.4999389648438,
- "y": 536.0833511352539,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "b8153372.37ed8"
- ]
- ]
- },
- {
- "id": "a3e81bc7.85e588",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
- "comments": "",
- "outputs": 1,
- "x": 1409,
- "y": 330.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- []
- ]
- },
- {
- "id": "efa1ef26.9748",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
- "comments": "",
- "x": 1081.9166870117188,
- "y": 368.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": []
- },
- {
- "id": "b8153372.37ed8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
- "comments": "",
- "outputs": 1,
- "x": 1691.9166870117188,
- "y": 537.0833511352539,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- []
- ]
- },
- {
- "id": "a558be34.99d0b",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-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-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-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",
- "comments": "",
- "x": 1059.0000610351562,
- "y": 278.0833435058594,
- "z": "f89ff8f8.fd73f8",
- "wires": []
- },
- {
- "id": "7b87f117.b4313",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1239.9999389648438,
- "y": 535.0833206176758,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "62a61f1a.99219",
- "5099c108.ef352",
- "94bc239f.d51ed"
- ]
- ]
- },
- {
- "id": "5099c108.ef352",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-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-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-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",
- "comments": "",
- "x": 1370.1666870117188,
- "y": 488.0833511352539,
- "z": "f89ff8f8.fd73f8",
- "wires": []
- },
- {
- "id": "447f65a.9f7919c",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 500,
- "y": 331,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "a4cded3a.e3895"
- ]
- ]
- },
- {
- "id": "7586b55c.6c594c",
- "type": "set",
- "name": "set Defaults",
- "xml": "<set>\n<parameter name='$org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
- "comments": "",
- "x": 884,
- "y": 278,
- "z": "f89ff8f8.fd73f8",
- "wires": []
- },
- {
- "id": "a4cded3a.e3895",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 684,
- "y": 323,
- "z": "f89ff8f8.fd73f8",
- "wires": [
- [
- "7586b55c.6c594c",
- "41ed13b3.d624bc"
- ]
- ]
- },
- {
- "id": "ff90e7e4.933fd8",
- "type": "set",
- "name": "set default status value",
- "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
- "comments": "",
- "x": 311,
- "y": 370,
- "z": "f89ff8f8.fd73f8",
- "wires": []
- }
-] \ No newline at end of file
+[
+ {
+ "id": "4c3f9752.77dec",
+ "type": "method",
+ "name": "upgrade-software",
+ "xml": "<method rpc='upgrade-software' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 489,
+ "y": 152,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "83650b67.6cd8c"
+ ]
+ ]
+ },
+ {
+ "id": "d837d6cb.338428",
+ "type": "service-logic",
+ "name": "LCM ${project.version}",
+ "module": "LCM",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",
+ "outputs": 1,
+ "x": 276.99993896484375,
+ "y": 153,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "4c3f9752.77dec"
+ ]
+ ]
+ },
+ {
+ "id": "3421e2b7.29c266",
+ "type": "execute",
+ "name": "execute AnsibleA.reqExec",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-software-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-software-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-software.playbookname`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 277.00001525878906,
+ "y": 370,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "199ed9da.f92c0e",
+ "c8dd71a.7a9241",
+ "50f87fc.8f6068"
+ ]
+ ]
+ },
+ {
+ "id": "32b073b0.4096bc",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 578,
+ "y": 418,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "df999599.1b565",
+ "96b44eb0.622268",
+ "a80c397d.561b48"
+ ]
+ ]
+ },
+ {
+ "id": "df999599.1b565",
+ "type": "other",
+ "name": "outcome 500",
+ "xml": "<outcome value='500'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 723,
+ "y": 416.00000762939453,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "f25faee.c20865"
+ ]
+ ]
+ },
+ {
+ "id": "96b44eb0.622268",
+ "type": "other",
+ "name": "outcome 100",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 726,
+ "y": 459.00003814697266,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "fcf5e1f3.334ad"
+ ]
+ ]
+ },
+ {
+ "id": "fcf5e1f3.334ad",
+ "type": "execute",
+ "name": "execute reqExecResult",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-software.playbookname`'/>\n\t\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 904.0000305175781,
+ "y": 459.00003814697266,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "9223dd62.33b848",
+ "52b60d15.5c8824"
+ ]
+ ]
+ },
+ {
+ "id": "c8dd71a.7a9241",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 469,
+ "y": 327.0000305175781,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "f25faee.c20865"
+ ]
+ ]
+ },
+ {
+ "id": "199ed9da.f92c0e",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 471,
+ "y": 379,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "32b073b0.4096bc"
+ ]
+ ]
+ },
+ {
+ "id": "9223dd62.33b848",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.0000610351562,
+ "y": 436.00000762939453,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "f25faee.c20865"
+ ]
+ ]
+ },
+ {
+ "id": "a80c397d.561b48",
+ "type": "other",
+ "name": "outcome 101",
+ "xml": "<outcome value='101'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 720,
+ "y": 374.00003814697266,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "f25faee.c20865"
+ ]
+ ]
+ },
+ {
+ "id": "52b60d15.5c8824",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1072.0000610351562,
+ "y": 484.00003814697266,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "9c548e74.79765"
+ ]
+ ]
+ },
+ {
+ "id": "6d12b2b7.836454",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
+ "comments": "",
+ "x": 1354.9999389648438,
+ "y": 536.0000381469727,
+ "z": "e0b620f9.dad4e8",
+ "wires": []
+ },
+ {
+ "id": "c4c2701e.31e65",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 92,
+ "y": 152,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "d837d6cb.338428"
+ ]
+ ]
+ },
+ {
+ "id": "83650b67.6cd8c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 87.91668701171875,
+ "y": 333.0833435058594,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "3421e2b7.29c266",
+ "af5cebbf.24ded",
+ "9b7242c2.970088"
+ ]
+ ]
+ },
+ {
+ "id": "af5cebbf.24ded",
+ "type": "execute",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 262.00001525878906,
+ "y": 275.0833435058594,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "17a67139.0163e7",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1072.0000610351562,
+ "y": 280.0833435058594,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "4b59a568.89eb14"
+ ]
+ ]
+ },
+ {
+ "id": "4b59a568.89eb14",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1242,
+ "y": 279.0833435058594,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "81a1b456.34658"
+ ]
+ ]
+ },
+ {
+ "id": "f25faee.c20865",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 875,
+ "y": 304.0833435058594,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "17a67139.0163e7",
+ "e10545e8.eea44",
+ "d8fbd5c3.79579"
+ ]
+ ]
+ },
+ {
+ "id": "3095e5cd.210e32",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1375.4999389648438,
+ "y": 485.0833511352539,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "8bc4822b.c5137"
+ ]
+ ]
+ },
+ {
+ "id": "8bc4822b.c5137",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.4999389648438,
+ "y": 485.0833511352539,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "b21f8cea.572bf8"
+ ]
+ ]
+ },
+ {
+ "id": "81a1b456.34658",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1374,
+ "y": 279.0833435058594,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e10545e8.eea44",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
+ "comments": "",
+ "x": 1046.9166870117188,
+ "y": 317.0833435058594,
+ "z": "e0b620f9.dad4e8",
+ "wires": []
+ },
+ {
+ "id": "b21f8cea.572bf8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1656.9166870117188,
+ "y": 486.0833511352539,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8fbd5c3.79579",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-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-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1024.0000610351562,
+ "y": 227.08334350585938,
+ "z": "e0b620f9.dad4e8",
+ "wires": []
+ },
+ {
+ "id": "9c548e74.79765",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1204.9999389648438,
+ "y": 484.0833206176758,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "3095e5cd.210e32",
+ "dfdfe757.04d0d8",
+ "6d12b2b7.836454"
+ ]
+ ]
+ },
+ {
+ "id": "dfdfe757.04d0d8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-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-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1335.1666870117188,
+ "y": 437.0833511352539,
+ "z": "e0b620f9.dad4e8",
+ "wires": []
+ },
+ {
+ "id": "50f87fc.8f6068",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 465,
+ "y": 280,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "71cef7a8.a94c"
+ ]
+ ]
+ },
+ {
+ "id": "711ed4cf.9ec76c",
+ "type": "set",
+ "name": "set Defaults",
+ "xml": "<set>\n<parameter name='$org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
+ "comments": "",
+ "x": 849,
+ "y": 227,
+ "z": "e0b620f9.dad4e8",
+ "wires": []
+ },
+ {
+ "id": "71cef7a8.a94c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 649,
+ "y": 272,
+ "z": "e0b620f9.dad4e8",
+ "wires": [
+ [
+ "711ed4cf.9ec76c",
+ "f25faee.c20865"
+ ]
+ ]
+ },
+ {
+ "id": "9b7242c2.970088",
+ "type": "set",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
+ "comments": "",
+ "x": 276,
+ "y": 319,
+ "z": "e0b620f9.dad4e8",
+ "wires": []
+ }
+]
diff --git a/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml b/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml
index a883d60d..7ba3e461 100644
--- a/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml
+++ b/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml
@@ -43,7 +43,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -86,7 +85,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -130,7 +128,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -172,7 +169,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -221,7 +217,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -263,7 +258,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -296,4 +290,4 @@
</execute>
</block>
</method>
-</service-logic> \ No newline at end of file
+</service-logic>
diff --git a/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml b/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml
index d60d2b36..b10eff76 100644
--- a/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml
+++ b/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml
@@ -43,7 +43,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -86,7 +85,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -130,7 +128,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -172,7 +169,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -221,7 +217,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -263,7 +258,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-check-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -296,4 +290,4 @@
</execute>
</block>
</method>
-</service-logic> \ No newline at end of file
+</service-logic>
diff --git a/platform-logic/lcm/src/main/xml/LCM_upgrade-software.xml b/platform-logic/lcm/src/main/xml/LCM_upgrade-software.xml
index 843d51ab..e2c2cddd 100644
--- a/platform-logic/lcm/src/main/xml/LCM_upgrade-software.xml
+++ b/platform-logic/lcm/src/main/xml/LCM_upgrade-software.xml
@@ -43,7 +43,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -86,7 +85,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -130,7 +128,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -172,7 +169,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -221,7 +217,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -263,7 +258,6 @@
<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>
<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>
<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>
- <parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>
<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />
<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>
</set>
@@ -296,4 +290,4 @@
</execute>
</block>
</method>
-</service-logic> \ No newline at end of file
+</service-logic>