aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json1226
1 files changed, 670 insertions, 556 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json b/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json
index 57ebd257..ad4f079c 100644
--- a/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json
+++ b/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json
@@ -1,20 +1,20 @@
[
{
- "id": "389b367f.fc91aa",
+ "id": "5ba96896.d350c8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 157.5,
- "y": 140,
- "z": "f30c4ed5.582ba",
+ "x": 168.34280395507812,
+ "y": 81.67613983154297,
+ "z": "23af8cef.968934",
"wires": [
[
- "247d6de0.b063f2"
+ "d954cf42.cad98"
]
]
},
{
- "id": "247d6de0.b063f2",
+ "id": "d954cf42.cad98",
"type": "service-logic",
"name": "optical-service ${project.version}",
"module": "optical-service",
@@ -22,1012 +22,1126 @@
"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='optical-service' version='${project.version}'>",
"outputs": 1,
- "x": 170.5,
- "y": 200,
- "z": "f30c4ed5.582ba",
+ "x": 181.34280395507812,
+ "y": 141.67613983154297,
+ "z": "23af8cef.968934",
"wires": [
[
- "163fe816.9d3ba8"
+ "a76eb24b.7f3af"
]
]
},
{
- "id": "163fe816.9d3ba8",
+ "id": "a76eb24b.7f3af",
"type": "method",
- "name": "method service-create-tapi",
+ "name": "method inter-domain-handling",
"xml": "<method rpc='inter-domain-handling' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 190.5,
- "y": 280,
- "z": "f30c4ed5.582ba",
+ "x": 201.34280395507812,
+ "y": 221.67613983154297,
+ "z": "23af8cef.968934",
"wires": [
[
- "af3a973b.40dd08"
+ "176cd8d3.95c8f7"
]
]
},
{
- "id": "af3a973b.40dd08",
+ "id": "176cd8d3.95c8f7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 401,
- "y": 264.99998474121094,
- "z": "f30c4ed5.582ba",
+ "x": 411.8428039550781,
+ "y": 206.6761245727539,
+ "z": "23af8cef.968934",
"wires": [
[
- "c7bde6fd.a9cd08"
+ "c6df00ed.f385e",
+ "3310b5d5.f4a8aa",
+ "2a456240.dc1abe",
+ "9d292dd3.d61d5",
+ "931cea8d.540f58",
+ "be4d387.f7123c8",
+ "6b039fe8.8cd18",
+ "24f05c89.0950a4",
+ "23b942d9.71933e"
]
]
},
{
- "id": "c7bde6fd.a9cd08",
- "type": "get-resource",
- "name": "get-resource",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"logical-links\"\nkey=\" \"\npfx='inter' local-only='false' >\n",
+ "id": "c6df00ed.f385e",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n<parameter name='fileName' value='/opt/onap/sdnc/data/properties/optical-service-dg.properties' />\n<parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 567.8333435058594,
- "y": 219.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 543.3427886962891,
+ "y": 20,
+ "z": "23af8cef.968934",
"wires": [
- [
- "33ac5ab7.2291a6",
- "a16804ab.521db8",
- "fcb475cb.a0be98"
- ]
+ []
]
},
{
- "id": "33ac5ab7.2291a6",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
+ "id": "3310b5d5.f4a8aa",
+ "type": "get-resource",
+ "name": "get-resource",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT * from TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE interface_name = $src-port-id'\npfx='src'>",
"comments": "",
"outputs": 1,
- "x": 724.8333435058594,
- "y": 160.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 610.0094604492188,
+ "y": 131.6761350631714,
+ "z": "23af8cef.968934",
"wires": [
[
- "5eb01f99.89617"
+ "893c6078.bb7b4"
]
]
},
{
- "id": "a16804ab.521db8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "2a456240.dc1abe",
+ "type": "get-resource",
+ "name": "get-resource",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT *\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE interface_name = $dst-port-id'\npfx='dst'>",
"comments": "",
"outputs": 1,
- "x": 733.8333435058594,
- "y": 211.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 611.6760559082031,
+ "y": 235.0094451904297,
+ "z": "23af8cef.968934",
"wires": [
[
- "47cadf70.ddac9"
+ "af263c0f.2614b"
]
]
},
{
- "id": "5eb01f99.89617",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='No inter-domain-links available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "id": "5ed5d68f.a14598",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='src-node-id' value='`$src.pnf-name`' />\n<parameter name='src-esr-id' value='`$src.controller-id`' />\n",
"comments": "",
- "x": 888.8333435058594,
- "y": 158.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 886.6759757995605,
+ "y": 125.00944519042969,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "47cadf70.ddac9",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Could not retrieve logical-links' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "id": "9d292dd3.d61d5",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$src-esr-id`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/> ",
"comments": "",
- "x": 895.8333435058594,
- "y": 211.6666717529297,
- "z": "f30c4ed5.582ba",
+ "outputs": 1,
+ "x": 645.0094680786133,
+ "y": 173.34279251098633,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b792691.30eb98",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='dst-node-id' value='`$dst.pnf-name`' />\n<parameter name='dst-esr-id' value='`$dst.controller-id`' />\n",
+ "comments": "",
+ "x": 895.0093269348145,
+ "y": 235.00942134857178,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "fcb475cb.a0be98",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "931cea8d.540f58",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$dst-esr-id`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix1\"/> ",
"comments": "",
"outputs": 1,
- "x": 554.8333435058594,
- "y": 361.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 606.6761322021484,
+ "y": 271.67615509033203,
+ "z": "23af8cef.968934",
"wires": [
- [
- "1cd2f550.3b31eb"
- ]
+ []
]
},
{
- "id": "1cd2f550.3b31eb",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
+ "id": "be4d387.f7123c8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='src-controller-id' value='`$param-prefix[2]`' />\n<parameter name='dst-controller-id' value='`$param-prefix1[2]`' />\n<parameter name='flag' value='true' />\n<parameter name='domain-requests' value='' />\n<parameter name='access-status' value='success' />\n<parameter name='domain-status' value='' />\n",
+ "comments": "",
+ "x": 573.3427734375,
+ "y": 325.0094871520996,
+ "z": "23af8cef.968934",
+ "wires": []
+ },
+ {
+ "id": "6b039fe8.8cd18",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"oof-request-id\"/> ",
"comments": "",
"outputs": 1,
- "x": 558.8333435058594,
- "y": 448.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 521.676097869873,
+ "y": 408.342791557312,
+ "z": "23af8cef.968934",
"wires": [
- [
- "61403202.67ffac",
- "5cf9c1.73b5e64",
- "b39431ae.10e55"
- ]
+ []
]
},
{
- "id": "5cf9c1.73b5e64",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/inter-domain.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`'Aaccess bend---' + $access-bend`\"/>\n<parameter name=\"field2\" value=\"`'Aaccess cend---' + $access-cend`\"/>\n<parameter name=\"field3\" value=\"`'Service 1 req id---' + $service1-request-id`\"/>\n<parameter name=\"field4\" value=\"`'Service 2 req id---' + $service2-request-id`\"/>\n\n\n\n",
+ "id": "24f05c89.0950a4",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"oof-transaction-id\"/> ",
"comments": "",
"outputs": 1,
- "x": 722.8333435058594,
- "y": 503.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 478.3427848815918,
+ "y": 455.00944900512695,
+ "z": "23af8cef.968934",
"wires": [
[]
]
},
{
- "id": "61f864fb.8ad3fc",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$inter.logical-link[$ida].link-type`'>\n",
+ "id": "23b942d9.71933e",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oof-mdons.json'`\" />\n<parameter name=\"restapiUrl\" value=\"` $prop.oof.mdons.url`\" />\n<parameter name=\"restapiUser\" value=\"admin\"/> \n<parameter name=\"restapiPassword\" value=\"admin\"/> \n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"oof-response\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 848.8333435058594,
- "y": 454.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 415.00947761535645,
+ "y": 531.6761074066162,
+ "z": "23af8cef.968934",
"wires": [
[
- "750846eb.eb1858"
+ "2cca4c57.d9d904",
+ "6023813.dc6018"
]
]
},
{
- "id": "61403202.67ffac",
- "type": "for",
- "name": "for",
- "xml": "<for index='ida' start='0' end='`$inter.logical-link_length`' >\n",
+ "id": "2cca4c57.d9d904",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 717.8333435058594,
- "y": 454.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 588.3428077697754,
+ "y": 511.67611598968506,
+ "z": "23af8cef.968934",
"wires": [
[
- "61f864fb.8ad3fc"
+ "735a8eb3.b2849"
]
]
},
{
- "id": "750846eb.eb1858",
- "type": "outcome",
- "name": "inter-domain",
- "xml": "<outcome value='inter-domain'>\n",
+ "id": "6023813.dc6018",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 990.8333435058594,
- "y": 454.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 586.676212310791,
+ "y": 581.6761236190796,
+ "z": "23af8cef.968934",
"wires": [
[
- "4071f83b.54b008"
+ "e278c72e.5e1da8"
]
]
},
{
- "id": "bb3b4d5f.2b2bc",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='access-bend' value='`$inter.logical-link[$ida].relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n<parameter name='access-cend' value='`$inter.logical-link[$ida].relationship-list.relationship[1].relationship-data[1].relationship-value`' />\n",
- "comments": "",
- "x": 1557.583396911621,
- "y": 305.4166898727417,
- "z": "f30c4ed5.582ba",
- "wires": []
- },
- {
- "id": "e9fe864f.b1d708",
- "type": "break",
- "name": "break",
- "xml": "<break>\n",
+ "id": "735a8eb3.b2849",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='No service route found by OOF' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 1575.333396911621,
- "y": 403.91669178009033,
- "z": "f30c4ed5.582ba",
+ "x": 760.0094184875488,
+ "y": 508.3427724838257,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "8c88b9bd.0e2f28",
+ "id": "e278c72e.5e1da8",
"type": "block",
"name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1418.583396911621,
- "y": 397.416690826416,
- "z": "f30c4ed5.582ba",
+ "x": 721.6760787963867,
+ "y": 583.3426895141602,
+ "z": "23af8cef.968934",
"wires": [
[
- "bb3b4d5f.2b2bc",
- "e9fe864f.b1d708"
+ "b0f4f043.fcedf",
+ "d89aa620.de5f38",
+ "8541aa72.6ad1b8",
+ "790ae4a6.71d53c",
+ "8c94f919.1112d8"
]
]
},
{
- "id": "b39431ae.10e55",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test=\"`$access-bend == ''`\">\n",
+ "id": "b0f4f043.fcedf",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idml' start='0' end='`$oof-response.solutions.routeInfo.linkList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 680.8333435058594,
- "y": 560.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 868.3428344726562,
+ "y": 581.6760711669922,
+ "z": "23af8cef.968934",
"wires": [
[
- "1bff9a4a.aa1c56",
- "c7a0ae8a.585af"
+ "f7cea59b.5d9848"
]
]
},
{
- "id": "1bff9a4a.aa1c56",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "id": "8a90fbb0.af3a68",
+ "type": "get-resource",
+ "name": "get-resource",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"logical-link\"\nkey=\"logical-link.link-name = $oof-response.solutions.routeInfo.linkList[$idml]\"\npfx='inter' local-only='false' >\n",
"comments": "",
"outputs": 1,
- "x": 824.8333435058594,
- "y": 560.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1168.3427734375,
+ "y": 415.00934886932373,
+ "z": "23af8cef.968934",
"wires": [
- [
- "99508862.dd9ed8"
- ]
+ []
]
},
{
- "id": "99508862.dd9ed8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='No inter-domain-links available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
- "comments": "",
- "x": 973.8333435058594,
- "y": 561.6666717529297,
- "z": "f30c4ed5.582ba",
- "wires": []
- },
- {
- "id": "c7a0ae8a.585af",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
+ "id": "f7cea59b.5d9848",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 559.8333435058594,
- "y": 636.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1003.3427200317383,
+ "y": 576.6761045455933,
+ "z": "23af8cef.968934",
"wires": [
[
- "64bdfe75.3731a"
+ "8a90fbb0.af3a68",
+ "2a13ccaf.714454"
]
]
},
{
- "id": "64bdfe75.3731a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
+ "id": "2a13ccaf.714454",
+ "type": "switchNode",
+ "name": "check link status",
+ "xml": "<switch test=\"`$inter.operational-status == up`\">\n",
"comments": "",
"outputs": 1,
- "x": 704.8333435058594,
- "y": 637.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1183.3429260253906,
+ "y": 573.3427724838257,
+ "z": "23af8cef.968934",
"wires": [
[
- "d71ceee8.2cc21",
- "5812464d.ff2318",
- "d5d60b0e.6b7598",
- "e899697c.47e108"
+ "71599559.97cb7c"
]
]
},
{
- "id": "d71ceee8.2cc21",
- "type": "for",
- "name": "for",
- "xml": "<for index='idb' start='0' end='2' >\n",
+ "id": "71599559.97cb7c",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 893.8333435058594,
- "y": 635.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1315.0094413757324,
+ "y": 520.0094766616821,
+ "z": "23af8cef.968934",
"wires": [
[
- "4df590dd.62851"
+ "86e4c880.1fc408"
]
]
},
{
- "id": "f4b1528e.2b869",
- "type": "call",
- "name": "call",
- "xml": "<call module='optical-service' rpc='main-create' mode='sync' >\n",
+ "id": "b9982bc5.eb26e8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='flag' value='false' />\n",
+ "comments": "",
+ "x": 1575.009407043457,
+ "y": 513.3427467346191,
+ "z": "23af8cef.968934",
+ "wires": []
+ },
+ {
+ "id": "d89aa620.de5f38",
+ "type": "switchNode",
+ "name": "check flag",
+ "xml": "<switch test=\"`$flag == 'true' `\">\n",
"comments": "",
"outputs": 1,
- "x": 1444.8333435058594,
- "y": 650.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 921.6761512756348,
+ "y": 648.3427076339722,
+ "z": "23af8cef.968934",
"wires": [
[
- "b82ddceb.8c1de",
- "11734593.7b34da"
+ "5b915e75.cc34e",
+ "b8d2bc77.f938a"
]
]
},
{
- "id": "4df590dd.62851",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$idb`'>\n",
+ "id": "5b915e75.cc34e",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1019.8333435058594,
- "y": 635.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1098.3427085876465,
+ "y": 621.6760578155518,
+ "z": "23af8cef.968934",
"wires": [
[
- "e24cf2b6.2e8bb",
- "fcc6fd38.e5cb2"
+ "946ef420.757b28"
]
]
},
{
- "id": "e24cf2b6.2e8bb",
- "type": "outcome",
- "name": "outcome",
- "xml": "<outcome value='0'>\n",
+ "id": "b8d2bc77.f938a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1147.8333435058594,
- "y": 602.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1076.6761093139648,
+ "y": 683.3427886962891,
+ "z": "23af8cef.968934",
"wires": [
[
- "14ca5977.d20f97"
+ "4b341d0.dcf13e4"
]
]
},
{
- "id": "14ca5977.d20f97",
+ "id": "4b341d0.dcf13e4",
"type": "block",
"name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1291.8333435058594,
- "y": 602.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1215.6156425476074,
+ "y": 688.342743396759,
+ "z": "23af8cef.968934",
"wires": [
[
- "f4b1528e.2b869",
- "13ff6105.eaad1f"
+ "8dbf5643.27c098"
]
]
},
{
- "id": "a1dafaaf.167958",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value='`$access-cend`' />\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value='`$access-zend`' />\n<parameter name='optical-service-create-input.payload.service-name' value=\"`$access-service-name + '_MDONS-OTN'`\" />\n<parameter name='domain-type' value=\"TAPI\" />\n<parameter name='optical-service-create-input.request-id' value=\"`$service2-request-id`\" />\n<parameter name='optical-service-create-input.service-id' value=\"`$service2-svc-instance-id`\" />\n",
- "comments": "",
- "x": 1452.8333435058594,
- "y": 856.6666717529297,
- "z": "f30c4ed5.582ba",
- "wires": []
- },
- {
- "id": "c16d7ee9.39a1a",
- "type": "call",
- "name": "call",
- "xml": "<call module='optical-service' rpc='main-create' mode='sync' >\n",
+ "id": "8dbf5643.27c098",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idmk' start='0' end='`$oof-response.solutions.routeInfo.linkList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1289.8333435058594,
- "y": 1143.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1363.9487037658691,
+ "y": 688.3428287506104,
+ "z": "23af8cef.968934",
"wires": [
[
- "eadb5b74.6cde68",
- "2fe5acd9.03dff4"
+ "17fcda64.b52d86"
]
]
},
{
- "id": "fcc6fd38.e5cb2",
- "type": "outcome",
- "name": "outcome",
- "xml": "<outcome value='1'>\n",
+ "id": "21ebe060.eb5b2",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value='`$oof-response.solutions.routeInfo.serviceRoute[$idomainsvc].srcInterfaceId`' />\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value='`$oof-response.solutions.routeInfo.serviceRoute[$idomainsvc].dstInterfaceId`' />\n<parameter name='optical-service-create-input.payload.service-name' value=\"`$access-service-name + '_MDONS-OTN'`\" />\n<parameter name='domain-type' value=\"TAPI\" />\n<parameter name='optical-service-create-input.request-id' value=\"`$domain-request-id`\" />\n<parameter name='optical-service-create-input.service-id' value=\"`$domain-instance-id`\" />\n\n",
+ "comments": "",
+ "x": 1399.5549354553223,
+ "y": 873.1910076141357,
+ "z": "23af8cef.968934",
+ "wires": []
+ },
+ {
+ "id": "8541aa72.6ad1b8",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idomainsvc' start='0' end='`$oof-response.solutions.routeInfo.serviceRoute_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1131.8333435058594,
- "y": 850.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 909.5549011230469,
+ "y": 758.1912117004395,
+ "z": "23af8cef.968934",
"wires": [
[
- "6d4682a2.6cf8ac"
+ "9e699e75.e8a28"
]
]
},
{
- "id": "6d4682a2.6cf8ac",
+ "id": "9e699e75.e8a28",
"type": "block",
"name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1281.8333435058594,
- "y": 873.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1154.5548858642578,
+ "y": 774.8578758239746,
+ "z": "23af8cef.968934",
"wires": [
[
- "a1dafaaf.167958",
- "c16d7ee9.39a1a"
+ "abf6824.23e3b8",
+ "2039896a.be3116",
+ "21ebe060.eb5b2",
+ "bc8e66e3.f1c2b8",
+ "1c7045f1.ce177a"
]
]
},
{
- "id": "13ff6105.eaad1f",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value='`$access-aend`' />\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value='`$access-bend`' />\n<parameter name='optical-service-create-input.payload.service-name' value=\"`$access-service-name + '_MDONS-OTN'`\" />\n<parameter name='domain-type' value=\"TAPI\" />\n<parameter name='optical-service-create-input.request-id' value=\"`$service1-request-id`\" />\n<parameter name='optical-service-create-input.service-id' value=\"`$service1-svc-instance-id`\" />\n\n",
- "comments": "",
- "x": 1444.8333435058594,
- "y": 585.6666717529297,
- "z": "f30c4ed5.582ba",
- "wires": []
- },
- {
- "id": "5812464d.ff2318",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$service1 == $service2 == success`'>\n",
+ "id": "abf6824.23e3b8",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"domain-request-id\"/> ",
"comments": "",
"outputs": 1,
- "x": 455.3333511352539,
- "y": 1077.9166975021362,
- "z": "f30c4ed5.582ba",
+ "x": 1394.5548477172852,
+ "y": 724.8578109741211,
+ "z": "23af8cef.968934",
"wires": [
- [
- "5c9c5b68.cd5504",
- "495561a5.fec34"
- ]
+ []
]
},
{
- "id": "2552ecde.5a89f4",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Multi-domain-service successfully created' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "id": "2039896a.be3116",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"domain-instance-id\"/> ",
"comments": "",
- "x": 959.8333892822266,
- "y": 1075.4167022705078,
- "z": "f30c4ed5.582ba",
- "wires": []
+ "outputs": 1,
+ "x": 1427.8881454467773,
+ "y": 779.8579711914062,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
},
{
- "id": "e8dd732b.52f0b",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Multi-domain-service creation failed' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "id": "ed60a18f.df4a7",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='domain-requests' value=\"`$domain-requests + $domain-request-id + ','`\" />\n",
"comments": "",
- "x": 874.0833892822266,
- "y": 1287.9167022705078,
- "z": "f30c4ed5.582ba",
+ "x": 1877.8881530761719,
+ "y": 819.8578510284424,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "b82ddceb.8c1de",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "bc8e66e3.f1c2b8",
+ "type": "call",
+ "name": "call",
+ "xml": "<call module='optical-service' rpc='main-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1589.8333435058594,
- "y": 625.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1236.221565246582,
+ "y": 917.7366065979004,
+ "z": "23af8cef.968934",
"wires": [
[
- "35cec1fe.7cd71e"
+ "e39ae564.2e9528"
]
]
},
{
- "id": "eadb5b74.6cde68",
+ "id": "e39ae564.2e9528",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1431.8333435058594,
- "y": 1139.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1367.8881645202637,
+ "y": 931.069995880127,
+ "z": "23af8cef.968934",
"wires": [
[
- "72d0218e.8f2fd"
+ "18342550.e06acb"
]
]
},
{
- "id": "d5d60b0e.6b7598",
+ "id": "5c52d0a6.4eb0b",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='access-service-name' value='`$optical-service-create-input.payload.service-name`' />\n",
+ "xml": "<set>\n<parameter name='service-status' value='`$final-response-code`' />\n\n",
"comments": "",
- "x": 840.8333435058594,
- "y": 598.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1667.5548210144043,
+ "y": 860.7367286682129,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "caf045ec.2f23f8",
+ "id": "18342550.e06acb",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 764.5833892822266,
- "y": 995.6666994094849,
- "z": "f30c4ed5.582ba",
+ "x": 1509.2215728759766,
+ "y": 909.4033145904541,
+ "z": "23af8cef.968934",
"wires": [
[
- "9e317702.903b08",
- "2552ecde.5a89f4",
- "146e2604.39be4a",
- "2c1dad44.b6ddc2"
+ "5c52d0a6.4eb0b",
+ "46946a06.9ee744",
+ "e38c5eae.94d3d"
]
]
},
{
- "id": "9e317702.903b08",
- "type": "save",
- "name": "update acc service db",
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE REQUEST_DETAILS SET status = \"CREATED\" WHERE request_id = $as-request-id'\nforce='true' pfx='save-result'>",
+ "id": "46946a06.9ee744",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$service-status == 200`'>\n",
"comments": "",
"outputs": 1,
- "x": 970.8333892822266,
- "y": 895.6666984558105,
- "z": "f30c4ed5.582ba",
+ "x": 1688.8884048461914,
+ "y": 912.736647605896,
+ "z": "23af8cef.968934",
"wires": [
- []
+ [
+ "d9fd1d0e.e0fce",
+ "533db999.55c468"
+ ]
]
},
{
- "id": "9b1c21a0.1f564",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/inter-domain.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Access service creation failed\"/>\n\n\n\n",
+ "id": "d9fd1d0e.e0fce",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 850.3333892822266,
- "y": 1189.4167003631592,
- "z": "f30c4ed5.582ba",
+ "x": 1837.888168334961,
+ "y": 884.403256893158,
+ "z": "23af8cef.968934",
"wires": [
- []
+ [
+ "bd83526e.c9e3c"
+ ]
]
},
{
- "id": "eb99418.1ac6dc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "533db999.55c468",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 713.0833854675293,
- "y": 1228.916766166687,
- "z": "f30c4ed5.582ba",
+ "x": 1835.5547695159912,
+ "y": 956.4033432006836,
+ "z": "23af8cef.968934",
"wires": [
[
- "9b1c21a0.1f564",
- "e8dd732b.52f0b"
+ "5d7a5d7.cc9afa4"
]
]
},
{
- "id": "c5ae62a0.518d9",
+ "id": "bd83526e.c9e3c",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='service1-status' value='`$final-response-code`' />\n",
+ "xml": "<set>\n<parameter name='status' value='success' />\n",
"comments": "",
- "x": 1837.8333435058594,
- "y": 553.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1977.8879470825195,
+ "y": 880.0699634552002,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "35cec1fe.7cd71e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
+ "id": "5d7a5d7.cc9afa4",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='status' value='failure' />\n<parameter name='access-status' value='failure' />\n",
"comments": "",
- "outputs": 1,
- "x": 1687.8333435058594,
- "y": 555.6666717529297,
- "z": "f30c4ed5.582ba",
- "wires": [
- [
- "c5ae62a0.518d9",
- "cc685478.44b5d8"
- ]
- ]
+ "x": 1974.8880081176758,
+ "y": 957.0698642730713,
+ "z": "23af8cef.968934",
+ "wires": []
},
{
- "id": "cc685478.44b5d8",
+ "id": "e38c5eae.94d3d",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='domain-status' value=\"`$domain-status + $domain-request-id + '_' + $status` \" />\n",
+ "comments": "",
+ "x": 1649.554946899414,
+ "y": 996.221586227417,
+ "z": "23af8cef.968934",
+ "wires": []
+ },
+ {
+ "id": "790ae4a6.71d53c",
"type": "switchNode",
"name": "switch",
- "xml": "<switch test='`$service1-status == 200`'>\n",
+ "xml": "<switch test=\"`$access-status == 'success'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1715.8333435058594,
- "y": 685.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 764.1002426147461,
+ "y": 1096.2215242385864,
+ "z": "23af8cef.968934",
"wires": [
[
- "4120a771.cb7b78",
- "304cf1d.95f070e"
+ "d43038a6.7e9fc8"
]
]
},
{
- "id": "4120a771.cb7b78",
+ "id": "d43038a6.7e9fc8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1884.8333435058594,
- "y": 640.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 916.676139831543,
+ "y": 1049.4034128189087,
+ "z": "23af8cef.968934",
"wires": [
[
- "b8c2bbf6.152258"
+ "6c2d775e.ec6158"
]
]
},
{
- "id": "304cf1d.95f070e",
+ "id": "ec6a3394.1e3aa",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1885.8333435058594,
- "y": 707.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 815.0094375610352,
+ "y": 1242.7365236282349,
+ "z": "23af8cef.968934",
"wires": [
[
- "d123f6e.9b1a508"
+ "b2d48de7.71bcd"
]
]
},
{
- "id": "b8c2bbf6.152258",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='service1' value='success' />\n",
+ "id": "2f6b622f.337eae",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Multi-domain-service successfully created' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 2019.8333435058594,
- "y": 629.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1251.676170349121,
+ "y": 1151.07004737854,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "d123f6e.9b1a508",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='service1' value='failure' />\n",
+ "id": "6c2d775e.ec6158",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
- "x": 2021.8333435058594,
- "y": 706.6666717529297,
- "z": "f30c4ed5.582ba",
- "wires": []
+ "outputs": 1,
+ "x": 1048.0927734375,
+ "y": 1097.9866914749146,
+ "z": "23af8cef.968934",
+ "wires": [
+ [
+ "65715a4d.096ba4",
+ "2f6b622f.337eae",
+ "25648259.4bf36e"
+ ]
+ ]
},
{
- "id": "72d0218e.8f2fd",
+ "id": "65715a4d.096ba4",
+ "type": "save",
+ "name": "update acc service db",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE REQUEST_DETAILS SET status = \"CREATED\", domain_requests = $domain-requests WHERE request_id = $access-request-id'\nforce='true' pfx='save-result'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.3427734375,
+ "y": 997.9866905212402,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "25648259.4bf36e",
+ "type": "call",
+ "name": "create-service-relationship",
+ "xml": "<call module='optical-service' rpc='create-service-relationship' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1267.6760711669922,
+ "y": 1066.736717224121,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c94f919.1112d8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/oof-mdons.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Domain Status\"/>\n<parameter name=\"field2\" value=\"`$domain-status`\"/>\n<parameter name=\"field3\" value=\"`$flag`\"/>\n<parameter name=\"field4\" value=\"`$access-status`\"/>\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 866.8276214599609,
+ "y": 859.5548648834229,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2d48de7.71bcd",
"type": "block",
"name": "block : atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1604.8333435058594,
- "y": 1120.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 956.3730545043945,
+ "y": 1247.585117340088,
+ "z": "23af8cef.968934",
"wires": [
[
- "1b71dbd0.f488a4",
- "f3c54b18.1b0eb8"
+ "4e7fc079.04b4a",
+ "7b36ef0f.c082b",
+ "cc6c823.0642a8",
+ "fc4d8ab2.5ec108",
+ "aec89fbb.ad742"
]
]
},
{
- "id": "f3c54b18.1b0eb8",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$service2-status == 200`'>\n",
+ "id": "4e7fc079.04b4a",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$domain-status`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix2\"/> ",
"comments": "",
"outputs": 1,
- "x": 1736.8333435058594,
- "y": 1219.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1116.372932434082,
+ "y": 1244.251636505127,
+ "z": "23af8cef.968934",
"wires": [
- [
- "d06b5ea3.2c7da",
- "9a666773.f65fe8"
- ]
+ []
]
},
{
- "id": "d06b5ea3.2c7da",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "id": "7b36ef0f.c082b",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idelsvc' start='0' end='`$param-prefix2_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1892.8333435058594,
- "y": 1144.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1104.7063179016113,
+ "y": 1301.0698909759521,
+ "z": "23af8cef.968934",
"wires": [
[
- "be86fbe9.594738"
+ "f59ddd81.b432b"
]
]
},
{
- "id": "9a666773.f65fe8",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
+ "id": "f59ddd81.b432b",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$param-prefix2[$idelsvc] == 'success'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1949.8333435058594,
- "y": 1226.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1244.7062797546387,
+ "y": 1299.4032649993896,
+ "z": "23af8cef.968934",
"wires": [
[
- "4df0a4d2.d2637c"
+ "831a7caf.8175e"
]
]
},
{
- "id": "be86fbe9.594738",
+ "id": "21058360.3ce7ec",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='service2' value='success' />\n",
+ "xml": "<set>\n<parameter name='optical-service-delete-input.request-id' value=\"`$param-prefix2[$idelsvc]`\" />\n<parameter name='optical-service-delete-input.payload.service-name' value=\"`$access-service-name + '_MDONS-OTN_'`\"/>\n\n",
"comments": "",
- "x": 2093.8333435058594,
- "y": 1134.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1651.3730010986328,
+ "y": 1182.7366724014282,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "4df0a4d2.d2637c",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='service2' value='success' />\n",
+ "id": "831a7caf.8175e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
"comments": "",
- "x": 2092.8333435058594,
- "y": 1204.6666717529297,
- "z": "f30c4ed5.582ba",
- "wires": []
+ "outputs": 1,
+ "x": 1383.0397186279297,
+ "y": 1291.0701208114624,
+ "z": "23af8cef.968934",
+ "wires": [
+ [
+ "b469d53f.363e68"
+ ]
+ ]
},
{
- "id": "1b71dbd0.f488a4",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='service2-status' value='`$final-response-code`' />\n",
+ "id": "b469d53f.363e68",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
- "x": 1774.8333435058594,
- "y": 1067.6666717529297,
- "z": "f30c4ed5.582ba",
- "wires": []
+ "outputs": 1,
+ "x": 1514.7064208984375,
+ "y": 1289.4033203125,
+ "z": "23af8cef.968934",
+ "wires": [
+ [
+ "21058360.3ce7ec",
+ "a9a6976b.e9a218"
+ ]
+ ]
},
{
- "id": "e899697c.47e108",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='inter' value='' />\n",
+ "id": "a9a6976b.e9a218",
+ "type": "call",
+ "name": "call TAPI DELETE DG",
+ "xml": "<call module='optical-service' rpc='service-delete-tapi' mode='sync' >\n",
"comments": "",
- "x": 889.3333854675293,
- "y": 683.4166970252991,
- "z": "f30c4ed5.582ba",
- "wires": []
+ "outputs": 1,
+ "x": 1689.8578872680664,
+ "y": 1322.7366399765015,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
},
{
- "id": "11734593.7b34da",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "cc6c823.0642a8",
+ "type": "delete",
+ "name": "delete access from db",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM REQUEST_DETAILS WHERE request_id = $access-request-id\">",
"comments": "",
"outputs": 1,
- "x": 1592.8333435058594,
- "y": 720.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1074.554832458496,
+ "y": 1430.9185132980347,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc4d8ab2.5ec108",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idml' start='0' end='`$oof-response.solutions.routeInfo.linkList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1082.88818359375,
+ "y": 1362.585205078125,
+ "z": "23af8cef.968934",
"wires": [
[
- "528f2a75.c81264"
+ "8f2b32ff.b0e4f"
]
]
},
{
- "id": "528f2a75.c81264",
+ "id": "8f2b32ff.b0e4f",
+ "type": "save",
+ "name": "change link status",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link' \n key='locgical-link.link-name = $oof-response.solution.routeInfo.linkList[$idmk]' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"operational-status\" value=\"up\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1249.554666519165,
+ "y": 1362.5851860046387,
+ "z": "23af8cef.968934",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aec89fbb.ad742",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Main Create Dg not available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Access service failed as one of the domain services failed' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 1752.8333435058594,
- "y": 741.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 914.5549583435059,
+ "y": 1477.5852184295654,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "2fe5acd9.03dff4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "86e4c880.1fc408",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1390.8333435058594,
- "y": 1221.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1446.676025390625,
+ "y": 516.5245971679688,
+ "z": "23af8cef.968934",
"wires": [
[
- "c76d7b74.481948"
+ "b9982bc5.eb26e8"
]
]
},
{
- "id": "c76d7b74.481948",
+ "id": "946ef420.757b28",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Main Create Dg not available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Inter domain links not available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
"comments": "",
- "x": 1550.8333435058594,
- "y": 1242.6666717529297,
- "z": "f30c4ed5.582ba",
+ "x": 1266.070068359375,
+ "y": 623.0397338867188,
+ "z": "23af8cef.968934",
"wires": []
},
{
- "id": "5c9c5b68.cd5504",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
+ "id": "893c6078.bb7b4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 623.833381652832,
- "y": 1001.1666984558105,
- "z": "f30c4ed5.582ba",
+ "x": 751.6761016845703,
+ "y": 126.67614555358887,
+ "z": "23af8cef.968934",
"wires": [
[
- "caf045ec.2f23f8"
+ "5ed5d68f.a14598"
]
]
},
{
- "id": "495561a5.fec34",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
+ "id": "af263c0f.2614b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 588.083381652832,
- "y": 1230.166699886322,
- "z": "f30c4ed5.582ba",
+ "x": 760.0094604492188,
+ "y": 235.00946044921875,
+ "z": "23af8cef.968934",
"wires": [
[
- "eb99418.1ac6dc"
+ "5b792691.30eb98"
]
]
},
{
- "id": "146e2604.39be4a",
- "type": "call",
- "name": "create-service-relationship",
- "xml": "<call module='optical-service' rpc='create-service-relationship' mode='sync' >\n",
+ "id": "17fcda64.b52d86",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1495.7669105529785,
+ "y": 681.3730545043945,
+ "z": "23af8cef.968934",
+ "wires": [
+ [
+ "fb18a4c2.061f18"
+ ]
+ ]
+ },
+ {
+ "id": "fb18a4c2.061f18",
+ "type": "update",
+ "name": "update logical-link-status AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='logical-link'\n key='logical-link.link-name = $oof-response.solutions.routeInfo.linkList[$idmk]'\n local-only='false'>\n<parameter name='operational-status' value='occupied' />\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": 970.8333892822266,
- "y": 994.4166984558105,
- "z": "f30c4ed5.582ba",
+ "x": 1698.4942245483398,
+ "y": 681.3730535507202,
+ "z": "23af8cef.968934",
"wires": [
[]
]
},
{
- "id": "4071f83b.54b008",
+ "id": "1c7045f1.ce177a",
"type": "switchNode",
"name": "switch",
- "xml": "<switch test='`$inter.logical-link[$ida].operational-status == occupied`'>\n",
+ "xml": "<switch test=\"`$idomainsvc == $oof-response.solutions.routeInfo.serviceRoute_length - 1`\">\n",
"comments": "",
"outputs": 1,
- "x": 1132.5,
- "y": 346.25,
- "z": "f30c4ed5.582ba",
+ "x": 1542.4336471557617,
+ "y": 821.3730182647705,
+ "z": "23af8cef.968934",
"wires": [
[
- "9d6b0593.4c7858",
- "1087939c.29799c"
+ "25791c4d.039894",
+ "dfe061cd.f2699"
]
]
},
{
- "id": "9d6b0593.4c7858",
+ "id": "25791c4d.039894",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1250.0000190734863,
- "y": 295.00000190734863,
- "z": "f30c4ed5.582ba",
+ "x": 1690.7669677734375,
+ "y": 756.373046875,
+ "z": "23af8cef.968934",
"wires": [
- []
+ [
+ "da7f9e41.f2bdd"
+ ]
]
},
{
- "id": "1087939c.29799c",
+ "id": "dfe061cd.f2699",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1256.2500190734863,
- "y": 401.2500057220459,
- "z": "f30c4ed5.582ba",
+ "x": 1714.100341796875,
+ "y": 809.7064208984375,
+ "z": "23af8cef.968934",
"wires": [
[
- "8c88b9bd.0e2f28"
+ "ed60a18f.df4a7"
]
]
},
{
- "id": "2c1dad44.b6ddc2",
- "type": "update",
- "name": "update logical-link-status AAI",
- "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='logical-link'\n key='logical-link.link-name = $inter.logical-link[$ida].link-name '\n local-only='false'>\n<parameter name='operational-status' value='occupied' />\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",
+ "id": "da7f9e41.f2bdd",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='domain-requests' value=\"`$domain-requests + $domain-request-id`\" />\n",
"comments": "",
- "outputs": 1,
- "x": 1015,
- "y": 946.25,
- "z": "f30c4ed5.582ba",
- "wires": [
- []
- ]
+ "x": 1822.4335594177246,
+ "y": 748.0397148132324,
+ "z": "23af8cef.968934",
+ "wires": []
}
] \ No newline at end of file