diff options
Diffstat (limited to 'platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json')
-rw-r--r-- | platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json | 556 |
1 files changed, 278 insertions, 278 deletions
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 56f7b2ba..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 @@ [ { - "comments": "", - "id": "7018ec36.4cc5ec", + "id": "8794d455.5cce5", + "type": "method", "name": "upgrade-pre-check", + "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n", + "comments": "", "outputs": 1, - "type": "method", + "x": 520, + "y": 133, + "z": "7da5048.3ddb5fc", "wires": [ [ - "7b5d3338.9d34a4" + "ff45289b.166bd8" ] - ], - "x": 531, - "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n", - "y": 159, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "761735d6.a3ecec", - "module": "LCM", - "name": "LCM ${project.version}", - "outputs": 1, + "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": [ [ - "7018ec36.4cc5ec" + "8794d455.5cce5" ] - ], - "x": 318.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": 160, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "df87797d.9a6da8", + "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, - "type": "execute", + "x": 308.00001525878906, + "y": 351, + "z": "7da5048.3ddb5fc", "wires": [ [ - "1f9baab1.f667bd", - "4dcb875e.05025", - "98923780.210838" + "dde77b94.93ef18", + "ed53398e.b83e6", + "f5081dcd.9b7118" ] - ], - "x": 319.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-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`'/>", - "y": 377, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "be5a404c.df63b", + "id": "fe62b59e.3e5e2", + "type": "switchNode", "name": "switch", + "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n", + "comments": "", "outputs": 1, - "type": "switchNode", + "x": 609, + "y": 399, + "z": "7da5048.3ddb5fc", "wires": [ [ - "a0717baa.0ad7c8", - "76b22e49.42c978", - "9040169.c537f68" + "1521e2ba.c5b60d", + "c92b8968.b6598", + "1549489f.79a4df" ] - ], - "x": 620, - "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n", - "y": 425, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "a0717baa.0ad7c8", + "id": "1521e2ba.c5b60d", + "type": "other", "name": "outcome 500", + "xml": "<outcome value='500'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 754, + "y": 397.00000762939453, + "z": "7da5048.3ddb5fc", "wires": [ [ - "ea274695.4ed0a" + "6680d59e.022b5c" ] - ], - "x": 765, - "xml": "<outcome value='500'>\n", - "y": 423.00000762939453, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "76b22e49.42c978", + "id": "c92b8968.b6598", + "type": "other", "name": "outcome 100", + "xml": "<outcome value='100'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 757, + "y": 440.00003814697266, + "z": "7da5048.3ddb5fc", "wires": [ [ - "f49ca07a.b8928" + "a515c0c.2a1774" ] - ], - "x": 768, - "xml": "<outcome value='100'>\n", - "y": 466.00003814697266, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "f49ca07a.b8928", + "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, - "type": "execute", + "x": 935.0000305175781, + "y": 440.00003814697266, + "z": "7da5048.3ddb5fc", "wires": [ [ - "49baafab.739d7", - "225528dc.01ae88" + "aafd18f3.e67588", + "12d7ff4a.4dff39" ] - ], - "x": 946.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-pre-check.playbookname`'/>\n\t\n\n\n\n\n", - "y": 466.00003814697266, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "4dcb875e.05025", + "id": "ed53398e.b83e6", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 500, + "y": 308.0000305175781, + "z": "7da5048.3ddb5fc", "wires": [ [ - "ea274695.4ed0a" + "6680d59e.022b5c" ] - ], - "x": 511, - "xml": "<outcome value='failure'>\n", - "y": 334.0000305175781, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "1f9baab1.f667bd", + "id": "dde77b94.93ef18", + "type": "other", "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 502, + "y": 360, + "z": "7da5048.3ddb5fc", "wires": [ [ - "be5a404c.df63b" + "fe62b59e.3e5e2" ] - ], - "x": 513, - "xml": "<outcome value='Other'>\n", - "y": 386, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "49baafab.739d7", + "id": "aafd18f3.e67588", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 1096.0000610351562, + "y": 417.00000762939453, + "z": "7da5048.3ddb5fc", "wires": [ [ - "ea274695.4ed0a" + "6680d59e.022b5c" ] - ], - "x": 1107.0000610351562, - "xml": "<outcome value='failure'>\n", - "y": 443.00000762939453, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "9040169.c537f68", + "id": "1549489f.79a4df", + "type": "other", "name": "outcome 101", + "xml": "<outcome value='101'>\n", + "comments": "", "outputs": 1, - "type": "other", + "x": 751, + "y": 355.00003814697266, + "z": "7da5048.3ddb5fc", "wires": [ [ - "ea274695.4ed0a" + "6680d59e.022b5c" ] - ], - "x": 762, - "xml": "<outcome value='101'>\n", - "y": 381.00003814697266, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "225528dc.01ae88", + "id": "12d7ff4a.4dff39", + "type": "success", "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", "outputs": 1, - "type": "success", + "x": 1103.0000610351562, + "y": 465.00003814697266, + "z": "7da5048.3ddb5fc", "wires": [ [ - "6714b2b5.d30774" + "db47df98.2c4588" ] - ], - "x": 1114.0000610351562, - "xml": "<outcome value='success'>\n", - "y": 491.00003814697266, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "a635bf9c.d50128", - "name": "return success", + "id": "cdc8f332.5e3cb8", "type": "returnSuccess", - "wires": [], - "x": 1396.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": 543.0000381469727, - "z": "c751ea25.6a3e48" + "comments": "", + "x": 1385.9999389648438, + "y": 517.0000381469727, + "z": "7da5048.3ddb5fc", + "wires": [] }, { - "id": "cfce7550.eb4e38", + "id": "35025675.c3eb3a", + "type": "dgstart", "name": "DGSTART", "outputs": 1, - "type": "dgstart", + "x": 123, + "y": 133, + "z": "7da5048.3ddb5fc", "wires": [ [ - "761735d6.a3ecec" + "80857f67.984b6" ] - ], - "x": 134, - "y": 159, - "z": "c751ea25.6a3e48" + ] }, { + "id": "ff45289b.166bd8", + "type": "block", + "name": "block", + "xml": "<block>\n", "atomic": "false", "comments": "", - "id": "7b5d3338.9d34a4", - "name": "block", "outputs": 1, - "type": "block", + "x": 118.91668701171875, + "y": 314.0833435058594, + "z": "7da5048.3ddb5fc", "wires": [ [ - "df87797d.9a6da8", - "61c92510.8e1f44", - "88ad34a4.11ef" + "d102dc2d.41fe", + "8c1fb722.e712a8", + "d66534d5.e238c" ] - ], - "x": 129.91668701171875, - "xml": "<block>\n", - "y": 340.0833435058594, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "61c92510.8e1f44", + "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, - "type": "execute", + "x": 292.00001525878906, + "y": 267.0833435058594, + "z": "7da5048.3ddb5fc", "wires": [ [] - ], - "x": 303.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": 293.0833435058594, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "1b10ccd4.98611b", + "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, - "type": "execute", + "x": 1103.0000610351562, + "y": 261.0833435058594, + "z": "7da5048.3ddb5fc", "wires": [ [ - "41a315d2.219cbc" + "33950e88.f14ed2" ] - ], - "x": 1114.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": 287.0833435058594, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "41a315d2.219cbc", + "id": "33950e88.f14ed2", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 1273, + "y": 260.0833435058594, + "z": "7da5048.3ddb5fc", "wires": [ [ - "8cd3938a.e26c48" + "d29bb160.8e2c18" ] - ], - "x": 1284, - "xml": "<outcome value='failure'>\n", - "y": 286.0833435058594, - "z": "c751ea25.6a3e48" + ] }, { + "id": "6680d59e.022b5c", + "type": "block", + "name": "block", + "xml": "<block>\n", "atomic": "false", "comments": "", - "id": "ea274695.4ed0a", - "name": "block", "outputs": 1, - "type": "block", + "x": 906, + "y": 285.0833435058594, + "z": "7da5048.3ddb5fc", "wires": [ [ - "1b10ccd4.98611b", - "bccd0081.01b13", - "7a021bb.f1ec464" + "5aa80cdf.0a7ab4", + "b116f2bd.6d187", + "3c43772b.4e0da8" ] - ], - "x": 917, - "xml": "<block>\n", - "y": 311.0833435058594, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "bdd486fa.e9a568", + "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, - "type": "execute", + "x": 1406.4999389648438, + "y": 466.0833511352539, + "z": "7da5048.3ddb5fc", "wires": [ [ - "9f6ebc1e.f5d92" + "96654ac9.0d28b8" ] - ], - "x": 1417.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": 492.0833511352539, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "9f6ebc1e.f5d92", + "id": "96654ac9.0d28b8", + "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", "outputs": 1, - "type": "failure", + "x": 1566.4999389648438, + "y": 466.0833511352539, + "z": "7da5048.3ddb5fc", "wires": [ [ - "570d9c94.41a1c4" + "8e468697.9f9a2" ] - ], - "x": 1577.4999389648438, - "xml": "<outcome value='failure'>\n", - "y": 492.0833511352539, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "8cd3938a.e26c48", + "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, - "type": "record", + "x": 1405, + "y": 260.0833435058594, + "z": "7da5048.3ddb5fc", "wires": [ [] - ], - "x": 1416, - "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": 286.0833435058594, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "bccd0081.01b13", - "name": "return failure", + "id": "b116f2bd.6d187", "type": "returnFailure", - "wires": [], - "x": 1088.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": 324.0833435058594, - "z": "c751ea25.6a3e48" + "comments": "", + "x": 1077.9166870117188, + "y": 298.0833435058594, + "z": "7da5048.3ddb5fc", + "wires": [] }, { - "comments": "", - "id": "570d9c94.41a1c4", + "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, - "type": "record", + "x": 1687.9166870117188, + "y": 467.0833511352539, + "z": "7da5048.3ddb5fc", "wires": [ [] - ], - "x": 1698.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": 493.0833511352539, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "7a021bb.f1ec464", - "name": "set", + "id": "3c43772b.4e0da8", "type": "set", - "wires": [], - "x": 1066.0000610351562, - "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.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.originator-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", - "y": 234.08334350585938, - "z": "c751ea25.6a3e48" + "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": "", - "id": "6714b2b5.d30774", - "name": "block", "outputs": 1, - "type": "block", + "x": 1235.9999389648438, + "y": 465.0833206176758, + "z": "7da5048.3ddb5fc", "wires": [ [ - "bdd486fa.e9a568", - "a28655e0.def7f8", - "a635bf9c.d50128" + "ee44a647.c4fff", + "61a3bf4.bcdb3c", + "cdc8f332.5e3cb8" ] - ], - "x": 1246.9999389648438, - "xml": "<block>\n", - "y": 491.0833206176758, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "a28655e0.def7f8", - "name": "set", + "id": "61a3bf4.bcdb3c", "type": "set", - "wires": [], - "x": 1377.1666870117188, - "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.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.originator-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", - "y": 444.0833511352539, - "z": "c751ea25.6a3e48" + "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": [] }, { - "comments": "", - "id": "98923780.210838", + "id": "f5081dcd.9b7118", + "type": "not-found", "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", "outputs": 1, - "type": "not-found", + "x": 496, + "y": 261, + "z": "7da5048.3ddb5fc", "wires": [ [ - "504babef.4c020c" + "ce8b68f1.22b2d8" ] - ], - "x": 507, - "xml": "<outcome value='not-found'>\n", - "y": 287, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "4ab0c40.39584bc", - "name": "set Defaults", + "id": "e7918964.c04f3", "type": "set", - "wires": [], - "x": 891, + "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": 234, - "z": "c751ea25.6a3e48" + "comments": "", + "x": 880, + "y": 208, + "z": "7da5048.3ddb5fc", + "wires": [] }, { + "id": "ce8b68f1.22b2d8", + "type": "block", + "name": "block", + "xml": "<block>\n", "atomic": "false", "comments": "", - "id": "504babef.4c020c", - "name": "block", "outputs": 1, - "type": "block", + "x": 680, + "y": 253, + "z": "7da5048.3ddb5fc", "wires": [ [ - "4ab0c40.39584bc", - "ea274695.4ed0a" + "e7918964.c04f3", + "6680d59e.022b5c" ] - ], - "x": 691, - "xml": "<block>\n", - "y": 279, - "z": "c751ea25.6a3e48" + ] }, { - "comments": "", - "id": "88ad34a4.11ef", - "name": "set default status value", + "id": "d66534d5.e238c", "type": "set", - "wires": [], - "x": 312, + "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": 337, - "z": "c751ea25.6a3e48" + "comments": "", + "x": 301, + "y": 311, + "z": "7da5048.3ddb5fc", + "wires": [] } ] |