aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json986
1 files changed, 493 insertions, 493 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
index 81060bf3..ead08f44 100644
--- a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
+++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json
@@ -1,243 +1,243 @@
[
{
- "id": "c3dc4adb.8c6008",
+ "id": "3872acaa.809c44",
"type": "other",
"name": "update",
"xml": "<outcome value='Update'>\n",
"comments": "",
"outputs": 1,
- "x": 739,
- "y": 311,
- "z": "fcc91756.c8d038",
+ "x": 710,
+ "y": 305,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "bd0845c9.41d478"
+ "5a988226.7d9fdc"
]
]
},
{
- "id": "71253ee0.23906",
+ "id": "dbb694.b27a417",
"type": "other",
"name": "delete",
"xml": "<outcome value='Delete'>\n",
"comments": "",
"outputs": 1,
- "x": 739,
- "y": 391,
- "z": "fcc91756.c8d038",
+ "x": 710,
+ "y": 385,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "3f0bf71e.180588"
+ "754f4acc.eae6dc"
]
]
},
{
- "id": "3f0bf71e.180588",
+ "id": "754f4acc.eae6dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 880.5,
- "y": 391,
- "z": "fcc91756.c8d038",
+ "x": 851.5,
+ "y": 385,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "67540de7.5dd14c"
+ "983792ba.976408"
]
]
},
{
- "id": "de801ea6.e90758",
+ "id": "4cc508ad.f5c7d",
"type": "switchNode",
"name": "switch aai-event-trigger",
"xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
"comments": "",
"outputs": 1,
- "x": 569.5,
- "y": 351,
- "z": "fcc91756.c8d038",
+ "x": 540.5,
+ "y": 345,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "c3dc4adb.8c6008",
- "71253ee0.23906"
+ "3872acaa.809c44",
+ "dbb694.b27a417"
]
]
},
{
- "id": "1007cea6.282501",
+ "id": "f974c517.d68cd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1266.5,
- "y": 222,
- "z": "fcc91756.c8d038",
+ "x": 1237.5,
+ "y": 216,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "95e785b5.d067b",
- "7a1058d1.4b2d6",
- "558bdafc.122dbc",
- "54848569.ec4d54",
- "25993b47.1f060c"
+ "29d0fcfc.c3657c",
+ "80deb47b.7e9e",
+ "f9b155cc.d14098",
+ "c374fd8f.2c9bc8",
+ "31237f4.62f8c"
]
]
},
{
- "id": "7a1058d1.4b2d6",
+ "id": "80deb47b.7e9e",
"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.onap.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": 1539.5001983642578,
- "y": 143.00000953674316,
- "z": "fcc91756.c8d038",
+ "x": 1510.5001983642578,
+ "y": 137.00000953674316,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "1f13ca65.eddc8e",
- "fa7642f7.a126c8"
+ "6d5b07.e87e6cf8",
+ "403286df.c4eed8"
]
]
},
{
- "id": "1f13ca65.eddc8e",
+ "id": "6d5b07.e87e6cf8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1829.000244140625,
- "y": 135,
- "z": "fcc91756.c8d038",
+ "x": 1800.000244140625,
+ "y": 129,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "a5768e87.aa1bb"
+ "b95a0f0f.c5f4"
]
]
},
{
- "id": "fa7642f7.a126c8",
+ "id": "403286df.c4eed8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1825.000244140625,
- "y": 175,
- "z": "fcc91756.c8d038",
+ "x": 1796.000244140625,
+ "y": 169,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "334af206.383786"
+ "f35984bc.58f298"
]
]
},
{
- "id": "a5768e87.aa1bb",
+ "id": "b95a0f0f.c5f4",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 1979.500244140625,
- "y": 135,
- "z": "fcc91756.c8d038",
+ "x": 1950.500244140625,
+ "y": 129,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "272f0d19.0aa972",
+ "id": "c03c3a2.5764a48",
"type": "execute",
"name": "execute RestApiCallNode Get Topology",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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": 2046.500244140625,
- "y": 255,
- "z": "fcc91756.c8d038",
+ "x": 2017.500244140625,
+ "y": 249,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "c0f8711f.5047d8",
- "6134ff85.3a875"
+ "986cb045.40c5",
+ "e9ec571f.c3cfe8"
]
]
},
{
- "id": "c0f8711f.5047d8",
+ "id": "986cb045.40c5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2289.000244140625,
- "y": 275,
- "z": "fcc91756.c8d038",
+ "x": 2260.000244140625,
+ "y": 269,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "f5e8d64.1d84ba8"
+ "7a144ec7.8a9348"
]
]
},
{
- "id": "f5e8d64.1d84ba8",
+ "id": "7a144ec7.8a9348",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2446.500244140625,
- "y": 275,
- "z": "fcc91756.c8d038",
+ "x": 2417.500244140625,
+ "y": 269,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "f392518f.1c82f",
- "f7bc5da7.da31b"
+ "55ea6ad.8497214",
+ "ad96f3f.ca0439"
]
]
},
{
- "id": "dd9ef895.8d06e8",
+ "id": "c2f07a72.d9a858",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <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": 2423.000244140625,
- "y": 175,
- "z": "fcc91756.c8d038",
+ "x": 2394.000244140625,
+ "y": 169,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "6134ff85.3a875",
+ "id": "e9ec571f.c3cfe8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2285.000244140625,
- "y": 175,
- "z": "fcc91756.c8d038",
+ "x": 2256.000244140625,
+ "y": 169,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "dd9ef895.8d06e8"
+ "c2f07a72.d9a858"
]
]
},
{
- "id": "bca2c88c.f5748",
+ "id": "7d5868e5.98eab",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 192,
- "y": 86,
- "z": "fcc91756.c8d038",
+ "x": 163,
+ "y": 80,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "1c8eebdb.be2d0c"
+ "22d8189e.4866f"
]
]
},
{
- "id": "1c8eebdb.be2d0c",
+ "id": "22d8189e.4866f",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -245,1242 +245,1242 @@
"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='DataChange' version='${project.version}'>",
"outputs": 1,
- "x": 205,
- "y": 146,
- "z": "fcc91756.c8d038",
+ "x": 176,
+ "y": 140,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "a6fcf3ab.5f9578"
+ "3a8b8af3.4d4416"
]
]
},
{
- "id": "a6fcf3ab.5f9578",
+ "id": "3a8b8af3.4d4416",
"type": "method",
"name": "method esr-thirdparty-sdnc-discovery",
"xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 225,
- "y": 226,
- "z": "fcc91756.c8d038",
+ "x": 196,
+ "y": 220,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "6420c8d3.d15ee"
+ "c8a85a4d.9e66f"
]
]
},
{
- "id": "6420c8d3.d15ee",
+ "id": "c8a85a4d.9e66f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 472.5,
- "y": 226,
- "z": "fcc91756.c8d038",
+ "x": 443.5,
+ "y": 220,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "39152f22.f0d4a8"
+ "cbd24389.ade708"
]
]
},
{
- "id": "f392518f.1c82f",
+ "id": "55ea6ad.8497214",
"type": "for",
"name": "for each Network",
"xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2665.500244140625,
- "y": 204,
- "z": "fcc91756.c8d038",
+ "x": 2636.500244140625,
+ "y": 198,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "48caa041.662da"
+ "1ed2d22d.82cc36"
]
]
},
{
- "id": "48caa041.662da",
+ "id": "1ed2d22d.82cc36",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2814.000244140625,
- "y": 204,
- "z": "fcc91756.c8d038",
+ "x": 2785.000244140625,
+ "y": 198,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "f9d6723a.6cdf78",
- "929dfcd4.4e318"
+ "852144d1.2cc6d",
+ "530a9a06.d69fc4"
]
]
},
{
- "id": "f9d6723a.6cdf78",
+ "id": "852144d1.2cc6d",
"type": "call",
"name": "call update-network-to-aai",
"xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2993.000244140625,
- "y": 224,
- "z": "fcc91756.c8d038",
+ "x": 2964.000244140625,
+ "y": 218,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "929dfcd4.4e318",
+ "id": "530a9a06.d69fc4",
"type": "set",
"name": "set network",
"xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
"comments": "",
- "x": 2948.000244140625,
- "y": 184,
- "z": "fcc91756.c8d038",
+ "x": 2919.000244140625,
+ "y": 178,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "334af206.383786",
+ "id": "f35984bc.58f298",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1945.000244140625,
- "y": 175,
- "z": "fcc91756.c8d038",
+ "x": 1916.000244140625,
+ "y": 169,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "2b9bc1fc.7f9d86",
+ "id": "a473b7cc.4471d8",
"type": "comment",
"name": "Do Nothing",
"info": "",
"comments": "",
- "x": 2115.000244140625,
- "y": 215,
- "z": "fcc91756.c8d038",
+ "x": 2086.000244140625,
+ "y": 209,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "ec977bcd.52b8a8",
+ "id": "d9afda1.5ca9828",
"type": "switchNode",
"name": "switch type",
"xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
"comments": "",
"outputs": 1,
- "x": 992,
- "y": 311,
- "z": "fcc91756.c8d038",
+ "x": 963,
+ "y": 305,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "e6327558.85a0e",
- "ece3c1dc.08a25",
- "57f0cdff.7f0d04",
- "e6efb547.0bd5a8"
+ "7ea96e84.4a184",
+ "e5a11dd.415fde",
+ "11ea46b7.9ad609",
+ "a5c3b391.3c4aa"
]
]
},
{
- "id": "bd0845c9.41d478",
+ "id": "5a988226.7d9fdc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 859,
- "y": 311,
- "z": "fcc91756.c8d038",
+ "x": 830,
+ "y": 305,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "ec977bcd.52b8a8"
+ "d9afda1.5ca9828"
]
]
},
{
- "id": "e6327558.85a0e",
+ "id": "7ea96e84.4a184",
"type": "other",
"name": "SOTN",
"xml": "<outcome value='SOTN'>\n",
"comments": "",
"outputs": 1,
- "x": 1105,
- "y": 222,
- "z": "fcc91756.c8d038",
+ "x": 1076,
+ "y": 216,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "1007cea6.282501"
+ "f974c517.d68cd"
]
]
},
{
- "id": "ece3c1dc.08a25",
+ "id": "e5a11dd.415fde",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1134.5,
- "y": 683.5001220703125,
- "z": "fcc91756.c8d038",
+ "x": 1105.5,
+ "y": 677.5001220703125,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "752a836e.32daf4"
+ "4a0581b6.8cbdf"
]
]
},
{
- "id": "752a836e.32daf4",
+ "id": "4a0581b6.8cbdf",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
"comments": "",
- "x": 1320.75,
- "y": 709.5001220703125,
- "z": "fcc91756.c8d038",
+ "x": 1291.75,
+ "y": 703.5001220703125,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "95e785b5.d067b",
+ "id": "29d0fcfc.c3657c",
"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": 1486.0001983642578,
- "y": 103.00000953674316,
- "z": "fcc91756.c8d038",
+ "x": 1457.0001983642578,
+ "y": 97.00000953674316,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "558bdafc.122dbc",
+ "id": "f9b155cc.d14098",
"type": "switchNode",
"name": "switch prop.sdncRestApi.token_id",
"xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1532.5001983642578,
- "y": 223.00000953674316,
- "z": "fcc91756.c8d038",
+ "x": 1503.5001983642578,
+ "y": 217.00000953674316,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "9764857a.46386",
- "b55a5855.1b4c4"
+ "4e229170.2e1108",
+ "495c5d16.740274"
]
]
},
{
- "id": "9764857a.46386",
+ "id": "4e229170.2e1108",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1825.000244140625,
- "y": 215,
- "z": "fcc91756.c8d038",
+ "x": 1796.000244140625,
+ "y": 209,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "d18413fb.5938e8"
+ "b14dd129.fcf7f"
]
]
},
{
- "id": "b55a5855.1b4c4",
+ "id": "495c5d16.740274",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1825.000244140625,
- "y": 255,
- "z": "fcc91756.c8d038",
+ "x": 1796.000244140625,
+ "y": 249,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "272f0d19.0aa972"
+ "c03c3a2.5764a48"
]
]
},
{
- "id": "d18413fb.5938e8",
+ "id": "b14dd129.fcf7f",
"type": "execute",
"name": "execute RestApiCallNode Get Topology",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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",
"comments": "",
"outputs": 1,
- "x": 2046.500244140625,
- "y": 215,
- "z": "fcc91756.c8d038",
+ "x": 2017.500244140625,
+ "y": 209,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "6134ff85.3a875",
- "c0f8711f.5047d8"
+ "e9ec571f.c3cfe8",
+ "986cb045.40c5"
]
]
},
{
- "id": "25993b47.1f060c",
+ "id": "31237f4.62f8c",
"type": "execute",
"name": "execute RestconfDiscoveryNode",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
"comments": "",
"outputs": 1,
- "x": 1529.0001983642578,
- "y": 363.00000953674316,
- "z": "fcc91756.c8d038",
+ "x": 1500.0001983642578,
+ "y": 357.00000953674316,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "54848569.ec4d54",
+ "id": "c374fd8f.2c9bc8",
"type": "set",
"name": "set encoding-format",
"xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
"comments": "",
- "x": 1489.0001983642578,
- "y": 323.00000953674316,
- "z": "fcc91756.c8d038",
+ "x": 1460.0001983642578,
+ "y": 317.00000953674316,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "c147e994.7edd08",
+ "id": "47fcc4e5.c080a4",
"type": "comment",
"name": "Notification subscription",
"info": "",
"comments": "",
- "x": 1494.000343322754,
- "y": 280.00000858306885,
- "z": "fcc91756.c8d038",
+ "x": 1465.000343322754,
+ "y": 274.00000858306885,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "39152f22.f0d4a8",
+ "id": "cbd24389.ade708",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
"comments": "",
"outputs": 1,
- "x": 179,
- "y": 351,
- "z": "fcc91756.c8d038",
+ "x": 150,
+ "y": 345,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "404d2f08.96ad7",
- "74ffd1db.2f31c8"
+ "f624fdf6.4a4ef8",
+ "67364ea6.885738"
]
]
},
{
- "id": "404d2f08.96ad7",
+ "id": "f624fdf6.4a4ef8",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 366,
- "y": 351,
- "z": "fcc91756.c8d038",
+ "x": 337,
+ "y": 345,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "de801ea6.e90758"
+ "4cc508ad.f5c7d"
]
]
},
{
- "id": "74ffd1db.2f31c8",
+ "id": "67364ea6.885738",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 140.00003051757812,
- "y": 1107.75,
- "z": "fcc91756.c8d038",
+ "x": 111.00003051757812,
+ "y": 1101.75,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "c3886c05.a14928"
+ "48c54790.7a017"
]
]
},
{
- "id": "c3886c05.a14928",
+ "id": "48c54790.7a017",
"type": "call",
"name": "call esr-thirdparty-sdnc-of-zte",
"xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 371.75,
- "y": 1124.5000610351562,
- "z": "fcc91756.c8d038",
+ "x": 342.75,
+ "y": 1118.5000610351562,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "57f0cdff.7f0d04",
+ "id": "11ea46b7.9ad609",
"type": "other",
"name": "TAPI",
"xml": "<outcome value='TAPI'>\n",
"comments": "",
"outputs": 1,
- "x": 1183,
- "y": 456,
- "z": "fcc91756.c8d038",
+ "x": 1154,
+ "y": 450,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "9159c5db.f9ecb"
+ "a1313060.f8d7d"
]
]
},
{
- "id": "9159c5db.f9ecb",
+ "id": "a1313060.f8d7d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1346,
- "y": 455,
- "z": "fcc91756.c8d038",
+ "x": 1317,
+ "y": 449,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "359e52a9.fb7c36"
+ "f271610b.da5a3"
]
]
},
{
- "id": "359e52a9.fb7c36",
+ "id": "f271610b.da5a3",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/> \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=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"topologies\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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": 1507,
- "y": 454,
- "z": "fcc91756.c8d038",
+ "x": 1478,
+ "y": 448,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "bdd5dc28.9d2908",
- "a872bbb4.c3aec8"
+ "878204ba.609a58",
+ "1c89864.e323d7a"
]
]
},
{
- "id": "a872bbb4.c3aec8",
+ "id": "1c89864.e323d7a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1649,
- "y": 530,
- "z": "fcc91756.c8d038",
+ "x": 1620,
+ "y": 524,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "e24829ea.497098"
+ "5d965dcc.6101a4"
]
]
},
{
- "id": "bdd5dc28.9d2908",
+ "id": "878204ba.609a58",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1683,
- "y": 451,
- "z": "fcc91756.c8d038",
+ "x": 1654,
+ "y": 445,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "ba70e873.59e928"
+ "4052d329.1b779c"
]
]
},
{
- "id": "ba70e873.59e928",
+ "id": "4052d329.1b779c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",
"comments": "",
- "x": 1853,
- "y": 450,
- "z": "fcc91756.c8d038",
+ "x": 1824,
+ "y": 444,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "e24829ea.497098",
+ "id": "5d965dcc.6101a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1810,
- "y": 529,
- "z": "fcc91756.c8d038",
+ "x": 1781,
+ "y": 523,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "e5d11bee.6d3f3"
+ "d1531df6.3732f"
]
]
},
{
- "id": "e5d11bee.6d3f3",
+ "id": "d1531df6.3732f",
"type": "for",
"name": "for each topology",
"xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
"comments": "",
"outputs": 1,
- "x": 1989,
- "y": 529,
- "z": "fcc91756.c8d038",
+ "x": 1960,
+ "y": 523,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "f9dbd640.006d18"
+ "8b55167c.96333"
]
]
},
{
- "id": "f9dbd640.006d18",
+ "id": "8b55167c.96333",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2156,
- "y": 530,
- "z": "fcc91756.c8d038",
+ "x": 2127,
+ "y": 524,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "c60ea7f.3bd2058",
- "b4f9b29d.c49458"
+ "e7e4969d.73ce58",
+ "9e2e1ddf.baa2b"
]
]
},
{
- "id": "c60ea7f.3bd2058",
+ "id": "e7e4969d.73ce58",
"type": "set",
"name": "set topology",
"xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
"comments": "",
- "x": 2315,
- "y": 531,
- "z": "fcc91756.c8d038",
+ "x": 2286,
+ "y": 525,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "b4f9b29d.c49458",
+ "id": "9e2e1ddf.baa2b",
"type": "call",
"name": "call tapi-update-network-to-aai",
"xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2306,
- "y": 597,
- "z": "fcc91756.c8d038",
+ "x": 2277,
+ "y": 591,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "e6efb547.0bd5a8",
+ "id": "a5c3b391.3c4aa",
"type": "outcome",
"name": "MSA",
"xml": "<outcome value='MSA'>\n",
"comments": "",
"outputs": 1,
- "x": 1153.677324295044,
- "y": 612.8993349075317,
- "z": "fcc91756.c8d038",
+ "x": 1124.677324295044,
+ "y": 606.8993349075317,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "e1657417.9cefe8"
+ "1925d7f4.b889a8"
]
]
},
{
- "id": "e1657417.9cefe8",
+ "id": "1925d7f4.b889a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1315.6773872375488,
- "y": 610.899335861206,
- "z": "fcc91756.c8d038",
+ "x": 1286.6773872375488,
+ "y": 604.899335861206,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "1f0bde0a.fa2cb2"
+ "7ba5724d.ffaffc"
]
]
},
{
- "id": "1f0bde0a.fa2cb2",
+ "id": "7ba5724d.ffaffc",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-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=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"networks\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.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",
"comments": "",
"outputs": 1,
- "x": 1492.6771354675293,
- "y": 602.8992919921875,
- "z": "fcc91756.c8d038",
+ "x": 1463.6771354675293,
+ "y": 596.8992919921875,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "7133cad2.99b11c",
- "c3d837c.d0ca2c8"
+ "6946de0a.deebc",
+ "5d4a6514.4c3a9c"
]
]
},
{
- "id": "7133cad2.99b11c",
+ "id": "6946de0a.deebc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1645.6771354675293,
- "y": 599.8992919921875,
- "z": "fcc91756.c8d038",
+ "x": 1616.6771354675293,
+ "y": 593.8992919921875,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "eab907ff.882ae8"
+ "e290e7ee.1a21f"
]
]
},
{
- "id": "eab907ff.882ae8",
+ "id": "e290e7ee.1a21f",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",
"comments": "",
- "x": 1820.6771354675293,
- "y": 598.8992919921875,
- "z": "fcc91756.c8d038",
+ "x": 1791.6771354675293,
+ "y": 592.8992919921875,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "c3d837c.d0ca2c8",
+ "id": "5d4a6514.4c3a9c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1651.6771354675293,
- "y": 672.8992919921875,
- "z": "fcc91756.c8d038",
+ "x": 1622.6771354675293,
+ "y": 666.8992919921875,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "224d6e37.21354a"
+ "815556fb.bd9668"
]
]
},
{
- "id": "224d6e37.21354a",
+ "id": "815556fb.bd9668",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1835.6771354675293,
- "y": 674.8992919921875,
- "z": "fcc91756.c8d038",
+ "x": 1806.6771354675293,
+ "y": 668.8992919921875,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "622b9c10.ebdeac"
+ "9834a552.e8e02"
]
]
},
{
- "id": "622b9c10.ebdeac",
+ "id": "9834a552.e8e02",
"type": "call",
"name": "call msa-update-network-to-aai",
"xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",
"comments": "",
"outputs": 1,
- "x": 2114.677001953125,
- "y": 672.8992919921875,
- "z": "fcc91756.c8d038",
+ "x": 2085.677001953125,
+ "y": 666.8992919921875,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "67540de7.5dd14c",
+ "id": "983792ba.976408",
"type": "switchNode",
"name": "switch type",
"xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
"comments": "",
"outputs": 1,
- "x": 285.566650390625,
- "y": 841.5666809082031,
- "z": "fcc91756.c8d038",
+ "x": 256.566650390625,
+ "y": 835.5666809082031,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "ed11f93e.13815",
- "b9986099.553ab8",
- "eeccf78a.d71e3"
+ "674a6a9f.8c143c",
+ "42c7b2ab.76125c",
+ "1501fed.f113881"
]
]
},
{
- "id": "ed11f93e.13815",
+ "id": "674a6a9f.8c143c",
"type": "outcome",
"name": "MSA",
"xml": "<outcome value='MSA'>\n",
"comments": "",
"outputs": 1,
- "x": 464.857177734375,
- "y": 758.9285888671875,
- "z": "fcc91756.c8d038",
+ "x": 435.857177734375,
+ "y": 752.9285888671875,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "40980c29.103654"
+ "8b3cf345.6948d"
]
]
},
{
- "id": "b9986099.553ab8",
+ "id": "42c7b2ab.76125c",
"type": "other",
"name": "TAPI",
"xml": "<outcome value='TAPI'>\n",
"comments": "",
"outputs": 1,
- "x": 473.6070556640625,
- "y": 1009.6428527832031,
- "z": "fcc91756.c8d038",
+ "x": 444.6070556640625,
+ "y": 1003.6428527832031,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "b9906adb.aedb"
+ "ec6a41aa.381fd"
]
]
},
{
- "id": "40980c29.103654",
+ "id": "8b3cf345.6948d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 618.607177734375,
- "y": 755.7143249511719,
- "z": "fcc91756.c8d038",
+ "x": 589.607177734375,
+ "y": 749.7143249511719,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "f4759d50.5acb",
- "6300b23d.858844"
+ "49d8550e.67af3c",
+ "db848d25.52ee9"
]
]
},
{
- "id": "b9906adb.aedb",
+ "id": "ec6a41aa.381fd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 623,
- "y": 1009.5,
- "z": "fcc91756.c8d038",
+ "x": 594,
+ "y": 1003.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "ee72aef0.96b35",
- "80047dba.a18518"
+ "1335976f.2d9b19",
+ "16c45478.af99e4"
]
]
},
{
- "id": "eeccf78a.d71e3",
+ "id": "1501fed.f113881",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 576,
- "y": 1173.5,
- "z": "fcc91756.c8d038",
+ "x": 547,
+ "y": 1167.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "a7ccb229.5cc45"
+ "41c63854.9379a8"
]
]
},
{
- "id": "a7ccb229.5cc45",
+ "id": "41c63854.9379a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
"comments": "",
- "x": 738,
- "y": 1212.5,
- "z": "fcc91756.c8d038",
+ "x": 709,
+ "y": 1206.5,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "f4759d50.5acb",
+ "id": "49d8550e.67af3c",
"type": "get-resource",
"name": "get resources from DB -controller_id",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
"comments": "",
"outputs": 1,
- "x": 850.5,
- "y": 803.5,
- "z": "fcc91756.c8d038",
+ "x": 821.5,
+ "y": 797.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "418351d.550fdb",
- "5d9de12a.c40778",
- "4f52ba75.31f414"
+ "1a8d1895.ab6a47",
+ "47ef9d8f.3964f4",
+ "d98324ce.97ca8"
]
]
},
{
- "id": "6300b23d.858844",
+ "id": "db848d25.52ee9",
"type": "set",
"name": "set controller_id",
"xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
"comments": "",
- "x": 810.5,
- "y": 737.5,
- "z": "fcc91756.c8d038",
+ "x": 781.5,
+ "y": 731.5,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "418351d.550fdb",
+ "id": "1a8d1895.ab6a47",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1089.5,
- "y": 823.5,
- "z": "fcc91756.c8d038",
+ "x": 1060.5,
+ "y": 817.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "7d4b021f.b58864"
+ "d1f9e1a7.c7f19"
]
]
},
{
- "id": "7d4b021f.b58864",
+ "id": "d1f9e1a7.c7f19",
"type": "delete",
"name": "delete from db",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
"comments": "",
"outputs": 1,
- "x": 1258.5,
- "y": 830.5,
- "z": "fcc91756.c8d038",
+ "x": 1229.5,
+ "y": 824.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "ee72aef0.96b35",
+ "id": "1335976f.2d9b19",
"type": "set",
"name": "set controller_id",
"xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
"comments": "",
- "x": 787.5,
- "y": 965.5,
- "z": "fcc91756.c8d038",
+ "x": 758.5,
+ "y": 959.5,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "80047dba.a18518",
+ "id": "16c45478.af99e4",
"type": "get-resource",
"name": "get resources from DB -controller_id",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
"comments": "",
"outputs": 1,
- "x": 800.5,
- "y": 1054.5,
- "z": "fcc91756.c8d038",
+ "x": 771.5,
+ "y": 1048.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "193e8ffa.2d1e68",
- "392a4087.7340c",
- "3b51b50f.fabfaa"
+ "a8a3e82f.8a5a8",
+ "ae0994a7.403ab8",
+ "e57ecfd9.55df58"
]
]
},
{
- "id": "193e8ffa.2d1e68",
+ "id": "a8a3e82f.8a5a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1025.5,
- "y": 1069.5,
- "z": "fcc91756.c8d038",
+ "x": 996.5,
+ "y": 1063.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "7c3655cf.c7356c"
+ "d7aae079.2ca2a"
]
]
},
{
- "id": "7c3655cf.c7356c",
+ "id": "d7aae079.2ca2a",
"type": "delete",
"name": "delete from db",
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
"comments": "",
"outputs": 1,
- "x": 1196.5,
- "y": 1070.5,
- "z": "fcc91756.c8d038",
+ "x": 1167.5,
+ "y": 1064.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "5d9de12a.c40778",
+ "id": "47ef9d8f.3964f4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1075.5,
- "y": 902.5,
- "z": "fcc91756.c8d038",
+ "x": 1046.5,
+ "y": 896.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "44b36cb9.4f203c"
+ "1e298c8c.f0408b"
]
]
},
{
- "id": "392a4087.7340c",
+ "id": "ae0994a7.403ab8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1006.5,
- "y": 1142.5,
- "z": "fcc91756.c8d038",
+ "x": 977.5,
+ "y": 1136.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "568e56df.183be8"
+ "c236971a.ee197"
]
]
},
{
- "id": "44b36cb9.4f203c",
+ "id": "1e298c8c.f0408b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
"comments": "",
- "x": 1236.5,
- "y": 907.5,
- "z": "fcc91756.c8d038",
+ "x": 1207.5,
+ "y": 901.5,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "4f52ba75.31f414",
+ "id": "d98324ce.97ca8",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1066.5,
- "y": 962.5,
- "z": "fcc91756.c8d038",
+ "x": 1037.5,
+ "y": 956.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "67091014.c5cb48"
+ "3416464c.a143ea"
]
]
},
{
- "id": "67091014.c5cb48",
+ "id": "3416464c.a143ea",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
"comments": "",
- "x": 1215.5,
- "y": 964.5,
- "z": "fcc91756.c8d038",
+ "x": 1186.5,
+ "y": 958.5,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "568e56df.183be8",
+ "id": "c236971a.ee197",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
"comments": "",
- "x": 1154.5,
- "y": 1143.5,
- "z": "fcc91756.c8d038",
+ "x": 1125.5,
+ "y": 1137.5,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "3b51b50f.fabfaa",
+ "id": "e57ecfd9.55df58",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1006.5,
- "y": 1186.5,
- "z": "fcc91756.c8d038",
+ "x": 977.5,
+ "y": 1180.5,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "74792395.d77524"
+ "d5ad8139.acdf48"
]
]
},
{
- "id": "74792395.d77524",
+ "id": "d5ad8139.acdf48",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
"comments": "",
- "x": 1171.5,
- "y": 1183.5,
- "z": "fcc91756.c8d038",
+ "x": 1142.5,
+ "y": 1177.5,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "f7bc5da7.da31b",
+ "id": "ad96f3f.ca0439",
"type": "switchNode",
"name": "switch network_length",
"xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2682,
- "y": 335,
- "z": "fcc91756.c8d038",
+ "x": 2653,
+ "y": 329,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "aa4a8663.38bb68"
+ "d135440e.332828"
]
]
},
{
- "id": "aa4a8663.38bb68",
+ "id": "d135440e.332828",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2864,
- "y": 336,
- "z": "fcc91756.c8d038",
+ "x": 2835,
+ "y": 330,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "efdac693.289728"
+ "9dfbe1b1.0501b8"
]
]
},
{
- "id": "6a7f62ea.d32524",
+ "id": "27de91fe.6ca4f6",
"type": "for",
"name": "for each Network",
"xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3237,
- "y": 329,
- "z": "fcc91756.c8d038",
+ "x": 3208,
+ "y": 323,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "de962ed4.8e2558"
+ "7ec0ad88.0666cc"
]
]
},
{
- "id": "de962ed4.8e2558",
+ "id": "7ec0ad88.0666cc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3455,
- "y": 326,
- "z": "fcc91756.c8d038",
+ "x": 3426,
+ "y": 320,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "d31ddaea.690348",
- "bbbca45f.8e2228",
- "acccc325.a38838"
+ "8fdc47cc.432ab",
+ "b5eed741.5fbb08",
+ "1656178e.3ba998"
]
]
},
{
- "id": "73e20b64.41827c",
+ "id": "5634a256.4e2744",
"type": "call",
"name": "call update-tp-ttp-relationship",
"xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 3270,
- "y": 389,
- "z": "fcc91756.c8d038",
+ "x": 3241,
+ "y": 383,
+ "z": "8cb67e95.d771b8",
"wires": [
[]
]
},
{
- "id": "efdac693.289728",
+ "id": "9dfbe1b1.0501b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3034,
- "y": 332,
- "z": "fcc91756.c8d038",
+ "x": 3005,
+ "y": 326,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "6a7f62ea.d32524",
- "73e20b64.41827c"
+ "27de91fe.6ca4f6",
+ "5634a256.4e2744"
]
]
},
{
- "id": "acccc325.a38838",
+ "id": "1656178e.3ba998",
"type": "set",
"name": "unset network",
"xml": "<set>\n<parameter name='network.' value='' />\n",
"comments": "",
- "x": 3614,
- "y": 266,
- "z": "fcc91756.c8d038",
+ "x": 3585,
+ "y": 260,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "d31ddaea.690348",
+ "id": "8fdc47cc.432ab",
"type": "set",
"name": "set network",
"xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",
"comments": "",
- "x": 3608,
- "y": 314,
- "z": "fcc91756.c8d038",
+ "x": 3579,
+ "y": 308,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "bbbca45f.8e2228",
+ "id": "b5eed741.5fbb08",
"type": "switchNode",
"name": "switch network-types with topologyId",
"xml": "<switch test='`$network.te-topology-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 3685,
- "y": 361,
- "z": "fcc91756.c8d038",
+ "x": 3656,
+ "y": 355,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "e4f22bce.03ea18",
- "2f6da0f9.e964d8"
+ "c1423a29.1c46e8",
+ "ab490ddf.8e1c1"
]
]
},
{
- "id": "e4f22bce.03ea18",
+ "id": "c1423a29.1c46e8",
"type": "outcome",
- "name": "11",
- "xml": "<outcome value='11'>\n",
+ "name": "1",
+ "xml": "<outcome value='1'>\n",
"comments": "",
"outputs": 1,
- "x": 3911,
- "y": 330,
- "z": "fcc91756.c8d038",
+ "x": 3882,
+ "y": 324,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "a545d36e.f0b618"
+ "3c6e5d11.fbd2b2"
]
]
},
{
- "id": "2f6da0f9.e964d8",
+ "id": "ab490ddf.8e1c1",
"type": "outcome",
- "name": "33",
- "xml": "<outcome value='33'>\n",
+ "name": "2",
+ "xml": "<outcome value='2'>\n",
"comments": "",
"outputs": 1,
- "x": 3911,
- "y": 391,
- "z": "fcc91756.c8d038",
+ "x": 3882,
+ "y": 385,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "d2ccc5d0.bc949"
+ "654a57a4.0fd38"
]
]
},
{
- "id": "dcbdf3ee.469d4",
+ "id": "adf965cc.3e515",
"type": "set",
"name": "set network-otn",
"xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",
"comments": "",
- "x": 4206,
- "y": 330,
- "z": "fcc91756.c8d038",
+ "x": 4177,
+ "y": 324,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "6a7bd0f0.92b65",
+ "id": "f1dbbcab.0dda4",
"type": "set",
"name": "set network eth",
"xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",
"comments": "",
- "x": 4206,
- "y": 391,
- "z": "fcc91756.c8d038",
+ "x": 4177,
+ "y": 385,
+ "z": "8cb67e95.d771b8",
"wires": []
},
{
- "id": "a545d36e.f0b618",
+ "id": "3c6e5d11.fbd2b2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4045,
- "y": 330,
- "z": "fcc91756.c8d038",
+ "x": 4016,
+ "y": 324,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "dcbdf3ee.469d4"
+ "adf965cc.3e515"
]
]
},
{
- "id": "d2ccc5d0.bc949",
+ "id": "654a57a4.0fd38",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4046,
- "y": 391,
- "z": "fcc91756.c8d038",
+ "x": 4017,
+ "y": 385,
+ "z": "8cb67e95.d771b8",
"wires": [
[
- "6a7bd0f0.92b65"
+ "f1dbbcab.0dda4"
]
]
}