summaryrefslogtreecommitdiffstats
path: root/platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json
diff options
context:
space:
mode:
authorRuchira Agarwal <ra1926@att.com>2018-05-29 21:12:54 +0000
committerRuchira Agarwal <ra1926@att.com>2018-05-29 21:18:01 +0000
commit9c037e68b5f1fd3acbac7fd77c428b71932b896b (patch)
tree826e3e363d0bfe284203bea11f3a93a2f86ed93a /platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json
parent75240874408a9714bdf84b1a4b3bfa641c1699c8 (diff)
Fix LCM Configs
Fix DG and config Typos for LCM Change-Id: I5000e41986397174dcbd82370be6f9dffae6fe0c Issue-ID: SDNC-329 Signed-off-by: Ruchira Agarwal <ra1926@att.com> Former-commit-id: eb4c6fd8294d18394c6d76361987aee9f07a8090
Diffstat (limited to 'platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json')
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json956
1 files changed, 478 insertions, 478 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..ca713fba 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",
- "name": "upgrade-pre-check",
- "outputs": 1,
- "type": "method",
- "wires": [
- [
- "7b5d3338.9d34a4"
- ]
- ],
- "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,
- "type": "service-logic",
- "version": "${project.version}",
- "wires": [
- [
- "7018ec36.4cc5ec"
- ]
- ],
- "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",
- "name": "execute AnsibleA.reqExec",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "1f9baab1.f667bd",
- "4dcb875e.05025",
- "98923780.210838"
- ]
- ],
- "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",
- "name": "switch",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "a0717baa.0ad7c8",
- "76b22e49.42c978",
- "9040169.c537f68"
- ]
- ],
- "x": 620,
- "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
- "y": 425,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "a0717baa.0ad7c8",
- "name": "outcome 500",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "ea274695.4ed0a"
- ]
- ],
- "x": 765,
- "xml": "<outcome value='500'>\n",
- "y": 423.00000762939453,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "76b22e49.42c978",
- "name": "outcome 100",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "f49ca07a.b8928"
- ]
- ],
- "x": 768,
- "xml": "<outcome value='100'>\n",
- "y": 466.00003814697266,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "f49ca07a.b8928",
- "name": "execute reqExecResult",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "49baafab.739d7",
- "225528dc.01ae88"
- ]
- ],
- "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",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "ea274695.4ed0a"
- ]
- ],
- "x": 511,
- "xml": "<outcome value='failure'>\n",
- "y": 334.0000305175781,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "1f9baab1.f667bd",
- "name": "other",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "be5a404c.df63b"
- ]
- ],
- "x": 513,
- "xml": "<outcome value='Other'>\n",
- "y": 386,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "49baafab.739d7",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "ea274695.4ed0a"
- ]
- ],
- "x": 1107.0000610351562,
- "xml": "<outcome value='failure'>\n",
- "y": 443.00000762939453,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "9040169.c537f68",
- "name": "outcome 101",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "ea274695.4ed0a"
- ]
- ],
- "x": 762,
- "xml": "<outcome value='101'>\n",
- "y": 381.00003814697266,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "225528dc.01ae88",
- "name": "success",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "6714b2b5.d30774"
- ]
- ],
- "x": 1114.0000610351562,
- "xml": "<outcome value='success'>\n",
- "y": 491.00003814697266,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "a635bf9c.d50128",
- "name": "return success",
- "type": "returnSuccess",
- "wires": [],
- "x": 1396.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": 543.0000381469727,
- "z": "c751ea25.6a3e48"
- },
- {
- "id": "cfce7550.eb4e38",
- "name": "DGSTART",
- "outputs": 1,
- "type": "dgstart",
- "wires": [
- [
- "761735d6.a3ecec"
- ]
- ],
- "x": 134,
- "y": 159,
- "z": "c751ea25.6a3e48"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "7b5d3338.9d34a4",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "df87797d.9a6da8",
- "61c92510.8e1f44",
- "88ad34a4.11ef"
- ]
- ],
- "x": 129.91668701171875,
- "xml": "<block>\n",
- "y": 340.0833435058594,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "61c92510.8e1f44",
- "name": "execute Properties",
- "outputs": 1,
- "type": "execute",
- "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",
- "name": "execute DmaapMsg",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "41a315d2.219cbc"
- ]
- ],
- "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",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "8cd3938a.e26c48"
- ]
- ],
- "x": 1284,
- "xml": "<outcome value='failure'>\n",
- "y": 286.0833435058594,
- "z": "c751ea25.6a3e48"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "ea274695.4ed0a",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "1b10ccd4.98611b",
- "bccd0081.01b13",
- "7a021bb.f1ec464"
- ]
- ],
- "x": 917,
- "xml": "<block>\n",
- "y": 311.0833435058594,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "bdd486fa.e9a568",
- "name": "execute DmaapMsg",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "9f6ebc1e.f5d92"
- ]
- ],
- "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",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "570d9c94.41a1c4"
- ]
- ],
- "x": 1577.4999389648438,
- "xml": "<outcome value='failure'>\n",
- "y": 492.0833511352539,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "8cd3938a.e26c48",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "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",
- "type": "returnFailure",
- "wires": [],
- "x": 1088.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": 324.0833435058594,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "570d9c94.41a1c4",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "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",
- "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"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "6714b2b5.d30774",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "bdd486fa.e9a568",
- "a28655e0.def7f8",
- "a635bf9c.d50128"
- ]
- ],
- "x": 1246.9999389648438,
- "xml": "<block>\n",
- "y": 491.0833206176758,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "a28655e0.def7f8",
- "name": "set",
- "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"
- },
- {
- "comments": "",
- "id": "98923780.210838",
- "name": "not-found",
- "outputs": 1,
- "type": "not-found",
- "wires": [
- [
- "504babef.4c020c"
- ]
- ],
- "x": 507,
- "xml": "<outcome value='not-found'>\n",
- "y": 287,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "4ab0c40.39584bc",
- "name": "set Defaults",
- "type": "set",
- "wires": [],
- "x": 891,
- "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"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "504babef.4c020c",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "4ab0c40.39584bc",
- "ea274695.4ed0a"
- ]
- ],
- "x": 691,
- "xml": "<block>\n",
- "y": 279,
- "z": "c751ea25.6a3e48"
- },
- {
- "comments": "",
- "id": "88ad34a4.11ef",
- "name": "set default status value",
- "type": "set",
- "wires": [],
- "x": 312,
- "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"
- }
-]
+[
+ {
+ "id": "8f8b6a32.647e2",
+ "type": "method",
+ "name": "upgrade-pre-check",
+ "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 559,
+ "y": 294,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "7fd9ef18.f2ed78"
+ ]
+ ]
+ },
+ {
+ "id": "59a5c829.6824e",
+ "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": 346.99993896484375,
+ "y": 295,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "8f8b6a32.647e2"
+ ]
+ ]
+ },
+ {
+ "id": "a0bfd483.1d05a8",
+ "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,
+ "x": 347.00001525878906,
+ "y": 512,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "3faa8c0d.7c76dc",
+ "730a2ac.ac7a254",
+ "ff0c1a71.8db25"
+ ]
+ ]
+ },
+ {
+ "id": "7b8e8551.6739f4",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 648,
+ "y": 560,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "9997ad99.656ba",
+ "251aa2bd.3255ce",
+ "19061d90.32c37a"
+ ]
+ ]
+ },
+ {
+ "id": "9997ad99.656ba",
+ "type": "other",
+ "name": "outcome 500",
+ "xml": "<outcome value='500'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 793,
+ "y": 558.0000076293945,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "8b7c0757.979618"
+ ]
+ ]
+ },
+ {
+ "id": "251aa2bd.3255ce",
+ "type": "other",
+ "name": "outcome 100",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 796,
+ "y": 601.0000381469727,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "59f732a3.29a3dc"
+ ]
+ ]
+ },
+ {
+ "id": "59f732a3.29a3dc",
+ "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,
+ "x": 974.0000305175781,
+ "y": 601.0000381469727,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "665399bc.90a228",
+ "9947c0c2.0bad38"
+ ]
+ ]
+ },
+ {
+ "id": "730a2ac.ac7a254",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 539,
+ "y": 469.0000305175781,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "8b7c0757.979618"
+ ]
+ ]
+ },
+ {
+ "id": "3faa8c0d.7c76dc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 541,
+ "y": 521,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "7b8e8551.6739f4"
+ ]
+ ]
+ },
+ {
+ "id": "665399bc.90a228",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.0000610351562,
+ "y": 578.0000076293945,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "8b7c0757.979618"
+ ]
+ ]
+ },
+ {
+ "id": "19061d90.32c37a",
+ "type": "other",
+ "name": "outcome 101",
+ "xml": "<outcome value='101'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 790,
+ "y": 516.0000381469727,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "8b7c0757.979618"
+ ]
+ ]
+ },
+ {
+ "id": "9947c0c2.0bad38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1142.0000610351562,
+ "y": 626.0000381469727,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "7e43b622.5535c8"
+ ]
+ ]
+ },
+ {
+ "id": "6a30a994.3ca8e8",
+ "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": 1424.9999389648438,
+ "y": 678.0000381469727,
+ "z": "8e82c78b.3253d8",
+ "wires": []
+ },
+ {
+ "id": "3123d7af.60a66",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 162,
+ "y": 294,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "59a5c829.6824e"
+ ]
+ ]
+ },
+ {
+ "id": "7fd9ef18.f2ed78",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 157.91668701171875,
+ "y": 475.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "a0bfd483.1d05a8",
+ "795753b1.362064",
+ "1872375f.c08bb1"
+ ]
+ ]
+ },
+ {
+ "id": "795753b1.362064",
+ "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": 331.00001525878906,
+ "y": 428.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6dde91d9.2b278",
+ "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": 1142.0000610351562,
+ "y": 422.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "4c1e83c0.729474"
+ ]
+ ]
+ },
+ {
+ "id": "4c1e83c0.729474",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1312,
+ "y": 421.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "be504f4e.6e8158"
+ ]
+ ]
+ },
+ {
+ "id": "8b7c0757.979618",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 945,
+ "y": 446.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "6dde91d9.2b278",
+ "32e620d0.14aab8",
+ "8156d91e.66c9"
+ ]
+ ]
+ },
+ {
+ "id": "6078cfef.b6b9c",
+ "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": 1445.4999389648438,
+ "y": 627.0833511352539,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "287251c7.95902e"
+ ]
+ ]
+ },
+ {
+ "id": "287251c7.95902e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.4999389648438,
+ "y": 627.0833511352539,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "dda83a49.a35b9"
+ ]
+ ]
+ },
+ {
+ "id": "be504f4e.6e8158",
+ "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": 1444,
+ "y": 421.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "32e620d0.14aab8",
+ "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": 1116.9166870117188,
+ "y": 459.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": []
+ },
+ {
+ "id": "dda83a49.a35b9",
+ "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": 1726.9166870117188,
+ "y": 628.0833511352539,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8156d91e.66c9",
+ "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-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.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": 1094.0000610351562,
+ "y": 369.0833435058594,
+ "z": "8e82c78b.3253d8",
+ "wires": []
+ },
+ {
+ "id": "7e43b622.5535c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1274.9999389648438,
+ "y": 626.0833206176758,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "6078cfef.b6b9c",
+ "6e5dc321.5d13f4",
+ "6a30a994.3ca8e8"
+ ]
+ ]
+ },
+ {
+ "id": "6e5dc321.5d13f4",
+ "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-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.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": 1405.1666870117188,
+ "y": 579.0833511352539,
+ "z": "8e82c78b.3253d8",
+ "wires": []
+ },
+ {
+ "id": "ff0c1a71.8db25",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 535,
+ "y": 422,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "c12fad1e.df7a3"
+ ]
+ ]
+ },
+ {
+ "id": "fcf3a642.3a7fa",
+ "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": 919,
+ "y": 369,
+ "z": "8e82c78b.3253d8",
+ "wires": []
+ },
+ {
+ "id": "c12fad1e.df7a3",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 719,
+ "y": 414,
+ "z": "8e82c78b.3253d8",
+ "wires": [
+ [
+ "fcf3a642.3a7fa",
+ "8b7c0757.979618"
+ ]
+ ]
+ },
+ {
+ "id": "1872375f.c08bb1",
+ "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": 340,
+ "y": 472,
+ "z": "8e82c78b.3253d8",
+ "wires": []
+ }
+] \ No newline at end of file