summaryrefslogtreecommitdiffstats
path: root/platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
diff options
context:
space:
mode:
authorEnbo Wang <wangenbo@huawei.com>2019-12-23 12:09:35 +0800
committerEnbo Wang <wangenbo@huawei.com>2019-12-23 12:21:24 +0800
commit93a7ad8c9fa1d9631fcaaad359f32e956ac984ed (patch)
tree62adff615f896dd0ad8030c32df272a71c1646f0 /platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json
parentf5a63c57879141bd9e1054de41a901cdbd802e7f (diff)
Support playbook-name in payload of PNF S/W upgrade LCM API's request
Support playbook-name parameter in payload of PNF software upgrade LCM API's request. So, the DGs can get the playbook name from API's request, not just get it from the config file lcm-dg.properties. Change-Id: I82a1fda266f4deab04aca336b69b963c73de9668 Issue-ID: SDNC-1012 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 6da28287686395bdeae3959a2ba7bdd98db62434
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.json817
1 files changed, 445 insertions, 372 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 781faaa6..a17cdf76 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,22 +1,22 @@
[
{
- "id": "fe0acee3.b3d4f",
+ "id": "c2e43cb1.7f88d",
"type": "method",
"name": "upgrade-post-check",
"xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 523,
- "y": 71,
- "z": "b4969602.e5a2a8",
+ "x": 521.25,
+ "y": 45,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "88d3f9c3.91e818"
+ "7a82a4e1.74051c"
]
]
},
{
- "id": "dd69f330.0db38",
+ "id": "c7c3a05a.217d3",
"type": "service-logic",
"name": "LCM ${project.version}",
"module": "LCM",
@@ -24,1060 +24,1133 @@
"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": 310.99993896484375,
- "y": 72,
- "z": "b4969602.e5a2a8",
+ "x": 309.24993896484375,
+ "y": 46,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "fe0acee3.b3d4f"
+ "c2e43cb1.7f88d"
]
]
},
{
- "id": "ca77e1d2.5f235",
+ "id": "4aa2e04.16b662",
"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='`$playbookname`'/>",
"comments": "",
"outputs": 1,
- "x": 378.00001525878906,
- "y": 679,
- "z": "b4969602.e5a2a8",
+ "x": 423.25001525878906,
+ "y": 692,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "98532a13.9e8648",
- "300b9189.6839ae",
- "93689f4a.8157"
+ "dfb73c1.130adc",
+ "ba520b63.5fbad8",
+ "37993504.393d8a"
]
]
},
{
- "id": "338f7649.ef4e9a",
+ "id": "22e681c3.fbf5ce",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 777.9999389648438,
- "y": 787.0000305175781,
- "z": "b4969602.e5a2a8",
+ "x": 823.2499389648438,
+ "y": 800.0000305175781,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "13e6fdd5.284672",
- "558456ec.861628",
- "d84c0d6b.4e961"
+ "a39e090c.01cdb8",
+ "5c6685ba.e0353c",
+ "875ad319.3c857"
]
]
},
{
- "id": "13e6fdd5.284672",
+ "id": "a39e090c.01cdb8",
"type": "other",
"name": "outcome 500",
"xml": "<outcome value='500'>\n",
"comments": "",
"outputs": 1,
- "x": 922.9999389648438,
- "y": 785.0000381469727,
- "z": "b4969602.e5a2a8",
+ "x": 968.2499389648438,
+ "y": 798.0000381469727,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "d4f3b77a.b39508"
+ "35d55016.e4b95"
]
]
},
{
- "id": "558456ec.861628",
+ "id": "5c6685ba.e0353c",
"type": "other",
"name": "outcome 100",
"xml": "<outcome value='100'>\n",
"comments": "",
"outputs": 1,
- "x": 919.9999389648438,
- "y": 842.0000305175781,
- "z": "b4969602.e5a2a8",
+ "x": 965.2499389648438,
+ "y": 855.0000305175781,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "a1c39fcf.a06c"
+ "57b98d51.2b4284"
]
]
},
{
- "id": "a1c39fcf.a06c",
+ "id": "57b98d51.2b4284",
"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": 1107.9999389648438,
- "y": 841.0000305175781,
- "z": "b4969602.e5a2a8",
+ "x": 1153.2499389648438,
+ "y": 854.0000305175781,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "f58c60bb.b391f",
- "b18d4538.e8ef28"
+ "6c05563.cc2bca8",
+ "37d17f6d.5fa27"
]
]
},
{
- "id": "300b9189.6839ae",
+ "id": "ba520b63.5fbad8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 636.9999389648438,
- "y": 700.0000915527344,
- "z": "b4969602.e5a2a8",
+ "x": 682.2499389648438,
+ "y": 713.0000915527344,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "d4f3b77a.b39508"
+ "35d55016.e4b95"
]
]
},
{
- "id": "98532a13.9e8648",
+ "id": "dfb73c1.130adc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 638.9999389648438,
- "y": 752.0000610351562,
- "z": "b4969602.e5a2a8",
+ "x": 684.2499389648438,
+ "y": 765.0000610351562,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "338f7649.ef4e9a"
+ "22e681c3.fbf5ce"
]
]
},
{
- "id": "f58c60bb.b391f",
+ "id": "6c05563.cc2bca8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1278.9998779296875,
- "y": 820.0000610351562,
- "z": "b4969602.e5a2a8",
+ "x": 1322.2498779296875,
+ "y": 836.0000610351562,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "44e1b1d0.b5bf9"
+ "9c19d3c7.c09df"
]
]
},
{
- "id": "d84c0d6b.4e961",
+ "id": "875ad319.3c857",
"type": "other",
"name": "outcome 101",
"xml": "<outcome value='101'>\n",
"comments": "",
"outputs": 1,
- "x": 919.9999389648438,
- "y": 743.0000686645508,
- "z": "b4969602.e5a2a8",
+ "x": 965.2499389648438,
+ "y": 756.0000686645508,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "d4f3b77a.b39508"
+ "35d55016.e4b95"
]
]
},
{
- "id": "b18d4538.e8ef28",
+ "id": "37d17f6d.5fa27",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1281.9998779296875,
- "y": 871.0001220703125,
- "z": "b4969602.e5a2a8",
+ "x": 1326.2498779296875,
+ "y": 880.0001220703125,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "44e1b1d0.b5bf9"
+ "9c19d3c7.c09df"
]
]
},
{
- "id": "67392fb2.3fda3",
+ "id": "3d249d1c.21ada2",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 126,
- "y": 71,
- "z": "b4969602.e5a2a8",
+ "x": 124.25,
+ "y": 45,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "dd69f330.0db38"
+ "c7c3a05a.217d3"
]
]
},
{
- "id": "88d3f9c3.91e818",
+ "id": "7a82a4e1.74051c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 123.91668701171875,
- "y": 163.08334350585938,
- "z": "b4969602.e5a2a8",
+ "x": 169.16669082641602,
+ "y": 196.08334636688232,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "ca77e1d2.5f235",
- "c7ec6050.45978",
- "889f84ed.e111e8",
- "40652fca.65d24",
- "983b7f00.0aa95",
- "43b098aa.2b8088",
- "3c8d18f4.57a768",
- "5c9efc94.d81d24"
+ "4aa2e04.16b662",
+ "b3d629e9.2c9188",
+ "ab162f45.fae5a",
+ "f7de272b.bbcd78",
+ "3899b5e2.384a4a",
+ "72e148f.bd2b1b8",
+ "5a9e7617.91c178",
+ "6cd92845.9c27d8"
]
]
},
{
- "id": "c7ec6050.45978",
+ "id": "b3d629e9.2c9188",
"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": 422.0000305175781,
- "y": 196.08334350585938,
- "z": "b4969602.e5a2a8",
+ "x": 467.2500305175781,
+ "y": 156.08334350585938,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "d9d2286.379c4d8",
+ "id": "5f58bf2c.b9548",
"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": 1588.9998779296875,
- "y": 649.0834045410156,
- "z": "b4969602.e5a2a8",
+ "x": 1634.2498779296875,
+ "y": 662.0834045410156,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "642ae55d.535a7c"
+ "6180b71a.bb2e58"
]
]
},
{
- "id": "642ae55d.535a7c",
+ "id": "6180b71a.bb2e58",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1758.9998168945312,
- "y": 648.0834045410156,
- "z": "b4969602.e5a2a8",
+ "x": 1804.2498168945312,
+ "y": 661.0834045410156,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "7969554f.e56e0c"
+ "b7860b2.f448af8"
]
]
},
{
- "id": "d4f3b77a.b39508",
+ "id": "35d55016.e4b95",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1391.9998168945312,
- "y": 673.0834045410156,
- "z": "b4969602.e5a2a8",
+ "x": 1437.2498168945312,
+ "y": 686.0834045410156,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "d9d2286.379c4d8",
- "8a00ee98.85d8c",
- "a967853.2e08a78"
+ "5f58bf2c.b9548",
+ "da507cbc.1345a",
+ "e8bf8d4b.e71c5"
]
]
},
{
- "id": "61a865a3.81374c",
+ "id": "df593d16.3a873",
"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": 1600.4998779296875,
- "y": 904.0833740234375,
- "z": "b4969602.e5a2a8",
+ "x": 1669.7498779296875,
+ "y": 928.0833740234375,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "bf6e3414.ac0ab8"
+ "8cde94cd.183ad8"
]
]
},
{
- "id": "bf6e3414.ac0ab8",
+ "id": "8cde94cd.183ad8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1782.4998779296875,
- "y": 904.0833740234375,
- "z": "b4969602.e5a2a8",
+ "x": 1854.7498779296875,
+ "y": 928.0833740234375,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "a98ac8b6.1c8b18"
+ "97083a8c.a99408"
]
]
},
{
- "id": "7969554f.e56e0c",
+ "id": "b7860b2.f448af8",
"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": 1878.9998779296875,
- "y": 647.0833740234375,
- "z": "b4969602.e5a2a8",
+ "x": 1924.2498779296875,
+ "y": 660.0833740234375,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "8a00ee98.85d8c",
+ "id": "da507cbc.1345a",
"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": 1570.91650390625,
- "y": 700.0834045410156,
- "z": "b4969602.e5a2a8",
+ "x": 1616.16650390625,
+ "y": 713.0834045410156,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "a98ac8b6.1c8b18",
+ "id": "97083a8c.a99408",
"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": 1912.9166259765625,
- "y": 904.0833740234375,
- "z": "b4969602.e5a2a8",
+ "x": 1987.1666259765625,
+ "y": 928.0833740234375,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "a967853.2e08a78",
+ "id": "e8bf8d4b.e71c5",
"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-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": 1575.9998779296875,
- "y": 596.0833740234375,
- "z": "b4969602.e5a2a8",
+ "x": 1621.2498779296875,
+ "y": 609.0833740234375,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "44e1b1d0.b5bf9",
+ "id": "9c19d3c7.c09df",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1406.9998779296875,
- "y": 845.0833740234375,
- "z": "b4969602.e5a2a8",
+ "x": 1458.2498779296875,
+ "y": 855.0833740234375,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "61a865a3.81374c",
- "af2360f3.a1b32",
- "c058b1a3.cafa7",
- "d59d4575.f7aa08",
- "97b68625.59c538"
+ "df593d16.3a873",
+ "60d331ee.302dd",
+ "89d6b5d0.08f888",
+ "35e221ba.99c04e",
+ "25b31875.8826d8",
+ "2a38d6be.132baa"
]
]
},
{
- "id": "72836a7a.768624",
+ "id": "2a38d6be.132baa",
"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-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": 1938.1666259765625,
- "y": 819.0833740234375,
- "z": "b4969602.e5a2a8",
+ "x": 1656.4166564941406,
+ "y": 841.8333864212036,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "93689f4a.8157",
+ "id": "37993504.393d8a",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 645.9999389648438,
- "y": 652.0000610351562,
- "z": "b4969602.e5a2a8",
+ "x": 691.2499389648438,
+ "y": 665.0000610351562,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "c92e96da.bead68"
+ "d005c7d.aef5638"
]
]
},
{
- "id": "3705b5ae.a55ada",
+ "id": "4c48a33.c60a15c",
"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": 936.9999389648438,
- "y": 611,
- "z": "b4969602.e5a2a8",
+ "x": 982.2499389648438,
+ "y": 624,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "c92e96da.bead68",
+ "id": "d005c7d.aef5638",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 782.9999389648438,
- "y": 646.0000610351562,
- "z": "b4969602.e5a2a8",
+ "x": 828.2499389648438,
+ "y": 659.0000610351562,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "3705b5ae.a55ada",
- "d4f3b77a.b39508"
+ "4c48a33.c60a15c",
+ "35d55016.e4b95"
]
]
},
{
- "id": "889f84ed.e111e8",
+ "id": "ab162f45.fae5a",
"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<parameter name='outputPayloadField' value='.Output' />\n",
"comments": "",
- "x": 415,
- "y": 243,
- "z": "b4969602.e5a2a8",
+ "x": 460.25,
+ "y": 203,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "9e2047bf.84ca98",
+ "id": "c357a4ca.bfb1f8",
"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-post-check-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",
"comments": "",
"outputs": 1,
- "x": 955,
- "y": 419,
- "z": "b4969602.e5a2a8",
+ "x": 1000.25,
+ "y": 432,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "db67679b.d5f7f8"
+ "92bfd5f6.6a14f8"
]
]
},
{
- "id": "db67679b.d5f7f8",
+ "id": "92bfd5f6.6a14f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1113.3907470703125,
- "y": 417.28399658203125,
- "z": "b4969602.e5a2a8",
+ "x": 1158.6407470703125,
+ "y": 430.28399658203125,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "9f78147c.45b0d8"
+ "98d72ef7.86e05"
]
]
},
{
- "id": "3c8d18f4.57a768",
+ "id": "5a9e7617.91c178",
"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": 343.9998779296875,
- "y": 607,
- "z": "b4969602.e5a2a8",
+ "x": 389.2498779296875,
+ "y": 620,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "983b7f00.0aa95",
+ "id": "3899b5e2.384a4a",
"type": "switchNode",
"name": "switch pnf-flag",
"xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
"comments": "",
"outputs": 1,
- "x": 397,
- "y": 344,
- "z": "b4969602.e5a2a8",
+ "x": 446.00000762939453,
+ "y": 350.7500057220459,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "6ab53366.6b679c",
- "c2f80dd0.8d1"
+ "64bc4358.92afbc",
+ "2ae0f373.dadc4c"
]
]
},
{
- "id": "40652fca.65d24",
+ "id": "f7de272b.bbcd78",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='upgrade-post-check-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",
"comments": "",
"outputs": 1,
- "x": 429,
- "y": 290,
- "z": "b4969602.e5a2a8",
+ "x": 474.25,
+ "y": 250,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "6ab53366.6b679c",
+ "id": "64bc4358.92afbc",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 594,
- "y": 323,
- "z": "b4969602.e5a2a8",
+ "x": 630.5000076293945,
+ "y": 294.7500057220459,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "b2f335c.b319ac8"
+ "e0a7ad5f.00f71"
]
]
},
{
- "id": "c2f80dd0.8d1",
+ "id": "2ae0f373.dadc4c",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 593.9999389648438,
- "y": 384,
- "z": "b4969602.e5a2a8",
+ "x": 632.9999465942383,
+ "y": 402.5000057220459,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "64084999.263e28"
+ "b6955f66.1b829"
]
]
},
{
- "id": "64084999.263e28",
+ "id": "b6955f66.1b829",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 741.9999389648438,
- "y": 383,
- "z": "b4969602.e5a2a8",
+ "x": 787.2499504089355,
+ "y": 403.5000057220459,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "9e2047bf.84ca98",
- "1c2838e7.02c327"
+ "c357a4ca.bfb1f8",
+ "828681ee.30745"
]
]
},
{
- "id": "b2f335c.b319ac8",
+ "id": "c2ca99f8.c4bfb8",
"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-post-check.playbookname`'/>\n<parameter name='outputPayloadField' value=\"`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`\"/>\n",
+ "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`\"/>\n<parameter name='outputPayloadField' value=\"`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`\"/>\n",
"comments": "",
- "x": 755,
- "y": 321,
- "z": "b4969602.e5a2a8",
+ "x": 957.7500152587891,
+ "y": 202.75000381469727,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "1c2838e7.02c327",
+ "id": "828681ee.30745",
"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-post-check.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 964,
- "y": 363,
- "z": "b4969602.e5a2a8",
+ "x": 1009.25,
+ "y": 376,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "43b098aa.2b8088",
+ "id": "72e148f.bd2b1b8",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 394,
- "y": 475,
- "z": "b4969602.e5a2a8",
+ "x": 439.25,
+ "y": 488,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "f5a4d554.8310a8"
+ "3583e961.20f9b6"
]
]
},
{
- "id": "f5a4d554.8310a8",
+ "id": "3583e961.20f9b6",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 565,
- "y": 476,
- "z": "b4969602.e5a2a8",
+ "x": 610.25,
+ "y": 489,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "e3207caa.85b44"
+ "7bde6693.6b25d8"
]
]
},
{
- "id": "e3207caa.85b44",
+ "id": "7bde6693.6b25d8",
"type": "set",
"name": "set playbookname",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",
"comments": "",
- "x": 755,
- "y": 475,
- "z": "b4969602.e5a2a8",
+ "x": 800.25,
+ "y": 488,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "5c9efc94.d81d24",
+ "id": "6cd92845.9c27d8",
"type": "switchNode",
"name": "switch nodelist",
"xml": "<switch test='`$nodelist`'>\n",
"comments": "",
"outputs": 1,
- "x": 384,
- "y": 534,
- "z": "b4969602.e5a2a8",
+ "x": 429.25,
+ "y": 547,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "77224991.c20a78",
- "2deab8c5.642298"
+ "8b89b139.925f3",
+ "8a45ae4e.0ff3c"
]
]
},
{
- "id": "77224991.c20a78",
+ "id": "8b89b139.925f3",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 564,
- "y": 527,
- "z": "b4969602.e5a2a8",
+ "x": 609.25,
+ "y": 540,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "3881d027.425ff"
+ "27015581.7c7d8a"
]
]
},
{
- "id": "3881d027.425ff",
+ "id": "27015581.7c7d8a",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
"comments": "",
- "x": 721,
- "y": 541,
- "z": "b4969602.e5a2a8",
+ "x": 766.25,
+ "y": 554,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "2deab8c5.642298",
+ "id": "8a45ae4e.0ff3c",
"type": "outcome",
"name": "empty",
"xml": "<outcome value=\"['']\">\n\n",
"comments": "",
"outputs": 1,
- "x": 563,
- "y": 571,
- "z": "b4969602.e5a2a8",
+ "x": 608.25,
+ "y": 584,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "3881d027.425ff"
+ "27015581.7c7d8a"
]
]
},
{
- "id": "153ed401.962ddc",
+ "id": "b77da834.ba8d48",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 1439,
- "y": 406,
- "z": "b4969602.e5a2a8",
+ "x": 1484.25,
+ "y": 419,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "3cfaf009.20065"
+ "3d1d8601.0e200a"
]
]
},
{
- "id": "3cfaf009.20065",
+ "id": "3d1d8601.0e200a",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1617,
- "y": 406,
- "z": "b4969602.e5a2a8",
+ "x": 1662.25,
+ "y": 419,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "8e725f1f.6662f"
+ "eccd491.aeea6b8"
]
]
},
{
- "id": "9e70216f.c9b2f",
+ "id": "de4502a8.6c8e4",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
"comments": "",
- "x": 1412,
- "y": 459,
- "z": "b4969602.e5a2a8",
+ "x": 1457.25,
+ "y": 472,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "9f78147c.45b0d8",
+ "id": "98d72ef7.86e05",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1242,
- "y": 416,
- "z": "b4969602.e5a2a8",
+ "x": 1287.25,
+ "y": 429,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "153ed401.962ddc",
- "9e70216f.c9b2f"
+ "b77da834.ba8d48",
+ "de4502a8.6c8e4"
]
]
},
{
- "id": "8e725f1f.6662f",
+ "id": "eccd491.aeea6b8",
"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-post-check.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1789,
- "y": 404,
- "z": "b4969602.e5a2a8",
+ "x": 1834.25,
+ "y": 417,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "af2360f3.a1b32",
+ "id": "60d331ee.302dd",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='org.onap.appc.adapter.ansible.results' />\n\t<parameter name='outputPath' value='resultsJson' />\n\t<parameter name='isEscaped' value='false' />\n",
"comments": "",
"outputs": 1,
- "x": 1616,
- "y": 750,
- "z": "b4969602.e5a2a8",
+ "x": 1684.25,
+ "y": 761,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "c058b1a3.cafa7",
+ "id": "89d6b5d0.08f888",
"type": "execute",
"name": "execute getAttributeValue",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='source' value=\"`'resultsJson' + $outputPayloadField`\" />\n\t<parameter name='outputPath' value='outputPayload' />",
"comments": "",
"outputs": 1,
- "x": 1622,
- "y": 793,
- "z": "b4969602.e5a2a8",
+ "x": 1690.25,
+ "y": 806,
+ "z": "29d3492e.6e65c6",
"wires": [
[]
]
},
{
- "id": "d59d4575.f7aa08",
+ "id": "35e221ba.99c04e",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1606,
- "y": 840,
- "z": "b4969602.e5a2a8",
+ "x": 1676.2500228881836,
+ "y": 881.7500133514404,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "676d5ce5.e9d864",
- "8ecd1678.ebdff8"
+ "f003e098.7e521"
]
]
},
{
- "id": "676d5ce5.e9d864",
- "type": "outcome",
- "name": "null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1783,
- "y": 819,
- "z": "b4969602.e5a2a8",
- "wires": [
- [
- "72836a7a.768624"
- ]
- ]
- },
- {
- "id": "8ecd1678.ebdff8",
+ "id": "f003e098.7e521",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1782,
- "y": 859,
- "z": "b4969602.e5a2a8",
+ "x": 1850.2500267028809,
+ "y": 882.0000133514404,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "5f5e736e.9d3b8c"
+ "75f79f60.b6817"
]
]
},
{
- "id": "5f5e736e.9d3b8c",
+ "id": "75f79f60.b6817",
"type": "set",
"name": "set DmaapReq with payload",
- "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<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",
+ "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",
"comments": "",
- "x": 1980,
- "y": 859,
- "z": "b4969602.e5a2a8",
+ "x": 2048.500030517578,
+ "y": 882.5000133514404,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "bd7deada.205038",
+ "id": "2277df4f.e54cc",
"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": 2322,
- "y": 937,
- "z": "b4969602.e5a2a8",
+ "x": 2387.25,
+ "y": 963.9999389648438,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "530e9d63.07dd34",
+ "id": "ce7bf734.28bda8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1788.000244140625,
- "y": 958.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 1853.250244140625,
+ "y": 985.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "aba50f21.a535d"
+ "d2e205c4.4281f8"
]
]
},
{
- "id": "d6c0e471.9108d8",
+ "id": "d19e0c7b.53065",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1787.000244140625,
- "y": 1034.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 1852.250244140625,
+ "y": 1061.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "801dd50e.8622c8"
+ "514b412e.93d64"
]
]
},
{
- "id": "97b68625.59c538",
+ "id": "25b31875.8826d8",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1605.000244140625,
- "y": 994.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 1670.250244140625,
+ "y": 1021.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "530e9d63.07dd34",
- "d6c0e471.9108d8"
+ "ce7bf734.28bda8",
+ "d19e0c7b.53065"
]
]
},
{
- "id": "acbbf9db.eeba28",
+ "id": "155bb7c3.d857e8",
"type": "returnSuccess",
"name": "return success with payload",
"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`'/>\n<parameter name='payload' value='`$outputPayload`'/>",
"comments": "",
- "x": 2363.000244140625,
- "y": 1018.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2428.250244140625,
+ "y": 1045.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "aba50f21.a535d",
+ "id": "d2e205c4.4281f8",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 1958.000244140625,
- "y": 958.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2023.250244140625,
+ "y": 985.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "3ac4241b.62144c",
- "c67e4b5c.d70a28"
+ "98292b3a.f54c38",
+ "ca11ee2d.ab69a"
]
]
},
{
- "id": "801dd50e.8622c8",
+ "id": "514b412e.93d64",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 1958.000244140625,
- "y": 1034.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2023.250244140625,
+ "y": 1061.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "8dcd3ae3.608a58",
- "a94e8dc6.52647"
+ "337c58c3.55ed98",
+ "7cab1d0c.110394"
]
]
},
{
- "id": "657ecc9e.2687c4",
+ "id": "41ed8585.4713cc",
"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": 2316.000244140625,
- "y": 974.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2381.250244140625,
+ "y": 1001.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "52f49f6f.dcf4",
+ "id": "448216a9.053268",
"type": "returnFailure",
"name": "return failure with payload",
"xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n<parameter name='payload' value='`$outputPayload`'/>",
"comments": "",
- "x": 2359.000244140625,
- "y": 1056.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2424.250244140625,
+ "y": 1083.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": []
},
{
- "id": "3ac4241b.62144c",
+ "id": "98292b3a.f54c38",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2146.000244140625,
- "y": 936.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2211.250244140625,
+ "y": 963.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "bd7deada.205038"
+ "2277df4f.e54cc"
]
]
},
{
- "id": "c67e4b5c.d70a28",
+ "id": "ca11ee2d.ab69a",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2127.000244140625,
- "y": 974.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2192.250244140625,
+ "y": 1001.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "657ecc9e.2687c4"
+ "41ed8585.4713cc"
]
]
},
{
- "id": "8dcd3ae3.608a58",
+ "id": "337c58c3.55ed98",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2147.000244140625,
- "y": 1018.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2212.250244140625,
+ "y": 1045.9998779296875,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "acbbf9db.eeba28"
+ "155bb7c3.d857e8"
]
]
},
{
- "id": "a94e8dc6.52647",
+ "id": "7cab1d0c.110394",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2129.000244140625,
- "y": 1056.9999389648438,
- "z": "b4969602.e5a2a8",
+ "x": 2194.250244140625,
+ "y": 1083.9998779296875,
+ "z": "29d3492e.6e65c6",
+ "wires": [
+ [
+ "448216a9.053268"
+ ]
+ ]
+ },
+ {
+ "id": "e0a7ad5f.00f71",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 789.5000114440918,
+ "y": 253.25000381469727,
+ "z": "29d3492e.6e65c6",
"wires": [
[
- "52f49f6f.dcf4"
+ "c2ca99f8.c4bfb8",
+ "5b8c934.62b5e6c"
]
]
+ },
+ {
+ "id": "5b8c934.62b5e6c",
+ "type": "switchNode",
+ "name": "switch playbook-name in req",
+ "xml": "<switch test='`$payloadJson.playbook-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 995.7500133514404,
+ "y": 297.75000381469727,
+ "z": "29d3492e.6e65c6",
+ "wires": [
+ [
+ "779f8f25.8993f",
+ "4556266f.9d5cb8"
+ ]
+ ]
+ },
+ {
+ "id": "779f8f25.8993f",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1203.2500190734863,
+ "y": 261.50000381469727,
+ "z": "29d3492e.6e65c6",
+ "wires": [
+ [
+ "de8d7bd8.ab0a48"
+ ]
+ ]
+ },
+ {
+ "id": "4556266f.9d5cb8",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1202.0000228881836,
+ "y": 326.50000381469727,
+ "z": "29d3492e.6e65c6",
+ "wires": [
+ [
+ "d0603697.a5edb8"
+ ]
+ ]
+ },
+ {
+ "id": "de8d7bd8.ab0a48",
+ "type": "set",
+ "name": "set playbookname from prop",
+ "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>\n",
+ "comments": "",
+ "x": 1405.7500228881836,
+ "y": 261.50000381469727,
+ "z": "29d3492e.6e65c6",
+ "wires": []
+ },
+ {
+ "id": "d0603697.a5edb8",
+ "type": "set",
+ "name": "set playbookname from req",
+ "xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",
+ "comments": "",
+ "x": 1400.7500228881836,
+ "y": 326.50000381469727,
+ "z": "29d3492e.6e65c6",
+ "wires": []
}
] \ No newline at end of file