aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json434
1 files changed, 217 insertions, 217 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json
index b6fa82f1..fd716bcf 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json
@@ -1,20 +1,20 @@
[
{
- "id": "9c3e9355.a9b98",
+ "id": "28277ffa.638ba",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 211,
- "y": 76,
- "z": "73283ddb.ad1024",
+ "x": 139.57137298583984,
+ "y": 52.00390625,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "ce33d12b.fedca"
+ "4a59deb7.c7457"
]
]
},
{
- "id": "ce33d12b.fedca",
+ "id": "4a59deb7.c7457",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,606 +22,606 @@
"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='GENERIC-RESOURCE-API' version='${project.version}'>",
"outputs": 1,
- "x": 286.28570556640625,
- "y": 116.23811149597168,
- "z": "73283ddb.ad1024",
+ "x": 214.8570785522461,
+ "y": 92.24201774597168,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "5efe4e61.39e9f"
+ "4241d8c0.16daf8"
]
]
},
{
- "id": "5efe4e61.39e9f",
+ "id": "4241d8c0.16daf8",
"type": "method",
"name": "method sdwan-vnf-topology-operation-device-deactivate",
"xml": "<method rpc='sdwan-vnf-topology-operation-device-deactivate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 279.42862701416016,
- "y": 155.9999942779541,
- "z": "73283ddb.ad1024",
+ "x": 208,
+ "y": 132.0039005279541,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "dd73ee5c.ac516"
+ "e1131c3b.26e86"
]
]
},
{
- "id": "dd73ee5c.ac516",
+ "id": "e1131c3b.26e86",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 304.1667289733887,
- "y": 346.69354248046875,
- "z": "73283ddb.ad1024",
+ "x": 232.73810195922852,
+ "y": 322.69744873046875,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "e4601a05.8a4688",
- "9a1b232.90c38e",
- "73fbd09e.9edc3",
- "3e61d24c.5cc44e",
- "1587e9e4.574f16",
- "3781959e.04703a",
- "2a98908a.1304b",
- "7025602.36919a",
- "f4083614.bed898",
- "f8b84934.c5f1e8",
- "e2ef718b.f3132",
- "274a3fd3.76447",
- "5ee6b514.0ecf0c"
+ "f0fdfb5e.5f4f98",
+ "f90e57ef.2882a8",
+ "7e2abc70.e22d84",
+ "c34a88b2.04b7e8",
+ "270267d5.5e26e8",
+ "58a16fad.ea89b",
+ "90a0a7b1.52f328",
+ "f53c993f.c19e48",
+ "30405ea5.d01402",
+ "6f2e8f06.6beb6",
+ "8a59eab6.8ca808",
+ "fd82888d.de41f8",
+ "86982181.80824"
]
]
},
{
- "id": "e4601a05.8a4688",
+ "id": "f0fdfb5e.5f4f98",
"type": "set",
"name": "set vnf in service-data",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='`$vnf-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='`$vnf-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='`$vnf-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-information.' value='`$vnf-topology-operation-input.vnf-information.`' />",
+ "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='`$vnf-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='`$vnf-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='`$vnf-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-information.' value='`$vnf-topology-operation-input.vnf-information.`' />",
"comments": "",
- "x": 560.0000762939453,
- "y": 769.0002317428589,
- "z": "73283ddb.ad1024",
+ "x": 488.57144927978516,
+ "y": 745.0041379928589,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "9a1b232.90c38e",
+ "id": "f90e57ef.2882a8",
"type": "set",
"name": "set vnfId and vnf-object-path",
"xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $vnf-topology-operation-input.vnf-information.vnf-id + '/vnf-data/'` \" />",
"comments": "",
- "x": 581.5556182861328,
- "y": 811.2224426269531,
- "z": "73283ddb.ad1024",
+ "x": 510.12699127197266,
+ "y": 787.2263488769531,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "1587e9e4.574f16",
+ "id": "c34a88b2.04b7e8",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 540.3334503173828,
- "y": 973.7777910232544,
- "z": "73283ddb.ad1024",
+ "x": 468.90482330322266,
+ "y": 949.7816972732544,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "73fbd09e.9edc3",
+ "id": "86982181.80824",
"type": "update",
"name": "update SDWAN DeviceInstance status to AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n key='device.id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='operational-status' value='PendingDelete' />",
"comments": "",
"outputs": 1,
- "x": 630.6630401611328,
- "y": 914.1478223800659,
- "z": "73283ddb.ad1024",
+ "x": 559.2344131469727,
+ "y": 890.1517286300659,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[]
]
},
{
- "id": "3e61d24c.5cc44e",
+ "id": "7e2abc70.e22d84",
"type": "set",
"name": "set vnf-level-oper-status to PendingDelete",
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
"comments": "",
- "x": 620.0001068115234,
- "y": 868.0001993179321,
- "z": "73283ddb.ad1024",
+ "x": 548.5714797973633,
+ "y": 844.0041055679321,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "e2ef718b.f3132",
+ "id": "6f2e8f06.6beb6",
"type": "get-resource",
"name": "get-resource esr-thirdparty-sdnc",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWAN-Controller AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWANController AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
"comments": "",
"outputs": 1,
- "x": 586.5555725097656,
- "y": 395.99996280670166,
- "z": "73283ddb.ad1024",
+ "x": 515.1269454956055,
+ "y": 372.00386905670166,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "5f923fb2.e6dac",
- "d9f1fd79.ec60b",
- "917e23b.f000ae"
+ "f6a1b10b.feba7",
+ "3f65fa89.adee86",
+ "78d7b0ce.bc9f4"
]
]
},
{
- "id": "5f923fb2.e6dac",
+ "id": "f6a1b10b.feba7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 813.5555801391602,
- "y": 323.99996185302734,
- "z": "73283ddb.ad1024",
+ "x": 742.126953125,
+ "y": 300.00386810302734,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "fec9d567.919a68"
+ "7f8f918f.20ef"
]
]
},
{
- "id": "fec9d567.919a68",
+ "id": "7f8f918f.20ef",
"type": "set",
"name": "set controller data",
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
"comments": "",
- "x": 1012.0556945800781,
- "y": 314.999960899353,
- "z": "73283ddb.ad1024",
+ "x": 940.627067565918,
+ "y": 291.003867149353,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "d9f1fd79.ec60b",
+ "id": "3f65fa89.adee86",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 816.0465087890625,
- "y": 356.573974609375,
- "z": "73283ddb.ad1024",
+ "x": 744.6178817749023,
+ "y": 332.577880859375,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "8773c32.44abd4"
+ "d39e70d3.4d393"
]
]
},
{
- "id": "8773c32.44abd4",
+ "id": "d39e70d3.4d393",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 992.617977142334,
- "y": 353.85972690582275,
- "z": "73283ddb.ad1024",
+ "x": 921.1893501281738,
+ "y": 329.86363315582275,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "917e23b.f000ae",
+ "id": "78d7b0ce.bc9f4",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 808.3795166015625,
- "y": 397.90728759765625,
- "z": "73283ddb.ad1024",
+ "x": 736.9508895874023,
+ "y": 373.91119384765625,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "639cc54c.25461c"
+ "9d02040e.b8d128"
]
]
},
{
- "id": "639cc54c.25461c",
+ "id": "9d02040e.b8d128",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
"comments": "",
- "x": 996.1520729064941,
- "y": 393.34648036956787,
- "z": "73283ddb.ad1024",
+ "x": 924.723445892334,
+ "y": 369.35038661956787,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "274a3fd3.76447",
+ "id": "8a59eab6.8ca808",
"type": "execute",
"name": "execute RestApiCallNode Get token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
"comments": "",
"outputs": 1,
- "x": 609.4442253112793,
- "y": 462.1111717224121,
- "z": "73283ddb.ad1024",
+ "x": 538.0155982971191,
+ "y": 438.1150779724121,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "8dc1f56a.c9edd8",
- "2d6a0c7e.fec4b4"
+ "26f9897c.dede86",
+ "de10be74.3d175"
]
]
},
{
- "id": "8dc1f56a.c9edd8",
+ "id": "26f9897c.dede86",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 844.4442253112793,
- "y": 440.1111717224121,
- "z": "73283ddb.ad1024",
+ "x": 773.0155982971191,
+ "y": 416.1150779724121,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "cafcbbb3.279d28"
+ "2cf72494.6f564c"
]
]
},
{
- "id": "2d6a0c7e.fec4b4",
+ "id": "de10be74.3d175",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 836.6942253112793,
- "y": 493.75405502319336,
- "z": "73283ddb.ad1024",
+ "x": 765.2655982971191,
+ "y": 469.75796127319336,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "2bb735a3.ef2caa"
+ "af0aa9cf.0f24c8"
]
]
},
{
- "id": "cafcbbb3.279d28",
+ "id": "2cf72494.6f564c",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 998.4442253112793,
- "y": 441.1111717224121,
- "z": "73283ddb.ad1024",
+ "x": 927.0155982971191,
+ "y": 417.1150779724121,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "11e446ee.b59549",
+ "id": "d3b082c5.69f01",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 945.5554428100586,
- "y": 677.1112051010132,
- "z": "73283ddb.ad1024",
+ "x": 874.1268157958984,
+ "y": 653.1151113510132,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "edc154b6.909958"
+ "99768bda.9cb4d8"
]
]
},
{
- "id": "edc154b6.909958",
+ "id": "99768bda.9cb4d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1116.6664581298828,
- "y": 675.8890256881714,
- "z": "73283ddb.ad1024",
+ "x": 1045.2378311157227,
+ "y": 651.8929319381714,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[]
]
},
{
- "id": "2bb735a3.ef2caa",
+ "id": "af0aa9cf.0f24c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 984.5552673339844,
- "y": 490.00000381469727,
- "z": "73283ddb.ad1024",
+ "x": 913.1266403198242,
+ "y": 466.00391006469727,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[]
]
},
{
- "id": "d5f90150.5efad",
+ "id": "2e0a17d4.eed478",
"type": "comment",
"name": "Do Nothing",
"info": "",
"comments": "",
- "x": 1120.1108411153155,
- "y": 488.88887956407336,
- "z": "73283ddb.ad1024",
+ "x": 1048.6822141011553,
+ "y": 464.89278581407336,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "9375b3d1.4ccfc",
+ "id": "333f615c.44144e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 942.1109962463379,
- "y": 730.4444913864136,
- "z": "73283ddb.ad1024",
+ "x": 870.6823692321777,
+ "y": 706.4483976364136,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "4a4ccb7.2656134"
+ "d0bb3a12.db6658"
]
]
},
{
- "id": "4a4ccb7.2656134",
+ "id": "d0bb3a12.db6658",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
"comments": "",
- "x": 1087.110996246338,
- "y": 733.4444913864136,
- "z": "73283ddb.ad1024",
+ "x": 1015.6823692321777,
+ "y": 709.4483976364136,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "4f2b12fc.8ccc3c",
+ "id": "d3422f84.faf5e",
"type": "comment",
"name": "deviceId need to provide here?",
"info": "",
"comments": "",
- "x": 581.3333320617676,
- "y": 528,
- "z": "73283ddb.ad1024",
+ "x": 509.9047050476074,
+ "y": 504.00390625,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "f5a0eb00.de7588",
+ "id": "f9274c25.d5eea",
"type": "comment",
"name": "tmp.thirdparty-sdnc-id to be hardcoded here?",
"info": "",
"comments": "",
- "x": 635.333366394043,
- "y": 315.0000591278076,
- "z": "73283ddb.ad1024",
+ "x": 563.9047393798828,
+ "y": 291.0039653778076,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "a4f6705d.1d73",
+ "id": "4a930baa.676754",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
"comments": "",
- "x": 875.3332824707031,
- "y": 1718.3333358764648,
- "z": "73283ddb.ad1024",
+ "x": 803.904655456543,
+ "y": 1694.3372421264648,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "3781959e.04703a",
+ "id": "270267d5.5e26e8",
"type": "for",
"name": "for vidx..service-data.vnfs.vnf_length[]",
"xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 619.03125,
- "y": 244.03125,
- "z": "73283ddb.ad1024",
+ "x": 547.6026229858398,
+ "y": 220.03515625,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "a8d53377.9812d"
+ "728ab8ba.7e8bd8"
]
]
},
{
- "id": "a8d53377.9812d",
+ "id": "728ab8ba.7e8bd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 867.3808441162109,
- "y": 244.5713176727295,
- "z": "73283ddb.ad1024",
+ "x": 795.9522171020508,
+ "y": 220.5752239227295,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "80a46b1e.d041d8"
+ "905ea52f.02efa8"
]
]
},
{
- "id": "80a46b1e.d041d8",
+ "id": "905ea52f.02efa8",
"type": "switchNode",
"name": "switch vnfid found",
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 1021.4604415893555,
- "y": 244.28139972686768,
- "z": "73283ddb.ad1024",
+ "x": 950.0318145751953,
+ "y": 220.28530597686768,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "42dc4574.ff70ac"
+ "7e04ad09.ef3004"
]
]
},
{
- "id": "89ce8e98.fff87",
+ "id": "873538e6.7c6cb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1315.0579528808594,
- "y": 245.58171272277832,
- "z": "73283ddb.ad1024",
+ "x": 1243.6293258666992,
+ "y": 221.58561897277832,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "68c86c18.1fc774",
- "3e5b1306.9b698c",
- "50ffba36.d6fac4"
+ "3c1b116b.de0f4e",
+ "2734bda2.1de7a2",
+ "79d2ab5b.7f7124"
]
]
},
{
- "id": "42dc4574.ff70ac",
+ "id": "7e04ad09.ef3004",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1176.4124336242676,
- "y": 245.17407894134521,
- "z": "73283ddb.ad1024",
+ "x": 1104.9838066101074,
+ "y": 221.17798519134521,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "89ce8e98.fff87"
+ "873538e6.7c6cb8"
]
]
},
{
- "id": "3e5b1306.9b698c",
+ "id": "2734bda2.1de7a2",
"type": "set",
"name": "set vnf-request-input.",
"xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
"comments": "",
- "x": 1556.3908081054688,
- "y": 201.58177280426025,
- "z": "73283ddb.ad1024",
+ "x": 1484.9621810913086,
+ "y": 177.58567905426025,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "68c86c18.1fc774",
+ "id": "3c1b116b.de0f4e",
"type": "set",
"name": "set tmp.vidx and ctx.vnf-data",
"xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
"comments": "",
- "x": 1583.9445190429688,
- "y": 154.92413711547852,
- "z": "73283ddb.ad1024",
+ "x": 1512.5158920288086,
+ "y": 130.92804336547852,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "50ffba36.d6fac4",
+ "id": "79d2ab5b.7f7124",
"type": "call",
"name": "call sdwan-get-device-param",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-device-param' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1561.0312576293945,
- "y": 264.0312433242798,
- "z": "73283ddb.ad1024",
+ "x": 1489.6026306152344,
+ "y": 240.03514957427979,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[]
]
},
{
- "id": "2a98908a.1304b",
+ "id": "58a16fad.ea89b",
"type": "switchNode",
"name": "switch tmp.vidx ",
"xml": "<switch test=\"`$tmp.vidx`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 536.03125,
- "y": 286.03125,
- "z": "73283ddb.ad1024",
+ "x": 464.60262298583984,
+ "y": 262.03515625,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "ebb7bd09.45a41"
+ "dde49dff.66ec"
]
]
},
{
- "id": "ebb7bd09.45a41",
+ "id": "dde49dff.66ec",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 683.4598922729492,
- "y": 285.6026601791382,
- "z": "73283ddb.ad1024",
+ "x": 612.0312652587891,
+ "y": 261.6065664291382,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "94eadd89.567a"
+ "94b39f5e.140ba"
]
]
},
{
- "id": "94eadd89.567a",
+ "id": "94b39f5e.140ba",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
"comments": "",
- "x": 832.8886184692383,
- "y": 286.7455778121948,
- "z": "73283ddb.ad1024",
+ "x": 761.4599914550781,
+ "y": 262.7494840621948,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "5ee6b514.0ecf0c",
+ "id": "fd82888d.de41f8",
"type": "execute",
"name": "execute RestApiCallNode delete Devcie Instance",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v3/devices'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"deviceResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 652.0313262939453,
- "y": 700.0313568115234,
- "z": "73283ddb.ad1024",
+ "x": 580.6026992797852,
+ "y": 676.0352630615234,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[
- "11e446ee.b59549",
- "9375b3d1.4ccfc"
+ "d3b082c5.69f01",
+ "333f615c.44144e"
]
]
},
{
- "id": "7025602.36919a",
+ "id": "90a0a7b1.52f328",
"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%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 560.03125,
- "y": 350.03125,
- "z": "73283ddb.ad1024",
+ "x": 488.60262298583984,
+ "y": 326.03515625,
+ "z": "3dfa2ee1.d9eb62",
"wires": [
[]
]
},
{
- "id": "f4083614.bed898",
+ "id": "f53c993f.c19e48",
"type": "set",
"name": "set device Id length and deviceId",
"xml": "<set>\n<parameter name='prop.devices[0]' value='`$prop.device.deviceId`' />\n\n\n",
"comments": "",
- "x": 602.0312652587891,
- "y": 645.0312666893005,
- "z": "73283ddb.ad1024",
+ "x": 520.6026458740234,
+ "y": 613.0351934432983,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
},
{
- "id": "f8b84934.c5f1e8",
+ "id": "30405ea5.d01402",
"type": "set",
"name": "set device Id length and deviceId",
"xml": "<set>\n<parameter name='prop.devices_length' value='1' />\n\n\n",
"comments": "",
- "x": 596.03125,
- "y": 595.03125,
- "z": "73283ddb.ad1024",
+ "x": 524.6026229858398,
+ "y": 571.03515625,
+ "z": "3dfa2ee1.d9eb62",
"wires": []
}
]