summaryrefslogtreecommitdiffstats
path: root/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json')
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json956
1 files changed, 478 insertions, 478 deletions
diff --git a/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json b/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
index 96210495..69573f4a 100644
--- a/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
+++ b/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
@@ -1,478 +1,478 @@
-[
- {
- "comments": "",
- "id": "e4e70092.b7662",
- "name": "upgrade-post-check",
- "outputs": 1,
- "type": "method",
- "wires": [
- [
- "bb888dbc.8c45a8"
- ]
- ],
- "x": 521,
- "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
- "y": 182,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "8bfd5b63.3e5f4",
- "module": "LCM",
- "name": "LCM ${project.version}",
- "outputs": 1,
- "type": "service-logic",
- "version": "${project.version}",
- "wires": [
- [
- "e4e70092.b7662"
- ]
- ],
- "x": 308.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": 183,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "5e5ee749.3bcc48",
- "name": "execute AnsibleA.reqExec",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "1634a5a.ed4b85a",
- "957f4d84.2df1f",
- "46d7a6a2.66c73"
- ]
- ],
- "x": 309.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-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`'/>",
- "y": 400,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "a6974c46.ebe7b8",
- "name": "switch",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "688b9000.f7d6e",
- "6d4c7406.63e3a4",
- "f9c039c.e2674c8"
- ]
- ],
- "x": 610,
- "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
- "y": 448,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "688b9000.f7d6e",
- "name": "outcome 500",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "31c18e01.31d712"
- ]
- ],
- "x": 755,
- "xml": "<outcome value='500'>\n",
- "y": 446.00000762939453,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "6d4c7406.63e3a4",
- "name": "outcome 100",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "49c00e3.94ec7f"
- ]
- ],
- "x": 758,
- "xml": "<outcome value='100'>\n",
- "y": 489.00003814697266,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "49c00e3.94ec7f",
- "name": "execute reqExecResult",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "23a74147.f18206",
- "8fc99d96.bc351"
- ]
- ],
- "x": 936.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-post-check.playbookname`'/>\n\t\n\n\n\n\n",
- "y": 489.00003814697266,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "957f4d84.2df1f",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "31c18e01.31d712"
- ]
- ],
- "x": 501,
- "xml": "<outcome value='failure'>\n",
- "y": 357.0000305175781,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "1634a5a.ed4b85a",
- "name": "other",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "a6974c46.ebe7b8"
- ]
- ],
- "x": 503,
- "xml": "<outcome value='Other'>\n",
- "y": 409,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "23a74147.f18206",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "31c18e01.31d712"
- ]
- ],
- "x": 1097.0000610351562,
- "xml": "<outcome value='failure'>\n",
- "y": 466.00000762939453,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "f9c039c.e2674c8",
- "name": "outcome 101",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "31c18e01.31d712"
- ]
- ],
- "x": 752,
- "xml": "<outcome value='101'>\n",
- "y": 404.00003814697266,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "8fc99d96.bc351",
- "name": "success",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "d1887396.9adf08"
- ]
- ],
- "x": 1104.0000610351562,
- "xml": "<outcome value='success'>\n",
- "y": 514.0000381469727,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "6d18cbe4.797a4c",
- "name": "return success",
- "type": "returnSuccess",
- "wires": [],
- "x": 1386.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": 566.0000381469727,
- "z": "9bf3d460.112078"
- },
- {
- "id": "12001730.eb4a51",
- "name": "DGSTART",
- "outputs": 1,
- "type": "dgstart",
- "wires": [
- [
- "8bfd5b63.3e5f4"
- ]
- ],
- "x": 124,
- "y": 182,
- "z": "9bf3d460.112078"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "bb888dbc.8c45a8",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "5e5ee749.3bcc48",
- "a6d4fb87.681f68",
- "b740ef3c.edfdc8"
- ]
- ],
- "x": 119.91668701171875,
- "xml": "<block>\n",
- "y": 363.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "a6d4fb87.681f68",
- "name": "execute Properties",
- "outputs": 1,
- "type": "execute",
- "wires": [
- []
- ],
- "x": 292.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": 321.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "cb67f90f.046f3",
- "name": "execute DmaapMsg",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "875f0b0e.0e6f7"
- ]
- ],
- "x": 1104.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": 310.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "875f0b0e.0e6f7",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "ffef3abf.fa3b28"
- ]
- ],
- "x": 1274,
- "xml": "<outcome value='failure'>\n",
- "y": 309.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "31c18e01.31d712",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "cb67f90f.046f3",
- "a0aa0de3.da3e58",
- "ba94d9aa.311d58"
- ]
- ],
- "x": 907,
- "xml": "<block>\n",
- "y": 334.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "49340dd8.256594",
- "name": "execute DmaapMsg",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "2488d4ee.ca9d2c"
- ]
- ],
- "x": 1407.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": 515.0833511352539,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "2488d4ee.ca9d2c",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "4d1cd7f3.31def8"
- ]
- ],
- "x": 1567.4999389648438,
- "xml": "<outcome value='failure'>\n",
- "y": 515.0833511352539,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "ffef3abf.fa3b28",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "wires": [
- []
- ],
- "x": 1406,
- "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": 309.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "a0aa0de3.da3e58",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1078.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": 347.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "4d1cd7f3.31def8",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "wires": [
- []
- ],
- "x": 1688.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": 516.0833511352539,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "ba94d9aa.311d58",
- "name": "set",
- "type": "set",
- "wires": [],
- "x": 1056.0000610351562,
- "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.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.originator-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
- "y": 257.0833435058594,
- "z": "9bf3d460.112078"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "d1887396.9adf08",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "49340dd8.256594",
- "2c76247f.67dc84",
- "6d18cbe4.797a4c"
- ]
- ],
- "x": 1236.9999389648438,
- "xml": "<block>\n",
- "y": 514.0833206176758,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "2c76247f.67dc84",
- "name": "set",
- "type": "set",
- "wires": [],
- "x": 1367.1666870117188,
- "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.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.originator-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
- "y": 467.0833511352539,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "46d7a6a2.66c73",
- "name": "not-found",
- "outputs": 1,
- "type": "not-found",
- "wires": [
- [
- "c55c0137.1972f8"
- ]
- ],
- "x": 497,
- "xml": "<outcome value='not-found'>\n",
- "y": 310,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "5abbb598.ba8e2c",
- "name": "set Defaults",
- "type": "set",
- "wires": [],
- "x": 881,
- "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": 257,
- "z": "9bf3d460.112078"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "c55c0137.1972f8",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "5abbb598.ba8e2c",
- "31c18e01.31d712"
- ]
- ],
- "x": 681,
- "xml": "<block>\n",
- "y": 302,
- "z": "9bf3d460.112078"
- },
- {
- "comments": "",
- "id": "b740ef3c.edfdc8",
- "name": "set default status value",
- "type": "set",
- "wires": [],
- "x": 306,
- "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
- "y": 361,
- "z": "9bf3d460.112078"
- }
-]
+[
+ {
+ "id": "f6682445.892ef8",
+ "type": "method",
+ "name": "upgrade-post-check",
+ "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 548,
+ "y": 311,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "c20144c8.6587e8"
+ ]
+ ]
+ },
+ {
+ "id": "865e584e.0afff8",
+ "type": "service-logic",
+ "name": "LCM ${project.version}",
+ "module": "LCM",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",
+ "outputs": 1,
+ "x": 335.99993896484375,
+ "y": 312,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "f6682445.892ef8"
+ ]
+ ]
+ },
+ {
+ "id": "6c07ca37.928634",
+ "type": "execute",
+ "name": "execute AnsibleA.reqExec",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-post-check-input.payload`'/>\n<parameter name='NodeList' value='`$prop.ansible.nodelist`'/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 336.00001525878906,
+ "y": 529,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "b717870f.456598",
+ "b9c620c2.80061",
+ "72a5893f.c8a998"
+ ]
+ ]
+ },
+ {
+ "id": "4aba83c3.5ee0ec",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 637,
+ "y": 577,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "b9795048.eb4b6",
+ "70e3e20c.4b044c",
+ "4084a912.f7f808"
+ ]
+ ]
+ },
+ {
+ "id": "b9795048.eb4b6",
+ "type": "other",
+ "name": "outcome 500",
+ "xml": "<outcome value='500'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782,
+ "y": 575.0000076293945,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "49899cde.495504"
+ ]
+ ]
+ },
+ {
+ "id": "70e3e20c.4b044c",
+ "type": "other",
+ "name": "outcome 100",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 785,
+ "y": 618.0000381469727,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "89fa06a6.e6a638"
+ ]
+ ]
+ },
+ {
+ "id": "89fa06a6.e6a638",
+ "type": "execute",
+ "name": "execute reqExecResult",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>\n\t\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 963.0000305175781,
+ "y": 618.0000381469727,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "7b63eafe.c8e3e4",
+ "1b4d4653.98c8ca"
+ ]
+ ]
+ },
+ {
+ "id": "b9c620c2.80061",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 528,
+ "y": 486.0000305175781,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "49899cde.495504"
+ ]
+ ]
+ },
+ {
+ "id": "b717870f.456598",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 530,
+ "y": 538,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "4aba83c3.5ee0ec"
+ ]
+ ]
+ },
+ {
+ "id": "7b63eafe.c8e3e4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1124.0000610351562,
+ "y": 595.0000076293945,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "49899cde.495504"
+ ]
+ ]
+ },
+ {
+ "id": "4084a912.f7f808",
+ "type": "other",
+ "name": "outcome 101",
+ "xml": "<outcome value='101'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 779,
+ "y": 533.0000381469727,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "49899cde.495504"
+ ]
+ ]
+ },
+ {
+ "id": "1b4d4653.98c8ca",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.0000610351562,
+ "y": 643.0000381469727,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "f92faff8.6416c"
+ ]
+ ]
+ },
+ {
+ "id": "278a7129.c89b5e",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",
+ "comments": "",
+ "x": 1413.9999389648438,
+ "y": 695.0000381469727,
+ "z": "559d4ed7.13584",
+ "wires": []
+ },
+ {
+ "id": "2fc40544.c90bfa",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 151,
+ "y": 311,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "865e584e.0afff8"
+ ]
+ ]
+ },
+ {
+ "id": "c20144c8.6587e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 146.91668701171875,
+ "y": 492.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "6c07ca37.928634",
+ "285a76c5.92c0ea",
+ "1759857f.fa031b"
+ ]
+ ]
+ },
+ {
+ "id": "285a76c5.92c0ea",
+ "type": "execute",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 319.00001525878906,
+ "y": 450.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "247c4873.f4da88",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.0000610351562,
+ "y": 439.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "a0302f37.0a777"
+ ]
+ ]
+ },
+ {
+ "id": "a0302f37.0a777",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1301,
+ "y": 438.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "d28cf873.76fe18"
+ ]
+ ]
+ },
+ {
+ "id": "49899cde.495504",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 934,
+ "y": 463.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "247c4873.f4da88",
+ "d17577f9.361e58",
+ "a26c76c8.bafc18"
+ ]
+ ]
+ },
+ {
+ "id": "c96ded4.f8ab51",
+ "type": "execute",
+ "name": "execute DmaapMsg",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1434.4999389648438,
+ "y": 644.0833511352539,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "dbeb9454.3f2438"
+ ]
+ ]
+ },
+ {
+ "id": "dbeb9454.3f2438",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594.4999389648438,
+ "y": 644.0833511352539,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "ab882161.681b2"
+ ]
+ ]
+ },
+ {
+ "id": "d28cf873.76fe18",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1433,
+ "y": 438.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d17577f9.361e58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
+ "comments": "",
+ "x": 1105.9166870117188,
+ "y": 476.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": []
+ },
+ {
+ "id": "ab882161.681b2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1715.9166870117188,
+ "y": 645.0833511352539,
+ "z": "559d4ed7.13584",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a26c76c8.bafc18",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1083.0000610351562,
+ "y": 386.0833435058594,
+ "z": "559d4ed7.13584",
+ "wires": []
+ },
+ {
+ "id": "f92faff8.6416c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1263.9999389648438,
+ "y": 643.0833206176758,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "c96ded4.f8ab51",
+ "519209a.311b3f8",
+ "278a7129.c89b5e"
+ ]
+ ]
+ },
+ {
+ "id": "519209a.311b3f8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.payload' value='`$org.onap.appc.adapter.ansible.results`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
+ "comments": "",
+ "x": 1394.1666870117188,
+ "y": 596.0833511352539,
+ "z": "559d4ed7.13584",
+ "wires": []
+ },
+ {
+ "id": "72a5893f.c8a998",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 524,
+ "y": 439,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "9871197b.1e3d18"
+ ]
+ ]
+ },
+ {
+ "id": "41214bd9.1f8ad4",
+ "type": "set",
+ "name": "set Defaults",
+ "xml": "<set>\n<parameter name='$org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",
+ "comments": "",
+ "x": 908,
+ "y": 386,
+ "z": "559d4ed7.13584",
+ "wires": []
+ },
+ {
+ "id": "9871197b.1e3d18",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 708,
+ "y": 431,
+ "z": "559d4ed7.13584",
+ "wires": [
+ [
+ "41214bd9.1f8ad4",
+ "49899cde.495504"
+ ]
+ ]
+ },
+ {
+ "id": "1759857f.fa031b",
+ "type": "set",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
+ "comments": "",
+ "x": 333,
+ "y": 490,
+ "z": "559d4ed7.13584",
+ "wires": []
+ }
+] \ No newline at end of file