summaryrefslogtreecommitdiffstats
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.json1164
1 files changed, 861 insertions, 303 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 9b95dc5a..232afae4 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,251 +1,253 @@
[
{
- "id": "36e96ed4.41d832",
+ "id": "b49e6ed1.c8dcb",
"type": "other",
"name": "update",
"xml": "<outcome value='Update'>\n",
"comments": "",
"outputs": 1,
- "x": 665.5,
- "y": 329,
- "z": "35b097d7.5fa018",
+ "x": 663,
+ "y": 290,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "8acc6f21.be6fc8"
+ "afc79595.03a058"
]
]
},
{
- "id": "6f06aa61.f248ec",
+ "id": "93d3a809.23d83",
"type": "other",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 665.5,
- "y": 409,
- "z": "35b097d7.5fa018",
+ "x": 663,
+ "y": 370,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "a603632c.68bff"
+ "87f5ce3d.163be8"
]
]
},
{
- "id": "a603632c.68bff",
+ "id": "87f5ce3d.163be8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 807,
- "y": 409,
- "z": "35b097d7.5fa018",
+ "x": 804.5,
+ "y": 370,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
},
{
- "id": "68bed413.930adc",
+ "id": "ed89d8e2.366518",
"type": "comment",
"name": "TODO: Delete topology from AAI",
"info": "",
"comments": "",
- "x": 739.8335189819336,
- "y": 376.96899485588074,
- "z": "35b097d7.5fa018",
+ "x": 737.3335189819336,
+ "y": 337.96899485588074,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "50de7689.c1ed4",
+ "id": "493ee223.06b5cc",
"type": "switchNode",
"name": "switch aai-event-trigger",
"xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
"comments": "",
"outputs": 1,
- "x": 496,
- "y": 369,
- "z": "35b097d7.5fa018",
+ "x": 493.5,
+ "y": 330,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "36e96ed4.41d832",
- "6f06aa61.f248ec"
+ "b49e6ed1.c8dcb",
+ "93d3a809.23d83"
]
]
},
{
- "id": "e12b7948.8a8be",
+ "id": "c970e0d9.988dc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1193,
- "y": 240,
- "z": "35b097d7.5fa018",
+ "x": 1190.5,
+ "y": 201,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "484845a5.2238e4",
- "4e058d3f.ebbc8c",
- "19259d76.96fc3b",
- "ac66ccfd.381a88",
- "da47859b.4ec77"
+ "b93333aa.1c0a7",
+ "8e89ec86.381848",
+ "6bfd56ef.86aba8",
+ "29c878c8.6e2e3",
+ "9dd42ebd.c3ec58"
]
]
},
{
- "id": "4e058d3f.ebbc8c",
+ "id": "8e89ec86.381848",
"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": 1466.0001983642578,
- "y": 161.00000953674316,
- "z": "35b097d7.5fa018",
+ "x": 1463.5001983642578,
+ "y": 122.00000953674316,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "916502a3.877388",
- "e44e3e68.a49fd8"
+ "37b02225.daaf3e",
+ "e44faed5.0a562"
]
]
},
{
- "id": "916502a3.877388",
+ "id": "37b02225.daaf3e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1755.500244140625,
- "y": 153,
- "z": "35b097d7.5fa018",
+ "x": 1753.000244140625,
+ "y": 114,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "a8c3cc1.f5d4bb"
+ "9ee82b4c.027258"
]
]
},
{
- "id": "e44e3e68.a49fd8",
+ "id": "e44faed5.0a562",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1751.500244140625,
- "y": 193,
- "z": "35b097d7.5fa018",
+ "x": 1749.000244140625,
+ "y": 154,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "e40e8527.2ee67"
+ "95fadd6c.fb4588"
]
]
},
{
- "id": "a8c3cc1.f5d4bb",
+ "id": "9ee82b4c.027258",
"type": "set",
"name": "set token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
"comments": "",
- "x": 1906.000244140625,
- "y": 153,
- "z": "35b097d7.5fa018",
+ "x": 1903.500244140625,
+ "y": 114,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "f1eb21a4.8d1378",
+ "id": "d863483.fe451b8",
"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": 1973.000244140625,
- "y": 273,
- "z": "35b097d7.5fa018",
+ "x": 1970.500244140625,
+ "y": 234,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "8660dd2a.bc5478",
- "f7ff1324.a58c28"
+ "27150b59.a15c7c",
+ "10804f14.8fac71"
]
]
},
{
- "id": "8660dd2a.bc5478",
+ "id": "27150b59.a15c7c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2215.500244140625,
- "y": 293,
- "z": "35b097d7.5fa018",
+ "x": 2213.000244140625,
+ "y": 254,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "73cb768c.3647e"
+ "45766a62.487964"
]
]
},
{
- "id": "73cb768c.3647e",
+ "id": "45766a62.487964",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2373.000244140625,
- "y": 293,
- "z": "35b097d7.5fa018",
+ "x": 2370.500244140625,
+ "y": 254,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "92b164bb.975a38"
+ "ed8abc6a.23da9",
+ "3075f0c3.b7397",
+ "5530fe3e.d46a6"
]
]
},
{
- "id": "33371bb9.421c84",
+ "id": "679734df.7d768c",
"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": 2349.500244140625,
- "y": 193,
- "z": "35b097d7.5fa018",
+ "x": 2347.000244140625,
+ "y": 154,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "f7ff1324.a58c28",
+ "id": "10804f14.8fac71",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2211.500244140625,
- "y": 193,
- "z": "35b097d7.5fa018",
+ "x": 2209.000244140625,
+ "y": 154,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "33371bb9.421c84"
+ "679734df.7d768c"
]
]
},
{
- "id": "ea734627.c2c7d8",
+ "id": "fb65e652.c18e18",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 118.5,
- "y": 104,
- "z": "35b097d7.5fa018",
+ "x": 116,
+ "y": 65,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "89ca9d8b.bbc328"
+ "5fd8c6ae.cf15e8"
]
]
},
{
- "id": "89ca9d8b.bbc328",
+ "id": "5fd8c6ae.cf15e8",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -253,678 +255,1234 @@
"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": 131.5,
- "y": 164,
- "z": "35b097d7.5fa018",
+ "x": 129,
+ "y": 125,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "789b0d9d.02f75c"
+ "7c6d0d29.a4e9cc"
]
]
},
{
- "id": "789b0d9d.02f75c",
+ "id": "7c6d0d29.a4e9cc",
"type": "method",
"name": "method esr-thirdparty-sdnc-discovery",
"xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 151.5,
- "y": 244,
- "z": "35b097d7.5fa018",
+ "x": 149,
+ "y": 205,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "19dd5973.ca5fbf"
+ "d5da3f05.d59de8"
]
]
},
{
- "id": "19dd5973.ca5fbf",
+ "id": "d5da3f05.d59de8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 399,
- "y": 244,
- "z": "35b097d7.5fa018",
+ "x": 396.5,
+ "y": 205,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "72476c1.b3cb514"
+ "94fe0252.df11a8"
]
]
},
{
- "id": "92b164bb.975a38",
+ "id": "ed8abc6a.23da9",
"type": "for",
"name": "for each Network",
"xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1799.000259399414,
- "y": 392.00001525878906,
- "z": "35b097d7.5fa018",
+ "x": 2609.500244140625,
+ "y": 214,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "a33c6916.e2063"
+ "9a721924.2f2028"
]
]
},
{
- "id": "a33c6916.e2063",
+ "id": "9a721924.2f2028",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1947.500259399414,
- "y": 392.00001525878906,
- "z": "35b097d7.5fa018",
+ "x": 2786.000244140625,
+ "y": 209,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "70a92c18.3741ec",
- "6196a44a.543cec"
+ "6726d129.2959a",
+ "896230f8.99ca6"
]
]
},
{
- "id": "70a92c18.3741ec",
+ "id": "6726d129.2959a",
"type": "call",
"name": "call update-network-to-aai",
"xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2126.500259399414,
- "y": 412.00001525878906,
- "z": "35b097d7.5fa018",
+ "x": 2965.000244140625,
+ "y": 229,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
},
{
- "id": "6196a44a.543cec",
+ "id": "896230f8.99ca6",
"type": "set",
"name": "set network",
"xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
"comments": "",
- "x": 2081.500259399414,
- "y": 372.00001525878906,
- "z": "35b097d7.5fa018",
+ "x": 2920.000244140625,
+ "y": 189,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "e40e8527.2ee67",
+ "id": "95fadd6c.fb4588",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1871.500244140625,
- "y": 193,
- "z": "35b097d7.5fa018",
+ "x": 1869.000244140625,
+ "y": 154,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
},
{
- "id": "984ef742.f7de98",
+ "id": "8fa7ac01.7e9068",
"type": "comment",
"name": "Do Nothing",
"info": "",
"comments": "",
- "x": 2041.500244140625,
- "y": 233,
- "z": "35b097d7.5fa018",
+ "x": 2039.000244140625,
+ "y": 194,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "4308651d.5eb474",
+ "id": "4076575b.04c63",
"type": "switchNode",
"name": "switch type",
"xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
"comments": "",
"outputs": 1,
- "x": 918.5,
- "y": 329,
- "z": "35b097d7.5fa018",
+ "x": 916,
+ "y": 290,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "98c19260.813238",
- "3ccd2719.ec5e88",
- "c0dd9c59.c4eff8",
- "4451a4e9.723244"
+ "e5bd5122.002238",
+ "6d8d65c8.0b06bc",
+ "b3287819.8ca7c",
+ "4433c168.8e0cb"
]
]
},
{
- "id": "8acc6f21.be6fc8",
+ "id": "afc79595.03a058",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 785.5,
- "y": 329,
- "z": "35b097d7.5fa018",
+ "x": 783,
+ "y": 290,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "4308651d.5eb474"
+ "4076575b.04c63"
]
]
},
{
- "id": "98c19260.813238",
+ "id": "e5bd5122.002238",
"type": "other",
"name": "SOTN",
"xml": "<outcome value='SOTN'>\n",
"comments": "",
"outputs": 1,
- "x": 1031.5,
- "y": 240,
- "z": "35b097d7.5fa018",
+ "x": 1029,
+ "y": 201,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "e12b7948.8a8be"
+ "c970e0d9.988dc8"
]
]
},
{
- "id": "3ccd2719.ec5e88",
+ "id": "6d8d65c8.0b06bc",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1033.500087738037,
- "y": 789.0001106262207,
- "z": "35b097d7.5fa018",
+ "x": 1031.000087738037,
+ "y": 750.0001106262207,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "f4c76776.724b28"
+ "f76541c6.503d4"
]
]
},
{
- "id": "f4c76776.724b28",
+ "id": "f76541c6.503d4",
"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": 1183.5000610351562,
- "y": 785.0000972747803,
- "z": "35b097d7.5fa018",
+ "x": 1181.0000610351562,
+ "y": 746.0000972747803,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "484845a5.2238e4",
+ "id": "b93333aa.1c0a7",
"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": 1412.5001983642578,
- "y": 121.00000953674316,
- "z": "35b097d7.5fa018",
+ "x": 1410.0001983642578,
+ "y": 82.00000953674316,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
},
{
- "id": "19259d76.96fc3b",
+ "id": "6bfd56ef.86aba8",
"type": "switchNode",
"name": "switch prop.sdncRestApi.token_id",
"xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
"comments": "",
"outputs": 1,
- "x": 1459.0001983642578,
- "y": 241.00000953674316,
- "z": "35b097d7.5fa018",
+ "x": 1456.5001983642578,
+ "y": 202.00000953674316,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "2313a899.da913",
- "531d5829.4a09a8"
+ "ec0b1f86.de86a8",
+ "d869f67b.6cbd68"
]
]
},
{
- "id": "2313a899.da913",
+ "id": "ec0b1f86.de86a8",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1751.500244140625,
- "y": 233,
- "z": "35b097d7.5fa018",
+ "x": 1749.000244140625,
+ "y": 194,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "c60b8cf4.53a21"
+ "36410877.b60b2"
]
]
},
{
- "id": "531d5829.4a09a8",
+ "id": "d869f67b.6cbd68",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1751.500244140625,
- "y": 273,
- "z": "35b097d7.5fa018",
+ "x": 1749.000244140625,
+ "y": 234,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "f1eb21a4.8d1378"
+ "d863483.fe451b8"
]
]
},
{
- "id": "c60b8cf4.53a21",
+ "id": "36410877.b60b2",
"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": 1973.000244140625,
- "y": 233,
- "z": "35b097d7.5fa018",
+ "x": 1970.500244140625,
+ "y": 194,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "f7ff1324.a58c28",
- "8660dd2a.bc5478"
+ "10804f14.8fac71",
+ "27150b59.a15c7c"
]
]
},
{
- "id": "da47859b.4ec77",
+ "id": "9dd42ebd.c3ec58",
"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": 1455.5001983642578,
- "y": 381.00000953674316,
- "z": "35b097d7.5fa018",
+ "x": 1453.0001983642578,
+ "y": 342.00000953674316,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
},
{
- "id": "ac66ccfd.381a88",
+ "id": "29c878c8.6e2e3",
"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": 1415.5001983642578,
- "y": 341.00000953674316,
- "z": "35b097d7.5fa018",
+ "x": 1413.0001983642578,
+ "y": 302.00000953674316,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "fa1a511.33260b",
+ "id": "6c35f59f.31aaf4",
"type": "comment",
"name": "Notification subscription",
"info": "",
"comments": "",
- "x": 1420.500343322754,
- "y": 298.00000858306885,
- "z": "35b097d7.5fa018",
+ "x": 1418.000343322754,
+ "y": 259.00000858306885,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "72476c1.b3cb514",
+ "id": "94fe0252.df11a8",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
"comments": "",
"outputs": 1,
- "x": 105.5,
- "y": 369,
- "z": "35b097d7.5fa018",
+ "x": 103,
+ "y": 330,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "7ff38366.3f2f34",
- "18555fe6.542308"
+ "97112dfb.d25148",
+ "c86f88a8.e3654"
]
]
},
{
- "id": "7ff38366.3f2f34",
+ "id": "97112dfb.d25148",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 292.5,
- "y": 369,
- "z": "35b097d7.5fa018",
+ "x": 290,
+ "y": 330,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "50de7689.c1ed4"
+ "493ee223.06b5cc"
]
]
},
{
- "id": "18555fe6.542308",
+ "id": "c86f88a8.e3654",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 293.5,
- "y": 494,
- "z": "35b097d7.5fa018",
+ "x": 291,
+ "y": 455,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "46364a8c.43d47c"
+ "31c62e46.1b6bfa"
]
]
},
{
- "id": "46364a8c.43d47c",
+ "id": "31c62e46.1b6bfa",
"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": 516.5,
- "y": 494,
- "z": "35b097d7.5fa018",
+ "x": 514,
+ "y": 455,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
},
{
- "id": "c0dd9c59.c4eff8",
+ "id": "b3287819.8ca7c",
"type": "other",
"name": "TAPI",
"xml": "<outcome value='TAPI'>\n",
"comments": "",
"outputs": 1,
- "x": 1109.5,
- "y": 474,
- "z": "35b097d7.5fa018",
+ "x": 1107,
+ "y": 435,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "b4761a0a.e9187"
+ "a1b223fc.4bfc8"
]
]
},
{
- "id": "b4761a0a.e9187",
+ "id": "a1b223fc.4bfc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1272.5,
- "y": 473,
- "z": "35b097d7.5fa018",
+ "x": 1270,
+ "y": 434,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "5f4972dc.a8c76c"
+ "2ba90d0d.a5469a"
]
]
},
{
- "id": "5f4972dc.a8c76c",
+ "id": "2ba90d0d.a5469a",
"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": 1433.5,
- "y": 472,
- "z": "35b097d7.5fa018",
+ "x": 1431,
+ "y": 433,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "cef3a525.157f48",
- "aa2154d5.57633"
+ "e4e0c00a.96655",
+ "8857c3bd.cbf58"
]
]
},
{
- "id": "aa2154d5.57633",
+ "id": "8857c3bd.cbf58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1575.5,
- "y": 548,
- "z": "35b097d7.5fa018",
+ "x": 1573,
+ "y": 509,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "80d535c0.0a3eb"
+ "5009a48f.6c9144"
]
]
},
{
- "id": "cef3a525.157f48",
+ "id": "e4e0c00a.96655",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1609.5,
- "y": 469,
- "z": "35b097d7.5fa018",
+ "x": 1607,
+ "y": 430,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "9d726edf.4a00d"
+ "3d3fabb0.3b7c64"
]
]
},
{
- "id": "9d726edf.4a00d",
+ "id": "3d3fabb0.3b7c64",
"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": 1779.5,
- "y": 468,
- "z": "35b097d7.5fa018",
+ "x": 1777,
+ "y": 429,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "80d535c0.0a3eb",
+ "id": "5009a48f.6c9144",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1736.5,
- "y": 547,
- "z": "35b097d7.5fa018",
+ "x": 1734,
+ "y": 508,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "73db98e4.daca9"
+ "7bccde97.6587f8"
]
]
},
{
- "id": "73db98e4.daca9",
+ "id": "7bccde97.6587f8",
"type": "for",
"name": "for each topology",
"xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
"comments": "",
"outputs": 1,
- "x": 1915.5,
- "y": 547,
- "z": "35b097d7.5fa018",
+ "x": 1913,
+ "y": 508,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "d273e3f9.ce07"
+ "b488f25e.063e58"
]
]
},
{
- "id": "d273e3f9.ce07",
+ "id": "b488f25e.063e58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2082.5,
- "y": 548,
- "z": "35b097d7.5fa018",
+ "x": 2080,
+ "y": 509,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "e1c04d4.8fe4cb",
- "3d2b44f0.5e96ec"
+ "5387bb7e.ccfa04",
+ "58ce3e1c.538878"
]
]
},
{
- "id": "e1c04d4.8fe4cb",
+ "id": "5387bb7e.ccfa04",
"type": "set",
"name": "set topology",
"xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
"comments": "",
- "x": 2241.5,
- "y": 549,
- "z": "35b097d7.5fa018",
+ "x": 2239,
+ "y": 510,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "3d2b44f0.5e96ec",
+ "id": "58ce3e1c.538878",
"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": 2232.5,
- "y": 615,
- "z": "35b097d7.5fa018",
+ "x": 2230,
+ "y": 576,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
},
{
- "id": "4451a4e9.723244",
+ "id": "4433c168.8e0cb",
"type": "outcome",
"name": "MSA",
"xml": "<outcome value='MSA'>\n",
"comments": "",
"outputs": 1,
- "x": 1080.177324295044,
- "y": 630.8993349075317,
- "z": "35b097d7.5fa018",
+ "x": 1077.677324295044,
+ "y": 591.8993349075317,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "fe364eaa.3f7b08"
+ "e65be9ee.c7b3b"
]
]
},
{
- "id": "fe364eaa.3f7b08",
+ "id": "e65be9ee.c7b3b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1242.1773872375488,
- "y": 628.899335861206,
- "z": "35b097d7.5fa018",
+ "x": 1239.6773872375488,
+ "y": 589.899335861206,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "3e697d7a.72d032"
+ "35fd633c.bf4964"
]
]
},
{
- "id": "3e697d7a.72d032",
+ "id": "35fd633c.bf4964",
"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": 1419.1771354675293,
- "y": 620.8992919921875,
- "z": "35b097d7.5fa018",
+ "x": 1416.6771354675293,
+ "y": 581.8992919921875,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "65bb501c.2cef98",
- "d2559ee1.0d8548"
+ "7a243e03.e07788",
+ "31b0685e.813ca8"
]
]
},
{
- "id": "65bb501c.2cef98",
+ "id": "7a243e03.e07788",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1572.1771354675293,
- "y": 617.8992919921875,
- "z": "35b097d7.5fa018",
+ "x": 1569.6771354675293,
+ "y": 578.8992919921875,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "6d2f6447.367f94"
+ "a65ca6e4.09ef28"
]
]
},
{
- "id": "6d2f6447.367f94",
+ "id": "a65ca6e4.09ef28",
"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": 1747.1771354675293,
- "y": 616.8992919921875,
- "z": "35b097d7.5fa018",
+ "x": 1744.6771354675293,
+ "y": 577.8992919921875,
+ "z": "1b18cff5.bba51",
"wires": []
},
{
- "id": "d2559ee1.0d8548",
+ "id": "31b0685e.813ca8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1578.1771354675293,
- "y": 690.8992919921875,
- "z": "35b097d7.5fa018",
+ "x": 1575.6771354675293,
+ "y": 651.8992919921875,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "81b6558e.8743c"
+ "777a7a58.789fc4"
]
]
},
{
- "id": "81b6558e.8743c",
+ "id": "777a7a58.789fc4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1762.1771354675293,
- "y": 692.8992919921875,
- "z": "35b097d7.5fa018",
+ "x": 1759.6771354675293,
+ "y": 653.8992919921875,
+ "z": "1b18cff5.bba51",
"wires": [
[
- "4139e8ab.39b6d8"
+ "7575649a.153f4c"
]
]
},
{
- "id": "4139e8ab.39b6d8",
+ "id": "7575649a.153f4c",
"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": 2041.177001953125,
- "y": 690.8992919921875,
- "z": "35b097d7.5fa018",
+ "x": 2038.677001953125,
+ "y": 651.8992919921875,
+ "z": "1b18cff5.bba51",
"wires": [
[]
]
+ },
+ {
+ "id": "3075f0c3.b7397",
+ "type": "switchNode",
+ "name": "switch network_length",
+ "xml": "<switch test='`$topology.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2630,
+ "y": 320,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "8524dca2.aeded8"
+ ]
+ ]
+ },
+ {
+ "id": "8524dca2.aeded8",
+ "type": "outcome",
+ "name": "2 Topologies (1 Domain)",
+ "xml": "<outcome value='2'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2904,
+ "y": 320,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "b33095ec.9e9e"
+ ]
+ ]
+ },
+ {
+ "id": "b33095ec.9e9e",
+ "type": "switchNode",
+ "name": "switch network-types[0]",
+ "xml": "<switch test='`$topology.networks.network[0].network-types`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3272,
+ "y": 305,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "d9671ae7.1f2ac",
+ "8d2f7cad.ac7078"
+ ]
+ ]
+ },
+ {
+ "id": "d9671ae7.1f2ac",
+ "type": "outcome",
+ "name": "ethernet-topology",
+ "xml": "<outcome value='ethernet-topology'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3488,
+ "y": 305,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "9105249.2609cd8"
+ ]
+ ]
+ },
+ {
+ "id": "9105249.2609cd8",
+ "type": "switchNode",
+ "name": "switch network-types[1]",
+ "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3713,
+ "y": 305,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "9ce7c86d.2eb2d8",
+ "36497843.e3494"
+ ]
+ ]
+ },
+ {
+ "id": "9ce7c86d.2eb2d8",
+ "type": "outcome",
+ "name": "otn-topology",
+ "xml": "<outcome value='otn-topology'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3949,
+ "y": 258,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "637acfae.0f124"
+ ]
+ ]
+ },
+ {
+ "id": "f3d25251.c6e91",
+ "type": "call",
+ "name": "call update-tp-ttp-relationship",
+ "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4365,
+ "y": 246,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "741e41f5.1da6",
+ "type": "set",
+ "name": "set networks",
+ "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[0].`' />\n<parameter name='network-otn.' value='`$topology.networks.network[1].`' />\n",
+ "comments": "",
+ "x": 4321,
+ "y": 155,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "8d2f7cad.ac7078",
+ "type": "outcome",
+ "name": "otn-topology",
+ "xml": "<outcome value='otn-topology'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3493,
+ "y": 362,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "a8d319cf.4bc79"
+ ]
+ ]
+ },
+ {
+ "id": "637acfae.0f124",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4131,
+ "y": 232,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "741e41f5.1da6",
+ "f3d25251.c6e91"
+ ]
+ ]
+ },
+ {
+ "id": "a8d319cf.4bc79",
+ "type": "switchNode",
+ "name": "switch network-types[1]",
+ "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3712,
+ "y": 364,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "5531c9a0.612ad8",
+ "182315db.ba9502"
+ ]
+ ]
+ },
+ {
+ "id": "36497843.e3494",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3943,
+ "y": 317,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "695f6a27.1421dc"
+ ]
+ ]
+ },
+ {
+ "id": "695f6a27.1421dc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 4145,
+ "y": 315,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "5531c9a0.612ad8",
+ "type": "outcome",
+ "name": "ethernet-topology",
+ "xml": "<outcome value='ethernet-topology'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3935,
+ "y": 378,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "842f72e1.b17048"
+ ]
+ ]
+ },
+ {
+ "id": "3a98f05a.e5da8",
+ "type": "set",
+ "name": "set networks",
+ "xml": "<set>\n<parameter name='network.eth' value='`$topology.networks.network[1].`' />\n<parameter name='network.otn' value='`$topology.networks.network[0].`' />\n",
+ "comments": "",
+ "x": 4351,
+ "y": 359,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "182315db.ba9502",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3894,
+ "y": 439,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "ac618cc1.491d7"
+ ]
+ ]
+ },
+ {
+ "id": "ac618cc1.491d7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 4063,
+ "y": 446,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "842f72e1.b17048",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4113,
+ "y": 374,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "3a98f05a.e5da8",
+ "225dfddc.2a0cba"
+ ]
+ ]
+ },
+ {
+ "id": "5530fe3e.d46a6",
+ "type": "get-resource",
+ "name": "get-resource network-resources",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resources\" \n pfx='tmp.aai.network-resources' local-only='false' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2617,
+ "y": 510,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "d9e48832.552bd8",
+ "59795789.351ce",
+ "61ad07cf.dca3e8"
+ ]
+ ]
+ },
+ {
+ "id": "d9e48832.552bd8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2870,
+ "y": 428,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "aa408c9d.56c38"
+ ]
+ ]
+ },
+ {
+ "id": "59795789.351ce",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2873.490966796875,
+ "y": 475.57403564453125,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "c28a983a.0204"
+ ]
+ ]
+ },
+ {
+ "id": "61ad07cf.dca3e8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2861.823974609375,
+ "y": 519.9073486328125,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "781b901c.45ff08"
+ ]
+ ]
+ },
+ {
+ "id": "225dfddc.2a0cba",
+ "type": "call",
+ "name": "call update-tp-ttp-relationship",
+ "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4386,
+ "y": 425,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11abef7e.ad2629",
+ "type": "call",
+ "name": "call update-open-ended-links",
+ "xml": "<call module='DataChange' rpc='update-open-ended-links' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658,
+ "y": 683,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa408c9d.56c38",
+ "type": "switchNode",
+ "name": "switch network-resources_length",
+ "xml": "<switch test='tmp.aai.network-resources_length'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3085,
+ "y": 426,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "13de82c2.31f6ad"
+ ]
+ ]
+ },
+ {
+ "id": "13de82c2.31f6ad",
+ "type": "outcome",
+ "name": "4 Topologies (2 Domains)",
+ "xml": "<outcome value='4'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3362,
+ "y": 425,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "e4acb7eb.00534"
+ ]
+ ]
+ },
+ {
+ "id": "c28a983a.0204",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3046,
+ "y": 476,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "781b901c.45ff08",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3035,
+ "y": 522,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "3daf0b35.8056dc",
+ "type": "for",
+ "name": "for each network-resource",
+ "xml": "<for index='nridx' start='0' end='`$tmp.aai.network-resources.network-resource_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3677,
+ "y": 476,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "a478abea.aef858"
+ ]
+ ]
+ },
+ {
+ "id": "a478abea.aef858",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3836,
+ "y": 575,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "672de2b7.6fadec",
+ "b7971e38.4fdc88"
+ ]
+ ]
+ },
+ {
+ "id": "672de2b7.6fadec",
+ "type": "switchNode",
+ "name": "switch network-types[nridx]",
+ "xml": "<switch test='`$tmp.aai.network-resources.network-resource[$nridx].network-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4043,
+ "y": 568,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "8b03cc56.be0278"
+ ]
+ ]
+ },
+ {
+ "id": "8b03cc56.be0278",
+ "type": "outcome",
+ "name": "otn-topology",
+ "xml": "<outcome value='otn-topology'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4256,
+ "y": 562,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "5b2aaa85.617b44"
+ ]
+ ]
+ },
+ {
+ "id": "7c2a6199.8c29b",
+ "type": "set",
+ "name": "set network-resource-otn[$otnidx]",
+ "xml": "<set>\n<parameter name='network-resource-otn[$otnidx].' value='`$tmp.aai.network-resources.network-resource[$nridx].`' />\n",
+ "comments": "",
+ "x": 4622,
+ "y": 555,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "b7971e38.4fdc88",
+ "type": "set",
+ "name": "set otnidx",
+ "xml": "<set>\n<parameter name='otnidx' value='0' />\n",
+ "comments": "",
+ "x": 3988,
+ "y": 526,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "ee5c6cf6.44a0c",
+ "type": "set",
+ "name": "set otnidx",
+ "xml": "<set>\n<parameter name='otnidx' value='`$otnidx + 1`' />\n",
+ "comments": "",
+ "x": 4539,
+ "y": 607,
+ "z": "1b18cff5.bba51",
+ "wires": []
+ },
+ {
+ "id": "5b2aaa85.617b44",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4402,
+ "y": 575,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "7c2a6199.8c29b",
+ "ee5c6cf6.44a0c"
+ ]
+ ]
+ },
+ {
+ "id": "e4acb7eb.00534",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3456,
+ "y": 499,
+ "z": "1b18cff5.bba51",
+ "wires": [
+ [
+ "3daf0b35.8056dc",
+ "11abef7e.ad2629"
+ ]
+ ]
}
] \ No newline at end of file