summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json250
1 files changed, 131 insertions, 119 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json
index 55104ea9..592aa317 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-helper-find-ROOT-conn.json
@@ -1,20 +1,20 @@
[
{
- "id": "5597755d.1ce774",
+ "id": "3d72a78b.d5ca8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 147,
- "y": 107,
- "z": "2d4ea144.5587f6",
+ "x": 161.88333129882812,
+ "y": 93,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "8d0fd3e7.a3b7e8"
+ "9d241a09.87fad"
]
]
},
{
- "id": "8d0fd3e7.a3b7e8",
+ "id": "9d241a09.87fad",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,339 +22,351 @@
"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": 431.2856903076172,
- "y": 168.23810863494873,
- "z": "2d4ea144.5587f6",
+ "x": 446.1690216064453,
+ "y": 154.23810863494873,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "86b46a27.ca39b8"
+ "a7259be6.d447a"
]
]
},
{
- "id": "86b46a27.ca39b8",
+ "id": "a7259be6.d447a",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-helper-find-ROOT-conn",
"xml": "<method rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 386.4285888671875,
- "y": 260.0000305175781,
- "z": "2d4ea144.5587f6",
+ "x": 401.3119201660156,
+ "y": 246.00003051757812,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "15886f7b.32e089"
+ "d786d41.1f92da8"
]
]
},
{
- "id": "15886f7b.32e089",
+ "id": "d786d41.1f92da8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 747.238037109375,
- "y": 244.66668701171875,
- "z": "2d4ea144.5587f6",
+ "x": 762.1213684082031,
+ "y": 230.66668701171875,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "6bd3471b.bd1a98",
- "5dece674.dd027",
- "4d1bc5df.1d031c"
+ "7a44c426.80c71c",
+ "e5338f68.a61cd8",
+ "c3537cef.9e14b8",
+ "a3ebaf5b.c985e"
]
]
},
{
- "id": "6bd3471b.bd1a98",
+ "id": "7a44c426.80c71c",
"type": "save",
"name": "get all-connectivities from aai",
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivities\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/connectivities/'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.helper-root-all-connectivities\" >\n",
"comments": "",
"outputs": 1,
- "x": 232,
- "y": 430,
- "z": "2d4ea144.5587f6",
+ "x": 246.88333129882812,
+ "y": 416,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "92e14f80.21594",
- "b9796c74.99212",
- "e5bd0a99.00585"
+ "e85393c.ba370f",
+ "a557e38f.6e9a5",
+ "30d0e737.4ae9c8"
]
]
},
{
- "id": "92e14f80.21594",
+ "id": "e85393c.ba370f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 476,
- "y": 390,
- "z": "2d4ea144.5587f6",
+ "x": 490.8833312988281,
+ "y": 376,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "61e9ae11.23c3a8"
+ "c39e44d3.0b437"
]
]
},
{
- "id": "b9796c74.99212",
+ "id": "a557e38f.6e9a5",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 473.490966796875,
- "y": 439.57403564453125,
- "z": "2d4ea144.5587f6",
+ "x": 488.3742980957031,
+ "y": 425.57403564453125,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "cd38df9d.37406"
+ "704ffa2b.4115fc"
]
]
},
{
- "id": "e5bd0a99.00585",
+ "id": "30d0e737.4ae9c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 471,
- "y": 482,
- "z": "2d4ea144.5587f6",
+ "x": 485.8833312988281,
+ "y": 468,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "62703aa0.44322c"
+ "628b9d60.85cb0c"
]
]
},
{
- "id": "61e9ae11.23c3a8",
+ "id": "c39e44d3.0b437",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 624,
- "y": 391,
- "z": "2d4ea144.5587f6",
+ "x": 638.8833312988281,
+ "y": 377,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "ca24c19f.cdc85"
+ "e6b99f9d.23ec4"
]
]
},
{
- "id": "cd38df9d.37406",
+ "id": "704ffa2b.4115fc",
"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 pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
"comments": "",
- "x": 623.0623779296875,
- "y": 439.8597717285156,
- "z": "2d4ea144.5587f6",
+ "x": 637.9457092285156,
+ "y": 425.8597717285156,
+ "z": "fa25e836.5eaa88",
"wires": []
},
{
- "id": "62703aa0.44322c",
+ "id": "628b9d60.85cb0c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
"comments": "",
- "x": 622,
- "y": 479,
- "z": "2d4ea144.5587f6",
+ "x": 636.8833312988281,
+ "y": 465,
+ "z": "fa25e836.5eaa88",
"wires": []
},
{
- "id": "ca24c19f.cdc85",
+ "id": "e6b99f9d.23ec4",
"type": "for",
"name": "for helprconnidx in all-connectivities",
"xml": "<for index='helprconnidx' start='0' end='`$tmp.aai.helper-root-all-connectivities.connectivity_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 871,
- "y": 386,
- "z": "2d4ea144.5587f6",
+ "x": 885.8833312988281,
+ "y": 372,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "380582c8.7d331e"
+ "15f82643.3dda02"
]
]
},
{
- "id": "380582c8.7d331e",
+ "id": "15f82643.3dda02",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1118,
- "y": 392,
- "z": "2d4ea144.5587f6",
+ "x": 1132.8833312988281,
+ "y": 378,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "174c6173.8ff53f"
+ "d5d56de1.9016d"
]
]
},
{
- "id": "206a627e.5c0d46",
+ "id": "7d92b34f.9e55dc",
"type": "switchNode",
"name": "switch color-aware is ROOT?",
"xml": "\n<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 312,
- "y": 641,
- "z": "2d4ea144.5587f6",
+ "x": 326.8833312988281,
+ "y": 627,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "463cdf78.946e4"
+ "4a67b867.df0b6"
]
]
},
{
- "id": "463cdf78.946e4",
+ "id": "4a67b867.df0b6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 521,
- "y": 635,
- "z": "2d4ea144.5587f6",
+ "x": 535.8833312988281,
+ "y": 621,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "65cbe881.f7d1b"
+ "751ad577.51dfcc"
]
]
},
{
- "id": "65cbe881.f7d1b",
+ "id": "751ad577.51dfcc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 678,
- "y": 635,
- "z": "2d4ea144.5587f6",
+ "x": 692.8833312988281,
+ "y": 621,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "ba048fa4.246cf8",
- "34ebbdc4.bca6fa",
- "3a84227a.7da866"
+ "b438dfb2.fcca1",
+ "7030d1be.87fa18",
+ "31d23be7.1d5a84"
]
]
},
{
- "id": "5dece674.dd027",
+ "id": "e5338f68.a61cd8",
"type": "set",
"name": "unset found-root-connectivity",
"xml": "<set>\n<parameter name='found-root-connectivity' value=\"false\" />\n",
"comments": "",
- "x": 990,
- "y": 159,
- "z": "2d4ea144.5587f6",
+ "x": 1004.8833312988281,
+ "y": 145,
+ "z": "fa25e836.5eaa88",
"wires": []
},
{
- "id": "ba048fa4.246cf8",
+ "id": "b438dfb2.fcca1",
"type": "set",
"name": "set found-root-connectivity=true",
"xml": "<set>\n<parameter name='found-root-connectivity' value=\"true\" />\n",
"comments": "",
- "x": 939,
- "y": 583,
- "z": "2d4ea144.5587f6",
+ "x": 953.8833312988281,
+ "y": 569,
+ "z": "fa25e836.5eaa88",
"wires": []
},
{
- "id": "34ebbdc4.bca6fa",
+ "id": "7030d1be.87fa18",
"type": "set",
"name": "set tmp.aai.ROOT.connectivity.",
"xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",
"comments": "",
- "x": 942,
- "y": 636,
- "z": "2d4ea144.5587f6",
+ "x": 956.8833312988281,
+ "y": 622,
+ "z": "fa25e836.5eaa88",
"wires": []
},
{
- "id": "4d1bc5df.1d031c",
+ "id": "c3537cef.9e14b8",
"type": "set",
"name": "unset tmp.aai.ROOT.connectivity.",
"xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"\" />\n",
"comments": "",
- "x": 1008,
- "y": 203,
- "z": "2d4ea144.5587f6",
+ "x": 1022.8833312988281,
+ "y": 189,
+ "z": "fa25e836.5eaa88",
"wires": []
},
{
- "id": "3a84227a.7da866",
+ "id": "31d23be7.1d5a84",
"type": "break",
"name": "break",
"xml": "<break>\n",
"comments": "",
- "x": 870,
- "y": 699,
- "z": "2d4ea144.5587f6",
+ "x": 884.8833312988281,
+ "y": 685,
+ "z": "fa25e836.5eaa88",
"wires": []
},
{
- "id": "174c6173.8ff53f",
+ "id": "d5d56de1.9016d",
"type": "switchNode",
"name": "switch conn type",
"xml": "<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 923.88330078125,
- "y": 480.88330078125,
- "z": "2d4ea144.5587f6",
+ "x": 938.7666320800781,
+ "y": 466.88330078125,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "466114cf.ced6ec"
+ "8760c9a3.310068"
]
]
},
{
- "id": "466114cf.ced6ec",
+ "id": "8760c9a3.310068",
"type": "outcome",
"name": "root",
"xml": "<outcome value='root'>\n",
"comments": "",
"outputs": 1,
- "x": 1083.88330078125,
- "y": 482.8833312988281,
- "z": "2d4ea144.5587f6",
+ "x": 1098.7666320800781,
+ "y": 468.8833312988281,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "64ce81d.c0f0f"
+ "a38c2649.b4dd5"
]
]
},
{
- "id": "64ce81d.c0f0f",
+ "id": "a38c2649.b4dd5",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1226.88330078125,
- "y": 484.8833312988281,
- "z": "2d4ea144.5587f6",
+ "x": 1241.7666320800781,
+ "y": 470.8833312988281,
+ "z": "fa25e836.5eaa88",
"wires": [
[
- "206a627e.5c0d46"
+ "7d92b34f.9e55dc"
]
]
+ },
+ {
+ "id": "a3ebaf5b.c985e",
+ "type": "set",
+ "name": "unset tmp.aai.helper-root-all-connectivities",
+ "xml": "<set>\n<parameter name='tmp.aai.helper-root-all-connectivities.' value=\"\" />\n",
+ "comments": "",
+ "x": 1068,
+ "y": 244,
+ "z": "fa25e836.5eaa88",
+ "wires": []
}
] \ No newline at end of file