diff options
author | 2018-08-16 22:55:06 +0000 | |
---|---|---|
committer | 2018-08-16 22:55:06 +0000 | |
commit | 3c02eaf06b46237f3ce69be0182c490ac8f9d7b8 (patch) | |
tree | 1ca0e0d1106efa64a0a959c8e0542c50c0f30f92 /platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json | |
parent | 3f685b55bb87cf53c78ba5c8d0bbe032387d1282 (diff) |
add LCM DGs
LCM DGs for ScaleOut, TrafficMgmt, SoftwareUpgrade
Change-Id: If7a4a2edb4abf12fdd2eacbf06c124740e7703b5
Issue-ID: SDNC-423
Signed-off-by: Agarwal, Ruchira(ra1926) <ra1926@att.com>
Former-commit-id: 51ea971e0fbd77d25e1a4b5d6436dc5b7d135a95
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.json | 1031 |
1 files changed, 553 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 102870d5..60fe6a61 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,553 @@ -[ - { - "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": [] - } -] +[
+ {
+ "id": "1a420388.7ce24c",
+ "type": "method",
+ "name": "upgrade-post-check",
+ "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 550,
+ "y": 102,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "e635fd5d.f4087"
+ ]
+ ]
+ },
+ {
+ "id": "c220826b.91906",
+ "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": 337.99993896484375,
+ "y": 103,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "1a420388.7ce24c"
+ ]
+ ]
+ },
+ {
+ "id": "810e1e54.dec1c",
+ "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=\"`$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": 345.00001525878906,
+ "y": 379,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "f279f5b8.9d49b8",
+ "895a0a53.e12ea8",
+ "fa759954.4e2068"
+ ]
+ ]
+ },
+ {
+ "id": "f7db5396.7b5f1",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.9999389648438,
+ "y": 530.0000228881836,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "bc5a2382.4973",
+ "84f0dd88.8438",
+ "ffd4aab1.e3c4b8"
+ ]
+ ]
+ },
+ {
+ "id": "bc5a2382.4973",
+ "type": "other",
+ "name": "outcome 500",
+ "xml": "<outcome value='500'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 835.9999389648438,
+ "y": 528.0000305175781,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "80cc4946.3f0f78"
+ ]
+ ]
+ },
+ {
+ "id": "84f0dd88.8438",
+ "type": "other",
+ "name": "outcome 100",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 838.9999389648438,
+ "y": 571.0000610351562,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "f44a47b3.3aa128"
+ ]
+ ]
+ },
+ {
+ "id": "f44a47b3.3aa128",
+ "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": 1025.9999389648438,
+ "y": 570.0000305175781,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "dd2fe7e6.957248",
+ "6913b982.6c9bb8"
+ ]
+ ]
+ },
+ {
+ "id": "895a0a53.e12ea8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 581.9999389648438,
+ "y": 439.0000534057617,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "80cc4946.3f0f78"
+ ]
+ ]
+ },
+ {
+ "id": "f279f5b8.9d49b8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 583.9999389648438,
+ "y": 491.0000228881836,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "f7db5396.7b5f1"
+ ]
+ ]
+ },
+ {
+ "id": "dd2fe7e6.957248",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.9999389648438,
+ "y": 542.0000305175781,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "80cc4946.3f0f78"
+ ]
+ ]
+ },
+ {
+ "id": "ffd4aab1.e3c4b8",
+ "type": "other",
+ "name": "outcome 101",
+ "xml": "<outcome value='101'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 832.9999389648438,
+ "y": 486.00006103515625,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "80cc4946.3f0f78"
+ ]
+ ]
+ },
+ {
+ "id": "6913b982.6c9bb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1191.9999389648438,
+ "y": 597.0000915527344,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "14c8dea1.b5b7a1"
+ ]
+ ]
+ },
+ {
+ "id": "a32993f8.f8215",
+ "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": 1467.9998779296875,
+ "y": 648.0000610351562,
+ "z": "af8f5cdd.6e4de",
+ "wires": []
+ },
+ {
+ "id": "d8c3f83d.d0b9d8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 153,
+ "y": 102,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "c220826b.91906"
+ ]
+ ]
+ },
+ {
+ "id": "e635fd5d.f4087",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 139.91668701171875,
+ "y": 241.08334350585938,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "810e1e54.dec1c",
+ "ee1802be.c5c18",
+ "e8d3b31a.f46c6",
+ "4d7f56db.9375c8"
+ ]
+ ]
+ },
+ {
+ "id": "ee1802be.c5c18",
+ "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": 328.00001525878906,
+ "y": 225.08334350585938,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3830f5d4.87f1aa",
+ "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": 1222.9999389648438,
+ "y": 371.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "1566d659.a0655a"
+ ]
+ ]
+ },
+ {
+ "id": "1566d659.a0655a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1392.9998779296875,
+ "y": 370.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "22f8bfd0.6139e"
+ ]
+ ]
+ },
+ {
+ "id": "80cc4946.3f0f78",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.9998779296875,
+ "y": 395.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "3830f5d4.87f1aa",
+ "fedbb5e6.fb3c28",
+ "898f667e.daf2e8"
+ ]
+ ]
+ },
+ {
+ "id": "7ce48bed.5b7c74",
+ "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": 1488.4998779296875,
+ "y": 597.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "37e7fa80.2728b6"
+ ]
+ ]
+ },
+ {
+ "id": "37e7fa80.2728b6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1648.4998779296875,
+ "y": 597.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "47c7511a.dd8fe"
+ ]
+ ]
+ },
+ {
+ "id": "22f8bfd0.6139e",
+ "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": 1524.9998779296875,
+ "y": 370.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fedbb5e6.fb3c28",
+ "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": 1197.9165649414062,
+ "y": 408.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": []
+ },
+ {
+ "id": "47c7511a.dd8fe",
+ "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": 1769.9166259765625,
+ "y": 598.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "898f667e.daf2e8",
+ "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": 1174.9999389648438,
+ "y": 318.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": []
+ },
+ {
+ "id": "14c8dea1.b5b7a1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1317.9998779296875,
+ "y": 596.0833435058594,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "7ce48bed.5b7c74",
+ "70a28c6a.563d24",
+ "a32993f8.f8215"
+ ]
+ ]
+ },
+ {
+ "id": "70a28c6a.563d24",
+ "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": 1448.1666259765625,
+ "y": 549.0833740234375,
+ "z": "af8f5cdd.6e4de",
+ "wires": []
+ },
+ {
+ "id": "fa759954.4e2068",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 577.9999389648438,
+ "y": 392.0000228881836,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "ed41675d.59c088"
+ ]
+ ]
+ },
+ {
+ "id": "756c2e53.ca6d7",
+ "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": 1009.9999389648438,
+ "y": 297.0000305175781,
+ "z": "af8f5cdd.6e4de",
+ "wires": []
+ },
+ {
+ "id": "ed41675d.59c088",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 761.9999389648438,
+ "y": 384.0000228881836,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "756c2e53.ca6d7",
+ "80cc4946.3f0f78"
+ ]
+ ]
+ },
+ {
+ "id": "e8d3b31a.f46c6",
+ "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<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
+ "comments": "",
+ "x": 336,
+ "y": 269,
+ "z": "af8f5cdd.6e4de",
+ "wires": []
+ },
+ {
+ "id": "4d7f56db.9375c8",
+ "type": "get-resource",
+ "name": "get aai.generic-vnf by vnf-id",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $upgrade-post-check-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 349.0000305175781,
+ "y": 325,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "fa69a126.2a554",
+ "f9cb9963.f9e368"
+ ]
+ ]
+ },
+ {
+ "id": "fa69a126.2a554",
+ "type": "failure",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 589.86083984375,
+ "y": 312.53564453125,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "2d1a88c6.11f9d8"
+ ]
+ ]
+ },
+ {
+ "id": "f9cb9963.f9e368",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 591.3908081054688,
+ "y": 260.28399658203125,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ [
+ "c4d4de4d.3e19f"
+ ]
+ ]
+ },
+ {
+ "id": "c4d4de4d.3e19f",
+ "type": "set",
+ "name": "set nodelist",
+ "xml": "<set>\n<parameter name='quote' value=\"'\" />\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.ipv4-oam-address + $quote + ']'`\"/>\n",
+ "comments": "",
+ "x": 740.3908081054688,
+ "y": 259.28399658203125,
+ "z": "af8f5cdd.6e4de",
+ "wires": []
+ },
+ {
+ "id": "2d1a88c6.11f9d8",
+ "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='VNF not found in AAI. Nodelist retrieved from config'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 736,
+ "y": 312,
+ "z": "af8f5cdd.6e4de",
+ "wires": [
+ []
+ ]
+ }
+]
\ No newline at end of file |