aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/lcm/src/main/json/LCM_upgrade-software.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/lcm/src/main/json/LCM_upgrade-software.json')
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-software.json544
1 files changed, 272 insertions, 272 deletions
diff --git a/platform-logic/lcm/src/main/json/LCM_upgrade-software.json b/platform-logic/lcm/src/main/json/LCM_upgrade-software.json
index 0ddbf91e..656abb45 100644
--- a/platform-logic/lcm/src/main/json/LCM_upgrade-software.json
+++ b/platform-logic/lcm/src/main/json/LCM_upgrade-software.json
@@ -1,811 +1,811 @@
[
{
- "id": "fab0f7ed.c486b8",
+ "id": "d52a9fe6.4a061",
"type": "method",
"name": "upgrade-software",
"xml": "<method rpc='upgrade-software' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 480,
- "y": 147,
- "z": "50de34e0.ace54c",
+ "x": 544,
+ "y": 52,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "5ccc8e8d.06e5"
+ "8be92af7.e48088"
]
]
},
{
- "id": "5c791eb8.0072b",
+ "id": "b090596a.f30168",
"type": "service-logic",
- "name": "LCM ${project.version}",
+ "name": "LCM 1.4.5",
"module": "LCM",
- "version": "${project.version}",
+ "version": "1.4.5",
"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": 267.99993896484375,
- "y": 148,
- "z": "50de34e0.ace54c",
+ "x": 331.99993896484375,
+ "y": 53,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "fab0f7ed.c486b8"
+ "d52a9fe6.4a061"
]
]
},
{
- "id": "3503ece1.d7ad14",
+ "id": "2f057096.50046",
"type": "execute",
"name": "execute AnsibleA.reqExec",
"xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`$prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-software-input.payload`'/>\n<parameter name='NodeList' value=\"`$nodelist`\"/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",
"comments": "",
"outputs": 1,
- "x": 335.00001525878906,
- "y": 755,
- "z": "50de34e0.ace54c",
+ "x": 399.00001525878906,
+ "y": 660,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "734b2c42.973ee4",
- "bb8a76ca.fb7058",
- "a457fe79.46497"
+ "f4a52a80.3301f8",
+ "4c3969ef.3ad0e8",
+ "519ffe08.0c9b3"
]
]
},
{
- "id": "f17ff2aa.67075",
+ "id": "5a208b8c.11bad4",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 734.9999389648438,
- "y": 863.0000305175781,
- "z": "50de34e0.ace54c",
+ "x": 798.9999389648438,
+ "y": 768.0000305175781,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "7ad5787f.1c20f8",
- "b6f779a3.cc7ed8",
- "f695f05e.abf31"
+ "e1869f29.6536c",
+ "43f57bf1.626ff4",
+ "c32ffe89.d048e"
]
]
},
{
- "id": "7ad5787f.1c20f8",
+ "id": "e1869f29.6536c",
"type": "other",
"name": "outcome 500",
"xml": "<outcome value='500'>\n",
"comments": "",
"outputs": 1,
- "x": 879.9999389648438,
- "y": 861.0000381469727,
- "z": "50de34e0.ace54c",
+ "x": 943.9999389648438,
+ "y": 766.0000381469727,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "2b54a991.b17b16"
+ "398fd4fb.d6173c"
]
]
},
{
- "id": "b6f779a3.cc7ed8",
+ "id": "43f57bf1.626ff4",
"type": "other",
"name": "outcome 100",
"xml": "<outcome value='100'>\n",
"comments": "",
"outputs": 1,
- "x": 876.9999389648438,
- "y": 918.0000305175781,
- "z": "50de34e0.ace54c",
+ "x": 940.9999389648438,
+ "y": 823.0000305175781,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "1a65bc45.b2fcb4"
+ "f88fcab6.006eb8"
]
]
},
{
- "id": "1a65bc45.b2fcb4",
+ "id": "f88fcab6.006eb8",
"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='`$playbookname`'/>\n\t\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1064.9999389648438,
- "y": 917.0000305175781,
- "z": "50de34e0.ace54c",
+ "x": 1128.9999389648438,
+ "y": 822.0000305175781,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "5b0d24c6.9eb0ac",
- "2b5e4322.1d495c"
+ "73432b98.4b25e4",
+ "bd487c1a.8c998"
]
]
},
{
- "id": "bb8a76ca.fb7058",
+ "id": "4c3969ef.3ad0e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 593.9999389648438,
- "y": 776.0000915527344,
- "z": "50de34e0.ace54c",
+ "x": 657.9999389648438,
+ "y": 681.0000915527344,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "2b54a991.b17b16"
+ "398fd4fb.d6173c"
]
]
},
{
- "id": "734b2c42.973ee4",
+ "id": "f4a52a80.3301f8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 595.9999389648438,
- "y": 828.0000610351562,
- "z": "50de34e0.ace54c",
+ "x": 659.9999389648438,
+ "y": 733.0000610351562,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "f17ff2aa.67075"
+ "5a208b8c.11bad4"
]
]
},
{
- "id": "5b0d24c6.9eb0ac",
+ "id": "73432b98.4b25e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1233.9999389648438,
- "y": 875.0000381469727,
- "z": "50de34e0.ace54c",
+ "x": 1297.9999389648438,
+ "y": 780.0000381469727,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "2b54a991.b17b16"
+ "398fd4fb.d6173c"
]
]
},
{
- "id": "f695f05e.abf31",
+ "id": "c32ffe89.d048e",
"type": "other",
"name": "outcome 101",
"xml": "<outcome value='101'>\n",
"comments": "",
"outputs": 1,
- "x": 876.9999389648438,
- "y": 819.0000686645508,
- "z": "50de34e0.ace54c",
+ "x": 940.9999389648438,
+ "y": 724.0000686645508,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "2b54a991.b17b16"
+ "398fd4fb.d6173c"
]
]
},
{
- "id": "2b5e4322.1d495c",
+ "id": "bd487c1a.8c998",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1241.9998779296875,
- "y": 923.0001220703125,
- "z": "50de34e0.ace54c",
+ "x": 1305.9998779296875,
+ "y": 828.0001220703125,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "db1e6d62.a1404"
+ "adb9b1a6.61eb5"
]
]
},
{
- "id": "c1a2b259.11e46",
+ "id": "2b291cab.721924",
"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": 1535.9998779296875,
- "y": 980.0000610351562,
- "z": "50de34e0.ace54c",
+ "x": 1599.9998779296875,
+ "y": 885.0000610351562,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "566f9779.c05d38",
+ "id": "db787a9a.5729a8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 83,
- "y": 147,
- "z": "50de34e0.ace54c",
+ "x": 147,
+ "y": 52,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "5c791eb8.0072b"
+ "b090596a.f30168"
]
]
},
{
- "id": "5ccc8e8d.06e5",
+ "id": "8be92af7.e48088",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 80.91668701171875,
- "y": 239.08334350585938,
- "z": "50de34e0.ace54c",
+ "x": 144.91668701171875,
+ "y": 144.08334350585938,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "3503ece1.d7ad14",
- "dc18f7c9.2e4ac8",
- "814875d2.cac108",
- "e9d89bdf.30f7a8",
- "69e97f86.e07ef",
- "fa9a8e1f.bba53",
- "baba22fc.1ceb5",
- "81510405.ca8868"
+ "2f057096.50046",
+ "f86ff952.0492a8",
+ "e1e7ef0d.bad94",
+ "3f387094.3465e",
+ "1f8f1867.c1cf08",
+ "4e2df025.06262",
+ "690e9c9d.3aca34",
+ "3ebaf64f.5a6c4a"
]
]
},
{
- "id": "dc18f7c9.2e4ac8",
+ "id": "f86ff952.0492a8",
"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": 379.0000305175781,
- "y": 272.0833435058594,
- "z": "50de34e0.ace54c",
+ "x": 443.0000305175781,
+ "y": 177.08334350585938,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[]
]
},
{
- "id": "70d1c79a.089af8",
+ "id": "70a47606.d49438",
"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": 1545.9998779296875,
- "y": 725.0834045410156,
- "z": "50de34e0.ace54c",
+ "x": 1609.9998779296875,
+ "y": 630.0834045410156,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "d776c76b.1dd188"
+ "34ac5379.9a844c"
]
]
},
{
- "id": "d776c76b.1dd188",
+ "id": "34ac5379.9a844c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1715.9998168945312,
- "y": 724.0834045410156,
- "z": "50de34e0.ace54c",
+ "x": 1779.9998168945312,
+ "y": 629.0834045410156,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "eac6c260.d11fc"
+ "fb390c18.77a19"
]
]
},
{
- "id": "2b54a991.b17b16",
+ "id": "398fd4fb.d6173c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1348.9998168945312,
- "y": 749.0834045410156,
- "z": "50de34e0.ace54c",
+ "x": 1412.9998168945312,
+ "y": 654.0834045410156,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "70d1c79a.089af8",
- "7970fcd5.6f11b4",
- "3d8934f9.d0339c"
+ "70a47606.d49438",
+ "d82deaf3.a98988",
+ "df7a754d.479a48"
]
]
},
{
- "id": "e790e11b.4f947",
+ "id": "add47742.421838",
"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": 1546.4998779296875,
- "y": 930.0833740234375,
- "z": "50de34e0.ace54c",
+ "x": 1610.4998779296875,
+ "y": 835.0833740234375,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "2e13891.034f576"
+ "5ad46d9d.c433d4"
]
]
},
{
- "id": "2e13891.034f576",
+ "id": "5ad46d9d.c433d4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1714.4998779296875,
- "y": 930.0833740234375,
- "z": "50de34e0.ace54c",
+ "x": 1778.4998779296875,
+ "y": 835.0833740234375,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "30475e40.9b8be2"
+ "a1c42905.fff878"
]
]
},
{
- "id": "eac6c260.d11fc",
+ "id": "fb390c18.77a19",
"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": 1835.9998779296875,
- "y": 723.0833740234375,
- "z": "50de34e0.ace54c",
+ "x": 1899.9998779296875,
+ "y": 628.0833740234375,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[]
]
},
{
- "id": "7970fcd5.6f11b4",
+ "id": "d82deaf3.a98988",
"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": 1527.91650390625,
- "y": 776.0834045410156,
- "z": "50de34e0.ace54c",
+ "x": 1591.91650390625,
+ "y": 681.0834045410156,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "30475e40.9b8be2",
+ "id": "a1c42905.fff878",
"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": 1842.9166259765625,
- "y": 930.0833740234375,
- "z": "50de34e0.ace54c",
+ "x": 1906.9166259765625,
+ "y": 835.0833740234375,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[]
]
},
{
- "id": "3d8934f9.d0339c",
+ "id": "df7a754d.479a48",
"type": "set",
"name": "set DmaapReq",
"xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
"comments": "",
- "x": 1532.9998779296875,
- "y": 672.0833740234375,
- "z": "50de34e0.ace54c",
+ "x": 1596.9998779296875,
+ "y": 577.0833740234375,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "db1e6d62.a1404",
+ "id": "adb9b1a6.61eb5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1369.9998779296875,
- "y": 924.0833740234375,
- "z": "50de34e0.ace54c",
+ "x": 1433.9998779296875,
+ "y": 829.0833740234375,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "e790e11b.4f947",
- "3a3f1d44.898da2",
- "c1a2b259.11e46"
+ "add47742.421838",
+ "ff897b1a.9583f8",
+ "2b291cab.721924"
]
]
},
{
- "id": "3a3f1d44.898da2",
+ "id": "ff897b1a.9583f8",
"type": "set",
"name": "set DmaapReq",
"xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-software-input.common-header.request-id + '-' + $upgrade-software-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-software'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-software-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-software-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-software-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-software-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-software-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-software-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-software-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-software-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",
"comments": "",
- "x": 1536.1666259765625,
- "y": 875.0833740234375,
- "z": "50de34e0.ace54c",
+ "x": 1600.1666259765625,
+ "y": 780.0833740234375,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "a457fe79.46497",
+ "id": "519ffe08.0c9b3",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 602.9999389648438,
- "y": 728.0000610351562,
- "z": "50de34e0.ace54c",
+ "x": 666.9999389648438,
+ "y": 633.0000610351562,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "3d4c2c9a.7b1324"
+ "e32c4a6d.892558"
]
]
},
{
- "id": "d512629f.bc625",
+ "id": "8405f654.a242a8",
"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": 893.9999389648438,
- "y": 687,
- "z": "50de34e0.ace54c",
+ "x": 957.9999389648438,
+ "y": 592,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "3d4c2c9a.7b1324",
+ "id": "e32c4a6d.892558",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 739.9999389648438,
- "y": 722.0000610351562,
- "z": "50de34e0.ace54c",
+ "x": 803.9999389648438,
+ "y": 627.0000610351562,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "d512629f.bc625",
- "2b54a991.b17b16"
+ "8405f654.a242a8",
+ "398fd4fb.d6173c"
]
]
},
{
- "id": "814875d2.cac108",
+ "id": "e1e7ef0d.bad94",
"type": "set",
"name": "set default values",
"xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n",
"comments": "",
- "x": 372,
- "y": 319,
- "z": "50de34e0.ace54c",
+ "x": 436,
+ "y": 224,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "442dbdff.6dfcb4",
+ "id": "62ae5ec1.69479",
"type": "get-resource",
"name": "get aai.generic-vnf ",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $upgrade-software-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",
"comments": "",
"outputs": 1,
- "x": 912,
- "y": 495,
- "z": "50de34e0.ace54c",
+ "x": 978,
+ "y": 415,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "1e57cb28.122ad5"
+ "45f13d8e.2baab4"
]
]
},
{
- "id": "1e57cb28.122ad5",
+ "id": "45f13d8e.2baab4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1070.3907470703125,
- "y": 493.28399658203125,
- "z": "50de34e0.ace54c",
+ "x": 1134.3907470703125,
+ "y": 398.28399658203125,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "5a65efc0.bf413"
+ "374bb3b9.6cefec"
]
]
},
{
- "id": "baba22fc.1ceb5",
+ "id": "690e9c9d.3aca34",
"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='`$playbookname`'/>\n\t<parameter name=\"field2\" value='`$nodelist`'/>",
"comments": "",
"outputs": 1,
- "x": 300.9998779296875,
- "y": 683,
- "z": "50de34e0.ace54c",
+ "x": 364.9998779296875,
+ "y": 588,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[]
]
},
{
- "id": "69e97f86.e07ef",
+ "id": "1f8f1867.c1cf08",
"type": "switchNode",
"name": "switch pnf-flag",
"xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
"comments": "",
"outputs": 1,
- "x": 354,
- "y": 420,
- "z": "50de34e0.ace54c",
+ "x": 418,
+ "y": 325,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "e43265e9.4c7f38",
- "d78c93da.7125f"
+ "5b32bef7.b059e",
+ "f5bcff23.7649a"
]
]
},
{
- "id": "e9d89bdf.30f7a8",
+ "id": "3f387094.3465e",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='upgrade-software-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",
"comments": "",
"outputs": 1,
- "x": 386,
- "y": 366,
- "z": "50de34e0.ace54c",
+ "x": 450,
+ "y": 271,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[]
]
},
{
- "id": "e43265e9.4c7f38",
+ "id": "5b32bef7.b059e",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 551,
- "y": 399,
- "z": "50de34e0.ace54c",
+ "x": 615,
+ "y": 304,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "abbc4ae4.be5328"
+ "a02f543f.407778"
]
]
},
{
- "id": "d78c93da.7125f",
+ "id": "f5bcff23.7649a",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 550.9999389648438,
- "y": 460,
- "z": "50de34e0.ace54c",
+ "x": 614.9999389648438,
+ "y": 365,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "f68ee407.ca6d88"
+ "4ae3a7c9.907f18"
]
]
},
{
- "id": "f68ee407.ca6d88",
+ "id": "4ae3a7c9.907f18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 698.9999389648438,
- "y": 459,
- "z": "50de34e0.ace54c",
+ "x": 762.9999389648438,
+ "y": 364,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "442dbdff.6dfcb4",
- "80c560bb.eea5f"
+ "62ae5ec1.69479",
+ "fc28a02d.cc248"
]
]
},
{
- "id": "abbc4ae4.be5328",
+ "id": "a02f543f.407778",
"type": "set",
"name": "set AnsibleReq",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`\"/>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-software.playbookname`'/>\n",
"comments": "",
- "x": 712,
- "y": 397,
- "z": "50de34e0.ace54c",
+ "x": 776,
+ "y": 302,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "80c560bb.eea5f",
+ "id": "fc28a02d.cc248",
"type": "execute",
"name": "set playbookname",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $payloadJson.nf-naming-code + '.upgrade-software.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 921,
- "y": 439,
- "z": "50de34e0.ace54c",
+ "x": 976,
+ "y": 312,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[]
]
},
{
- "id": "fa9a8e1f.bba53",
+ "id": "4e2df025.06262",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 351,
- "y": 551,
- "z": "50de34e0.ace54c",
+ "x": 415,
+ "y": 456,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "1a5624d2.74e98b"
+ "6164fda7.628474"
]
]
},
{
- "id": "1a5624d2.74e98b",
+ "id": "6164fda7.628474",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 522,
- "y": 552,
- "z": "50de34e0.ace54c",
+ "x": 586,
+ "y": 457,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "524c17a1.30fbf8"
+ "789294b0.3e8a8c"
]
]
},
{
- "id": "524c17a1.30fbf8",
+ "id": "789294b0.3e8a8c",
"type": "set",
"name": "set playbookname",
- "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-software.playbookname`'/>",
+ "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-software.playbookname`'/>",
"comments": "",
- "x": 712,
- "y": 551,
- "z": "50de34e0.ace54c",
+ "x": 776,
+ "y": 456,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "81510405.ca8868",
+ "id": "3ebaf64f.5a6c4a",
"type": "switchNode",
"name": "switch nodelist",
"xml": "<switch test='`$nodelist`'>\n",
"comments": "",
"outputs": 1,
- "x": 341,
- "y": 610,
- "z": "50de34e0.ace54c",
+ "x": 405,
+ "y": 515,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "7a126f.d2de2d9",
- "8743a074.e8506"
+ "12193ca9.50e163",
+ "8146ae4e.2b29b"
]
]
},
{
- "id": "7a126f.d2de2d9",
+ "id": "12193ca9.50e163",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 521,
- "y": 603,
- "z": "50de34e0.ace54c",
+ "x": 585,
+ "y": 508,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "c954af6f.c34df"
+ "b589f932.9ec108"
]
]
},
{
- "id": "c954af6f.c34df",
+ "id": "b589f932.9ec108",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
"comments": "",
- "x": 678,
- "y": 617,
- "z": "50de34e0.ace54c",
+ "x": 742,
+ "y": 522,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "8743a074.e8506",
+ "id": "8146ae4e.2b29b",
"type": "outcome",
"name": "empty",
"xml": "<outcome value=\"['']\">\n\n",
"comments": "",
"outputs": 1,
- "x": 520,
- "y": 647,
- "z": "50de34e0.ace54c",
+ "x": 584,
+ "y": 552,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "c954af6f.c34df"
+ "b589f932.9ec108"
]
]
},
{
- "id": "90b2891b.001708",
+ "id": "94498b41.794368",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 1396,
- "y": 482,
- "z": "50de34e0.ace54c",
+ "x": 1460,
+ "y": 387,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "c9dd0d76.432f7"
+ "975c4b05.0f6d08"
]
]
},
{
- "id": "c9dd0d76.432f7",
+ "id": "975c4b05.0f6d08",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1574,
- "y": 482,
- "z": "50de34e0.ace54c",
+ "x": 1638,
+ "y": 387,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "6ea15b2b.d9cd74"
+ "eee08f4b.ee327"
]
]
},
{
- "id": "9706bdee.6acf9",
+ "id": "7c4590ff.245c9",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
"comments": "",
- "x": 1369,
- "y": 535,
- "z": "50de34e0.ace54c",
+ "x": 1433,
+ "y": 440,
+ "z": "d0eb0cbd.ae56e",
"wires": []
},
{
- "id": "5a65efc0.bf413",
+ "id": "374bb3b9.6cefec",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1199,
- "y": 492,
- "z": "50de34e0.ace54c",
+ "x": 1263,
+ "y": 397,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[
- "90b2891b.001708",
- "9706bdee.6acf9"
+ "94498b41.794368",
+ "7c4590ff.245c9"
]
]
},
{
- "id": "6ea15b2b.d9cd74",
+ "id": "eee08f4b.ee327",
"type": "execute",
"name": "set playbookname",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $aai.generic-vnf.nf-naming-code + '.upgrade-software.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1746,
- "y": 480,
- "z": "50de34e0.ace54c",
+ "x": 1810,
+ "y": 385,
+ "z": "d0eb0cbd.ae56e",
"wires": [
[]
]