diff options
author | 2018-05-29 21:12:54 +0000 | |
---|---|---|
committer | 2018-05-29 21:18:01 +0000 | |
commit | 9c037e68b5f1fd3acbac7fd77c428b71932b896b (patch) | |
tree | 826e3e363d0bfe284203bea11f3a93a2f86ed93a /platform-logic/lcm/src/main/json/LCM_upgrade-software.json | |
parent | 75240874408a9714bdf84b1a4b3bfa641c1699c8 (diff) |
Fix LCM Configs
Fix DG and config Typos for LCM
Change-Id: I5000e41986397174dcbd82370be6f9dffae6fe0c
Issue-ID: SDNC-329
Signed-off-by: Ruchira Agarwal <ra1926@att.com>
Former-commit-id: eb4c6fd8294d18394c6d76361987aee9f07a8090
Diffstat (limited to 'platform-logic/lcm/src/main/json/LCM_upgrade-software.json')
-rw-r--r-- | platform-logic/lcm/src/main/json/LCM_upgrade-software.json | 956 |
1 files changed, 478 insertions, 478 deletions
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 348f108f..a239a2ed 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 @@ -[ - { - "comments": "", - "id": "e3957e37.35361", - "name": "upgrade-software", - "outputs": 1, - "type": "method", - "wires": [ - [ - "c5d4c45f.4457e" - ] - ], - "x": 506, - "xml": "<method rpc='upgrade-software' mode='sync'>\n", - "y": 196, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "5f2faaca.f39734", - "module": "LCM", - "name": "LCM ${project.version}", - "outputs": 1, - "type": "service-logic", - "version": "${project.version}", - "wires": [ - [ - "e3957e37.35361" - ] - ], - "x": 293.99993896484375, - "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>", - "y": 197, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "70dc7b0c.2f14e4", - "name": "execute AnsibleA.reqExec", - "outputs": 1, - "type": "execute", - "wires": [ - [ - "bc899025.fa2868", - "f27679b0.21ec", - "704e725e.7e874c" - ] - ], - "x": 294.00001525878906, - "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-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`'/>", - "y": 414, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "e3dc71b8.c785c8", - "name": "switch", - "outputs": 1, - "type": "switchNode", - "wires": [ - [ - "86baeda9.1ff078", - "195ba453.c1b374", - "931e0cc5.50a74" - ] - ], - "x": 595, - "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n", - "y": 462, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "86baeda9.1ff078", - "name": "outcome 500", - "outputs": 1, - "type": "other", - "wires": [ - [ - "d1ce272a.df817" - ] - ], - "x": 740, - "xml": "<outcome value='500'>\n", - "y": 460.00000762939453, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "195ba453.c1b374", - "name": "outcome 100", - "outputs": 1, - "type": "other", - "wires": [ - [ - "245ca838.b01f4" - ] - ], - "x": 743, - "xml": "<outcome value='100'>\n", - "y": 503.00003814697266, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "245ca838.b01f4", - "name": "execute reqExecResult", - "outputs": 1, - "type": "execute", - "wires": [ - [ - "b1d260a0.f027c8", - "7c135a2c.b77b1c" - ] - ], - "x": 921.0000305175781, - "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-software.playbookname`'/>\n\t\n\n\n\n\n", - "y": 503.00003814697266, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "f27679b0.21ec", - "name": "failure", - "outputs": 1, - "type": "failure", - "wires": [ - [ - "d1ce272a.df817" - ] - ], - "x": 486, - "xml": "<outcome value='failure'>\n", - "y": 371.0000305175781, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "bc899025.fa2868", - "name": "other", - "outputs": 1, - "type": "other", - "wires": [ - [ - "e3dc71b8.c785c8" - ] - ], - "x": 488, - "xml": "<outcome value='Other'>\n", - "y": 423, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "b1d260a0.f027c8", - "name": "failure", - "outputs": 1, - "type": "failure", - "wires": [ - [ - "d1ce272a.df817" - ] - ], - "x": 1082.0000610351562, - "xml": "<outcome value='failure'>\n", - "y": 480.00000762939453, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "931e0cc5.50a74", - "name": "outcome 101", - "outputs": 1, - "type": "other", - "wires": [ - [ - "d1ce272a.df817" - ] - ], - "x": 737, - "xml": "<outcome value='101'>\n", - "y": 418.00003814697266, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "7c135a2c.b77b1c", - "name": "success", - "outputs": 1, - "type": "success", - "wires": [ - [ - "a9adb7fd.3d4988" - ] - ], - "x": 1089.0000610351562, - "xml": "<outcome value='success'>\n", - "y": 528.0000381469727, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "6546fdb6.d892ac", - "name": "return success", - "type": "returnSuccess", - "wires": [], - "x": 1371.9999389648438, - "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>", - "y": 580.0000381469727, - "z": "455a25b6.fcbc5c" - }, - { - "id": "c7222a65.c32fa", - "name": "DGSTART", - "outputs": 1, - "type": "dgstart", - "wires": [ - [ - "5f2faaca.f39734" - ] - ], - "x": 109, - "y": 196, - "z": "455a25b6.fcbc5c" - }, - { - "atomic": "false", - "comments": "", - "id": "c5d4c45f.4457e", - "name": "block", - "outputs": 1, - "type": "block", - "wires": [ - [ - "70dc7b0c.2f14e4", - "2144c479.557abc", - "2dcfb067.346e98" - ] - ], - "x": 104.91668701171875, - "xml": "<block>\n", - "y": 377.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "2144c479.557abc", - "name": "execute Properties", - "outputs": 1, - "type": "execute", - "wires": [ - [] - ], - "x": 279.00001525878906, - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", - "y": 319.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "3ab47119.0770ce", - "name": "execute DmaapMsg", - "outputs": 1, - "type": "execute", - "wires": [ - [ - "29d7b192.efbf56" - ] - ], - "x": 1089.0000610351562, - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n", - "y": 324.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "29d7b192.efbf56", - "name": "failure", - "outputs": 1, - "type": "failure", - "wires": [ - [ - "3b3f2df3.e75202" - ] - ], - "x": 1259, - "xml": "<outcome value='failure'>\n", - "y": 323.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "atomic": "false", - "comments": "", - "id": "d1ce272a.df817", - "name": "block", - "outputs": 1, - "type": "block", - "wires": [ - [ - "3ab47119.0770ce", - "be81ce81.d8751", - "e34055b3.f4fc" - ] - ], - "x": 892, - "xml": "<block>\n", - "y": 348.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "d0e97f8b.a0a97", - "name": "execute DmaapMsg", - "outputs": 1, - "type": "execute", - "wires": [ - [ - "f13ad0f8.38e418" - ] - ], - "x": 1392.4999389648438, - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n", - "y": 529.0833511352539, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "f13ad0f8.38e418", - "name": "failure", - "outputs": 1, - "type": "failure", - "wires": [ - [ - "8b1d7157.857a38" - ] - ], - "x": 1552.4999389648438, - "xml": "<outcome value='failure'>\n", - "y": 529.0833511352539, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "3b3f2df3.e75202", - "name": "record", - "outputs": 1, - "type": "record", - "wires": [ - [] - ], - "x": 1391, - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>", - "y": 323.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "be81ce81.d8751", - "name": "return failure", - "type": "returnFailure", - "wires": [], - "x": 1063.9166870117188, - "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n", - "y": 361.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "8b1d7157.857a38", - "name": "record", - "outputs": 1, - "type": "record", - "wires": [ - [] - ], - "x": 1673.9166870117188, - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>", - "y": 530.0833511352539, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "e34055b3.f4fc", - "name": "set", - "type": "set", - "wires": [], - "x": 1041.0000610351562, - "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.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.originator-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", - "y": 271.0833435058594, - "z": "455a25b6.fcbc5c" - }, - { - "atomic": "false", - "comments": "", - "id": "a9adb7fd.3d4988", - "name": "block", - "outputs": 1, - "type": "block", - "wires": [ - [ - "d0e97f8b.a0a97", - "c5897c80.8110a", - "6546fdb6.d892ac" - ] - ], - "x": 1221.9999389648438, - "xml": "<block>\n", - "y": 528.0833206176758, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "c5897c80.8110a", - "name": "set", - "type": "set", - "wires": [], - "x": 1352.1666870117188, - "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.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.originator-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", - "y": 481.0833511352539, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "704e725e.7e874c", - "name": "not-found", - "outputs": 1, - "type": "not-found", - "wires": [ - [ - "28042a17.b7aa2e" - ] - ], - "x": 482, - "xml": "<outcome value='not-found'>\n", - "y": 324, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "e7d4edd8.d7f83", - "name": "set Defaults", - "type": "set", - "wires": [], - "x": 866, - "xml": "<set>\n<parameter name='$org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n", - "y": 271, - "z": "455a25b6.fcbc5c" - }, - { - "atomic": "false", - "comments": "", - "id": "28042a17.b7aa2e", - "name": "block", - "outputs": 1, - "type": "block", - "wires": [ - [ - "e7d4edd8.d7f83", - "d1ce272a.df817" - ] - ], - "x": 666, - "xml": "<block>\n", - "y": 316, - "z": "455a25b6.fcbc5c" - }, - { - "comments": "", - "id": "2dcfb067.346e98", - "name": "set default status value", - "type": "set", - "wires": [], - "x": 293, - "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n", - "y": 363, - "z": "455a25b6.fcbc5c" - } -] +[
+ {
+ "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 |