summaryrefslogtreecommitdiffstats
path: root/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
diff options
context:
space:
mode:
authorRuchira Agarwal <ra1926@att.com>2018-05-31 21:23:19 +0000
committerRuchira Agarwal <ra1926@att.com>2018-05-31 21:23:19 +0000
commit9737022f32da594497a1971c76c60908304710fa (patch)
tree5b32a290d48c0efe8cc343a4ddc4563fc348094e /platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
parent0c40382d036621428b9c6c15a82ecf3d45c6d347 (diff)
Add LCM DGs
Add LCM DGs with no playbooks Change-Id: Ie8a6f78dd3efc436df1638e5b08990bfcd1d1ecb Issue-ID: SDNC-331 Signed-off-by: Ruchira Agarwal <ra1926@att.com> Former-commit-id: 7715cadfbbf04602c404a247c8584dac6046b223
Diffstat (limited to 'platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json')
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json956
1 files changed, 478 insertions, 478 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": []
+ }
+]