summaryrefslogtreecommitdiffstats
path: root/platform-logic
diff options
context:
space:
mode:
authorEnbo Wang <wangenbo@huawei.com>2020-02-21 17:28:53 +0800
committerEnbo Wang <wangenbo@huawei.com>2020-02-21 17:35:35 +0800
commit226baa784e543bef038cffe091f734d22b34a256 (patch)
treefad166ee96f5c1fc6325b6296516e30de99d6809 /platform-logic
parent8bbe748d631353b8c48c7d71eb733cf85712884c (diff)
Update DGs and Playbooks for PNF SW Upgrade
Change-Id: Iecc84ca6f794fe9947e81da3d95ceaad00f2861d Issue-ID: SDNC-1079 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: e2915384cc7523e93c2e154d4a84920fd093146d
Diffstat (limited to 'platform-logic')
-rw-r--r--platform-logic/lcm/src/main/json/LCM_activate-n-e-sw.json795
-rw-r--r--platform-logic/lcm/src/main/json/LCM_download-n-e-sw.json797
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-post-check.json797
-rw-r--r--platform-logic/lcm/src/main/json/LCM_upgrade-pre-check.json797
-rw-r--r--platform-logic/lcm/src/main/xml/LCM_activate-n-e-sw.xml54
-rw-r--r--platform-logic/lcm/src/main/xml/LCM_download-n-e-sw.xml54
-rw-r--r--platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml52
-rw-r--r--platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml52
8 files changed, 1745 insertions, 1653 deletions
diff --git a/platform-logic/lcm/src/main/json/LCM_activate-n-e-sw.json b/platform-logic/lcm/src/main/json/LCM_activate-n-e-sw.json
index 1483cebd..bb7e4341 100644
--- a/platform-logic/lcm/src/main/json/LCM_activate-n-e-sw.json
+++ b/platform-logic/lcm/src/main/json/LCM_activate-n-e-sw.json
@@ -1,22 +1,22 @@
[
{
- "id": "7a48a318.a0c2cc",
+ "id": "bf535237.4809",
"type": "method",
"name": "activate-n-e-sw",
"xml": "<method rpc='activate-n-e-sw' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 526.75,
- "y": 59.75,
- "z": "80e400ee.d5d12",
+ "x": 527.2500610351562,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "43527cfb.50e584"
+ "37dfcf3b.f289c"
]
]
},
{
- "id": "d50afa5f.773ec8",
+ "id": "abaeb654.ecf048",
"type": "service-logic",
"name": "LCM ${project.version}",
"module": "LCM",
@@ -24,1133 +24,1148 @@
"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": 314.74993896484375,
- "y": 60.75,
- "z": "80e400ee.d5d12",
+ "x": 315.25,
+ "y": 29.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7a48a318.a0c2cc"
+ "bf535237.4809"
]
]
},
{
- "id": "af9cc402.0df8d8",
+ "id": "4ca554b1.64cfac",
"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='`$activate-n-e-sw-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='`$activate-n-e-sw-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",
"comments": "",
"outputs": 1,
- "x": 428.75001525878906,
- "y": 706.75,
- "z": "80e400ee.d5d12",
+ "x": 429.2500762939453,
+ "y": 675.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "bc344e40.d001e",
- "6111417c.2bcf1",
- "a9afb547.0ddf48"
+ "41993dbd.510e94",
+ "eb0cf86.0ae1308",
+ "6d276eae.f7933"
]
]
},
{
- "id": "7ec1fa09.313064",
+ "id": "cda0d255.88e57",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 828.7499389648438,
- "y": 814.7500305175781,
- "z": "80e400ee.d5d12",
+ "x": 829.25,
+ "y": 783.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "def0741f.7b54c8",
- "21b40503.ea026a",
- "8c342d0e.01d56"
+ "d3ad30a5.7e40b",
+ "5d5c8e87.4569f",
+ "e91d746f.ee24d8"
]
]
},
{
- "id": "def0741f.7b54c8",
+ "id": "d3ad30a5.7e40b",
"type": "other",
"name": "outcome 500",
"xml": "<outcome value='500'>\n",
"comments": "",
"outputs": 1,
- "x": 973.7499389648438,
- "y": 812.7500381469727,
- "z": "80e400ee.d5d12",
+ "x": 974.25,
+ "y": 781.7500383853912,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "975bc56b.8da928"
+ "83b77a4c.913068"
]
]
},
{
- "id": "21b40503.ea026a",
+ "id": "5d5c8e87.4569f",
"type": "other",
"name": "outcome 100",
"xml": "<outcome value='100'>\n",
"comments": "",
"outputs": 1,
- "x": 970.7499389648438,
- "y": 869.7500305175781,
- "z": "80e400ee.d5d12",
+ "x": 971.25,
+ "y": 838.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "fd635a04.514608"
+ "9160ee3f.90cdf"
]
]
},
{
- "id": "fd635a04.514608",
+ "id": "9160ee3f.90cdf",
"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": 1158.7499389648438,
- "y": 868.7500305175781,
- "z": "80e400ee.d5d12",
+ "x": 1159.25,
+ "y": 837.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b6c762d8.0d3f4",
- "78593085.dc6ad"
+ "9f6f87a0.ed34a8",
+ "40d1e66e.058b58"
]
]
},
{
- "id": "6111417c.2bcf1",
+ "id": "eb0cf86.0ae1308",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 687.7499389648438,
- "y": 727.7500915527344,
- "z": "80e400ee.d5d12",
+ "x": 688.25,
+ "y": 696.750091791153,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "975bc56b.8da928"
+ "83b77a4c.913068"
]
]
},
{
- "id": "bc344e40.d001e",
+ "id": "41993dbd.510e94",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 689.7499389648438,
- "y": 779.7500610351562,
- "z": "80e400ee.d5d12",
+ "x": 690.25,
+ "y": 748.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7ec1fa09.313064"
+ "cda0d255.88e57"
]
]
},
{
- "id": "b6c762d8.0d3f4",
+ "id": "9f6f87a0.ed34a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1327.7498779296875,
- "y": 850.7500610351562,
- "z": "80e400ee.d5d12",
+ "x": 1328.2499389648438,
+ "y": 819.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c84dc161.1f07e"
+ "3cabde61.b46412"
]
]
},
{
- "id": "8c342d0e.01d56",
+ "id": "e91d746f.ee24d8",
"type": "other",
"name": "outcome 101",
"xml": "<outcome value='101'>\n",
"comments": "",
"outputs": 1,
- "x": 970.7499389648438,
- "y": 770.7500686645508,
- "z": "80e400ee.d5d12",
+ "x": 971.25,
+ "y": 739.7500689029694,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "975bc56b.8da928"
+ "83b77a4c.913068"
]
]
},
{
- "id": "78593085.dc6ad",
+ "id": "40d1e66e.058b58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1331.7498779296875,
- "y": 894.7501220703125,
- "z": "80e400ee.d5d12",
+ "x": 1332.2499389648438,
+ "y": 863.7501223087311,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c84dc161.1f07e"
+ "3cabde61.b46412"
]
]
},
{
- "id": "46414f65.12103",
+ "id": "ea9b4886.c48198",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 129.75,
- "y": 59.75,
- "z": "80e400ee.d5d12",
+ "x": 130.25006103515625,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d50afa5f.773ec8"
+ "abaeb654.ecf048"
]
]
},
{
- "id": "43527cfb.50e584",
+ "id": "37dfcf3b.f289c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 174.66669082641602,
- "y": 210.83334636688232,
- "z": "80e400ee.d5d12",
+ "x": 175.16675186157227,
+ "y": 179.8333466053009,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "af9cc402.0df8d8",
- "d87b0bba.f7fa68",
- "b68ece2.1e4193",
- "8345e48f.70abe8",
- "f8b2fbc0.6518d8",
- "f46185cf.a1ee68",
- "3c8e8586.56a77a",
- "2f85a60c.ee77ca"
+ "4ca554b1.64cfac",
+ "b98c2ec9.d8038",
+ "c8196d34.a400d",
+ "a485bdb7.2ebc2",
+ "3a91a794.6c88c8",
+ "abab4d63.1772e",
+ "457d8530.6d929c",
+ "f1e5bbf5.b3f958"
]
]
},
{
- "id": "d87b0bba.f7fa68",
+ "id": "b98c2ec9.d8038",
"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": 472.7500305175781,
- "y": 170.83334350585938,
- "z": "80e400ee.d5d12",
+ "x": 475.2500915527344,
+ "y": 126.83334374427795,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "54ac459f.b652ac",
+ "id": "337a6d7b.201ca2",
"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": 1639.7498779296875,
- "y": 676.8334045410156,
- "z": "80e400ee.d5d12",
+ "x": 1640.2499389648438,
+ "y": 645.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "766513f5.edd23c"
+ "96c73638.cb9ab8"
]
]
},
{
- "id": "766513f5.edd23c",
+ "id": "96c73638.cb9ab8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1809.7498168945312,
- "y": 675.8334045410156,
- "z": "80e400ee.d5d12",
+ "x": 1810.2498779296875,
+ "y": 644.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a502c1d2.11bac"
+ "84cae955.c44a18"
]
]
},
{
- "id": "975bc56b.8da928",
+ "id": "83b77a4c.913068",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1442.7498168945312,
- "y": 700.8334045410156,
- "z": "80e400ee.d5d12",
+ "x": 1443.2498779296875,
+ "y": 669.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "54ac459f.b652ac",
- "830eb37b.9f264",
- "7ffa87f6.e152c8"
+ "337a6d7b.201ca2",
+ "f844550d.858858",
+ "71d833e9.bcb87c"
]
]
},
{
- "id": "d644ce6f.1e8bc",
+ "id": "d45e1182.8850c",
"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": 1675.2498779296875,
- "y": 942.8333740234375,
- "z": "80e400ee.d5d12",
+ "x": 1675.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "9b9d77b5.691a98"
+ "fa30655b.b81a38"
]
]
},
{
- "id": "9b9d77b5.691a98",
+ "id": "fa30655b.b81a38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1860.2498779296875,
- "y": 942.8333740234375,
- "z": "80e400ee.d5d12",
+ "x": 1860.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7c4d044.899ebfc"
+ "7d0b6c03.8ed0d4"
]
]
},
{
- "id": "a502c1d2.11bac",
+ "id": "84cae955.c44a18",
"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": 1929.7498779296875,
- "y": 674.8333740234375,
- "z": "80e400ee.d5d12",
+ "x": 1930.2499389648438,
+ "y": 643.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "830eb37b.9f264",
+ "id": "f844550d.858858",
"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": 1621.66650390625,
- "y": 727.8334045410156,
- "z": "80e400ee.d5d12",
+ "x": 1622.1665649414062,
+ "y": 696.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "7c4d044.899ebfc",
+ "id": "7d0b6c03.8ed0d4",
"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": 1992.6666259765625,
- "y": 942.8333740234375,
- "z": "80e400ee.d5d12",
+ "x": 1993.1666870117188,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "7ffa87f6.e152c8",
+ "id": "71d833e9.bcb87c",
"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=\"`$activate-n-e-sw-input.common-header.request-id + '-' + $activate-n-e-sw-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='activate-n-e-sw'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$activate-n-e-sw-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$activate-n-e-sw-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$activate-n-e-sw-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$activate-n-e-sw-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$activate-n-e-sw-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$activate-n-e-sw-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$activate-n-e-sw-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$activate-n-e-sw-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": 1626.7498779296875,
- "y": 623.8333740234375,
- "z": "80e400ee.d5d12",
+ "x": 1627.2499389648438,
+ "y": 592.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "c84dc161.1f07e",
+ "id": "3cabde61.b46412",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1463.7498779296875,
- "y": 869.8333740234375,
- "z": "80e400ee.d5d12",
+ "x": 1464.2499389648438,
+ "y": 838.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d644ce6f.1e8bc",
- "e02d564.53570a8",
- "8a07c86f.108db8",
- "ad3c8533.605f78",
- "630cb023.71cae",
- "c2b9b6ea.5a9d68"
+ "d45e1182.8850c",
+ "1d4663f2.97eacc",
+ "a1b67568.88c2a8",
+ "b0abd019.0685d",
+ "cea269d5.6aca98",
+ "6bef098.93b85f8"
]
]
},
{
- "id": "c2b9b6ea.5a9d68",
+ "id": "6bef098.93b85f8",
"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=\"`$activate-n-e-sw-input.common-header.request-id + '-' + $activate-n-e-sw-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='activate-n-e-sw'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$activate-n-e-sw-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$activate-n-e-sw-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$activate-n-e-sw-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$activate-n-e-sw-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$activate-n-e-sw-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$activate-n-e-sw-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$activate-n-e-sw-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$activate-n-e-sw-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": 1661.9166564941406,
- "y": 856.5833864212036,
- "z": "80e400ee.d5d12",
+ "x": 1662.4167175292969,
+ "y": 825.5833866596222,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "a9afb547.0ddf48",
+ "id": "6d276eae.f7933",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 696.7499389648438,
- "y": 679.7500610351562,
- "z": "80e400ee.d5d12",
+ "x": 697.25,
+ "y": 648.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "f0c42ba4.b67c68"
+ "9564527e.7b80c"
]
]
},
{
- "id": "8b382fc0.d0fb6",
+ "id": "c74b1b59.de1648",
"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": 987.7499389648438,
- "y": 638.75,
- "z": "80e400ee.d5d12",
+ "x": 988.25,
+ "y": 607.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "f0c42ba4.b67c68",
+ "id": "9564527e.7b80c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 833.7499389648438,
- "y": 673.7500610351562,
- "z": "80e400ee.d5d12",
+ "x": 834.25,
+ "y": 642.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8b382fc0.d0fb6",
- "975bc56b.8da928"
+ "c74b1b59.de1648",
+ "83b77a4c.913068"
]
]
},
{
- "id": "b68ece2.1e4193",
+ "id": "c8196d34.a400d",
"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": 465.75,
- "y": 217.75,
- "z": "80e400ee.d5d12",
+ "x": 471.25006103515625,
+ "y": 182.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "da55f644.1843a8",
+ "id": "649bb274.68abac",
"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 = $activate-n-e-sw-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",
"comments": "",
"outputs": 1,
- "x": 1005.75,
- "y": 446.75,
- "z": "80e400ee.d5d12",
+ "x": 1004.5000762939453,
+ "y": 268.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "241297eb.3bb928"
+ "b63fd635.c47e78"
]
]
},
{
- "id": "241297eb.3bb928",
+ "id": "b63fd635.c47e78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1164.1407470703125,
- "y": 445.03399658203125,
- "z": "80e400ee.d5d12",
+ "x": 1185.3908882141113,
+ "y": 267.7840003967285,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "cfa2f0b.fb44f1"
+ "ed79a97b.65e818"
]
]
},
{
- "id": "3c8e8586.56a77a",
+ "id": "457d8530.6d929c",
"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": 394.7498779296875,
- "y": 634.75,
- "z": "80e400ee.d5d12",
+ "x": 395.24993896484375,
+ "y": 603.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "f8b2fbc0.6518d8",
+ "id": "3a91a794.6c88c8",
"type": "switchNode",
- "name": "switch pnf-flag",
- "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
+ "name": "switch pnf-name",
+ "xml": "<switch test=\"`$activate-n-e-sw-input.action-identifiers.pnf-name`\">\n",
"comments": "",
"outputs": 1,
- "x": 451.50000762939453,
- "y": 365.5000057220459,
- "z": "80e400ee.d5d12",
+ "x": 469.0000686645508,
+ "y": 314.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "46ff267a.c90aa8",
- "bde8f6f0.e6c498"
+ "ec14cee4.1522f",
+ "91fc3db3.48d8e"
]
]
},
{
- "id": "8345e48f.70abe8",
+ "id": "a485bdb7.2ebc2",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-n-e-sw-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",
"comments": "",
"outputs": 1,
- "x": 479.75,
- "y": 264.75,
- "z": "80e400ee.d5d12",
+ "x": 480.0000686645508,
+ "y": 242.00000286102295,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "46ff267a.c90aa8",
+ "id": "ec14cee4.1522f",
"type": "outcome",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 636.0000076293945,
- "y": 309.5000057220459,
- "z": "80e400ee.d5d12",
+ "x": 674.750072479248,
+ "y": 385.7500054836273,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "f3966cc8.0da64"
+ "e0ea6cf2.aa805"
]
]
},
{
- "id": "bde8f6f0.e6c498",
+ "id": "91fc3db3.48d8e",
"type": "outcome",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 638.4999465942383,
- "y": 417.2500057220459,
- "z": "80e400ee.d5d12",
+ "x": 679.0000114440918,
+ "y": 240.50001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d3bb6a51.85d388"
+ "50ddaf2.c52105"
]
]
},
{
- "id": "d3bb6a51.85d388",
+ "id": "50ddaf2.c52105",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 792.7499504089355,
- "y": 418.2500057220459,
- "z": "80e400ee.d5d12",
+ "x": 816.7500114440918,
+ "y": 240.75001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "da55f644.1843a8",
- "45bfd380.dd46ec"
+ "649bb274.68abac",
+ "1e906a40.6f9a16"
]
]
},
{
- "id": "56157871.379218",
+ "id": "45aa522.51b58ac",
"type": "set",
"name": "set AnsibleReq",
"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": 963.2500152587891,
- "y": 217.50000381469727,
- "z": "80e400ee.d5d12",
+ "x": 993.2500762939453,
+ "y": 328.5000047683716,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "45bfd380.dd46ec",
+ "id": "1e906a40.6f9a16",
"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 + '.activate-n-e-sw.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1014.75,
- "y": 390.75,
- "z": "80e400ee.d5d12",
+ "x": 1004.7500762939453,
+ "y": 203.50000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "f46185cf.a1ee68",
+ "id": "abab4d63.1772e",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 444.75,
- "y": 502.75,
- "z": "80e400ee.d5d12",
+ "x": 445.25006103515625,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "5a90bdd7.42d5d4"
+ "f88b349b.6807a8"
]
]
},
{
- "id": "5a90bdd7.42d5d4",
+ "id": "f88b349b.6807a8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 615.75,
- "y": 503.75,
- "z": "80e400ee.d5d12",
+ "x": 616.2500610351562,
+ "y": 472.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "731bf1bc.6221a"
+ "f3bc6541.44adb8"
]
]
},
{
- "id": "731bf1bc.6221a",
+ "id": "f3bc6541.44adb8",
"type": "set",
"name": "set playbookname",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.activate-n-e-sw.playbookname`'/>",
"comments": "",
- "x": 805.75,
- "y": 502.75,
- "z": "80e400ee.d5d12",
+ "x": 806.2500610351562,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "2f85a60c.ee77ca",
+ "id": "f1e5bbf5.b3f958",
"type": "switchNode",
"name": "switch nodelist",
"xml": "<switch test='`$nodelist`'>\n",
"comments": "",
"outputs": 1,
- "x": 434.75,
- "y": 561.75,
- "z": "80e400ee.d5d12",
+ "x": 422.7500686645508,
+ "y": 532.0000076293945,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "9d065183.934a9",
- "192e9813.2964f8"
+ "a1739b46.b31628",
+ "62d7e3df.33dd5c"
]
]
},
{
- "id": "9d065183.934a9",
+ "id": "a1739b46.b31628",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 614.75,
- "y": 554.75,
- "z": "80e400ee.d5d12",
+ "x": 615.2500610351562,
+ "y": 523.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8d09887f.874398"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "8d09887f.874398",
+ "id": "2cef64f9.c5e8ec",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
"comments": "",
- "x": 771.75,
- "y": 568.75,
- "z": "80e400ee.d5d12",
+ "x": 772.2500610351562,
+ "y": 537.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "192e9813.2964f8",
+ "id": "62d7e3df.33dd5c",
"type": "outcome",
"name": "empty",
"xml": "<outcome value=\"['']\">\n\n",
"comments": "",
"outputs": 1,
- "x": 613.75,
- "y": 598.75,
- "z": "80e400ee.d5d12",
+ "x": 614.2500610351562,
+ "y": 567.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8d09887f.874398"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "9162780a.f8e268",
+ "id": "7427e274.ca5cbc",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 1489.75,
- "y": 433.75,
- "z": "80e400ee.d5d12",
+ "x": 1512.250144958496,
+ "y": 229.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "81b68614.728d88"
+ "db001d9c.052e8"
]
]
},
{
- "id": "81b68614.728d88",
+ "id": "db001d9c.052e8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1667.75,
- "y": 433.75,
- "z": "80e400ee.d5d12",
+ "x": 1696.5001487731934,
+ "y": 228.75000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b348096f.426488"
+ "8e520dd.9047df"
]
]
},
{
- "id": "8c8f231.2f3fce",
+ "id": "8bd02c4a.6337d",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
"comments": "",
- "x": 1462.75,
- "y": 486.75,
- "z": "80e400ee.d5d12",
+ "x": 1482.5000686645508,
+ "y": 302.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "cfa2f0b.fb44f1",
+ "id": "ed79a97b.65e818",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1292.75,
- "y": 443.75,
- "z": "80e400ee.d5d12",
+ "x": 1320.250144958496,
+ "y": 268.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "9162780a.f8e268",
- "8c8f231.2f3fce"
+ "7427e274.ca5cbc",
+ "8bd02c4a.6337d"
]
]
},
{
- "id": "b348096f.426488",
+ "id": "8e520dd.9047df",
"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 + '.activate-n-e-sw.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1839.75,
- "y": 431.75,
- "z": "80e400ee.d5d12",
+ "x": 1877.2501487731934,
+ "y": 229.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "e02d564.53570a8",
+ "id": "1d4663f2.97eacc",
"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": 1689.75,
- "y": 775.75,
- "z": "80e400ee.d5d12",
+ "x": 1690.2500610351562,
+ "y": 744.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "8a07c86f.108db8",
+ "id": "a1b67568.88c2a8",
"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": 1695.75,
- "y": 820.75,
- "z": "80e400ee.d5d12",
+ "x": 1696.2500610351562,
+ "y": 789.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "ad3c8533.605f78",
+ "id": "b0abd019.0685d",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1681.7500228881836,
- "y": 896.5000133514404,
- "z": "80e400ee.d5d12",
+ "x": 1682.2500839233398,
+ "y": 865.500013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2f6e08da.3db698"
+ "94c5870c.1b9028"
]
]
},
{
- "id": "2f6e08da.3db698",
+ "id": "94c5870c.1b9028",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1855.7500267028809,
- "y": 896.7500133514404,
- "z": "80e400ee.d5d12",
+ "x": 1856.250087738037,
+ "y": 865.750013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "fb256275.6342b"
+ "f297c7ae.006d88"
]
]
},
{
- "id": "fb256275.6342b",
+ "id": "f297c7ae.006d88",
"type": "set",
"name": "set DmaapReq with payload",
"xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",
"comments": "",
- "x": 2054.000030517578,
- "y": 897.2500133514404,
- "z": "80e400ee.d5d12",
+ "x": 2054.5000915527344,
+ "y": 866.250013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "6841a778.ad0de8",
+ "id": "84168fc5.05e25",
"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": 2392.75,
- "y": 978.7499389648438,
- "z": "80e400ee.d5d12",
+ "x": 2393.2500610351562,
+ "y": 947.7499392032623,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "f60442ca.cb989",
+ "id": "7ba95e1a.d4b0c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1858.750244140625,
- "y": 1000.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 1859.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2e5e9fe5.78981"
+ "9599f2eb.e4f97"
]
]
},
{
- "id": "8462a034.c9b29",
+ "id": "5f979340.f0e31c",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1857.750244140625,
- "y": 1076.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 1858.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "bf2e605d.23ecf"
+ "1f06dd95.403012"
]
]
},
{
- "id": "630cb023.71cae",
+ "id": "cea269d5.6aca98",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1675.750244140625,
- "y": 1036.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 1676.2503051757812,
+ "y": 1005.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "f60442ca.cb989",
- "8462a034.c9b29"
+ "7ba95e1a.d4b0c",
+ "5f979340.f0e31c"
]
]
},
{
- "id": "bf013ab1.1fb0d8",
+ "id": "7d7bfbd9.1f17c4",
"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": 2433.750244140625,
- "y": 1060.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2434.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "2e5e9fe5.78981",
+ "id": "9599f2eb.e4f97",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2028.750244140625,
- "y": 1000.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2029.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "be7efeac.4cf1",
- "42860b2a.714e44"
+ "6b0748c.2505bb8",
+ "408c7b86.5c50a4"
]
]
},
{
- "id": "bf2e605d.23ecf",
+ "id": "1f06dd95.403012",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2028.750244140625,
- "y": 1076.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2029.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8746a2f7.f50b9",
- "10d01bab.10d144"
+ "284a16dd.c42b9a",
+ "b1e583b2.95cf8"
]
]
},
{
- "id": "805a4622.d587c8",
+ "id": "c7d7ae9a.c9b1a",
"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": 2386.750244140625,
- "y": 1016.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2387.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "682174af.42791c",
+ "id": "84f220b8.c18db",
"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": 2429.750244140625,
- "y": 1098.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2430.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "be7efeac.4cf1",
+ "id": "6b0748c.2505bb8",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2216.750244140625,
- "y": 978.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2217.2503051757812,
+ "y": 947.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6841a778.ad0de8"
+ "84168fc5.05e25"
]
]
},
{
- "id": "42860b2a.714e44",
+ "id": "408c7b86.5c50a4",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2197.750244140625,
- "y": 1016.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2198.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "805a4622.d587c8"
+ "c7d7ae9a.c9b1a"
]
]
},
{
- "id": "8746a2f7.f50b9",
+ "id": "284a16dd.c42b9a",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2217.750244140625,
- "y": 1060.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2218.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "bf013ab1.1fb0d8"
+ "7d7bfbd9.1f17c4"
]
]
},
{
- "id": "10d01bab.10d144",
+ "id": "b1e583b2.95cf8",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2199.750244140625,
- "y": 1098.7498779296875,
- "z": "80e400ee.d5d12",
+ "x": 2200.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "682174af.42791c"
+ "84f220b8.c18db"
]
]
},
{
- "id": "f3966cc8.0da64",
+ "id": "e0ea6cf2.aa805",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 795.0000114440918,
- "y": 268.00000381469727,
- "z": "80e400ee.d5d12",
+ "x": 806.750072479248,
+ "y": 385.25000524520874,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "56157871.379218",
- "9e4ffafa.75a808"
+ "45aa522.51b58ac",
+ "71c4da42.247694",
+ "c3246832.b79218"
]
]
},
{
- "id": "9e4ffafa.75a808",
+ "id": "71c4da42.247694",
"type": "switchNode",
"name": "switch playbook-name in req",
"xml": "<switch test='`$payloadJson.playbook-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1001.2500133514404,
- "y": 312.50000381469727,
- "z": "80e400ee.d5d12",
+ "x": 1035.2500762939453,
+ "y": 381.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "ba1ac3af.ccabe",
- "2e2bb815.cefac8"
+ "47ca03ae.82311c",
+ "3d9f5c17.e59e74"
]
]
},
{
- "id": "ba1ac3af.ccabe",
+ "id": "47ca03ae.82311c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1208.7500190734863,
- "y": 276.25000381469727,
- "z": "80e400ee.d5d12",
+ "x": 1247.7501411437988,
+ "y": 352.5000057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c5a71ca3.66b2f"
+ "af284dab.4b361"
]
]
},
{
- "id": "2e2bb815.cefac8",
+ "id": "3d9f5c17.e59e74",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1207.5000228881836,
- "y": 341.25000381469727,
- "z": "80e400ee.d5d12",
+ "x": 1247.2501411437988,
+ "y": 408.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "bcca1cae.d0d1b"
+ "753113cf.9764ec"
]
]
},
{
- "id": "c5a71ca3.66b2f",
+ "id": "af284dab.4b361",
"type": "set",
"name": "set playbookname from prop",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.activate-n-e-sw.playbookname`'/>\n",
"comments": "",
- "x": 1411.2500228881836,
- "y": 276.25000381469727,
- "z": "80e400ee.d5d12",
+ "x": 1454.750144958496,
+ "y": 352.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "bcca1cae.d0d1b",
+ "id": "753113cf.9764ec",
"type": "set",
"name": "set playbookname from req",
"xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",
"comments": "",
- "x": 1406.2500228881836,
- "y": 341.25000381469727,
- "z": "80e400ee.d5d12",
+ "x": 1457.250144958496,
+ "y": 407.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
+ },
+ {
+ "id": "c3246832.b79218",
+ "type": "execute",
+ "name": "execute updateJsonObjectString",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>\n\t<parameter name='source' value='activate-n-e-sw-input.payload' />\n\t<parameter name='outputPath' value='activate-n-e-sw-input.payload' />\n\t<parameter name='add.pnf-flag' value='true' />\n\t<parameter name='add.pnfName' value=\"`$activate-n-e-sw-input.action-identifiers.pnf-name`\" />\n\t<parameter name='delete.ipaddress-v4-oam' value=\"\" />\n\t<parameter name='delete.playbook-name' value=\"\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1047.5000762939453,
+ "y": 440.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
+ "wires": [
+ []
+ ]
}
]
diff --git a/platform-logic/lcm/src/main/json/LCM_download-n-e-sw.json b/platform-logic/lcm/src/main/json/LCM_download-n-e-sw.json
index c8c37ded..4d96f913 100644
--- a/platform-logic/lcm/src/main/json/LCM_download-n-e-sw.json
+++ b/platform-logic/lcm/src/main/json/LCM_download-n-e-sw.json
@@ -1,22 +1,22 @@
[
{
- "id": "55ea77c7.c7aaf8",
+ "id": "bf535237.4809",
"type": "method",
"name": "download-n-e-sw",
"xml": "<method rpc='download-n-e-sw' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 517.5,
- "y": 82.5,
- "z": "aaefae8.7cdde5",
+ "x": 527.2500610351562,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2b509841.1bb1b8"
+ "37dfcf3b.f289c"
]
]
},
{
- "id": "f860454e.516f68",
+ "id": "abaeb654.ecf048",
"type": "service-logic",
"name": "LCM ${project.version}",
"module": "LCM",
@@ -24,1133 +24,1148 @@
"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": 305.49993896484375,
- "y": 83.5,
- "z": "aaefae8.7cdde5",
+ "x": 315.25,
+ "y": 29.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "55ea77c7.c7aaf8"
+ "bf535237.4809"
]
]
},
{
- "id": "3c12dd23.f55fc2",
+ "id": "4ca554b1.64cfac",
"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='`$download-n-e-sw-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='`$download-n-e-sw-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",
"comments": "",
"outputs": 1,
- "x": 419.50001525878906,
- "y": 729.5,
- "z": "aaefae8.7cdde5",
+ "x": 429.2500762939453,
+ "y": 675.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "702a1f7c.b1656",
- "3466714f.c34fee",
- "723fe3bb.3ebb6c"
+ "41993dbd.510e94",
+ "eb0cf86.0ae1308",
+ "6d276eae.f7933"
]
]
},
{
- "id": "1fbe29b8.79e9a6",
+ "id": "cda0d255.88e57",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 819.4999389648438,
- "y": 837.5000305175781,
- "z": "aaefae8.7cdde5",
+ "x": 829.25,
+ "y": 783.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "e21bdb83.8c61a8",
- "69412d2a.6002b4",
- "e6c8aa89.6ba308"
+ "d3ad30a5.7e40b",
+ "5d5c8e87.4569f",
+ "e91d746f.ee24d8"
]
]
},
{
- "id": "e21bdb83.8c61a8",
+ "id": "d3ad30a5.7e40b",
"type": "other",
"name": "outcome 500",
"xml": "<outcome value='500'>\n",
"comments": "",
"outputs": 1,
- "x": 964.4999389648438,
- "y": 835.5000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 974.25,
+ "y": 781.7500383853912,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6d845856.14a2d8"
+ "83b77a4c.913068"
]
]
},
{
- "id": "69412d2a.6002b4",
+ "id": "5d5c8e87.4569f",
"type": "other",
"name": "outcome 100",
"xml": "<outcome value='100'>\n",
"comments": "",
"outputs": 1,
- "x": 961.4999389648438,
- "y": 892.5000305175781,
- "z": "aaefae8.7cdde5",
+ "x": 971.25,
+ "y": 838.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "fa5ccee2.129f2"
+ "9160ee3f.90cdf"
]
]
},
{
- "id": "fa5ccee2.129f2",
+ "id": "9160ee3f.90cdf",
"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": 1149.4999389648438,
- "y": 891.5000305175781,
- "z": "aaefae8.7cdde5",
+ "x": 1159.25,
+ "y": 837.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d24bd12c.3cee7",
- "a5a12b22.9ef4c8"
+ "9f6f87a0.ed34a8",
+ "40d1e66e.058b58"
]
]
},
{
- "id": "3466714f.c34fee",
+ "id": "eb0cf86.0ae1308",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 678.4999389648438,
- "y": 750.5000915527344,
- "z": "aaefae8.7cdde5",
+ "x": 688.25,
+ "y": 696.750091791153,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6d845856.14a2d8"
+ "83b77a4c.913068"
]
]
},
{
- "id": "702a1f7c.b1656",
+ "id": "41993dbd.510e94",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 680.4999389648438,
- "y": 802.5000610351562,
- "z": "aaefae8.7cdde5",
+ "x": 690.25,
+ "y": 748.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "1fbe29b8.79e9a6"
+ "cda0d255.88e57"
]
]
},
{
- "id": "d24bd12c.3cee7",
+ "id": "9f6f87a0.ed34a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1318.4998779296875,
- "y": 873.5000610351562,
- "z": "aaefae8.7cdde5",
+ "x": 1328.2499389648438,
+ "y": 819.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "5c41d4da.af8bdc"
+ "3cabde61.b46412"
]
]
},
{
- "id": "e6c8aa89.6ba308",
+ "id": "e91d746f.ee24d8",
"type": "other",
"name": "outcome 101",
"xml": "<outcome value='101'>\n",
"comments": "",
"outputs": 1,
- "x": 961.4999389648438,
- "y": 793.5000686645508,
- "z": "aaefae8.7cdde5",
+ "x": 971.25,
+ "y": 739.7500689029694,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6d845856.14a2d8"
+ "83b77a4c.913068"
]
]
},
{
- "id": "a5a12b22.9ef4c8",
+ "id": "40d1e66e.058b58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1322.4998779296875,
- "y": 917.5001220703125,
- "z": "aaefae8.7cdde5",
+ "x": 1332.2499389648438,
+ "y": 863.7501223087311,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "5c41d4da.af8bdc"
+ "3cabde61.b46412"
]
]
},
{
- "id": "aed237db.c85d98",
+ "id": "ea9b4886.c48198",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 120.5,
- "y": 82.5,
- "z": "aaefae8.7cdde5",
+ "x": 130.25006103515625,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "f860454e.516f68"
+ "abaeb654.ecf048"
]
]
},
{
- "id": "2b509841.1bb1b8",
+ "id": "37dfcf3b.f289c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 165.41669082641602,
- "y": 233.58334636688232,
- "z": "aaefae8.7cdde5",
+ "x": 175.16675186157227,
+ "y": 179.8333466053009,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "3c12dd23.f55fc2",
- "d8d13cba.ced29",
- "d57bc3f1.44367",
- "b01a324f.c5221",
- "ef479112.da0ef",
- "abcb3779.7bf4c8",
- "78e77692.545348",
- "3d9fed7.7ae0b12"
+ "4ca554b1.64cfac",
+ "b98c2ec9.d8038",
+ "c8196d34.a400d",
+ "a485bdb7.2ebc2",
+ "3a91a794.6c88c8",
+ "abab4d63.1772e",
+ "457d8530.6d929c",
+ "f1e5bbf5.b3f958"
]
]
},
{
- "id": "d8d13cba.ced29",
+ "id": "b98c2ec9.d8038",
"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": 463.5000305175781,
- "y": 193.58334350585938,
- "z": "aaefae8.7cdde5",
+ "x": 475.2500915527344,
+ "y": 126.83334374427795,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "59c76955.33a148",
+ "id": "337a6d7b.201ca2",
"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": 1630.4998779296875,
- "y": 699.5834045410156,
- "z": "aaefae8.7cdde5",
+ "x": 1640.2499389648438,
+ "y": 645.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "1e820140.09a68f"
+ "96c73638.cb9ab8"
]
]
},
{
- "id": "1e820140.09a68f",
+ "id": "96c73638.cb9ab8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1800.4998168945312,
- "y": 698.5834045410156,
- "z": "aaefae8.7cdde5",
+ "x": 1810.2498779296875,
+ "y": 644.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "5d139413.0e125c"
+ "84cae955.c44a18"
]
]
},
{
- "id": "6d845856.14a2d8",
+ "id": "83b77a4c.913068",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1433.4998168945312,
- "y": 723.5834045410156,
- "z": "aaefae8.7cdde5",
+ "x": 1443.2498779296875,
+ "y": 669.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "59c76955.33a148",
- "f23fc981.deb168",
- "ef1fd87.e819d28"
+ "337a6d7b.201ca2",
+ "f844550d.858858",
+ "71d833e9.bcb87c"
]
]
},
{
- "id": "3be21092.8cfeb",
+ "id": "d45e1182.8850c",
"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": 1665.9998779296875,
- "y": 965.5833740234375,
- "z": "aaefae8.7cdde5",
+ "x": 1675.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6fc43c73.d4fad4"
+ "fa30655b.b81a38"
]
]
},
{
- "id": "6fc43c73.d4fad4",
+ "id": "fa30655b.b81a38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1850.9998779296875,
- "y": 965.5833740234375,
- "z": "aaefae8.7cdde5",
+ "x": 1860.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "3fb5d721.f40458"
+ "7d0b6c03.8ed0d4"
]
]
},
{
- "id": "5d139413.0e125c",
+ "id": "84cae955.c44a18",
"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": 1920.4998779296875,
- "y": 697.5833740234375,
- "z": "aaefae8.7cdde5",
+ "x": 1930.2499389648438,
+ "y": 643.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "f23fc981.deb168",
+ "id": "f844550d.858858",
"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": 1612.41650390625,
- "y": 750.5834045410156,
- "z": "aaefae8.7cdde5",
+ "x": 1622.1665649414062,
+ "y": 696.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "3fb5d721.f40458",
+ "id": "7d0b6c03.8ed0d4",
"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": 1983.4166259765625,
- "y": 965.5833740234375,
- "z": "aaefae8.7cdde5",
+ "x": 1993.1666870117188,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "ef1fd87.e819d28",
+ "id": "71d833e9.bcb87c",
"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=\"`$download-n-e-sw-input.common-header.request-id + '-' + $download-n-e-sw-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='download-n-e-sw'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$download-n-e-sw-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$download-n-e-sw-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$download-n-e-sw-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$download-n-e-sw-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$download-n-e-sw-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$download-n-e-sw-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$download-n-e-sw-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$download-n-e-sw-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": 1617.4998779296875,
- "y": 646.5833740234375,
- "z": "aaefae8.7cdde5",
+ "x": 1627.2499389648438,
+ "y": 592.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "5c41d4da.af8bdc",
+ "id": "3cabde61.b46412",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1454.4998779296875,
- "y": 892.5833740234375,
- "z": "aaefae8.7cdde5",
+ "x": 1464.2499389648438,
+ "y": 838.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "3be21092.8cfeb",
- "a47cc713.5015a8",
- "f12f37dc.2169f8",
- "bdc86fd1.79a2a",
- "c109396a.17fb38",
- "f3261d43.39148"
+ "d45e1182.8850c",
+ "1d4663f2.97eacc",
+ "a1b67568.88c2a8",
+ "b0abd019.0685d",
+ "cea269d5.6aca98",
+ "6bef098.93b85f8"
]
]
},
{
- "id": "f3261d43.39148",
+ "id": "6bef098.93b85f8",
"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=\"`$download-n-e-sw-input.common-header.request-id + '-' + $download-n-e-sw-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='download-n-e-sw'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$download-n-e-sw-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$download-n-e-sw-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$download-n-e-sw-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$download-n-e-sw-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$download-n-e-sw-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$download-n-e-sw-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$download-n-e-sw-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$download-n-e-sw-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": 1652.6666564941406,
- "y": 879.3333864212036,
- "z": "aaefae8.7cdde5",
+ "x": 1662.4167175292969,
+ "y": 825.5833866596222,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "723fe3bb.3ebb6c",
+ "id": "6d276eae.f7933",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 687.4999389648438,
- "y": 702.5000610351562,
- "z": "aaefae8.7cdde5",
+ "x": 697.25,
+ "y": 648.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "e40ab4bf.ad59c8"
+ "9564527e.7b80c"
]
]
},
{
- "id": "c9fdb891.fe1038",
+ "id": "c74b1b59.de1648",
"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": 978.4999389648438,
- "y": 661.5,
- "z": "aaefae8.7cdde5",
+ "x": 988.25,
+ "y": 607.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "e40ab4bf.ad59c8",
+ "id": "9564527e.7b80c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 824.4999389648438,
- "y": 696.5000610351562,
- "z": "aaefae8.7cdde5",
+ "x": 834.25,
+ "y": 642.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c9fdb891.fe1038",
- "6d845856.14a2d8"
+ "c74b1b59.de1648",
+ "83b77a4c.913068"
]
]
},
{
- "id": "d57bc3f1.44367",
+ "id": "c8196d34.a400d",
"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": 456.5,
- "y": 240.5,
- "z": "aaefae8.7cdde5",
+ "x": 471.25006103515625,
+ "y": 182.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "2ec58c40.3b0264",
+ "id": "649bb274.68abac",
"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 = $download-n-e-sw-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",
"comments": "",
"outputs": 1,
- "x": 996.5,
- "y": 469.5,
- "z": "aaefae8.7cdde5",
+ "x": 1004.5000762939453,
+ "y": 268.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "1ec47fcb.d5d72"
+ "b63fd635.c47e78"
]
]
},
{
- "id": "1ec47fcb.d5d72",
+ "id": "b63fd635.c47e78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1154.8907470703125,
- "y": 467.78399658203125,
- "z": "aaefae8.7cdde5",
+ "x": 1185.3908882141113,
+ "y": 267.7840003967285,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "965c2b6a.d85768"
+ "ed79a97b.65e818"
]
]
},
{
- "id": "78e77692.545348",
+ "id": "457d8530.6d929c",
"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": 385.4998779296875,
- "y": 657.5,
- "z": "aaefae8.7cdde5",
+ "x": 395.24993896484375,
+ "y": 603.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "ef479112.da0ef",
+ "id": "3a91a794.6c88c8",
"type": "switchNode",
- "name": "switch pnf-flag",
- "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
+ "name": "switch pnf-name",
+ "xml": "<switch test=\"`$download-n-e-sw-input.action-identifiers.pnf-name`\">\n",
"comments": "",
"outputs": 1,
- "x": 442.25000762939453,
- "y": 388.2500057220459,
- "z": "aaefae8.7cdde5",
+ "x": 469.0000686645508,
+ "y": 314.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "4b54c828.c73518",
- "a6d6b0bb.89982"
+ "ec14cee4.1522f",
+ "91fc3db3.48d8e"
]
]
},
{
- "id": "b01a324f.c5221",
+ "id": "a485bdb7.2ebc2",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='download-n-e-sw-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",
"comments": "",
"outputs": 1,
- "x": 470.5,
- "y": 287.5,
- "z": "aaefae8.7cdde5",
+ "x": 480.0000686645508,
+ "y": 242.00000286102295,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "4b54c828.c73518",
+ "id": "ec14cee4.1522f",
"type": "outcome",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 626.7500076293945,
- "y": 332.2500057220459,
- "z": "aaefae8.7cdde5",
+ "x": 674.750072479248,
+ "y": 385.7500054836273,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a7c85df0.70769"
+ "e0ea6cf2.aa805"
]
]
},
{
- "id": "a6d6b0bb.89982",
+ "id": "91fc3db3.48d8e",
"type": "outcome",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 629.2499465942383,
- "y": 440.0000057220459,
- "z": "aaefae8.7cdde5",
+ "x": 679.0000114440918,
+ "y": 240.50001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "66a07516.de565c"
+ "50ddaf2.c52105"
]
]
},
{
- "id": "66a07516.de565c",
+ "id": "50ddaf2.c52105",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 783.4999504089355,
- "y": 441.0000057220459,
- "z": "aaefae8.7cdde5",
+ "x": 816.7500114440918,
+ "y": 240.75001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2ec58c40.3b0264",
- "413ce905.d63568"
+ "649bb274.68abac",
+ "1e906a40.6f9a16"
]
]
},
{
- "id": "a51744cb.1eab38",
+ "id": "45aa522.51b58ac",
"type": "set",
"name": "set AnsibleReq",
"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": 954.0000152587891,
- "y": 240.25000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 993.2500762939453,
+ "y": 328.5000047683716,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "413ce905.d63568",
+ "id": "1e906a40.6f9a16",
"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 + '.download-n-e-sw.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1005.5,
- "y": 413.5,
- "z": "aaefae8.7cdde5",
+ "x": 1004.7500762939453,
+ "y": 203.50000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "abcb3779.7bf4c8",
+ "id": "abab4d63.1772e",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 435.5,
- "y": 525.5,
- "z": "aaefae8.7cdde5",
+ "x": 445.25006103515625,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "e39a2e5d.f73e8"
+ "f88b349b.6807a8"
]
]
},
{
- "id": "e39a2e5d.f73e8",
+ "id": "f88b349b.6807a8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 606.5,
- "y": 526.5,
- "z": "aaefae8.7cdde5",
+ "x": 616.2500610351562,
+ "y": 472.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8b7cb986.cf8ca8"
+ "f3bc6541.44adb8"
]
]
},
{
- "id": "8b7cb986.cf8ca8",
+ "id": "f3bc6541.44adb8",
"type": "set",
"name": "set playbookname",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.download-n-e-sw.playbookname`'/>",
"comments": "",
- "x": 796.5,
- "y": 525.5,
- "z": "aaefae8.7cdde5",
+ "x": 806.2500610351562,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "3d9fed7.7ae0b12",
+ "id": "f1e5bbf5.b3f958",
"type": "switchNode",
"name": "switch nodelist",
"xml": "<switch test='`$nodelist`'>\n",
"comments": "",
"outputs": 1,
- "x": 425.5,
- "y": 584.5,
- "z": "aaefae8.7cdde5",
+ "x": 422.7500686645508,
+ "y": 532.0000076293945,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "59f5a5a3.47579c",
- "4921ac90.8db2d4"
+ "a1739b46.b31628",
+ "62d7e3df.33dd5c"
]
]
},
{
- "id": "59f5a5a3.47579c",
+ "id": "a1739b46.b31628",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 605.5,
- "y": 577.5,
- "z": "aaefae8.7cdde5",
+ "x": 615.2500610351562,
+ "y": 523.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "573f641a.cee56c"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "573f641a.cee56c",
+ "id": "2cef64f9.c5e8ec",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
"comments": "",
- "x": 762.5,
- "y": 591.5,
- "z": "aaefae8.7cdde5",
+ "x": 772.2500610351562,
+ "y": 537.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "4921ac90.8db2d4",
+ "id": "62d7e3df.33dd5c",
"type": "outcome",
"name": "empty",
"xml": "<outcome value=\"['']\">\n\n",
"comments": "",
"outputs": 1,
- "x": 604.5,
- "y": 621.5,
- "z": "aaefae8.7cdde5",
+ "x": 614.2500610351562,
+ "y": 567.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "573f641a.cee56c"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "1d44a807.979a68",
+ "id": "7427e274.ca5cbc",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 1480.5,
- "y": 456.5,
- "z": "aaefae8.7cdde5",
+ "x": 1512.250144958496,
+ "y": 229.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "fa1ad15d.05e4f"
+ "db001d9c.052e8"
]
]
},
{
- "id": "fa1ad15d.05e4f",
+ "id": "db001d9c.052e8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1658.5,
- "y": 456.5,
- "z": "aaefae8.7cdde5",
+ "x": 1696.5001487731934,
+ "y": 228.75000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "bb5ab3e9.32bfe"
+ "8e520dd.9047df"
]
]
},
{
- "id": "d971b27c.85ffb",
+ "id": "8bd02c4a.6337d",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
"comments": "",
- "x": 1453.5,
- "y": 509.5,
- "z": "aaefae8.7cdde5",
+ "x": 1482.5000686645508,
+ "y": 302.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "965c2b6a.d85768",
+ "id": "ed79a97b.65e818",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1283.5,
- "y": 466.5,
- "z": "aaefae8.7cdde5",
+ "x": 1320.250144958496,
+ "y": 268.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "1d44a807.979a68",
- "d971b27c.85ffb"
+ "7427e274.ca5cbc",
+ "8bd02c4a.6337d"
]
]
},
{
- "id": "bb5ab3e9.32bfe",
+ "id": "8e520dd.9047df",
"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 + '.download-n-e-sw.playbookname'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1830.5,
- "y": 454.5,
- "z": "aaefae8.7cdde5",
+ "x": 1877.2501487731934,
+ "y": 229.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "a47cc713.5015a8",
+ "id": "1d4663f2.97eacc",
"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": 1680.5,
- "y": 798.5,
- "z": "aaefae8.7cdde5",
+ "x": 1690.2500610351562,
+ "y": 744.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "f12f37dc.2169f8",
+ "id": "a1b67568.88c2a8",
"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": 1686.5,
- "y": 843.5,
- "z": "aaefae8.7cdde5",
+ "x": 1696.2500610351562,
+ "y": 789.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "bdc86fd1.79a2a",
+ "id": "b0abd019.0685d",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1672.5000228881836,
- "y": 919.2500133514404,
- "z": "aaefae8.7cdde5",
+ "x": 1682.2500839233398,
+ "y": 865.500013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2f36dec8.740a42"
+ "94c5870c.1b9028"
]
]
},
{
- "id": "2f36dec8.740a42",
+ "id": "94c5870c.1b9028",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1846.5000267028809,
- "y": 919.5000133514404,
- "z": "aaefae8.7cdde5",
+ "x": 1856.250087738037,
+ "y": 865.750013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "853dae30.016ee"
+ "f297c7ae.006d88"
]
]
},
{
- "id": "853dae30.016ee",
+ "id": "f297c7ae.006d88",
"type": "set",
"name": "set DmaapReq with payload",
"xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",
"comments": "",
- "x": 2044.7500305175781,
- "y": 920.0000133514404,
- "z": "aaefae8.7cdde5",
+ "x": 2054.5000915527344,
+ "y": 866.250013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "5c7715ed.9be92c",
+ "id": "84168fc5.05e25",
"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": 2383.5,
- "y": 1001.4999389648438,
- "z": "aaefae8.7cdde5",
+ "x": 2393.2500610351562,
+ "y": 947.7499392032623,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "28c68fe3.efea9",
+ "id": "7ba95e1a.d4b0c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1849.500244140625,
- "y": 1023.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 1859.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a9a9fe09.b61e3"
+ "9599f2eb.e4f97"
]
]
},
{
- "id": "5d230e53.c839",
+ "id": "5f979340.f0e31c",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1848.500244140625,
- "y": 1099.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 1858.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "dfd73a35.03cf08"
+ "1f06dd95.403012"
]
]
},
{
- "id": "c109396a.17fb38",
+ "id": "cea269d5.6aca98",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1666.500244140625,
- "y": 1059.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 1676.2503051757812,
+ "y": 1005.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "28c68fe3.efea9",
- "5d230e53.c839"
+ "7ba95e1a.d4b0c",
+ "5f979340.f0e31c"
]
]
},
{
- "id": "6c0f75e0.de0a7c",
+ "id": "7d7bfbd9.1f17c4",
"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": 2424.500244140625,
- "y": 1083.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2434.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "a9a9fe09.b61e3",
+ "id": "9599f2eb.e4f97",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2019.500244140625,
- "y": 1023.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2029.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2a0478da.0a2cd8",
- "75baaadd.3d42e4"
+ "6b0748c.2505bb8",
+ "408c7b86.5c50a4"
]
]
},
{
- "id": "dfd73a35.03cf08",
+ "id": "1f06dd95.403012",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2019.500244140625,
- "y": 1099.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2029.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d0213f1f.6f647",
- "8fe55255.6d458"
+ "284a16dd.c42b9a",
+ "b1e583b2.95cf8"
]
]
},
{
- "id": "7779e202.96c07c",
+ "id": "c7d7ae9a.c9b1a",
"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": 2377.500244140625,
- "y": 1039.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2387.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "31e7a133.6072ee",
+ "id": "84f220b8.c18db",
"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": 2420.500244140625,
- "y": 1121.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2430.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "2a0478da.0a2cd8",
+ "id": "6b0748c.2505bb8",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2207.500244140625,
- "y": 1001.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2217.2503051757812,
+ "y": 947.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "5c7715ed.9be92c"
+ "84168fc5.05e25"
]
]
},
{
- "id": "75baaadd.3d42e4",
+ "id": "408c7b86.5c50a4",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2188.500244140625,
- "y": 1039.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2198.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7779e202.96c07c"
+ "c7d7ae9a.c9b1a"
]
]
},
{
- "id": "d0213f1f.6f647",
+ "id": "284a16dd.c42b9a",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2208.500244140625,
- "y": 1083.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2218.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6c0f75e0.de0a7c"
+ "7d7bfbd9.1f17c4"
]
]
},
{
- "id": "8fe55255.6d458",
+ "id": "b1e583b2.95cf8",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2190.500244140625,
- "y": 1121.4998779296875,
- "z": "aaefae8.7cdde5",
+ "x": 2200.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "31e7a133.6072ee"
+ "84f220b8.c18db"
]
]
},
{
- "id": "a7c85df0.70769",
+ "id": "e0ea6cf2.aa805",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 785.7500114440918,
- "y": 290.75000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 806.750072479248,
+ "y": 385.25000524520874,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a51744cb.1eab38",
- "43f4bcd8.6f59d4"
+ "45aa522.51b58ac",
+ "71c4da42.247694",
+ "c3246832.b79218"
]
]
},
{
- "id": "43f4bcd8.6f59d4",
+ "id": "71c4da42.247694",
"type": "switchNode",
"name": "switch playbook-name in req",
"xml": "<switch test='`$payloadJson.playbook-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 992.0000133514404,
- "y": 335.25000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 1035.2500762939453,
+ "y": 381.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8524b6c2.ab2718",
- "c8dfea1c.562698"
+ "47ca03ae.82311c",
+ "3d9f5c17.e59e74"
]
]
},
{
- "id": "8524b6c2.ab2718",
+ "id": "47ca03ae.82311c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1199.5000190734863,
- "y": 299.00000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 1247.7501411437988,
+ "y": 352.5000057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "85b8a591.020658"
+ "af284dab.4b361"
]
]
},
{
- "id": "c8dfea1c.562698",
+ "id": "3d9f5c17.e59e74",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1198.2500228881836,
- "y": 364.00000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 1247.2501411437988,
+ "y": 408.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "33ec26fd.e2b39a"
+ "753113cf.9764ec"
]
]
},
{
- "id": "85b8a591.020658",
+ "id": "af284dab.4b361",
"type": "set",
"name": "set playbookname from prop",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.download-n-e-sw.playbookname`'/>\n",
"comments": "",
- "x": 1402.0000228881836,
- "y": 299.00000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 1454.750144958496,
+ "y": 352.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "33ec26fd.e2b39a",
+ "id": "753113cf.9764ec",
"type": "set",
"name": "set playbookname from req",
"xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",
"comments": "",
- "x": 1397.0000228881836,
- "y": 364.00000381469727,
- "z": "aaefae8.7cdde5",
+ "x": 1457.250144958496,
+ "y": 407.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
+ },
+ {
+ "id": "c3246832.b79218",
+ "type": "execute",
+ "name": "execute updateJsonObjectString",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>\n\t<parameter name='source' value='download-n-e-sw-input.payload' />\n\t<parameter name='outputPath' value='download-n-e-sw-input.payload' />\n\t<parameter name='add.pnf-flag' value='true' />\n\t<parameter name='add.pnfName' value=\"`$download-n-e-sw-input.action-identifiers.pnf-name`\" />\n\t<parameter name='delete.ipaddress-v4-oam' value=\"\" />\n\t<parameter name='delete.playbook-name' value=\"\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1047.5000762939453,
+ "y": 440.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
+ "wires": [
+ []
+ ]
}
-]
+] \ No newline at end of file
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 a17cdf76..0b409905 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": "c2e43cb1.7f88d",
+ "id": "bf535237.4809",
"type": "method",
"name": "upgrade-post-check",
"xml": "<method rpc='upgrade-post-check' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 521.25,
- "y": 45,
- "z": "29d3492e.6e65c6",
+ "x": 527.2500610351562,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7a82a4e1.74051c"
+ "37dfcf3b.f289c"
]
]
},
{
- "id": "c7c3a05a.217d3",
+ "id": "abaeb654.ecf048",
"type": "service-logic",
"name": "LCM ${project.version}",
"module": "LCM",
@@ -24,1133 +24,1148 @@
"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": 309.24993896484375,
- "y": 46,
- "z": "29d3492e.6e65c6",
+ "x": 315.25,
+ "y": 29.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c2e43cb1.7f88d"
+ "bf535237.4809"
]
]
},
{
- "id": "4aa2e04.16b662",
+ "id": "4ca554b1.64cfac",
"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": 423.25001525878906,
- "y": 692,
- "z": "29d3492e.6e65c6",
+ "x": 429.2500762939453,
+ "y": 675.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "dfb73c1.130adc",
- "ba520b63.5fbad8",
- "37993504.393d8a"
+ "41993dbd.510e94",
+ "eb0cf86.0ae1308",
+ "6d276eae.f7933"
]
]
},
{
- "id": "22e681c3.fbf5ce",
+ "id": "cda0d255.88e57",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 823.2499389648438,
- "y": 800.0000305175781,
- "z": "29d3492e.6e65c6",
+ "x": 829.25,
+ "y": 783.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a39e090c.01cdb8",
- "5c6685ba.e0353c",
- "875ad319.3c857"
+ "d3ad30a5.7e40b",
+ "5d5c8e87.4569f",
+ "e91d746f.ee24d8"
]
]
},
{
- "id": "a39e090c.01cdb8",
+ "id": "d3ad30a5.7e40b",
"type": "other",
"name": "outcome 500",
"xml": "<outcome value='500'>\n",
"comments": "",
"outputs": 1,
- "x": 968.2499389648438,
- "y": 798.0000381469727,
- "z": "29d3492e.6e65c6",
+ "x": 974.25,
+ "y": 781.7500383853912,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "35d55016.e4b95"
+ "83b77a4c.913068"
]
]
},
{
- "id": "5c6685ba.e0353c",
+ "id": "5d5c8e87.4569f",
"type": "other",
"name": "outcome 100",
"xml": "<outcome value='100'>\n",
"comments": "",
"outputs": 1,
- "x": 965.2499389648438,
- "y": 855.0000305175781,
- "z": "29d3492e.6e65c6",
+ "x": 971.25,
+ "y": 838.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "57b98d51.2b4284"
+ "9160ee3f.90cdf"
]
]
},
{
- "id": "57b98d51.2b4284",
+ "id": "9160ee3f.90cdf",
"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": 1153.2499389648438,
- "y": 854.0000305175781,
- "z": "29d3492e.6e65c6",
+ "x": 1159.25,
+ "y": 837.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6c05563.cc2bca8",
- "37d17f6d.5fa27"
+ "9f6f87a0.ed34a8",
+ "40d1e66e.058b58"
]
]
},
{
- "id": "ba520b63.5fbad8",
+ "id": "eb0cf86.0ae1308",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 682.2499389648438,
- "y": 713.0000915527344,
- "z": "29d3492e.6e65c6",
+ "x": 688.25,
+ "y": 696.750091791153,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "35d55016.e4b95"
+ "83b77a4c.913068"
]
]
},
{
- "id": "dfb73c1.130adc",
+ "id": "41993dbd.510e94",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 684.2499389648438,
- "y": 765.0000610351562,
- "z": "29d3492e.6e65c6",
+ "x": 690.25,
+ "y": 748.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "22e681c3.fbf5ce"
+ "cda0d255.88e57"
]
]
},
{
- "id": "6c05563.cc2bca8",
+ "id": "9f6f87a0.ed34a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1322.2498779296875,
- "y": 836.0000610351562,
- "z": "29d3492e.6e65c6",
+ "x": 1328.2499389648438,
+ "y": 819.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "9c19d3c7.c09df"
+ "3cabde61.b46412"
]
]
},
{
- "id": "875ad319.3c857",
+ "id": "e91d746f.ee24d8",
"type": "other",
"name": "outcome 101",
"xml": "<outcome value='101'>\n",
"comments": "",
"outputs": 1,
- "x": 965.2499389648438,
- "y": 756.0000686645508,
- "z": "29d3492e.6e65c6",
+ "x": 971.25,
+ "y": 739.7500689029694,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "35d55016.e4b95"
+ "83b77a4c.913068"
]
]
},
{
- "id": "37d17f6d.5fa27",
+ "id": "40d1e66e.058b58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1326.2498779296875,
- "y": 880.0001220703125,
- "z": "29d3492e.6e65c6",
+ "x": 1332.2499389648438,
+ "y": 863.7501223087311,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "9c19d3c7.c09df"
+ "3cabde61.b46412"
]
]
},
{
- "id": "3d249d1c.21ada2",
+ "id": "ea9b4886.c48198",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 124.25,
- "y": 45,
- "z": "29d3492e.6e65c6",
+ "x": 130.25006103515625,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c7c3a05a.217d3"
+ "abaeb654.ecf048"
]
]
},
{
- "id": "7a82a4e1.74051c",
+ "id": "37dfcf3b.f289c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 169.16669082641602,
- "y": 196.08334636688232,
- "z": "29d3492e.6e65c6",
+ "x": 175.16675186157227,
+ "y": 179.8333466053009,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "4aa2e04.16b662",
- "b3d629e9.2c9188",
- "ab162f45.fae5a",
- "f7de272b.bbcd78",
- "3899b5e2.384a4a",
- "72e148f.bd2b1b8",
- "5a9e7617.91c178",
- "6cd92845.9c27d8"
+ "4ca554b1.64cfac",
+ "b98c2ec9.d8038",
+ "c8196d34.a400d",
+ "a485bdb7.2ebc2",
+ "3a91a794.6c88c8",
+ "abab4d63.1772e",
+ "457d8530.6d929c",
+ "f1e5bbf5.b3f958"
]
]
},
{
- "id": "b3d629e9.2c9188",
+ "id": "b98c2ec9.d8038",
"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": 467.2500305175781,
- "y": 156.08334350585938,
- "z": "29d3492e.6e65c6",
+ "x": 475.2500915527344,
+ "y": 126.83334374427795,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "5f58bf2c.b9548",
+ "id": "337a6d7b.201ca2",
"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": 1634.2498779296875,
- "y": 662.0834045410156,
- "z": "29d3492e.6e65c6",
+ "x": 1640.2499389648438,
+ "y": 645.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "6180b71a.bb2e58"
+ "96c73638.cb9ab8"
]
]
},
{
- "id": "6180b71a.bb2e58",
+ "id": "96c73638.cb9ab8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1804.2498168945312,
- "y": 661.0834045410156,
- "z": "29d3492e.6e65c6",
+ "x": 1810.2498779296875,
+ "y": 644.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b7860b2.f448af8"
+ "84cae955.c44a18"
]
]
},
{
- "id": "35d55016.e4b95",
+ "id": "83b77a4c.913068",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1437.2498168945312,
- "y": 686.0834045410156,
- "z": "29d3492e.6e65c6",
+ "x": 1443.2498779296875,
+ "y": 669.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "5f58bf2c.b9548",
- "da507cbc.1345a",
- "e8bf8d4b.e71c5"
+ "337a6d7b.201ca2",
+ "f844550d.858858",
+ "71d833e9.bcb87c"
]
]
},
{
- "id": "df593d16.3a873",
+ "id": "d45e1182.8850c",
"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": 1669.7498779296875,
- "y": 928.0833740234375,
- "z": "29d3492e.6e65c6",
+ "x": 1675.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8cde94cd.183ad8"
+ "fa30655b.b81a38"
]
]
},
{
- "id": "8cde94cd.183ad8",
+ "id": "fa30655b.b81a38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1854.7498779296875,
- "y": 928.0833740234375,
- "z": "29d3492e.6e65c6",
+ "x": 1860.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "97083a8c.a99408"
+ "7d0b6c03.8ed0d4"
]
]
},
{
- "id": "b7860b2.f448af8",
+ "id": "84cae955.c44a18",
"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": 1924.2498779296875,
- "y": 660.0833740234375,
- "z": "29d3492e.6e65c6",
+ "x": 1930.2499389648438,
+ "y": 643.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "da507cbc.1345a",
+ "id": "f844550d.858858",
"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": 1616.16650390625,
- "y": 713.0834045410156,
- "z": "29d3492e.6e65c6",
+ "x": 1622.1665649414062,
+ "y": 696.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "97083a8c.a99408",
+ "id": "7d0b6c03.8ed0d4",
"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": 1987.1666259765625,
- "y": 928.0833740234375,
- "z": "29d3492e.6e65c6",
+ "x": 1993.1666870117188,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "e8bf8d4b.e71c5",
+ "id": "71d833e9.bcb87c",
"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": 1621.2498779296875,
- "y": 609.0833740234375,
- "z": "29d3492e.6e65c6",
+ "x": 1627.2499389648438,
+ "y": 592.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "9c19d3c7.c09df",
+ "id": "3cabde61.b46412",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1458.2498779296875,
- "y": 855.0833740234375,
- "z": "29d3492e.6e65c6",
+ "x": 1464.2499389648438,
+ "y": 838.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "df593d16.3a873",
- "60d331ee.302dd",
- "89d6b5d0.08f888",
- "35e221ba.99c04e",
- "25b31875.8826d8",
- "2a38d6be.132baa"
+ "d45e1182.8850c",
+ "1d4663f2.97eacc",
+ "a1b67568.88c2a8",
+ "b0abd019.0685d",
+ "cea269d5.6aca98",
+ "6bef098.93b85f8"
]
]
},
{
- "id": "2a38d6be.132baa",
+ "id": "6bef098.93b85f8",
"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": 1656.4166564941406,
- "y": 841.8333864212036,
- "z": "29d3492e.6e65c6",
+ "x": 1662.4167175292969,
+ "y": 825.5833866596222,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "37993504.393d8a",
+ "id": "6d276eae.f7933",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 691.2499389648438,
- "y": 665.0000610351562,
- "z": "29d3492e.6e65c6",
+ "x": 697.25,
+ "y": 648.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d005c7d.aef5638"
+ "9564527e.7b80c"
]
]
},
{
- "id": "4c48a33.c60a15c",
+ "id": "c74b1b59.de1648",
"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": 982.2499389648438,
- "y": 624,
- "z": "29d3492e.6e65c6",
+ "x": 988.25,
+ "y": 607.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "d005c7d.aef5638",
+ "id": "9564527e.7b80c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 828.2499389648438,
- "y": 659.0000610351562,
- "z": "29d3492e.6e65c6",
+ "x": 834.25,
+ "y": 642.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "4c48a33.c60a15c",
- "35d55016.e4b95"
+ "c74b1b59.de1648",
+ "83b77a4c.913068"
]
]
},
{
- "id": "ab162f45.fae5a",
+ "id": "c8196d34.a400d",
"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": 460.25,
- "y": 203,
- "z": "29d3492e.6e65c6",
+ "x": 471.25006103515625,
+ "y": 182.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "c357a4ca.bfb1f8",
+ "id": "649bb274.68abac",
"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": 1000.25,
- "y": 432,
- "z": "29d3492e.6e65c6",
+ "x": 1004.5000762939453,
+ "y": 268.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "92bfd5f6.6a14f8"
+ "b63fd635.c47e78"
]
]
},
{
- "id": "92bfd5f6.6a14f8",
+ "id": "b63fd635.c47e78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1158.6407470703125,
- "y": 430.28399658203125,
- "z": "29d3492e.6e65c6",
+ "x": 1185.3908882141113,
+ "y": 267.7840003967285,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "98d72ef7.86e05"
+ "ed79a97b.65e818"
]
]
},
{
- "id": "5a9e7617.91c178",
+ "id": "457d8530.6d929c",
"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": 389.2498779296875,
- "y": 620,
- "z": "29d3492e.6e65c6",
+ "x": 395.24993896484375,
+ "y": 603.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "3899b5e2.384a4a",
+ "id": "3a91a794.6c88c8",
"type": "switchNode",
- "name": "switch pnf-flag",
- "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
+ "name": "switch pnf-name",
+ "xml": "<switch test=\"`$upgrade-post-check-input.action-identifiers.pnf-name`\">\n",
"comments": "",
"outputs": 1,
- "x": 446.00000762939453,
- "y": 350.7500057220459,
- "z": "29d3492e.6e65c6",
+ "x": 469.0000686645508,
+ "y": 314.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "64bc4358.92afbc",
- "2ae0f373.dadc4c"
+ "ec14cee4.1522f",
+ "91fc3db3.48d8e"
]
]
},
{
- "id": "f7de272b.bbcd78",
+ "id": "a485bdb7.2ebc2",
"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": 474.25,
- "y": 250,
- "z": "29d3492e.6e65c6",
+ "x": 480.0000686645508,
+ "y": 242.00000286102295,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "64bc4358.92afbc",
+ "id": "ec14cee4.1522f",
"type": "outcome",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 630.5000076293945,
- "y": 294.7500057220459,
- "z": "29d3492e.6e65c6",
+ "x": 674.750072479248,
+ "y": 385.7500054836273,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "e0a7ad5f.00f71"
+ "e0ea6cf2.aa805"
]
]
},
{
- "id": "2ae0f373.dadc4c",
+ "id": "91fc3db3.48d8e",
"type": "outcome",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 632.9999465942383,
- "y": 402.5000057220459,
- "z": "29d3492e.6e65c6",
+ "x": 679.0000114440918,
+ "y": 240.50001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b6955f66.1b829"
+ "50ddaf2.c52105"
]
]
},
{
- "id": "b6955f66.1b829",
+ "id": "50ddaf2.c52105",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 787.2499504089355,
- "y": 403.5000057220459,
- "z": "29d3492e.6e65c6",
+ "x": 816.7500114440918,
+ "y": 240.75001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c357a4ca.bfb1f8",
- "828681ee.30745"
+ "649bb274.68abac",
+ "1e906a40.6f9a16"
]
]
},
{
- "id": "c2ca99f8.c4bfb8",
+ "id": "45aa522.51b58ac",
"type": "set",
"name": "set AnsibleReq",
"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": 957.7500152587891,
- "y": 202.75000381469727,
- "z": "29d3492e.6e65c6",
+ "x": 993.2500762939453,
+ "y": 328.5000047683716,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "828681ee.30745",
+ "id": "1e906a40.6f9a16",
"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": 1009.25,
- "y": 376,
- "z": "29d3492e.6e65c6",
+ "x": 1004.7500762939453,
+ "y": 203.50000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "72e148f.bd2b1b8",
+ "id": "abab4d63.1772e",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 439.25,
- "y": 488,
- "z": "29d3492e.6e65c6",
+ "x": 445.25006103515625,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "3583e961.20f9b6"
+ "f88b349b.6807a8"
]
]
},
{
- "id": "3583e961.20f9b6",
+ "id": "f88b349b.6807a8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 610.25,
- "y": 489,
- "z": "29d3492e.6e65c6",
+ "x": 616.2500610351562,
+ "y": 472.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7bde6693.6b25d8"
+ "f3bc6541.44adb8"
]
]
},
{
- "id": "7bde6693.6b25d8",
+ "id": "f3bc6541.44adb8",
"type": "set",
"name": "set playbookname",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",
"comments": "",
- "x": 800.25,
- "y": 488,
- "z": "29d3492e.6e65c6",
+ "x": 806.2500610351562,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "6cd92845.9c27d8",
+ "id": "f1e5bbf5.b3f958",
"type": "switchNode",
"name": "switch nodelist",
"xml": "<switch test='`$nodelist`'>\n",
"comments": "",
"outputs": 1,
- "x": 429.25,
- "y": 547,
- "z": "29d3492e.6e65c6",
+ "x": 422.7500686645508,
+ "y": 532.0000076293945,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8b89b139.925f3",
- "8a45ae4e.0ff3c"
+ "a1739b46.b31628",
+ "62d7e3df.33dd5c"
]
]
},
{
- "id": "8b89b139.925f3",
+ "id": "a1739b46.b31628",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 609.25,
- "y": 540,
- "z": "29d3492e.6e65c6",
+ "x": 615.2500610351562,
+ "y": 523.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "27015581.7c7d8a"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "27015581.7c7d8a",
+ "id": "2cef64f9.c5e8ec",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
"comments": "",
- "x": 766.25,
- "y": 554,
- "z": "29d3492e.6e65c6",
+ "x": 772.2500610351562,
+ "y": 537.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "8a45ae4e.0ff3c",
+ "id": "62d7e3df.33dd5c",
"type": "outcome",
"name": "empty",
"xml": "<outcome value=\"['']\">\n\n",
"comments": "",
"outputs": 1,
- "x": 608.25,
- "y": 584,
- "z": "29d3492e.6e65c6",
+ "x": 614.2500610351562,
+ "y": 567.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "27015581.7c7d8a"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "b77da834.ba8d48",
+ "id": "7427e274.ca5cbc",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 1484.25,
- "y": 419,
- "z": "29d3492e.6e65c6",
+ "x": 1512.250144958496,
+ "y": 229.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "3d1d8601.0e200a"
+ "db001d9c.052e8"
]
]
},
{
- "id": "3d1d8601.0e200a",
+ "id": "db001d9c.052e8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1662.25,
- "y": 419,
- "z": "29d3492e.6e65c6",
+ "x": 1696.5001487731934,
+ "y": 228.75000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "eccd491.aeea6b8"
+ "8e520dd.9047df"
]
]
},
{
- "id": "de4502a8.6c8e4",
+ "id": "8bd02c4a.6337d",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
"comments": "",
- "x": 1457.25,
- "y": 472,
- "z": "29d3492e.6e65c6",
+ "x": 1482.5000686645508,
+ "y": 302.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "98d72ef7.86e05",
+ "id": "ed79a97b.65e818",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1287.25,
- "y": 429,
- "z": "29d3492e.6e65c6",
+ "x": 1320.250144958496,
+ "y": 268.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b77da834.ba8d48",
- "de4502a8.6c8e4"
+ "7427e274.ca5cbc",
+ "8bd02c4a.6337d"
]
]
},
{
- "id": "eccd491.aeea6b8",
+ "id": "8e520dd.9047df",
"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": 1834.25,
- "y": 417,
- "z": "29d3492e.6e65c6",
+ "x": 1877.2501487731934,
+ "y": 229.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "60d331ee.302dd",
+ "id": "1d4663f2.97eacc",
"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": 1684.25,
- "y": 761,
- "z": "29d3492e.6e65c6",
+ "x": 1690.2500610351562,
+ "y": 744.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "89d6b5d0.08f888",
+ "id": "a1b67568.88c2a8",
"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": 1690.25,
- "y": 806,
- "z": "29d3492e.6e65c6",
+ "x": 1696.2500610351562,
+ "y": 789.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "35e221ba.99c04e",
+ "id": "b0abd019.0685d",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1676.2500228881836,
- "y": 881.7500133514404,
- "z": "29d3492e.6e65c6",
+ "x": 1682.2500839233398,
+ "y": 865.500013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "f003e098.7e521"
+ "94c5870c.1b9028"
]
]
},
{
- "id": "f003e098.7e521",
+ "id": "94c5870c.1b9028",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1850.2500267028809,
- "y": 882.0000133514404,
- "z": "29d3492e.6e65c6",
+ "x": 1856.250087738037,
+ "y": 865.750013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "75f79f60.b6817"
+ "f297c7ae.006d88"
]
]
},
{
- "id": "75f79f60.b6817",
+ "id": "f297c7ae.006d88",
"type": "set",
"name": "set DmaapReq with payload",
"xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",
"comments": "",
- "x": 2048.500030517578,
- "y": 882.5000133514404,
- "z": "29d3492e.6e65c6",
+ "x": 2054.5000915527344,
+ "y": 866.250013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "2277df4f.e54cc",
+ "id": "84168fc5.05e25",
"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": 2387.25,
- "y": 963.9999389648438,
- "z": "29d3492e.6e65c6",
+ "x": 2393.2500610351562,
+ "y": 947.7499392032623,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "ce7bf734.28bda8",
+ "id": "7ba95e1a.d4b0c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1853.250244140625,
- "y": 985.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 1859.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d2e205c4.4281f8"
+ "9599f2eb.e4f97"
]
]
},
{
- "id": "d19e0c7b.53065",
+ "id": "5f979340.f0e31c",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1852.250244140625,
- "y": 1061.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 1858.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "514b412e.93d64"
+ "1f06dd95.403012"
]
]
},
{
- "id": "25b31875.8826d8",
+ "id": "cea269d5.6aca98",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1670.250244140625,
- "y": 1021.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 1676.2503051757812,
+ "y": 1005.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "ce7bf734.28bda8",
- "d19e0c7b.53065"
+ "7ba95e1a.d4b0c",
+ "5f979340.f0e31c"
]
]
},
{
- "id": "155bb7c3.d857e8",
+ "id": "7d7bfbd9.1f17c4",
"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": 2428.250244140625,
- "y": 1045.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2434.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "d2e205c4.4281f8",
+ "id": "9599f2eb.e4f97",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2023.250244140625,
- "y": 985.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2029.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "98292b3a.f54c38",
- "ca11ee2d.ab69a"
+ "6b0748c.2505bb8",
+ "408c7b86.5c50a4"
]
]
},
{
- "id": "514b412e.93d64",
+ "id": "1f06dd95.403012",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2023.250244140625,
- "y": 1061.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2029.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "337c58c3.55ed98",
- "7cab1d0c.110394"
+ "284a16dd.c42b9a",
+ "b1e583b2.95cf8"
]
]
},
{
- "id": "41ed8585.4713cc",
+ "id": "c7d7ae9a.c9b1a",
"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": 2381.250244140625,
- "y": 1001.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2387.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "448216a9.053268",
+ "id": "84f220b8.c18db",
"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": 2424.250244140625,
- "y": 1083.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2430.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "98292b3a.f54c38",
+ "id": "6b0748c.2505bb8",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2211.250244140625,
- "y": 963.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2217.2503051757812,
+ "y": 947.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2277df4f.e54cc"
+ "84168fc5.05e25"
]
]
},
{
- "id": "ca11ee2d.ab69a",
+ "id": "408c7b86.5c50a4",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2192.250244140625,
- "y": 1001.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2198.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "41ed8585.4713cc"
+ "c7d7ae9a.c9b1a"
]
]
},
{
- "id": "337c58c3.55ed98",
+ "id": "284a16dd.c42b9a",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2212.250244140625,
- "y": 1045.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2218.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "155bb7c3.d857e8"
+ "7d7bfbd9.1f17c4"
]
]
},
{
- "id": "7cab1d0c.110394",
+ "id": "b1e583b2.95cf8",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2194.250244140625,
- "y": 1083.9998779296875,
- "z": "29d3492e.6e65c6",
+ "x": 2200.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "448216a9.053268"
+ "84f220b8.c18db"
]
]
},
{
- "id": "e0a7ad5f.00f71",
+ "id": "e0ea6cf2.aa805",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 789.5000114440918,
- "y": 253.25000381469727,
- "z": "29d3492e.6e65c6",
+ "x": 806.750072479248,
+ "y": 385.25000524520874,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c2ca99f8.c4bfb8",
- "5b8c934.62b5e6c"
+ "45aa522.51b58ac",
+ "71c4da42.247694",
+ "c3246832.b79218"
]
]
},
{
- "id": "5b8c934.62b5e6c",
+ "id": "71c4da42.247694",
"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",
+ "x": 1035.2500762939453,
+ "y": 381.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "779f8f25.8993f",
- "4556266f.9d5cb8"
+ "47ca03ae.82311c",
+ "3d9f5c17.e59e74"
]
]
},
{
- "id": "779f8f25.8993f",
+ "id": "47ca03ae.82311c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1203.2500190734863,
- "y": 261.50000381469727,
- "z": "29d3492e.6e65c6",
+ "x": 1247.7501411437988,
+ "y": 352.5000057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "de8d7bd8.ab0a48"
+ "af284dab.4b361"
]
]
},
{
- "id": "4556266f.9d5cb8",
+ "id": "3d9f5c17.e59e74",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1202.0000228881836,
- "y": 326.50000381469727,
- "z": "29d3492e.6e65c6",
+ "x": 1247.2501411437988,
+ "y": 408.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "d0603697.a5edb8"
+ "753113cf.9764ec"
]
]
},
{
- "id": "de8d7bd8.ab0a48",
+ "id": "af284dab.4b361",
"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",
+ "x": 1454.750144958496,
+ "y": 352.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "d0603697.a5edb8",
+ "id": "753113cf.9764ec",
"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",
+ "x": 1457.250144958496,
+ "y": 407.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
+ },
+ {
+ "id": "c3246832.b79218",
+ "type": "execute",
+ "name": "execute updateJsonObjectString",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>\n\t<parameter name='source' value='upgrade-post-check-input.payload' />\n\t<parameter name='outputPath' value='upgrade-post-check-input.payload' />\n\t<parameter name='add.pnf-flag' value='true' />\n\t<parameter name='add.pnfName' value=\"`$upgrade-post-check-input.action-identifiers.pnf-name`\" />\n\t<parameter name='delete.ipaddress-v4-oam' value=\"\" />\n\t<parameter name='delete.playbook-name' value=\"\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1047.5000762939453,
+ "y": 440.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
+ "wires": [
+ []
+ ]
}
-] \ No newline at end of file
+]
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 d6a43175..f3d25fd8 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": "79123894.fcdcc8",
+ "id": "bf535237.4809",
"type": "method",
"name": "upgrade-pre-check",
"xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 498.75,
- "y": 41.25,
- "z": "98ab1d2d.2aba2",
+ "x": 527.2500610351562,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "54c3a48c.9ff08c"
+ "37dfcf3b.f289c"
]
]
},
{
- "id": "700edfe2.db0dd",
+ "id": "abaeb654.ecf048",
"type": "service-logic",
"name": "LCM ${project.version}",
"module": "LCM",
@@ -24,1133 +24,1148 @@
"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": 286.74993896484375,
- "y": 42.25,
- "z": "98ab1d2d.2aba2",
+ "x": 315.25,
+ "y": 29.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "79123894.fcdcc8"
+ "bf535237.4809"
]
]
},
{
- "id": "63cab8d6.48eba8",
+ "id": "4ca554b1.64cfac",
"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": 400.75001525878906,
- "y": 688.25,
- "z": "98ab1d2d.2aba2",
+ "x": 429.2500762939453,
+ "y": 675.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "be544d01.a8609",
- "1f309cc0.2f6233",
- "cca4076a.107908"
+ "41993dbd.510e94",
+ "eb0cf86.0ae1308",
+ "6d276eae.f7933"
]
]
},
{
- "id": "eb1a1ff1.d1c85",
+ "id": "cda0d255.88e57",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 800.7499389648438,
- "y": 796.2500305175781,
- "z": "98ab1d2d.2aba2",
+ "x": 829.25,
+ "y": 783.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "1ecad72d.159dd9",
- "61406129.c065d",
- "e371269b.c16e28"
+ "d3ad30a5.7e40b",
+ "5d5c8e87.4569f",
+ "e91d746f.ee24d8"
]
]
},
{
- "id": "1ecad72d.159dd9",
+ "id": "d3ad30a5.7e40b",
"type": "other",
"name": "outcome 500",
"xml": "<outcome value='500'>\n",
"comments": "",
"outputs": 1,
- "x": 945.7499389648438,
- "y": 794.2500381469727,
- "z": "98ab1d2d.2aba2",
+ "x": 974.25,
+ "y": 781.7500383853912,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a19523e1.35cbd"
+ "83b77a4c.913068"
]
]
},
{
- "id": "61406129.c065d",
+ "id": "5d5c8e87.4569f",
"type": "other",
"name": "outcome 100",
"xml": "<outcome value='100'>\n",
"comments": "",
"outputs": 1,
- "x": 942.7499389648438,
- "y": 851.2500305175781,
- "z": "98ab1d2d.2aba2",
+ "x": 971.25,
+ "y": 838.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "21d794bd.98632c"
+ "9160ee3f.90cdf"
]
]
},
{
- "id": "21d794bd.98632c",
+ "id": "9160ee3f.90cdf",
"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": 1130.7499389648438,
- "y": 850.2500305175781,
- "z": "98ab1d2d.2aba2",
+ "x": 1159.25,
+ "y": 837.7500307559967,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "10f75364.16ad2d",
- "6e5d5eb.c0cdfa"
+ "9f6f87a0.ed34a8",
+ "40d1e66e.058b58"
]
]
},
{
- "id": "1f309cc0.2f6233",
+ "id": "eb0cf86.0ae1308",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 659.7499389648438,
- "y": 709.2500915527344,
- "z": "98ab1d2d.2aba2",
+ "x": 688.25,
+ "y": 696.750091791153,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a19523e1.35cbd"
+ "83b77a4c.913068"
]
]
},
{
- "id": "be544d01.a8609",
+ "id": "41993dbd.510e94",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 661.7499389648438,
- "y": 761.2500610351562,
- "z": "98ab1d2d.2aba2",
+ "x": 690.25,
+ "y": 748.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "eb1a1ff1.d1c85"
+ "cda0d255.88e57"
]
]
},
{
- "id": "10f75364.16ad2d",
+ "id": "9f6f87a0.ed34a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1299.7498779296875,
- "y": 832.2500610351562,
- "z": "98ab1d2d.2aba2",
+ "x": 1328.2499389648438,
+ "y": 819.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "35aa42ce.44d35e"
+ "3cabde61.b46412"
]
]
},
{
- "id": "e371269b.c16e28",
+ "id": "e91d746f.ee24d8",
"type": "other",
"name": "outcome 101",
"xml": "<outcome value='101'>\n",
"comments": "",
"outputs": 1,
- "x": 942.7499389648438,
- "y": 752.2500686645508,
- "z": "98ab1d2d.2aba2",
+ "x": 971.25,
+ "y": 739.7500689029694,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a19523e1.35cbd"
+ "83b77a4c.913068"
]
]
},
{
- "id": "6e5d5eb.c0cdfa",
+ "id": "40d1e66e.058b58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1303.7498779296875,
- "y": 876.2501220703125,
- "z": "98ab1d2d.2aba2",
+ "x": 1332.2499389648438,
+ "y": 863.7501223087311,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "35aa42ce.44d35e"
+ "3cabde61.b46412"
]
]
},
{
- "id": "17dc23e5.79688c",
+ "id": "ea9b4886.c48198",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 101.75,
- "y": 41.25,
- "z": "98ab1d2d.2aba2",
+ "x": 130.25006103515625,
+ "y": 28.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "700edfe2.db0dd"
+ "abaeb654.ecf048"
]
]
},
{
- "id": "54c3a48c.9ff08c",
+ "id": "37dfcf3b.f289c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 146.66669082641602,
- "y": 192.33334636688232,
- "z": "98ab1d2d.2aba2",
+ "x": 175.16675186157227,
+ "y": 179.8333466053009,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "63cab8d6.48eba8",
- "e0ff5747.e0e408",
- "28a0da8f.9238c6",
- "9d9af3e3.66cfb",
- "fb9c8e38.ca40a",
- "51abfe6f.79ea7",
- "97847ebc.c54a9",
- "b335e1b5.94d26"
+ "4ca554b1.64cfac",
+ "b98c2ec9.d8038",
+ "c8196d34.a400d",
+ "a485bdb7.2ebc2",
+ "3a91a794.6c88c8",
+ "abab4d63.1772e",
+ "457d8530.6d929c",
+ "f1e5bbf5.b3f958"
]
]
},
{
- "id": "e0ff5747.e0e408",
+ "id": "b98c2ec9.d8038",
"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": 444.7500305175781,
- "y": 152.33334350585938,
- "z": "98ab1d2d.2aba2",
+ "x": 475.2500915527344,
+ "y": 126.83334374427795,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "a9d7923c.2ca01",
+ "id": "337a6d7b.201ca2",
"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": 1611.7498779296875,
- "y": 658.3334045410156,
- "z": "98ab1d2d.2aba2",
+ "x": 1640.2499389648438,
+ "y": 645.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "f8292962.0b6818"
+ "96c73638.cb9ab8"
]
]
},
{
- "id": "f8292962.0b6818",
+ "id": "96c73638.cb9ab8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1781.7498168945312,
- "y": 657.3334045410156,
- "z": "98ab1d2d.2aba2",
+ "x": 1810.2498779296875,
+ "y": 644.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2356f9f0.a42e76"
+ "84cae955.c44a18"
]
]
},
{
- "id": "a19523e1.35cbd",
+ "id": "83b77a4c.913068",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1414.7498168945312,
- "y": 682.3334045410156,
- "z": "98ab1d2d.2aba2",
+ "x": 1443.2498779296875,
+ "y": 669.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a9d7923c.2ca01",
- "f3ee8743.36d458",
- "f66a0341.fd891"
+ "337a6d7b.201ca2",
+ "f844550d.858858",
+ "71d833e9.bcb87c"
]
]
},
{
- "id": "a59867f8.a2eaa8",
+ "id": "d45e1182.8850c",
"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": 1647.2498779296875,
- "y": 924.3333740234375,
- "z": "98ab1d2d.2aba2",
+ "x": 1675.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "712d36ea.cfb478"
+ "fa30655b.b81a38"
]
]
},
{
- "id": "712d36ea.cfb478",
+ "id": "fa30655b.b81a38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1832.2498779296875,
- "y": 924.3333740234375,
- "z": "98ab1d2d.2aba2",
+ "x": 1860.7499389648438,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a57d56eb.e502e8"
+ "7d0b6c03.8ed0d4"
]
]
},
{
- "id": "2356f9f0.a42e76",
+ "id": "84cae955.c44a18",
"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": 1901.7498779296875,
- "y": 656.3333740234375,
- "z": "98ab1d2d.2aba2",
+ "x": 1930.2499389648438,
+ "y": 643.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "f3ee8743.36d458",
+ "id": "f844550d.858858",
"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": 1593.66650390625,
- "y": 709.3334045410156,
- "z": "98ab1d2d.2aba2",
+ "x": 1622.1665649414062,
+ "y": 696.8334047794342,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "a57d56eb.e502e8",
+ "id": "7d0b6c03.8ed0d4",
"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": 1964.6666259765625,
- "y": 924.3333740234375,
- "z": "98ab1d2d.2aba2",
+ "x": 1993.1666870117188,
+ "y": 911.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "f66a0341.fd891",
+ "id": "71d833e9.bcb87c",
"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": 1598.7498779296875,
- "y": 605.3333740234375,
- "z": "98ab1d2d.2aba2",
+ "x": 1627.2499389648438,
+ "y": 592.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "35aa42ce.44d35e",
+ "id": "3cabde61.b46412",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1435.7498779296875,
- "y": 851.3333740234375,
- "z": "98ab1d2d.2aba2",
+ "x": 1464.2499389648438,
+ "y": 838.8333742618561,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "a59867f8.a2eaa8",
- "556a3910.4bdad8",
- "e92cf733.30ba38",
- "e3dfd6bf.4ead58",
- "ce2a6d93.154ee",
- "4de0f71c.f3cdf8"
+ "d45e1182.8850c",
+ "1d4663f2.97eacc",
+ "a1b67568.88c2a8",
+ "b0abd019.0685d",
+ "cea269d5.6aca98",
+ "6bef098.93b85f8"
]
]
},
{
- "id": "4de0f71c.f3cdf8",
+ "id": "6bef098.93b85f8",
"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": 1633.9166564941406,
- "y": 838.0833864212036,
- "z": "98ab1d2d.2aba2",
+ "x": 1662.4167175292969,
+ "y": 825.5833866596222,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "cca4076a.107908",
+ "id": "6d276eae.f7933",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 668.7499389648438,
- "y": 661.2500610351562,
- "z": "98ab1d2d.2aba2",
+ "x": 697.25,
+ "y": 648.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "8e5e5147.24c25"
+ "9564527e.7b80c"
]
]
},
{
- "id": "e1a3d0c1.ed1c7",
+ "id": "c74b1b59.de1648",
"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": 959.7499389648438,
- "y": 620.25,
- "z": "98ab1d2d.2aba2",
+ "x": 988.25,
+ "y": 607.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "8e5e5147.24c25",
+ "id": "9564527e.7b80c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 805.7499389648438,
- "y": 655.2500610351562,
- "z": "98ab1d2d.2aba2",
+ "x": 834.25,
+ "y": 642.7500612735748,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "e1a3d0c1.ed1c7",
- "a19523e1.35cbd"
+ "c74b1b59.de1648",
+ "83b77a4c.913068"
]
]
},
{
- "id": "28a0da8f.9238c6",
+ "id": "c8196d34.a400d",
"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": 437.75,
- "y": 199.25,
- "z": "98ab1d2d.2aba2",
+ "x": 471.25006103515625,
+ "y": 182.75000023841858,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "b9d0103e.a3c0f",
+ "id": "649bb274.68abac",
"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": 977.75,
- "y": 428.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1004.5000762939453,
+ "y": 268.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "707a6dc2.a56554"
+ "b63fd635.c47e78"
]
]
},
{
- "id": "707a6dc2.a56554",
+ "id": "b63fd635.c47e78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1136.1407470703125,
- "y": 426.53399658203125,
- "z": "98ab1d2d.2aba2",
+ "x": 1185.3908882141113,
+ "y": 267.7840003967285,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "f770f730.800e58"
+ "ed79a97b.65e818"
]
]
},
{
- "id": "97847ebc.c54a9",
+ "id": "457d8530.6d929c",
"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": 366.7498779296875,
- "y": 616.25,
- "z": "98ab1d2d.2aba2",
+ "x": 395.24993896484375,
+ "y": 603.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "fb9c8e38.ca40a",
+ "id": "3a91a794.6c88c8",
"type": "switchNode",
- "name": "switch pnf-flag",
- "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",
+ "name": "switch pnf-name",
+ "xml": "<switch test=\"`$upgrade-pre-check-input.action-identifiers.pnf-name`\">\n",
"comments": "",
"outputs": 1,
- "x": 423.50000762939453,
- "y": 347.0000057220459,
- "z": "98ab1d2d.2aba2",
+ "x": 469.0000686645508,
+ "y": 314.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "335af4ab.8619ac",
- "deac08e0.fa0578"
+ "ec14cee4.1522f",
+ "91fc3db3.48d8e"
]
]
},
{
- "id": "9d9af3e3.66cfb",
+ "id": "a485bdb7.2ebc2",
"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": 451.75,
- "y": 246.25,
- "z": "98ab1d2d.2aba2",
+ "x": 480.0000686645508,
+ "y": 242.00000286102295,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "335af4ab.8619ac",
+ "id": "ec14cee4.1522f",
"type": "outcome",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 608.0000076293945,
- "y": 291.0000057220459,
- "z": "98ab1d2d.2aba2",
+ "x": 674.750072479248,
+ "y": 385.7500054836273,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7ba201ed.e5e12"
+ "e0ea6cf2.aa805"
]
]
},
{
- "id": "deac08e0.fa0578",
+ "id": "91fc3db3.48d8e",
"type": "outcome",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 610.4999465942383,
- "y": 398.7500057220459,
- "z": "98ab1d2d.2aba2",
+ "x": 679.0000114440918,
+ "y": 240.50001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b91d48aa.1e6708"
+ "50ddaf2.c52105"
]
]
},
{
- "id": "b91d48aa.1e6708",
+ "id": "50ddaf2.c52105",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 764.7499504089355,
- "y": 399.7500057220459,
- "z": "98ab1d2d.2aba2",
+ "x": 816.7500114440918,
+ "y": 240.75001907348633,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b9d0103e.a3c0f",
- "df4c69bf.c75128"
+ "649bb274.68abac",
+ "1e906a40.6f9a16"
]
]
},
{
- "id": "b9826fbc.acb59",
+ "id": "45aa522.51b58ac",
"type": "set",
"name": "set AnsibleReq",
"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": 935.2500152587891,
- "y": 199.00000381469727,
- "z": "98ab1d2d.2aba2",
+ "x": 993.2500762939453,
+ "y": 328.5000047683716,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "df4c69bf.c75128",
+ "id": "1e906a40.6f9a16",
"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": 986.75,
- "y": 372.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1004.7500762939453,
+ "y": 203.50000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "51abfe6f.79ea7",
+ "id": "abab4d63.1772e",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 416.75,
- "y": 484.25,
- "z": "98ab1d2d.2aba2",
+ "x": 445.25006103515625,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "159a0737.e614f9"
+ "f88b349b.6807a8"
]
]
},
{
- "id": "159a0737.e614f9",
+ "id": "f88b349b.6807a8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 587.75,
- "y": 485.25,
- "z": "98ab1d2d.2aba2",
+ "x": 616.2500610351562,
+ "y": 472.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7c0bd670.f80e88"
+ "f3bc6541.44adb8"
]
]
},
{
- "id": "7c0bd670.f80e88",
+ "id": "f3bc6541.44adb8",
"type": "set",
"name": "set playbookname",
"xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>",
"comments": "",
- "x": 777.75,
- "y": 484.25,
- "z": "98ab1d2d.2aba2",
+ "x": 806.2500610351562,
+ "y": 471.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "b335e1b5.94d26",
+ "id": "f1e5bbf5.b3f958",
"type": "switchNode",
"name": "switch nodelist",
"xml": "<switch test='`$nodelist`'>\n",
"comments": "",
"outputs": 1,
- "x": 406.75,
- "y": 543.25,
- "z": "98ab1d2d.2aba2",
+ "x": 422.7500686645508,
+ "y": 532.0000076293945,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "bcd038e8.2000e8",
- "438394.8dcf2c6c"
+ "a1739b46.b31628",
+ "62d7e3df.33dd5c"
]
]
},
{
- "id": "bcd038e8.2000e8",
+ "id": "a1739b46.b31628",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 586.75,
- "y": 536.25,
- "z": "98ab1d2d.2aba2",
+ "x": 615.2500610351562,
+ "y": 523.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7554d6f5.ecbc18"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "7554d6f5.ecbc18",
+ "id": "2cef64f9.c5e8ec",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",
"comments": "",
- "x": 743.75,
- "y": 550.25,
- "z": "98ab1d2d.2aba2",
+ "x": 772.2500610351562,
+ "y": 537.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "438394.8dcf2c6c",
+ "id": "62d7e3df.33dd5c",
"type": "outcome",
"name": "empty",
"xml": "<outcome value=\"['']\">\n\n",
"comments": "",
"outputs": 1,
- "x": 585.75,
- "y": 580.25,
- "z": "98ab1d2d.2aba2",
+ "x": 614.2500610351562,
+ "y": 567.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "7554d6f5.ecbc18"
+ "2cef64f9.c5e8ec"
]
]
},
{
- "id": "81ee25ea.70a5d8",
+ "id": "7427e274.ca5cbc",
"type": "switchNode",
"name": "switch playbookname",
"xml": "<switch test='`$playbookname`'>\n",
"comments": "",
"outputs": 1,
- "x": 1461.75,
- "y": 415.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1512.250144958496,
+ "y": 229.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "aa8d4256.96bc7"
+ "db001d9c.052e8"
]
]
},
{
- "id": "aa8d4256.96bc7",
+ "id": "db001d9c.052e8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1639.75,
- "y": 415.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1696.5001487731934,
+ "y": 228.75000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "25ca05e6.56319a"
+ "8e520dd.9047df"
]
]
},
{
- "id": "e6663d9a.24393",
+ "id": "8bd02c4a.6337d",
"type": "set",
"name": "set nodelist",
"xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",
"comments": "",
- "x": 1434.75,
- "y": 468.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1482.5000686645508,
+ "y": 302.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "f770f730.800e58",
+ "id": "ed79a97b.65e818",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1264.75,
- "y": 425.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1320.250144958496,
+ "y": 268.00000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "81ee25ea.70a5d8",
- "e6663d9a.24393"
+ "7427e274.ca5cbc",
+ "8bd02c4a.6337d"
]
]
},
{
- "id": "25ca05e6.56319a",
+ "id": "8e520dd.9047df",
"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": 1811.75,
- "y": 413.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1877.2501487731934,
+ "y": 229.25000381469727,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "556a3910.4bdad8",
+ "id": "1d4663f2.97eacc",
"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": 1661.75,
- "y": 757.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1690.2500610351562,
+ "y": 744.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "e92cf733.30ba38",
+ "id": "a1b67568.88c2a8",
"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": 1667.75,
- "y": 802.25,
- "z": "98ab1d2d.2aba2",
+ "x": 1696.2500610351562,
+ "y": 789.7500002384186,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[]
]
},
{
- "id": "e3dfd6bf.4ead58",
+ "id": "b0abd019.0685d",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1653.7500228881836,
- "y": 878.0000133514404,
- "z": "98ab1d2d.2aba2",
+ "x": 1682.2500839233398,
+ "y": 865.500013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "2d71184f.d707e8"
+ "94c5870c.1b9028"
]
]
},
{
- "id": "2d71184f.d707e8",
+ "id": "94c5870c.1b9028",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1827.7500267028809,
- "y": 878.2500133514404,
- "z": "98ab1d2d.2aba2",
+ "x": 1856.250087738037,
+ "y": 865.750013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "17ec9bb3.6c7794"
+ "f297c7ae.006d88"
]
]
},
{
- "id": "17ec9bb3.6c7794",
+ "id": "f297c7ae.006d88",
"type": "set",
"name": "set DmaapReq with payload",
"xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",
"comments": "",
- "x": 2026.0000305175781,
- "y": 878.7500133514404,
- "z": "98ab1d2d.2aba2",
+ "x": 2054.5000915527344,
+ "y": 866.250013589859,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "421baef1.ca44d",
+ "id": "84168fc5.05e25",
"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": 2364.75,
- "y": 960.2499389648438,
- "z": "98ab1d2d.2aba2",
+ "x": 2393.2500610351562,
+ "y": 947.7499392032623,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "52010210.9a3a3c",
+ "id": "7ba95e1a.d4b0c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1830.750244140625,
- "y": 982.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 1859.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "86cbc6a0.b5d6e8"
+ "9599f2eb.e4f97"
]
]
},
{
- "id": "555ad08b.2b8e",
+ "id": "5f979340.f0e31c",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1829.750244140625,
- "y": 1058.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 1858.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "4f3f37a2.c71f38"
+ "1f06dd95.403012"
]
]
},
{
- "id": "ce2a6d93.154ee",
+ "id": "cea269d5.6aca98",
"type": "switchNode",
"name": "switch outputPayload",
"xml": "<switch test='`$outputPayload`'>\n",
"comments": "",
"outputs": 1,
- "x": 1647.750244140625,
- "y": 1018.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 1676.2503051757812,
+ "y": 1005.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "52010210.9a3a3c",
- "555ad08b.2b8e"
+ "7ba95e1a.d4b0c",
+ "5f979340.f0e31c"
]
]
},
{
- "id": "18ff9108.05c38f",
+ "id": "7d7bfbd9.1f17c4",
"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": 2405.750244140625,
- "y": 1042.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2434.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "86cbc6a0.b5d6e8",
+ "id": "9599f2eb.e4f97",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2000.750244140625,
- "y": 982.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2029.2503051757812,
+ "y": 969.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "1e14d58a.ceb40a",
- "1771d8c.468b627"
+ "6b0748c.2505bb8",
+ "408c7b86.5c50a4"
]
]
},
{
- "id": "4f3f37a2.c71f38",
+ "id": "1f06dd95.403012",
"type": "switchNode",
"name": "switch result code",
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
"comments": "",
"outputs": 1,
- "x": 2000.750244140625,
- "y": 1058.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2029.2503051757812,
+ "y": 1045.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "e5846df5.e9d01",
- "6896eb19.633b54"
+ "284a16dd.c42b9a",
+ "b1e583b2.95cf8"
]
]
},
{
- "id": "257794.a39f786c",
+ "id": "c7d7ae9a.c9b1a",
"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": 2358.750244140625,
- "y": 998.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2387.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "dac7ab2b.e0d178",
+ "id": "84f220b8.c18db",
"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": 2401.750244140625,
- "y": 1080.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2430.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "1e14d58a.ceb40a",
+ "id": "6b0748c.2505bb8",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2188.750244140625,
- "y": 960.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2217.2503051757812,
+ "y": 947.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "421baef1.ca44d"
+ "84168fc5.05e25"
]
]
},
{
- "id": "1771d8c.468b627",
+ "id": "408c7b86.5c50a4",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2169.750244140625,
- "y": 998.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2198.2503051757812,
+ "y": 985.7498781681061,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "257794.a39f786c"
+ "c7d7ae9a.c9b1a"
]
]
},
{
- "id": "e5846df5.e9d01",
+ "id": "284a16dd.c42b9a",
"type": "other",
"name": "outcome 400",
"xml": "<outcome value='400'>\n",
"comments": "",
"outputs": 1,
- "x": 2189.750244140625,
- "y": 1042.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2218.2503051757812,
+ "y": 1029.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "18ff9108.05c38f"
+ "7d7bfbd9.1f17c4"
]
]
},
{
- "id": "6896eb19.633b54",
+ "id": "b1e583b2.95cf8",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2171.750244140625,
- "y": 1080.2498779296875,
- "z": "98ab1d2d.2aba2",
+ "x": 2200.2503051757812,
+ "y": 1067.749878168106,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "dac7ab2b.e0d178"
+ "84f220b8.c18db"
]
]
},
{
- "id": "7ba201ed.e5e12",
+ "id": "e0ea6cf2.aa805",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 767.0000114440918,
- "y": 249.50000381469727,
- "z": "98ab1d2d.2aba2",
+ "x": 806.750072479248,
+ "y": 385.25000524520874,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b9826fbc.acb59",
- "c9d057b5.ff9928"
+ "45aa522.51b58ac",
+ "71c4da42.247694",
+ "c3246832.b79218"
]
]
},
{
- "id": "c9d057b5.ff9928",
+ "id": "71c4da42.247694",
"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",
+ "x": 1035.2500762939453,
+ "y": 381.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b044a404.bd11f8",
- "a1cad1b1.1a72f"
+ "47ca03ae.82311c",
+ "3d9f5c17.e59e74"
]
]
},
{
- "id": "b044a404.bd11f8",
+ "id": "47ca03ae.82311c",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1180.7500190734863,
- "y": 257.75000381469727,
- "z": "98ab1d2d.2aba2",
+ "x": 1247.7501411437988,
+ "y": 352.5000057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "c89043b.0269bc"
+ "af284dab.4b361"
]
]
},
{
- "id": "a1cad1b1.1a72f",
+ "id": "3d9f5c17.e59e74",
"type": "outcome",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1179.5000228881836,
- "y": 322.75000381469727,
- "z": "98ab1d2d.2aba2",
+ "x": 1247.2501411437988,
+ "y": 408.2500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": [
[
- "b3960e3d.f7841"
+ "753113cf.9764ec"
]
]
},
{
- "id": "c89043b.0269bc",
+ "id": "af284dab.4b361",
"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",
+ "x": 1454.750144958496,
+ "y": 352.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
},
{
- "id": "b3960e3d.f7841",
+ "id": "753113cf.9764ec",
"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",
+ "x": 1457.250144958496,
+ "y": 407.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
"wires": []
+ },
+ {
+ "id": "c3246832.b79218",
+ "type": "execute",
+ "name": "execute updateJsonObjectString",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>\n\t<parameter name='source' value='upgrade-pre-check-input.payload' />\n\t<parameter name='outputPath' value='upgrade-pre-check-input.payload' />\n\t<parameter name='add.pnf-flag' value='true' />\n\t<parameter name='add.pnfName' value=\"`$upgrade-pre-check-input.action-identifiers.pnf-name`\" />\n\t<parameter name='delete.ipaddress-v4-oam' value=\"\" />\n\t<parameter name='delete.playbook-name' value=\"\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1047.5000762939453,
+ "y": 440.7500057220459,
+ "z": "3eb1eb3a.4e4dd4",
+ "wires": [
+ []
+ ]
}
-] \ No newline at end of file
+]
diff --git a/platform-logic/lcm/src/main/xml/LCM_activate-n-e-sw.xml b/platform-logic/lcm/src/main/xml/LCM_activate-n-e-sw.xml
index 319581c2..9ccab073 100644
--- a/platform-logic/lcm/src/main/xml/LCM_activate-n-e-sw.xml
+++ b/platform-logic/lcm/src/main/xml/LCM_activate-n-e-sw.xml
@@ -18,28 +18,8 @@
<parameter name='outputPath' value='payloadJson' />
<parameter name='isEscaped' value='true' />
</execute>
- <switch test='`$payloadJson.pnf-flag`'>
- <outcome value='true'>
- <block>
- <set>
- <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
- <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
- </set>
- <switch test='`$payloadJson.playbook-name`'>
- <outcome value=''>
- <set>
- <parameter name='playbookname' value='`$prop.lcm.pnf.activate-n-e-sw.playbookname`'/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
- </set>
- </outcome>
- </switch>
- </block>
- </outcome>
- <outcome value='Other'>
+ <switch test="`$activate-n-e-sw-input.action-identifiers.pnf-name`">
+ <outcome value=''>
<block>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='playbookname' />
@@ -68,6 +48,34 @@
</get-resource>
</block>
</outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
+ <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
+ </set>
+ <switch test='`$payloadJson.playbook-name`'>
+ <outcome value=''>
+ <set>
+ <parameter name='playbookname' value='`$prop.lcm.pnf.activate-n-e-sw.playbookname`'/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
+ </set>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>
+ <parameter name='source' value='activate-n-e-sw-input.payload' />
+ <parameter name='outputPath' value='activate-n-e-sw-input.payload' />
+ <parameter name='add.pnf-flag' value='true' />
+ <parameter name='add.pnfName' value="`$activate-n-e-sw-input.action-identifiers.pnf-name`" />
+ <parameter name='delete.ipaddress-v4-oam' value="" />
+ <parameter name='delete.playbook-name' value="" />
+ </execute>
+ </block>
+ </outcome>
</switch>
<switch test='`$playbookname`'>
<outcome value=''>
@@ -468,4 +476,4 @@
</execute>
</block>
</method>
-</service-logic>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/lcm/src/main/xml/LCM_download-n-e-sw.xml b/platform-logic/lcm/src/main/xml/LCM_download-n-e-sw.xml
index 20844c31..b9492472 100644
--- a/platform-logic/lcm/src/main/xml/LCM_download-n-e-sw.xml
+++ b/platform-logic/lcm/src/main/xml/LCM_download-n-e-sw.xml
@@ -18,28 +18,8 @@
<parameter name='outputPath' value='payloadJson' />
<parameter name='isEscaped' value='true' />
</execute>
- <switch test='`$payloadJson.pnf-flag`'>
- <outcome value='true'>
- <block>
- <set>
- <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
- <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
- </set>
- <switch test='`$payloadJson.playbook-name`'>
- <outcome value=''>
- <set>
- <parameter name='playbookname' value='`$prop.lcm.pnf.download-n-e-sw.playbookname`'/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
- </set>
- </outcome>
- </switch>
- </block>
- </outcome>
- <outcome value='Other'>
+ <switch test="`$download-n-e-sw-input.action-identifiers.pnf-name`">
+ <outcome value=''>
<block>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='playbookname' />
@@ -68,6 +48,34 @@
</get-resource>
</block>
</outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
+ <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
+ </set>
+ <switch test='`$payloadJson.playbook-name`'>
+ <outcome value=''>
+ <set>
+ <parameter name='playbookname' value='`$prop.lcm.pnf.download-n-e-sw.playbookname`'/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
+ </set>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>
+ <parameter name='source' value='download-n-e-sw-input.payload' />
+ <parameter name='outputPath' value='download-n-e-sw-input.payload' />
+ <parameter name='add.pnf-flag' value='true' />
+ <parameter name='add.pnfName' value="`$download-n-e-sw-input.action-identifiers.pnf-name`" />
+ <parameter name='delete.ipaddress-v4-oam' value="" />
+ <parameter name='delete.playbook-name' value="" />
+ </execute>
+ </block>
+ </outcome>
</switch>
<switch test='`$playbookname`'>
<outcome value=''>
@@ -468,4 +476,4 @@
</execute>
</block>
</method>
-</service-logic>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml b/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml
index fd1c8b2c..3b088c04 100644
--- a/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml
+++ b/platform-logic/lcm/src/main/xml/LCM_upgrade-post-check.xml
@@ -18,28 +18,8 @@
<parameter name='outputPath' value='payloadJson' />
<parameter name='isEscaped' value='true' />
</execute>
- <switch test='`$payloadJson.pnf-flag`'>
- <outcome value='true'>
- <block>
- <set>
- <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
- <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
- </set>
- <switch test='`$payloadJson.playbook-name`'>
- <outcome value=''>
- <set>
- <parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
- </set>
- </outcome>
- </switch>
- </block>
- </outcome>
- <outcome value='Other'>
+ <switch test="`$upgrade-post-check-input.action-identifiers.pnf-name`">
+ <outcome value=''>
<block>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='playbookname' />
@@ -68,6 +48,34 @@
</get-resource>
</block>
</outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
+ <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
+ </set>
+ <switch test='`$payloadJson.playbook-name`'>
+ <outcome value=''>
+ <set>
+ <parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
+ </set>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>
+ <parameter name='source' value='upgrade-post-check-input.payload' />
+ <parameter name='outputPath' value='upgrade-post-check-input.payload' />
+ <parameter name='add.pnf-flag' value='true' />
+ <parameter name='add.pnfName' value="`$upgrade-post-check-input.action-identifiers.pnf-name`" />
+ <parameter name='delete.ipaddress-v4-oam' value="" />
+ <parameter name='delete.playbook-name' value="" />
+ </execute>
+ </block>
+ </outcome>
</switch>
<switch test='`$playbookname`'>
<outcome value=''>
diff --git a/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml b/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml
index 3976fb9a..16b9d310 100644
--- a/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml
+++ b/platform-logic/lcm/src/main/xml/LCM_upgrade-pre-check.xml
@@ -18,28 +18,8 @@
<parameter name='outputPath' value='payloadJson' />
<parameter name='isEscaped' value='true' />
</execute>
- <switch test='`$payloadJson.pnf-flag`'>
- <outcome value='true'>
- <block>
- <set>
- <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
- <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
- </set>
- <switch test='`$payloadJson.playbook-name`'>
- <outcome value=''>
- <set>
- <parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-pre-check.playbookname`'/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
- </set>
- </outcome>
- </switch>
- </block>
- </outcome>
- <outcome value='Other'>
+ <switch test="`$upgrade-pre-check-input.action-identifiers.pnf-name`">
+ <outcome value=''>
<block>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='playbookname' />
@@ -68,6 +48,34 @@
</get-resource>
</block>
</outcome>
+ <outcome value='Other'>
+ <block>
+ <set>
+ <parameter name='nodelist' value="`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`"/>
+ <parameter name='outputPayloadField' value="`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`"/>
+ </set>
+ <switch test='`$payloadJson.playbook-name`'>
+ <outcome value=''>
+ <set>
+ <parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-pre-check.playbookname`'/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='playbookname' value='`$payloadJson.playbook-name`'/>
+ </set>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>
+ <parameter name='source' value='upgrade-pre-check-input.payload' />
+ <parameter name='outputPath' value='upgrade-pre-check-input.payload' />
+ <parameter name='add.pnf-flag' value='true' />
+ <parameter name='add.pnfName' value="`$upgrade-pre-check-input.action-identifiers.pnf-name`" />
+ <parameter name='delete.ipaddress-v4-oam' value="" />
+ <parameter name='delete.playbook-name' value="" />
+ </execute>
+ </block>
+ </outcome>
</switch>
<switch test='`$playbookname`'>
<outcome value=''>