diff options
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 | 556 |
1 files changed, 278 insertions, 278 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..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 @@ [ { - "comments": "", - "id": "e3957e37.35361", + "id": "4c3f9752.77dec", + "type": "method", "name": "upgrade-software", + "xml": "<method rpc='upgrade-software' mode='sync'>\n", + "comments": "", "outputs": 1, - "type": "method", + "x": 489, + "y": 152, + "z": "e0b620f9.dad4e8", "wires": [ [ - "c5d4c45f.4457e" + "83650b67.6cd8c" ] - ], - "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, + "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": [ [ - "e3957e37.35361" + "4c3f9752.77dec" ] - ], - "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", + "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, - "type": "execute", + "x": 277.00001525878906, + "y": 370, + "z": "e0b620f9.dad4e8", "wires": [ [ - "bc899025.fa2868", - "f27679b0.21ec", - "704e725e.7e874c" + "199ed9da.f92c0e", + "c8dd71a.7a9241", + "50f87fc.8f6068" ] - ], - "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", + "id": "32b073b0.4096bc", + "type": "switchNode", "name": "switch", + "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n", + "comments": "", "outputs": 1, - "type": "switchNode", + "x": 578, + "y": 418, + "z": "e0b620f9.dad4e8", "wires": [ [ - "86baeda9.1ff078", - "195ba453.c1b374", - "931e0cc5.50a74" + "df999599.1b565", + "96b44eb0.622268", + "a80c397d.561b48" ] - ], - "x": 595, - "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n", - "y": 462, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "86baeda9.1ff078", + "id": "df999599.1b565", + "type": "other", "name": "outcome 500", + "xml": "<outcome value='500'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 723, + "y": 416.00000762939453, + "z": "e0b620f9.dad4e8", "wires": [ [ - "d1ce272a.df817" + "f25faee.c20865" ] - ], - "x": 740, - "xml": "<outcome value='500'>\n", - "y": 460.00000762939453, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "195ba453.c1b374", + "id": "96b44eb0.622268", + "type": "other", "name": "outcome 100", + "xml": "<outcome value='100'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 726, + "y": 459.00003814697266, + "z": "e0b620f9.dad4e8", "wires": [ [ - "245ca838.b01f4" + "fcf5e1f3.334ad" ] - ], - "x": 743, - "xml": "<outcome value='100'>\n", - "y": 503.00003814697266, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "245ca838.b01f4", + "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, - "type": "execute", + "x": 904.0000305175781, + "y": 459.00003814697266, + "z": "e0b620f9.dad4e8", "wires": [ [ - "b1d260a0.f027c8", - "7c135a2c.b77b1c" + "9223dd62.33b848", + "52b60d15.5c8824" ] - ], - "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", + "id": "c8dd71a.7a9241", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 469, + "y": 327.0000305175781, + "z": "e0b620f9.dad4e8", "wires": [ [ - "d1ce272a.df817" + "f25faee.c20865" ] - ], - "x": 486, - "xml": "<outcome value='failure'>\n", - "y": 371.0000305175781, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "bc899025.fa2868", + "id": "199ed9da.f92c0e", + "type": "other", "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 471, + "y": 379, + "z": "e0b620f9.dad4e8", "wires": [ [ - "e3dc71b8.c785c8" + "32b073b0.4096bc" ] - ], - "x": 488, - "xml": "<outcome value='Other'>\n", - "y": 423, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "b1d260a0.f027c8", + "id": "9223dd62.33b848", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 1065.0000610351562, + "y": 436.00000762939453, + "z": "e0b620f9.dad4e8", "wires": [ [ - "d1ce272a.df817" + "f25faee.c20865" ] - ], - "x": 1082.0000610351562, - "xml": "<outcome value='failure'>\n", - "y": 480.00000762939453, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "931e0cc5.50a74", + "id": "a80c397d.561b48", + "type": "other", "name": "outcome 101", + "xml": "<outcome value='101'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 720, + "y": 374.00003814697266, + "z": "e0b620f9.dad4e8", "wires": [ [ - "d1ce272a.df817" + "f25faee.c20865" ] - ], - "x": 737, - "xml": "<outcome value='101'>\n", - "y": 418.00003814697266, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "7c135a2c.b77b1c", + "id": "52b60d15.5c8824", + "type": "success", "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", "outputs": 1, - "type": "success", + "x": 1072.0000610351562, + "y": 484.00003814697266, + "z": "e0b620f9.dad4e8", "wires": [ [ - "a9adb7fd.3d4988" + "9c548e74.79765" ] - ], - "x": 1089.0000610351562, - "xml": "<outcome value='success'>\n", - "y": 528.0000381469727, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "6546fdb6.d892ac", - "name": "return success", + "id": "6d12b2b7.836454", "type": "returnSuccess", - "wires": [], - "x": 1371.9999389648438, + "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`'/>", - "y": 580.0000381469727, - "z": "455a25b6.fcbc5c" + "comments": "", + "x": 1354.9999389648438, + "y": 536.0000381469727, + "z": "e0b620f9.dad4e8", + "wires": [] }, { - "id": "c7222a65.c32fa", + "id": "c4c2701e.31e65", + "type": "dgstart", "name": "DGSTART", "outputs": 1, - "type": "dgstart", + "x": 92, + "y": 152, + "z": "e0b620f9.dad4e8", "wires": [ [ - "5f2faaca.f39734" + "d837d6cb.338428" ] - ], - "x": 109, - "y": 196, - "z": "455a25b6.fcbc5c" + ] }, { + "id": "83650b67.6cd8c", + "type": "block", + "name": "block", + "xml": "<block>\n", "atomic": "false", "comments": "", - "id": "c5d4c45f.4457e", - "name": "block", "outputs": 1, - "type": "block", + "x": 87.91668701171875, + "y": 333.0833435058594, + "z": "e0b620f9.dad4e8", "wires": [ [ - "70dc7b0c.2f14e4", - "2144c479.557abc", - "2dcfb067.346e98" + "3421e2b7.29c266", + "af5cebbf.24ded", + "9b7242c2.970088" ] - ], - "x": 104.91668701171875, - "xml": "<block>\n", - "y": 377.0833435058594, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "2144c479.557abc", + "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, - "type": "execute", + "x": 262.00001525878906, + "y": 275.0833435058594, + "z": "e0b620f9.dad4e8", "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", + "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, - "type": "execute", + "x": 1072.0000610351562, + "y": 280.0833435058594, + "z": "e0b620f9.dad4e8", "wires": [ [ - "29d7b192.efbf56" + "4b59a568.89eb14" ] - ], - "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", + "id": "4b59a568.89eb14", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 1242, + "y": 279.0833435058594, + "z": "e0b620f9.dad4e8", "wires": [ [ - "3b3f2df3.e75202" + "81a1b456.34658" ] - ], - "x": 1259, - "xml": "<outcome value='failure'>\n", - "y": 323.0833435058594, - "z": "455a25b6.fcbc5c" + ] }, { + "id": "f25faee.c20865", + "type": "block", + "name": "block", + "xml": "<block>\n", "atomic": "false", "comments": "", - "id": "d1ce272a.df817", - "name": "block", "outputs": 1, - "type": "block", + "x": 875, + "y": 304.0833435058594, + "z": "e0b620f9.dad4e8", "wires": [ [ - "3ab47119.0770ce", - "be81ce81.d8751", - "e34055b3.f4fc" + "17a67139.0163e7", + "e10545e8.eea44", + "d8fbd5c3.79579" ] - ], - "x": 892, - "xml": "<block>\n", - "y": 348.0833435058594, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "d0e97f8b.a0a97", + "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, - "type": "execute", + "x": 1375.4999389648438, + "y": 485.0833511352539, + "z": "e0b620f9.dad4e8", "wires": [ [ - "f13ad0f8.38e418" + "8bc4822b.c5137" ] - ], - "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", + "id": "8bc4822b.c5137", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 1535.4999389648438, + "y": 485.0833511352539, + "z": "e0b620f9.dad4e8", "wires": [ [ - "8b1d7157.857a38" + "b21f8cea.572bf8" ] - ], - "x": 1552.4999389648438, - "xml": "<outcome value='failure'>\n", - "y": 529.0833511352539, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "3b3f2df3.e75202", + "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, - "type": "record", + "x": 1374, + "y": 279.0833435058594, + "z": "e0b620f9.dad4e8", "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", + "id": "e10545e8.eea44", "type": "returnFailure", - "wires": [], - "x": 1063.9166870117188, + "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", - "y": 361.0833435058594, - "z": "455a25b6.fcbc5c" + "comments": "", + "x": 1046.9166870117188, + "y": 317.0833435058594, + "z": "e0b620f9.dad4e8", + "wires": [] }, { - "comments": "", - "id": "8b1d7157.857a38", + "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, - "type": "record", + "x": 1656.9166870117188, + "y": 486.0833511352539, + "z": "e0b620f9.dad4e8", "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", + "id": "d8fbd5c3.79579", "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" + "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": "", - "id": "a9adb7fd.3d4988", - "name": "block", "outputs": 1, - "type": "block", + "x": 1204.9999389648438, + "y": 484.0833206176758, + "z": "e0b620f9.dad4e8", "wires": [ [ - "d0e97f8b.a0a97", - "c5897c80.8110a", - "6546fdb6.d892ac" + "3095e5cd.210e32", + "dfdfe757.04d0d8", + "6d12b2b7.836454" ] - ], - "x": 1221.9999389648438, - "xml": "<block>\n", - "y": 528.0833206176758, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "c5897c80.8110a", - "name": "set", + "id": "dfdfe757.04d0d8", "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" + "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": [] }, { - "comments": "", - "id": "704e725e.7e874c", + "id": "50f87fc.8f6068", + "type": "not-found", "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", "outputs": 1, - "type": "not-found", + "x": 465, + "y": 280, + "z": "e0b620f9.dad4e8", "wires": [ [ - "28042a17.b7aa2e" + "71cef7a8.a94c" ] - ], - "x": 482, - "xml": "<outcome value='not-found'>\n", - "y": 324, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "e7d4edd8.d7f83", - "name": "set Defaults", + "id": "711ed4cf.9ec76c", "type": "set", - "wires": [], - "x": 866, + "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", - "y": 271, - "z": "455a25b6.fcbc5c" + "comments": "", + "x": 849, + "y": 227, + "z": "e0b620f9.dad4e8", + "wires": [] }, { + "id": "71cef7a8.a94c", + "type": "block", + "name": "block", + "xml": "<block>\n", "atomic": "false", "comments": "", - "id": "28042a17.b7aa2e", - "name": "block", "outputs": 1, - "type": "block", + "x": 649, + "y": 272, + "z": "e0b620f9.dad4e8", "wires": [ [ - "e7d4edd8.d7f83", - "d1ce272a.df817" + "711ed4cf.9ec76c", + "f25faee.c20865" ] - ], - "x": 666, - "xml": "<block>\n", - "y": 316, - "z": "455a25b6.fcbc5c" + ] }, { - "comments": "", - "id": "2dcfb067.346e98", - "name": "set default status value", + "id": "9b7242c2.970088", "type": "set", - "wires": [], - "x": 293, + "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", - "y": 363, - "z": "455a25b6.fcbc5c" + "comments": "", + "x": 276, + "y": 319, + "z": "e0b620f9.dad4e8", + "wires": [] } ] |