aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json402
1 files changed, 201 insertions, 201 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json
index 9c84f2d7..547ed010 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json
@@ -1,20 +1,20 @@
[
{
- "id": "793dbdb3.de8be4",
+ "id": "2cfde233.a1cf6e",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 95.00390625,
- "y": 45.00390625,
- "z": "c3c952bc.05e95",
+ "x": 103.00390625,
+ "y": 35.003907203674316,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "3a91b25b.2f4cce"
+ "3b2e232c.fd060c"
]
]
},
{
- "id": "3a91b25b.2f4cce",
+ "id": "3b2e232c.fd060c",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,562 +22,562 @@
"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": 281.00391006469727,
- "y": 117.0039234161377,
- "z": "c3c952bc.05e95",
+ "x": 265.00391006469727,
+ "y": 107.0039234161377,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "eca97066.caaf3"
+ "a53b2fce.2a65f"
]
]
},
{
- "id": "eca97066.caaf3",
+ "id": "a53b2fce.2a65f",
"type": "method",
"name": "method sdwan-network-topology-operation-deactivate",
"xml": "<method rpc='sdwan-network-topology-operation-deactivate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 269.0040283203125,
- "y": 205.00390625,
- "z": "c3c952bc.05e95",
+ "x": 253.0040283203125,
+ "y": 195.00390625,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "4de7b297.7c56ec"
+ "663d77f7.214e28"
]
]
},
{
- "id": "4de7b297.7c56ec",
+ "id": "663d77f7.214e28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 443.00392150878906,
- "y": 313.0039653778076,
- "z": "c3c952bc.05e95",
+ "x": 427.00392150878906,
+ "y": 303.0039653778076,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "b335849f.1ecf78",
- "4b508beb.3a8574",
- "49f08c5d.a4c334",
- "c621318b.d31c",
- "335b7a74.877be6",
- "cf0d2147.3c1a7",
- "fc2f3bed.6dcf68",
- "6ed3cf6a.44f1b",
- "2cf71503.16f17a",
- "69c0586.74e3ea8",
- "bd5c4a5d.9d8378",
- "6cc3df01.2a98a",
- "b06c361a.4ff338"
+ "b928d5a5.e0ad38",
+ "4e2c1ff0.9578e",
+ "f4a9e349.c682f",
+ "23c4ff52.00447",
+ "77ecaa70.6d0df4",
+ "2ea7cfac.fbbe5",
+ "15a8b2bc.455b8d",
+ "b657cd65.d8e7b",
+ "e4693af9.dc3458",
+ "c69b48c1.cce2a8",
+ "992bd0be.f4511",
+ "565518bc.dd3838",
+ "5cca3c72.23bd74"
]
]
},
{
- "id": "b335849f.1ecf78",
+ "id": "b928d5a5.e0ad38",
"type": "call",
"name": "call GENERIC-RESOURCE-API:validate-sdwan-network-input-parameters",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-network-input-parameters' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 901.3928070068359,
- "y": 62.00390625,
- "z": "c3c952bc.05e95",
+ "x": 885.3928070068359,
+ "y": 52.00390625,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[]
]
},
{
- "id": "4b508beb.3a8574",
+ "id": "4e2c1ff0.9578e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sdwan-network-topology-operation-deactivate\"/>\n<parameter name=\"field3\" value=\"SDWAN-Deactivate\"/>\n",
"comments": "",
"outputs": 1,
- "x": 701.5595054626465,
- "y": 115.78175926208496,
- "z": "c3c952bc.05e95",
+ "x": 685.5595054626465,
+ "y": 105.78175926208496,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[]
]
},
{
- "id": "49f08c5d.a4c334",
+ "id": "f4a9e349.c682f",
"type": "set",
"name": "set networkId and network-object-path",
"xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $network-topology-operation-input.network-information.network-id + '/network-data/'` \" />",
"comments": "",
- "x": 793.5597496032715,
- "y": 742.3173627853394,
- "z": "c3c952bc.05e95",
+ "x": 777.5597496032715,
+ "y": 732.3173627853394,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "c621318b.d31c",
+ "id": "23c4ff52.00447",
"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": 715.3375511169434,
- "y": 931.8727827072144,
- "z": "c3c952bc.05e95",
+ "x": 699.3375511169434,
+ "y": 921.8727827072144,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "335b7a74.877be6",
+ "id": "77ecaa70.6d0df4",
"type": "set",
"name": "set network-level-oper-status",
"xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />",
"comments": "",
- "x": 760.4486656188965,
- "y": 803.5395374298096,
- "z": "c3c952bc.05e95",
+ "x": 744.4486656188965,
+ "y": 793.5395374298096,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "cf0d2147.3c1a7",
+ "id": "2ea7cfac.fbbe5",
"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": 733.8616104125977,
- "y": 168.78179550170898,
- "z": "c3c952bc.05e95",
+ "x": 717.8616104125977,
+ "y": 158.78179550170898,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[]
]
},
{
- "id": "fc2f3bed.6dcf68",
+ "id": "15a8b2bc.455b8d",
"type": "set",
"name": "set network in service-data",
"xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />",
"comments": "",
- "x": 754.004280090332,
- "y": 689.095196723938,
- "z": "c3c952bc.05e95",
+ "x": 738.004280090332,
+ "y": 679.095196723938,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "6ed3cf6a.44f1b",
+ "id": "b657cd65.d8e7b",
"type": "for",
"name": "for each network-input-parameters",
"xml": "<for index='idx' start='0' end='`$ctx.network-data.network-request-input.network-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 786.00390625,
- "y": 239.00781378149986,
- "z": "c3c952bc.05e95",
+ "x": 770.00390625,
+ "y": 229.00781378149986,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "8e8065b6.1084e8"
+ "630ca78d.27ae88"
]
]
},
{
- "id": "8e8065b6.1084e8",
+ "id": "630ca78d.27ae88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1042.8373374938965,
- "y": 173.34116491675377,
- "z": "c3c952bc.05e95",
+ "x": 1026.8373374938965,
+ "y": 163.34116491675377,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "db93bdb.d26bf4",
- "ac2e8139.951b",
- "1e600efe.efd971",
- "d6b3741d.b12d48"
+ "3612556b.bbed1a",
+ "c60af583.51da48",
+ "a8faff93.c15f9",
+ "3a3baf52.54ed7"
]
]
},
{
- "id": "db93bdb.d26bf4",
+ "id": "3612556b.bbed1a",
"type": "switchNode",
"name": "switch name",
"xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1264.837417602539,
- "y": 63.34119987487793,
- "z": "c3c952bc.05e95",
+ "x": 1248.837417602539,
+ "y": 53.34119987487793,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "c5296581.642598"
+ "8c14fd7b.27081"
]
]
},
{
- "id": "c5296581.642598",
+ "id": "8c14fd7b.27081",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1438.8375434875488,
- "y": 63.341203689575195,
- "z": "c3c952bc.05e95",
+ "x": 1422.8375434875488,
+ "y": 53.341203689575195,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "209fc8ff.4a3e38"
+ "f4242145.e0099"
]
]
},
{
- "id": "209fc8ff.4a3e38",
+ "id": "f4242145.e0099",
"type": "set",
"name": "set name",
"xml": "<set>\n<parameter name='prop.name' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1601.8374290466309,
- "y": 62.94119834899902,
- "z": "c3c952bc.05e95",
+ "x": 1585.8374290466309,
+ "y": 52.94119834899902,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "2cf71503.16f17a",
+ "id": "e4693af9.dc3458",
"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": 780.00390625,
- "y": 348.00781378149986,
- "z": "c3c952bc.05e95",
+ "x": 764.00390625,
+ "y": 338.00781378149986,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "fc6c7998.f0e088",
- "27566cb3.03e2a4",
- "235c43b0.c60f6c"
+ "fdb52017.6dec1",
+ "5ded5567.77825c",
+ "2c94536.83be9ac"
]
]
},
{
- "id": "fc6c7998.f0e088",
+ "id": "fdb52017.6dec1",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1025.00390625,
- "y": 294.00781378149986,
- "z": "c3c952bc.05e95",
+ "x": 1009.00390625,
+ "y": 284.00781378149986,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "37902c28.eb9774"
+ "2b35b6e5.d07f8a"
]
]
},
{
- "id": "27566cb3.03e2a4",
+ "id": "5ded5567.77825c",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1028.494873046875,
- "y": 341.5818494260311,
- "z": "c3c952bc.05e95",
+ "x": 1012.494873046875,
+ "y": 331.5818494260311,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "bebdf762.3c5628"
+ "8424b2a8.48b9d"
]
]
},
{
- "id": "235c43b0.c60f6c",
+ "id": "2c94536.83be9ac",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1023.827880859375,
- "y": 382.91516241431236,
- "z": "c3c952bc.05e95",
+ "x": 1007.827880859375,
+ "y": 372.91516241431236,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "851cb606.194f18"
+ "ab7ddb5c.582b78"
]
]
},
{
- "id": "37902c28.eb9774",
+ "id": "2b35b6e5.d07f8a",
"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": 1222.5039672851562,
- "y": 282.00781378149986,
- "z": "c3c952bc.05e95",
+ "x": 1206.5039672851562,
+ "y": 272.00781378149986,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "bebdf762.3c5628",
+ "id": "8424b2a8.48b9d",
"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": 1205.0662841796875,
- "y": 329.8675855100155,
- "z": "c3c952bc.05e95",
+ "x": 1189.0662841796875,
+ "y": 319.8675855100155,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "851cb606.194f18",
+ "id": "ab7ddb5c.582b78",
"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": 1211.6004371643066,
- "y": 378.354355186224,
- "z": "c3c952bc.05e95",
+ "x": 1195.6004371643066,
+ "y": 368.354355186224,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "69c0586.74e3ea8",
+ "id": "c69b48c1.cce2a8",
"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 + '/actokentemplate.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": 788.00390625,
- "y": 459.00781378149986,
- "z": "c3c952bc.05e95",
+ "x": 772.00390625,
+ "y": 449.00781378149986,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "96f3aa2e.c54988",
- "cae8eff.6ac8b1"
+ "ce7c1b67.661578",
+ "8a934505.8ec3a8"
]
]
},
{
- "id": "96f3aa2e.c54988",
+ "id": "ce7c1b67.661578",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1023.00390625,
- "y": 437.00781378149986,
- "z": "c3c952bc.05e95",
+ "x": 1007.00390625,
+ "y": 427.00781378149986,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "91d847c8.f3fc48"
+ "aa6da81f.8e3f18"
]
]
},
{
- "id": "cae8eff.6ac8b1",
+ "id": "8a934505.8ec3a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1015.25390625,
- "y": 490.6506970822811,
- "z": "c3c952bc.05e95",
+ "x": 999.25390625,
+ "y": 480.6506970822811,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "7d2fabee.7ea674"
+ "928c6b17.a04a28"
]
]
},
{
- "id": "91d847c8.f3fc48",
+ "id": "aa6da81f.8e3f18",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 1177.00390625,
- "y": 438.00781378149986,
- "z": "c3c952bc.05e95",
+ "x": 1161.00390625,
+ "y": 428.00781378149986,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "7d2fabee.7ea674",
+ "id": "928c6b17.a04a28",
"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 get token rest api\" />\n",
"comments": "",
- "x": 1168.00390625,
- "y": 490.40075811743736,
- "z": "c3c952bc.05e95",
+ "x": 1152.00390625,
+ "y": 480.40075811743736,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "ac2e8139.951b",
+ "id": "c60af583.51da48",
"type": "switchNode",
"name": "switch topology",
"xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1270.253890991211,
- "y": 106.00781416893005,
- "z": "c3c952bc.05e95",
+ "x": 1254.253890991211,
+ "y": 96.00781416893005,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "1cd087e9.a0e8d8"
+ "6ea0ea88.c5d044"
]
]
},
{
- "id": "1cd087e9.a0e8d8",
+ "id": "6ea0ea88.c5d044",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1444.2540168762207,
- "y": 106.00781798362732,
- "z": "c3c952bc.05e95",
+ "x": 1428.2540168762207,
+ "y": 96.00781798362732,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "4dc771ac.bec7e"
+ "230bc0ec.589fb"
]
]
},
{
- "id": "4dc771ac.bec7e",
+ "id": "230bc0ec.589fb",
"type": "set",
"name": "set topology",
"xml": "<set>\n<parameter name='prop.topology' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1607.2539024353027,
- "y": 105.60781264305115,
- "z": "c3c952bc.05e95",
+ "x": 1591.2539024353027,
+ "y": 95.60781264305115,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "bd5c4a5d.9d8378",
+ "id": "992bd0be.f4511",
"type": "execute",
"name": "execute RestApiCallNode delete vpn",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-delete.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn/action/batch-delete'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 786.7539825439453,
- "y": 626.0080223083496,
- "z": "c3c952bc.05e95",
+ "x": 770.7539825439453,
+ "y": 616.0080223083496,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[]
]
},
{
- "id": "6cc3df01.2a98a",
+ "id": "565518bc.dd3838",
"type": "execute",
"name": "execute RestApiCallNode delete vpn topology",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn-id + '/topology'`\" />\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=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 816.2539978027344,
- "y": 559.0079069137573,
- "z": "c3c952bc.05e95",
+ "x": 800.2539978027344,
+ "y": 549.0079069137573,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[]
]
},
{
- "id": "1e600efe.efd971",
+ "id": "a8faff93.c15f9",
"type": "switchNode",
"name": "switch vpn-id",
"xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'vpn-id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1264.5039691925049,
- "y": 189.00390815734863,
- "z": "c3c952bc.05e95",
+ "x": 1248.5039691925049,
+ "y": 179.00390815734863,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "c1d7d040.09f8"
+ "ae3a63c3.3c738"
]
]
},
{
- "id": "c1d7d040.09f8",
+ "id": "ae3a63c3.3c738",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1446.5040016174316,
- "y": 189.00390696525574,
- "z": "c3c952bc.05e95",
+ "x": 1430.5040016174316,
+ "y": 179.00390696525574,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "c45b30c0.c02ff"
+ "4d67f5b4.fc8eec"
]
]
},
{
- "id": "c45b30c0.c02ff",
+ "id": "4d67f5b4.fc8eec",
"type": "set",
"name": "set prop.vpn-id",
"xml": "<set>\n<parameter name='prop.vpn-id' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1609.5038871765137,
- "y": 188.60390162467957,
- "z": "c3c952bc.05e95",
+ "x": 1593.5038871765137,
+ "y": 178.60390162467957,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "d6b3741d.b12d48",
+ "id": "3a3baf52.54ed7",
"type": "switchNode",
"name": "switch tenant-id",
"xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'tenant-id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1270.25390625,
- "y": 232.00390625,
- "z": "c3c952bc.05e95",
+ "x": 1254.25390625,
+ "y": 222.00390625,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "3b68a208.b06d0e"
+ "1a8e58aa.aa1b17"
]
]
},
{
- "id": "3b68a208.b06d0e",
+ "id": "1a8e58aa.aa1b17",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1444.2540321350098,
- "y": 232.00391006469727,
- "z": "c3c952bc.05e95",
+ "x": 1428.2540321350098,
+ "y": 222.00391006469727,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[
- "61b35e07.ec39d"
+ "3b8512ac.291e5e"
]
]
},
{
- "id": "61b35e07.ec39d",
+ "id": "3b8512ac.291e5e",
"type": "set",
"name": "set prop.tenant-id",
"xml": "<set>\n<parameter name='prop.tenant-id' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 1607.2539176940918,
- "y": 231.6039047241211,
- "z": "c3c952bc.05e95",
+ "x": 1591.2539176940918,
+ "y": 221.6039047241211,
+ "z": "57d2d3d6.9aa6fc",
"wires": []
},
{
- "id": "b06c361a.4ff338",
+ "id": "5cca3c72.23bd74",
"type": "update",
"name": "update SDWAN VPN status to AAI",
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n key='sdwan-vpn.id = $network-topology-operation-input.network-information.network-id' >\n<parameter name='id' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='operational-status' value='PendingDelete' />",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n key='sdwan-vpn.sdwan-vpn-id = $network-topology-operation-input.network-information.network-id' >\n<parameter name='sdwan-vpn-id' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='operational-status' value='PendingDelete' />",
"comments": "",
"outputs": 1,
- "x": 774.0039443969727,
- "y": 870.5039930343628,
- "z": "c3c952bc.05e95",
+ "x": 758.0039443969727,
+ "y": 860.5039930343628,
+ "z": "57d2d3d6.9aa6fc",
"wires": [
[]
]