diff options
author | 2019-12-23 12:09:35 +0800 | |
---|---|---|
committer | 2019-12-23 12:21:24 +0800 | |
commit | 93a7ad8c9fa1d9631fcaaad359f32e956ac984ed (patch) | |
tree | 62adff615f896dd0ad8030c32df272a71c1646f0 /platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json | |
parent | f5a63c57879141bd9e1054de41a901cdbd802e7f (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-pre-check.json')
-rw-r--r-- | platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json | 817 |
1 files changed, 445 insertions, 372 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 0239c763..d6a43175 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,22 +1,22 @@ [
{
- "id": "e17c1584.f756d8",
+ "id": "79123894.fcdcc8",
"type": "method",
"name": "upgrade-pre-check",
"xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 552,
- "y": 67,
- "z": "df893cfa.16f38",
+ "x": 498.75,
+ "y": 41.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "4a691c8b.6b9db4"
+ "54c3a48c.9ff08c"
]
]
},
{
- "id": "1f7a861d.c2112a",
+ "id": "700edfe2.db0dd",
"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": 339.99993896484375,
- "y": 68,
- "z": "df893cfa.16f38",
+ "x": 286.74993896484375,
+ "y": 42.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "e17c1584.f756d8"
+ "79123894.fcdcc8"
]
]
},
{
- "id": "bb18ce54.65a6d",
+ "id": "63cab8d6.48eba8",
"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=\"`$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='`$playbookname`'/>",
"comments": "",
"outputs": 1,
- "x": 407.00001525878906,
- "y": 675,
- "z": "df893cfa.16f38",
+ "x": 400.75001525878906,
+ "y": 688.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "c6f98872.c067e8",
- "5614f2d4.83759c",
- "1beab9a5.7e2366"
+ "be544d01.a8609",
+ "1f309cc0.2f6233",
+ "cca4076a.107908"
]
]
},
{
- "id": "8e97cc56.5d143",
+ "id": "eb1a1ff1.d1c85",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 806.9999389648438,
- "y": 783.0000305175781,
- "z": "df893cfa.16f38",
+ "x": 800.7499389648438,
+ "y": 796.2500305175781,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "d5d391c0.e33eb",
- "96569d9a.8f849",
- "8eb6da31.c976d8"
+ "1ecad72d.159dd9",
+ "61406129.c065d",
+ "e371269b.c16e28"
]
]
},
{
- "id": "d5d391c0.e33eb",
+ "id": "1ecad72d.159dd9",
"type": "other",
"name": "outcome 500",
"xml": "<outcome value='500'>\n",
"comments": "",
"outputs": 1,
- "x": 951.9999389648438,
- "y": 781.0000381469727,
- "z": "df893cfa.16f38",
+ "x": 945.7499389648438,
+ "y": 794.2500381469727,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "261676ae.6c18ea"
+ "a19523e1.35cbd"
]
]
},
{
- "id": "96569d9a.8f849",
+ "id": "61406129.c065d",
"type": "other",
"name": "outcome 100",
"xml": "<outcome value='100'>\n",
"comments": "",
"outputs": 1,
- "x": 948.9999389648438,
- "y": 838.0000305175781,
- "z": "df893cfa.16f38",
+ "x": 942.7499389648438,
+ "y": 851.2500305175781,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "a9aeb5d4.ad8218"
+ "21d794bd.98632c"
]
]
},
{
- "id": "a9aeb5d4.ad8218",
+ "id": "21d794bd.98632c",
"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": 1136.9999389648438,
- "y": 837.0000305175781,
- "z": "df893cfa.16f38",
+ "x": 1130.7499389648438,
+ "y": 850.2500305175781,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "50e30f80.cb97b",
- "f9b1e44f.cf0bf8"
+ "10f75364.16ad2d",
+ "6e5d5eb.c0cdfa"
]
]
},
{
- "id": "5614f2d4.83759c",
+ "id": "1f309cc0.2f6233",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 665.9999389648438,
- "y": 696.0000915527344,
- "z": "df893cfa.16f38",
+ "x": 659.7499389648438,
+ "y": 709.2500915527344,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "261676ae.6c18ea"
+ "a19523e1.35cbd"
]
]
},
{
- "id": "c6f98872.c067e8",
+ "id": "be544d01.a8609",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 667.9999389648438,
- "y": 748.0000610351562,
- "z": "df893cfa.16f38",
+ "x": 661.7499389648438,
+ "y": 761.2500610351562,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "8e97cc56.5d143"
+ "eb1a1ff1.d1c85"
]
]
},
{
- "id": "50e30f80.cb97b",
+ "id": "10f75364.16ad2d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1305.9998779296875,
- "y": 819.0000610351562,
- "z": "df893cfa.16f38",
+ "x": 1299.7498779296875,
+ "y": 832.2500610351562,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "7ac364bd.12e01c"
+ "35aa42ce.44d35e"
]
]
},
{
- "id": "8eb6da31.c976d8",
+ "id": "e371269b.c16e28",
"type": "other",
"name": "outcome 101",
"xml": "<outcome value='101'>\n",
"comments": "",
"outputs": 1,
- "x": 948.9999389648438,
- "y": 739.0000686645508,
- "z": "df893cfa.16f38",
+ "x": 942.7499389648438,
+ "y": 752.2500686645508,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "261676ae.6c18ea"
+ "a19523e1.35cbd"
]
]
},
{
- "id": "f9b1e44f.cf0bf8",
+ "id": "6e5d5eb.c0cdfa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1309.9998779296875,
- "y": 863.0001220703125,
- "z": "df893cfa.16f38",
+ "x": 1303.7498779296875,
+ "y": 876.2501220703125,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "7ac364bd.12e01c"
+ "35aa42ce.44d35e"
]
]
},
{
- "id": "a40759ed.63a388",
+ "id": "17dc23e5.79688c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 155,
- "y": 67,
- "z": "df893cfa.16f38",
+ "x": 101.75,
+ "y": 41.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "1f7a861d.c2112a"
+ "700edfe2.db0dd"
]
]
},
{
- "id": "4a691c8b.6b9db4",
+ "id": "54c3a48c.9ff08c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 152.91668701171875,
- "y": 159.08334350585938,
- "z": "df893cfa.16f38",
+ "x": 146.66669082641602,
+ "y": 192.33334636688232,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "bb18ce54.65a6d",
- "4f789742.ddd168",
- "2f15d339.87cf0c",
- "556d2c3e.217c14",
- "905f1137.7562f",
- "5cc58e7c.083a5",
- "db896c60.3d19a",
- "ae5d9d02.d1fe4"
+ "63cab8d6.48eba8",
+ "e0ff5747.e0e408",
+ "28a0da8f.9238c6",
+ "9d9af3e3.66cfb",
+ "fb9c8e38.ca40a",
+ "51abfe6f.79ea7",
+ "97847ebc.c54a9",
+ "b335e1b5.94d26"
]
]
},
{
- "id": "4f789742.ddd168",
+ "id": "e0ff5747.e0e408",
"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": 451.0000305175781,
- "y": 192.08334350585938,
- "z": "df893cfa.16f38",
+ "x": 444.7500305175781,
+ "y": 152.33334350585938,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "9f29e934.d196d8",
+ "id": "a9d7923c.2ca01",
"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": 1617.9998779296875,
- "y": 645.0834045410156,
- "z": "df893cfa.16f38",
+ "x": 1611.7498779296875,
+ "y": 658.3334045410156,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "eff6b07f.5f555"
+ "f8292962.0b6818"
]
]
},
{
- "id": "eff6b07f.5f555",
+ "id": "f8292962.0b6818",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1787.9998168945312,
- "y": 644.0834045410156,
- "z": "df893cfa.16f38",
+ "x": 1781.7498168945312,
+ "y": 657.3334045410156,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "39c1e046.0c9a2"
+ "2356f9f0.a42e76"
]
]
},
{
- "id": "261676ae.6c18ea",
+ "id": "a19523e1.35cbd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1420.9998168945312,
- "y": 669.0834045410156,
- "z": "df893cfa.16f38",
+ "x": 1414.7498168945312,
+ "y": 682.3334045410156,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "9f29e934.d196d8",
- "20f5321f.fe2dee",
- "b16d5209.3031f"
+ "a9d7923c.2ca01",
+ "f3ee8743.36d458",
+ "f66a0341.fd891"
]
]
},
{
- "id": "dd99789.6491a88",
+ "id": "a59867f8.a2eaa8",
"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": 1653.4998779296875,
- "y": 911.0833740234375,
- "z": "df893cfa.16f38",
+ "x": 1647.2498779296875,
+ "y": 924.3333740234375,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "16bb547b.d2861c"
+ "712d36ea.cfb478"
]
]
},
{
- "id": "16bb547b.d2861c",
+ "id": "712d36ea.cfb478",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1838.4998779296875,
- "y": 911.0833740234375,
- "z": "df893cfa.16f38",
+ "x": 1832.2498779296875,
+ "y": 924.3333740234375,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "95e8f51a.226ea8"
+ "a57d56eb.e502e8"
]
]
},
{
- "id": "39c1e046.0c9a2",
+ "id": "2356f9f0.a42e76",
"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": 1907.9998779296875,
- "y": 643.0833740234375,
- "z": "df893cfa.16f38",
+ "x": 1901.7498779296875,
+ "y": 656.3333740234375,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "20f5321f.fe2dee",
+ "id": "f3ee8743.36d458",
"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": 1599.91650390625,
- "y": 696.0834045410156,
- "z": "df893cfa.16f38",
+ "x": 1593.66650390625,
+ "y": 709.3334045410156,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "95e8f51a.226ea8",
+ "id": "a57d56eb.e502e8",
"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": 1970.9166259765625,
- "y": 911.0833740234375,
- "z": "df893cfa.16f38",
+ "x": 1964.6666259765625,
+ "y": 924.3333740234375,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "b16d5209.3031f",
+ "id": "f66a0341.fd891",
"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-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.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": 1604.9998779296875,
- "y": 592.0833740234375,
- "z": "df893cfa.16f38",
+ "x": 1598.7498779296875,
+ "y": 605.3333740234375,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "7ac364bd.12e01c",
+ "id": "35aa42ce.44d35e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1441.9998779296875,
- "y": 838.0833740234375,
- "z": "df893cfa.16f38",
+ "x": 1435.7498779296875,
+ "y": 851.3333740234375,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "dd99789.6491a88",
- "66ca1a2.98ef5e4",
- "6f78d9df.0d3518",
- "3c0a54ab.00262c",
- "9977ea00.521808"
+ "a59867f8.a2eaa8",
+ "556a3910.4bdad8",
+ "e92cf733.30ba38",
+ "e3dfd6bf.4ead58",
+ "ce2a6d93.154ee",
+ "4de0f71c.f3cdf8"
]
]
},
{
- "id": "b364bef1.e2765",
+ "id": "4de0f71c.f3cdf8",
"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-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.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": 1995.1666259765625,
- "y": 816.0833740234375,
- "z": "df893cfa.16f38",
+ "x": 1633.9166564941406,
+ "y": 838.0833864212036,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "1beab9a5.7e2366",
+ "id": "cca4076a.107908",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 674.9999389648438,
- "y": 648.0000610351562,
- "z": "df893cfa.16f38",
+ "x": 668.7499389648438,
+ "y": 661.2500610351562,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "dd0b1351.6bec5"
+ "8e5e5147.24c25"
]
]
},
{
- "id": "6e45eb8e.292b44",
+ "id": "e1a3d0c1.ed1c7",
"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": 965.9999389648438,
- "y": 607,
- "z": "df893cfa.16f38",
+ "x": 959.7499389648438,
+ "y": 620.25,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "dd0b1351.6bec5",
+ "id": "8e5e5147.24c25",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 811.9999389648438,
- "y": 642.0000610351562,
- "z": "df893cfa.16f38",
+ "x": 805.7499389648438,
+ "y": 655.2500610351562,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "6e45eb8e.292b44",
- "261676ae.6c18ea"
+ "e1a3d0c1.ed1c7",
+ "a19523e1.35cbd"
]
]
},
{
- "id": "2f15d339.87cf0c",
+ "id": "28a0da8f.9238c6",
"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": 444,
- "y": 239,
- "z": "df893cfa.16f38",
+ "x": 437.75,
+ "y": 199.25,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "3bd1d194.63001e",
+ "id": "b9d0103e.a3c0f",
"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-pre-check-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",
"comments": "",
"outputs": 1,
- "x": 984,
- "y": 415,
- "z": "df893cfa.16f38",
+ "x": 977.75,
+ "y": 428.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "d0549989.50cdf8"
+ "707a6dc2.a56554"
]
]
},
{
- "id": "d0549989.50cdf8",
+ "id": "707a6dc2.a56554",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1142.3907470703125,
- "y": 413.28399658203125,
- "z": "df893cfa.16f38",
+ "x": 1136.1407470703125,
+ "y": 426.53399658203125,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "50890a76.58d434"
+ "f770f730.800e58"
]
]
},
{
- "id": "db896c60.3d19a",
+ "id": "97847ebc.c54a9",
"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": 372.9998779296875,
- "y": 603,
- "z": "df893cfa.16f38",
+ "x": 366.7498779296875,
+ "y": 616.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "905f1137.7562f",
+ "id": "fb9c8e38.ca40a",
"type": "switchNode",
"name": "switch pnf-flag",
"xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
"comments": "",
"outputs": 1,
- "x": 426,
- "y": 340,
- "z": "df893cfa.16f38",
+ "x": 423.50000762939453,
+ "y": 347.0000057220459,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "d4a98e23.62f9b",
- "a403044b.ebc9f8"
+ "335af4ab.8619ac",
+ "deac08e0.fa0578"
]
]
},
{
- "id": "556d2c3e.217c14",
+ "id": "9d9af3e3.66cfb",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='upgrade-pre-check-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",
"comments": "",
"outputs": 1,
- "x": 458,
- "y": 286,
- "z": "df893cfa.16f38",
+ "x": 451.75,
+ "y": 246.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "d4a98e23.62f9b",
+ "id": "335af4ab.8619ac",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 623,
- "y": 319,
- "z": "df893cfa.16f38",
+ "x": 608.0000076293945,
+ "y": 291.0000057220459,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "582ec79b.faa468"
+ "7ba201ed.e5e12"
]
]
},
{
- "id": "a403044b.ebc9f8",
+ "id": "deac08e0.fa0578",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 622.9999389648438,
- "y": 380,
- "z": "df893cfa.16f38",
+ "x": 610.4999465942383,
+ "y": 398.7500057220459,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "3184e083.2b204"
+ "b91d48aa.1e6708"
]
]
},
{
- "id": "3184e083.2b204",
+ "id": "b91d48aa.1e6708",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 770.9999389648438,
- "y": 379,
- "z": "df893cfa.16f38",
+ "x": 764.7499504089355,
+ "y": 399.7500057220459,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "3bd1d194.63001e",
- "395906a2.acd1ea"
+ "b9d0103e.a3c0f",
+ "df4c69bf.c75128"
]
]
},
{
- "id": "582ec79b.faa468",
+ "id": "b9826fbc.acb59",
"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-pre-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": 784,
- "y": 317,
- "z": "df893cfa.16f38",
+ "x": 935.2500152587891,
+ "y": 199.00000381469727,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "395906a2.acd1ea",
+ "id": "df4c69bf.c75128",
"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-pre-check.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 993,
- "y": 359,
- "z": "df893cfa.16f38",
+ "x": 986.75,
+ "y": 372.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "5cc58e7c.083a5",
+ "id": "51abfe6f.79ea7",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 423,
- "y": 471,
- "z": "df893cfa.16f38",
+ "x": 416.75,
+ "y": 484.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "b9c121b9.01765"
+ "159a0737.e614f9"
]
]
},
{
- "id": "b9c121b9.01765",
+ "id": "159a0737.e614f9",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 594,
- "y": 472,
- "z": "df893cfa.16f38",
+ "x": 587.75,
+ "y": 485.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "96dc86e8.19da88"
+ "7c0bd670.f80e88"
]
]
},
{
- "id": "96dc86e8.19da88",
+ "id": "7c0bd670.f80e88",
"type": "set",
"name": "set playbookname",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>",
"comments": "",
- "x": 784,
- "y": 471,
- "z": "df893cfa.16f38",
+ "x": 777.75,
+ "y": 484.25,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "ae5d9d02.d1fe4",
+ "id": "b335e1b5.94d26",
"type": "switchNode",
"name": "switch nodelist",
"xml": "<switch test='`$nodelist`'>\n",
"comments": "",
"outputs": 1,
- "x": 413,
- "y": 530,
- "z": "df893cfa.16f38",
+ "x": 406.75,
+ "y": 543.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "d47821da.1dd48",
- "69b2cec2.dd018"
+ "bcd038e8.2000e8",
+ "438394.8dcf2c6c"
]
]
},
{
- "id": "d47821da.1dd48",
+ "id": "bcd038e8.2000e8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 593,
- "y": 523,
- "z": "df893cfa.16f38",
+ "x": 586.75,
+ "y": 536.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "dce9b14d.bb77b"
+ "7554d6f5.ecbc18"
]
]
},
{
- "id": "dce9b14d.bb77b",
+ "id": "7554d6f5.ecbc18",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
"comments": "",
- "x": 750,
- "y": 537,
- "z": "df893cfa.16f38",
+ "x": 743.75,
+ "y": 550.25,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "69b2cec2.dd018",
+ "id": "438394.8dcf2c6c",
"type": "outcome",
"name": "empty",
"xml": "<outcome value=\"['']\">\n\n",
"comments": "",
"outputs": 1,
- "x": 592,
- "y": 567,
- "z": "df893cfa.16f38",
+ "x": 585.75,
+ "y": 580.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "dce9b14d.bb77b"
+ "7554d6f5.ecbc18"
]
]
},
{
- "id": "8d045871.31f638",
+ "id": "81ee25ea.70a5d8",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 1468,
- "y": 402,
- "z": "df893cfa.16f38",
+ "x": 1461.75,
+ "y": 415.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "ef1e7a17.621f38"
+ "aa8d4256.96bc7"
]
]
},
{
- "id": "ef1e7a17.621f38",
+ "id": "aa8d4256.96bc7",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1646,
- "y": 402,
- "z": "df893cfa.16f38",
+ "x": 1639.75,
+ "y": 415.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "862a6ea8.3ba16"
+ "25ca05e6.56319a"
]
]
},
{
- "id": "8543ebcf.2ead48",
+ "id": "e6663d9a.24393",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
"comments": "",
- "x": 1441,
- "y": 455,
- "z": "df893cfa.16f38",
+ "x": 1434.75,
+ "y": 468.25,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "50890a76.58d434",
+ "id": "f770f730.800e58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1271,
- "y": 412,
- "z": "df893cfa.16f38",
+ "x": 1264.75,
+ "y": 425.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "8d045871.31f638",
- "8543ebcf.2ead48"
+ "81ee25ea.70a5d8",
+ "e6663d9a.24393"
]
]
},
{
- "id": "862a6ea8.3ba16",
+ "id": "25ca05e6.56319a",
"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-pre-check.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1818,
- "y": 400,
- "z": "df893cfa.16f38",
+ "x": 1811.75,
+ "y": 413.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "66ca1a2.98ef5e4",
+ "id": "556a3910.4bdad8",
"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": 1668,
- "y": 744,
- "z": "df893cfa.16f38",
+ "x": 1661.75,
+ "y": 757.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "6f78d9df.0d3518",
+ "id": "e92cf733.30ba38",
"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": 1674,
- "y": 789,
- "z": "df893cfa.16f38",
+ "x": 1667.75,
+ "y": 802.25,
+ "z": "98ab1d2d.2aba2",
"wires": [
[]
]
},
{
- "id": "3c0a54ab.00262c",
+ "id": "e3dfd6bf.4ead58",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1660,
- "y": 836,
- "z": "df893cfa.16f38",
+ "x": 1653.7500228881836,
+ "y": 878.0000133514404,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "65b8d06e.2f308",
- "db2edf05.5dbf2"
+ "2d71184f.d707e8"
]
]
},
{
- "id": "65b8d06e.2f308",
- "type": "outcome",
- "name": "null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1838,
- "y": 816,
- "z": "df893cfa.16f38",
- "wires": [
- [
- "b364bef1.e2765"
- ]
- ]
- },
- {
- "id": "db2edf05.5dbf2",
+ "id": "2d71184f.d707e8",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1839,
- "y": 860,
- "z": "df893cfa.16f38",
+ "x": 1827.7500267028809,
+ "y": 878.2500133514404,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "3b020d0b.edb822"
+ "17ec9bb3.6c7794"
]
]
},
{
- "id": "3b020d0b.edb822",
+ "id": "17ec9bb3.6c7794",
"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-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.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": 2036,
- "y": 860,
- "z": "df893cfa.16f38",
+ "x": 2026.0000305175781,
+ "y": 878.7500133514404,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "e583cc0b.79586",
+ "id": "421baef1.ca44d",
"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": 2371,
- "y": 946.9999389648438,
- "z": "df893cfa.16f38",
+ "x": 2364.75,
+ "y": 960.2499389648438,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "b678b572.4bc6d8",
+ "id": "52010210.9a3a3c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1837.000244140625,
- "y": 968.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 1830.750244140625,
+ "y": 982.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "bebb9bde.cadbc8"
+ "86cbc6a0.b5d6e8"
]
]
},
{
- "id": "e71f0e75.f5e6e",
+ "id": "555ad08b.2b8e",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1836.000244140625,
- "y": 1044.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 1829.750244140625,
+ "y": 1058.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "a34ae1ab.50555"
+ "4f3f37a2.c71f38"
]
]
},
{
- "id": "9977ea00.521808",
+ "id": "ce2a6d93.154ee",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1654.000244140625,
- "y": 1004.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 1647.750244140625,
+ "y": 1018.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "b678b572.4bc6d8",
- "e71f0e75.f5e6e"
+ "52010210.9a3a3c",
+ "555ad08b.2b8e"
]
]
},
{
- "id": "c888915f.7e81c",
+ "id": "18ff9108.05c38f",
"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": 2412.000244140625,
- "y": 1028.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2405.750244140625,
+ "y": 1042.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "bebb9bde.cadbc8",
+ "id": "86cbc6a0.b5d6e8",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2007.000244140625,
- "y": 968.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2000.750244140625,
+ "y": 982.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "1b395046.b5f6",
- "d4989dec.88a2e"
+ "1e14d58a.ceb40a",
+ "1771d8c.468b627"
]
]
},
{
- "id": "a34ae1ab.50555",
+ "id": "4f3f37a2.c71f38",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2007.000244140625,
- "y": 1044.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2000.750244140625,
+ "y": 1058.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "8e9f2082.ee767",
- "3b44f0c3.4b7c2"
+ "e5846df5.e9d01",
+ "6896eb19.633b54"
]
]
},
{
- "id": "5e9a3c.5f7e95c4",
+ "id": "257794.a39f786c",
"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": 2365.000244140625,
- "y": 984.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2358.750244140625,
+ "y": 998.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "398f4135.fd470e",
+ "id": "dac7ab2b.e0d178",
"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": 2408.000244140625,
- "y": 1066.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2401.750244140625,
+ "y": 1080.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": []
},
{
- "id": "1b395046.b5f6",
+ "id": "1e14d58a.ceb40a",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2195.000244140625,
- "y": 946.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2188.750244140625,
+ "y": 960.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "e583cc0b.79586"
+ "421baef1.ca44d"
]
]
},
{
- "id": "d4989dec.88a2e",
+ "id": "1771d8c.468b627",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2176.000244140625,
- "y": 984.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2169.750244140625,
+ "y": 998.2498779296875,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "5e9a3c.5f7e95c4"
+ "257794.a39f786c"
]
]
},
{
- "id": "8e9f2082.ee767",
+ "id": "e5846df5.e9d01",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2196.000244140625,
- "y": 1028.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 2189.750244140625,
+ "y": 1042.2498779296875,
+ "z": "98ab1d2d.2aba2",
+ "wires": [
+ [
+ "18ff9108.05c38f"
+ ]
+ ]
+ },
+ {
+ "id": "6896eb19.633b54",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2171.750244140625,
+ "y": 1080.2498779296875,
+ "z": "98ab1d2d.2aba2",
+ "wires": [
+ [
+ "dac7ab2b.e0d178"
+ ]
+ ]
+ },
+ {
+ "id": "7ba201ed.e5e12",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 767.0000114440918,
+ "y": 249.50000381469727,
+ "z": "98ab1d2d.2aba2",
+ "wires": [
+ [
+ "b9826fbc.acb59",
+ "c9d057b5.ff9928"
+ ]
+ ]
+ },
+ {
+ "id": "c9d057b5.ff9928",
+ "type": "switchNode",
+ "name": "switch playbook-name in req",
+ "xml": "<switch test='`$payloadJson.playbook-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 973.2500133514404,
+ "y": 294.00000381469727,
+ "z": "98ab1d2d.2aba2",
+ "wires": [
+ [
+ "b044a404.bd11f8",
+ "a1cad1b1.1a72f"
+ ]
+ ]
+ },
+ {
+ "id": "b044a404.bd11f8",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1180.7500190734863,
+ "y": 257.75000381469727,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "c888915f.7e81c"
+ "c89043b.0269bc"
]
]
},
{
- "id": "3b44f0c3.4b7c2",
+ "id": "a1cad1b1.1a72f",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2178.000244140625,
- "y": 1066.9998779296875,
- "z": "df893cfa.16f38",
+ "x": 1179.5000228881836,
+ "y": 322.75000381469727,
+ "z": "98ab1d2d.2aba2",
"wires": [
[
- "398f4135.fd470e"
+ "b3960e3d.f7841"
]
]
+ },
+ {
+ "id": "c89043b.0269bc",
+ "type": "set",
+ "name": "set playbookname from prop",
+ "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-pre-check.playbookname`'/>\n",
+ "comments": "",
+ "x": 1383.2500228881836,
+ "y": 257.75000381469727,
+ "z": "98ab1d2d.2aba2",
+ "wires": []
+ },
+ {
+ "id": "b3960e3d.f7841",
+ "type": "set",
+ "name": "set playbookname from req",
+ "xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",
+ "comments": "",
+ "x": 1378.2500228881836,
+ "y": 322.75000381469727,
+ "z": "98ab1d2d.2aba2",
+ "wires": []
}
]
\ No newline at end of file |