aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_optical-service-create.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_optical-service-create.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_optical-service-create.json880
1 files changed, 482 insertions, 398 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_optical-service-create.json b/platform-logic/optical-service/src/main/json/optical-service_optical-service-create.json
index 6edd77f8..0fe22a3a 100644
--- a/platform-logic/optical-service/src/main/json/optical-service_optical-service-create.json
+++ b/platform-logic/optical-service/src/main/json/optical-service_optical-service-create.json
@@ -1,36 +1,36 @@
[
{
- "id": "b74a66d5.9bb398",
+ "id": "51ee7ceb.84e7d4",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 295.5000305175781,
- "y": 78.99999237060547,
- "z": "be119e26.f34f9",
+ "x": 292.0000305175781,
+ "y": 61.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "f760250f.2146"
+ "29401623.aa2d9a"
]
]
},
{
- "id": "3de2d7a.f5149a8",
+ "id": "69c7c01f.2eeed",
"type": "method",
"name": "method",
"xml": "<method rpc='optical-service-create' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 294.5000305175781,
- "y": 153.99999237060547,
- "z": "be119e26.f34f9",
+ "x": 291.0000305175781,
+ "y": 136.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "a5ce55fe.28ddd"
+ "6db2445a.fdb20c"
]
]
},
{
- "id": "f760250f.2146",
+ "id": "29401623.aa2d9a",
"type": "service-logic",
"name": "optical-service ${project.version}",
"module": "optical-service",
@@ -38,1089 +38,1173 @@
"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": 513.0000305175781,
- "y": 61.99999237060547,
- "z": "be119e26.f34f9",
+ "x": 509.5000305175781,
+ "y": 44.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "3de2d7a.f5149a8"
+ "69c7c01f.2eeed"
]
]
},
{
- "id": "a5ce55fe.28ddd",
+ "id": "6db2445a.fdb20c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 386.5000305175781,
- "y": 235,
- "z": "be119e26.f34f9",
+ "x": 383.0000305175781,
+ "y": 217.67614364624023,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "2ab36a9f.f1f24e",
- "77ca198e.37e04",
- "68ebe78a.dd3bb",
- "360c94f6.31041c",
- "c21735a0.60eee",
- "13d6217f.3fa927",
- "f6fda81a.c05dd8",
- "52cfcf48.59a01",
- "47962899.7c2",
- "e4b9f8f.0986908",
- "3bfa7a37.3c6426"
+ "2a6bbade.0929c6",
+ "69ca9e9b.b8ce5",
+ "ea5ef9b3.a11be8",
+ "382353e4.d87fec",
+ "cb94ab5f.1c20d8",
+ "24684bb0.9b2da4",
+ "5d24d34c.f7200c",
+ "ba9a69d4.39ab08",
+ "67091f02.08a3b",
+ "1d744f82.b13ab",
+ "62f70543.ff887c",
+ "fc46660a.dc2e38",
+ "b5e0902f.10aa8",
+ "fabb7d83.a75cf"
]
]
},
{
- "id": "2ab36a9f.f1f24e",
+ "id": "2a6bbade.0929c6",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end='`$optical-service-create-input.payload.param_length`' >\n \n \n \n\n\n",
"comments": "",
"outputs": 1,
- "x": 519.5,
- "y": 199,
- "z": "be119e26.f34f9",
+ "x": 557.666690826416,
+ "y": 160.00946807861328,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "9060c9c5.3504f8",
- "5d6c79de.a3b868",
- "3ef65e63.bc200a",
- "cbdd335e.bb59e8",
- "1e17c676.d6b4d2",
- "e5856afd.4a9d48",
- "7ddb4531.494d44",
- "dc75f16e.caefe8",
- "80d81673.f6bb08",
- "da2fcf8b.57e868",
- "84b92024.42fc4",
- "b3fa14e7.d8f17",
- "ee48055b.43515",
- "27cdd875.835958"
+ "b230a9a.ea8ce58",
+ "7d62685a.1cf978",
+ "3899c3f5.ff0d1c",
+ "8bbd32f1.3b139",
+ "aa2f59bb.8696e8",
+ "dc258e2b.55a04",
+ "9af0bcca.add39",
+ "2d8bacd.16af554",
+ "e3a5dc08.672ca",
+ "c3013a1c.f0d408",
+ "b458c88.b917f38",
+ "2daaa41a.965f4c",
+ "178649c0.6dafb6",
+ "a5d44eff.c5775"
]
]
},
{
- "id": "9060c9c5.3504f8",
+ "id": "b230a9a.ea8ce58",
"type": "switchNode",
"name": "switch uni1",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'uni1_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 739.5,
- "y": 97.00000762939453,
- "z": "be119e26.f34f9",
+ "x": 736,
+ "y": 79.67615127563477,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "b6665015.8f12d"
+ "f1cbc9ae.931cf8"
]
]
},
{
- "id": "b3fa14e7.d8f17",
+ "id": "2daaa41a.965f4c",
"type": "set",
"name": "set parameter",
"xml": "<set>\n<parameter name='params' value='`$optical-service-create-input.payload.param[$idx]`' />\n",
"comments": "",
- "x": 768.5,
- "y": 47,
- "z": "be119e26.f34f9",
+ "x": 765,
+ "y": 29.676143646240234,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "b6665015.8f12d",
+ "id": "f1cbc9ae.931cf8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 903.5,
- "y": 99.00000762939453,
- "z": "be119e26.f34f9",
+ "x": 900,
+ "y": 81.67615127563477,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "1e006738.7e7a91"
+ "a064a4f8.6ae9d8"
]
]
},
{
- "id": "1e006738.7e7a91",
+ "id": "a064a4f8.6ae9d8",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n<parameter name='pinterface-aend' value=\"`'uni1_id--'+ $optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 1043.5,
- "y": 94.00000762939453,
- "z": "be119e26.f34f9",
+ "x": 1040,
+ "y": 76.67615127563477,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "5d6c79de.a3b868",
+ "id": "7d62685a.1cf978",
"type": "switchNode",
"name": "switch uni2",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'uni2_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 739.5,
- "y": 178,
- "z": "be119e26.f34f9",
+ "x": 736,
+ "y": 160.67614364624023,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "589d96ad.decae8"
+ "acca2ae3.ec4788"
]
]
},
{
- "id": "589d96ad.decae8",
+ "id": "acca2ae3.ec4788",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 898.5,
- "y": 183,
- "z": "be119e26.f34f9",
+ "x": 895,
+ "y": 165.67614364624023,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "ec88e67b.e42a78"
+ "6ec85b7f.521a14"
]
]
},
{
- "id": "ec88e67b.e42a78",
+ "id": "6ec85b7f.521a14",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n<parameter name='pinterface-zend' value=\"`',uni2_id--'+ $optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 1033.5,
- "y": 180,
- "z": "be119e26.f34f9",
+ "x": 1030,
+ "y": 162.67614364624023,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "3ef65e63.bc200a",
+ "id": "3899c3f5.ff0d1c",
"type": "switchNode",
"name": "switch uni1 coding_func",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'uni1_coding_func'`\">\n",
"comments": "",
"outputs": 1,
- "x": 743.5,
- "y": 274.9999694824219,
- "z": "be119e26.f34f9",
+ "x": 740,
+ "y": 257.6761131286621,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "8b10514f.c61f58"
+ "3a02c2d9.6ce01e"
]
]
},
{
- "id": "8b10514f.c61f58",
+ "id": "3a02c2d9.6ce01e",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 941.5,
- "y": 274.9999694824219,
- "z": "be119e26.f34f9",
+ "x": 938,
+ "y": 257.6761131286621,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "fef26935.ee43c"
+ "c9dce196.c5e71"
]
]
},
{
- "id": "fef26935.ee43c",
+ "id": "c9dce196.c5e71",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='optical-service-create-input.payload.service-rate' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n\n\n\n",
"comments": "",
- "x": 1078.5,
- "y": 271.9999694824219,
- "z": "be119e26.f34f9",
+ "x": 1075,
+ "y": 254.6761131286621,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "cbdd335e.bb59e8",
+ "id": "8bbd32f1.3b139",
"type": "switchNode",
"name": "switch uni",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'uni_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 709.5,
- "y": 329.99993896484375,
- "z": "be119e26.f34f9",
+ "x": 706,
+ "y": 312.676082611084,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "a83d6090.08a4a"
+ "117b40a7.23ea5f"
]
]
},
{
- "id": "a83d6090.08a4a",
+ "id": "117b40a7.23ea5f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 854.5,
- "y": 334.99993896484375,
- "z": "be119e26.f34f9",
+ "x": 851,
+ "y": 317.676082611084,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "eec11b63.1ee83"
+ "66cc41f8.ae315"
]
]
},
{
- "id": "eec11b63.1ee83",
+ "id": "66cc41f8.ae315",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n<parameter name='pinterface-aend' value=\"`'uni_id--'+ $optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 1012.5,
- "y": 345.99993896484375,
- "z": "be119e26.f34f9",
+ "x": 1009,
+ "y": 328.676082611084,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "1e17c676.d6b4d2",
+ "id": "aa2f59bb.8696e8",
"type": "switchNode",
"name": "switch enni",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'enni_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 703.5,
- "y": 383.99993896484375,
- "z": "be119e26.f34f9",
+ "x": 700,
+ "y": 366.676082611084,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "c1d6057a.bfaba"
+ "ae088ec6.29d92"
]
]
},
{
- "id": "c1d6057a.bfaba",
+ "id": "ae088ec6.29d92",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 858.5,
- "y": 398.99993896484375,
- "z": "be119e26.f34f9",
+ "x": 855,
+ "y": 381.676082611084,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "6c9b34a9.cdab44"
+ "67b586c7.bcf178"
]
]
},
{
- "id": "6c9b34a9.cdab44",
+ "id": "67b586c7.bcf178",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n<parameter name='pinterface-zend' value=\"`',enni_id--'+ $optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 1016.5,
- "y": 404.99993896484375,
- "z": "be119e26.f34f9",
+ "x": 1013,
+ "y": 387.676082611084,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "e5856afd.4a9d48",
+ "id": "dc258e2b.55a04",
"type": "switchNode",
"name": "switch uni coding_func",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'uni_coding_func'`\">\n",
"comments": "",
"outputs": 1,
- "x": 710.5,
- "y": 423.39996337890625,
- "z": "be119e26.f34f9",
+ "x": 707,
+ "y": 406.0761070251465,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "180d2bf0.83ffa4"
+ "1f05175.be186e9"
]
]
},
{
- "id": "180d2bf0.83ffa4",
+ "id": "1f05175.be186e9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 910.5,
- "y": 460.39996337890625,
- "z": "be119e26.f34f9",
+ "x": 907,
+ "y": 443.0761070251465,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "b518fbe6.6b3d48"
+ "fe24f047.e45ef"
]
]
},
{
- "id": "b518fbe6.6b3d48",
+ "id": "fe24f047.e45ef",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='optical-service-create-input.payload.service-rate' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 1050.5,
- "y": 466.39996337890625,
- "z": "be119e26.f34f9",
+ "x": 1047,
+ "y": 449.0761070251465,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "7ddb4531.494d44",
+ "id": "9af0bcca.add39",
"type": "switchNode",
"name": "switch enni1",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'enni1_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 689.5,
- "y": 471.4000244140625,
- "z": "be119e26.f34f9",
+ "x": 686,
+ "y": 454.07616806030273,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "3f99875.f5fb5f8"
+ "751bffda.f24f9"
]
]
},
{
- "id": "dc75f16e.caefe8",
+ "id": "2d8bacd.16af554",
"type": "switchNode",
"name": "switch enni2",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'enni2_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 682.5,
- "y": 535.4000244140625,
- "z": "be119e26.f34f9",
+ "x": 679,
+ "y": 518.0761680603027,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "5ff8b6da.c93f"
+ "4d014a76.3767e4"
]
]
},
{
- "id": "3f99875.f5fb5f8",
+ "id": "751bffda.f24f9",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 862.5,
- "y": 498.4000244140625,
- "z": "be119e26.f34f9",
+ "x": 859,
+ "y": 481.07616806030273,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "a1dffc1a.4ca8b8"
+ "d29b2dd5.306d9"
]
]
},
{
- "id": "5ff8b6da.c93f",
+ "id": "4d014a76.3767e4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 847.5,
- "y": 553.4000244140625,
- "z": "be119e26.f34f9",
+ "x": 844,
+ "y": 536.0761680603027,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "1195c2b2.9677fd"
+ "351beb55.ce6a24"
]
]
},
{
- "id": "a1dffc1a.4ca8b8",
+ "id": "d29b2dd5.306d9",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n<parameter name='pinterface-aend' value=\"`'enni1_id--'+ $optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 1004.5,
- "y": 503.4000244140625,
- "z": "be119e26.f34f9",
+ "x": 1001,
+ "y": 486.07616806030273,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "1195c2b2.9677fd",
+ "id": "351beb55.ce6a24",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n<parameter name='pinterface-zend' value=\"`',enni2_id--'+ $optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 971.5,
- "y": 548.4000244140625,
- "z": "be119e26.f34f9",
+ "x": 968,
+ "y": 531.0761680603027,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "80d81673.f6bb08",
+ "id": "e3a5dc08.672ca",
"type": "switchNode",
"name": "switch uni coding_func",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'enni1_coding_func'`\">\n",
"comments": "",
"outputs": 1,
- "x": 695.5,
- "y": 584.800048828125,
- "z": "be119e26.f34f9",
+ "x": 691.9999771118164,
+ "y": 564.1428337097168,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "11aeaa86.32d365"
+ "7e0a0351.eab4cc"
]
]
},
{
- "id": "11aeaa86.32d365",
+ "id": "7e0a0351.eab4cc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 872.5,
- "y": 587.800048828125,
- "z": "be119e26.f34f9",
+ "x": 869,
+ "y": 570.4761924743652,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "4ffe3b95.e1db4c"
+ "5a51c390.a2526c"
]
]
},
{
- "id": "4ffe3b95.e1db4c",
+ "id": "5a51c390.a2526c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='optical-service-create-input.payload.service-rate' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 1016.5,
- "y": 588.800048828125,
- "z": "be119e26.f34f9",
+ "x": 1013,
+ "y": 571.4761924743652,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "77ca198e.37e04",
+ "id": "69ca9e9b.b8ce5",
"type": "get-resource",
"name": "get controller_id from DB",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' \nkey='SELECT controller_id \nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE \nWHERE interface_name = $optical-service-create-input.payload.service-aend.port-id' \npfx='db.source1'>\n \n \n \n \n \n \n \n \n",
"comments": "",
"outputs": 1,
- "x": 678.5,
- "y": 779.5999755859375,
- "z": "be119e26.f34f9",
+ "x": 675,
+ "y": 762.2761192321777,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "8351b374.bb829"
+ "3bc0ebca.20fce4"
]
]
},
{
- "id": "68ebe78a.dd3bb",
+ "id": "ea5ef9b3.a11be8",
"type": "get-resource",
"name": "get controller_id from DB",
"xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' \nkey='SELECT controller_id \nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE \nWHERE interface_name = $optical-service-create-input.payload.service-zend.port-id' \npfx='db.source2'>\n \n \n \n \n \n \n \n \n",
"comments": "",
"outputs": 1,
- "x": 659.5000305175781,
- "y": 831.6000061035156,
- "z": "be119e26.f34f9",
+ "x": 656.0000305175781,
+ "y": 814.2761497497559,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "b67baa88.7569f8"
+ "f54a3d3d.942aa"
]
]
},
{
- "id": "2aa1562e.df8772",
+ "id": "f63b3eeb.67f52",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='controller1' value=\"`$db.source1.controller-id`\"/>\n",
"comments": "",
- "x": 1005.5,
- "y": 779.5999755859375,
- "z": "be119e26.f34f9",
+ "x": 1002,
+ "y": 762.2761192321777,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "723d4991.2456b",
+ "id": "f111e27.da9dc2",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='controller2' value=\"`$db.source2.controller-id`\"/>\n",
"comments": "",
- "x": 1001.5,
- "y": 838.6000061035156,
- "z": "be119e26.f34f9",
+ "x": 998,
+ "y": 821.2761497497559,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "3bfa7a37.3c6426",
+ "id": "fc46660a.dc2e38",
"type": "switchNode",
"name": "controllers-id check",
"xml": "<switch test='`$controller1==$controller2`'>\n",
"comments": "",
"outputs": 1,
- "x": 97.5,
- "y": 1339.599967956543,
- "z": "be119e26.f34f9",
+ "x": 94,
+ "y": 1322.2761116027832,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "8218e216.269b68",
- "abeeec75.5e0a"
+ "cbd08e71.434f",
+ "5cc41004.9acb"
]
]
},
{
- "id": "8218e216.269b68",
+ "id": "cbd08e71.434f",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 278.39996337890625,
- "y": 1278.89990234375,
- "z": "be119e26.f34f9",
+ "x": 274.89996337890625,
+ "y": 1261.5760459899902,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "714fe0b3.cbe86"
+ "dfba0215.d64aa"
]
]
},
{
- "id": "28b59567.3572fa",
+ "id": "96ef7743.5c1a08",
"type": "call",
"name": "main-create",
"xml": "<call module='optical-service' rpc='main-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 697.4000549316406,
- "y": 1262.900016784668,
- "z": "be119e26.f34f9",
+ "x": 693.9000549316406,
+ "y": 1245.5761604309082,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "f2170d69.16bd1"
+ "e44b182.8dbb5e8"
]
]
},
{
- "id": "abeeec75.5e0a",
+ "id": "5cc41004.9acb",
"type": "outcomeFalse",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 369.3999938964844,
- "y": 1445.900016784668,
- "z": "be119e26.f34f9",
+ "x": 275.8999710083008,
+ "y": 1426.9094772338867,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "9e125ea0.2b4738"
+ "b5b4fca.44564"
]
]
},
{
- "id": "360c94f6.31041c",
+ "id": "382353e4.d87fec",
"type": "execute",
"name": "split node-id a-end retrieved from DB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$controller1`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix1\"/>\n",
"comments": "",
"outputs": 1,
- "x": 671.3999938964844,
- "y": 887.8999938964844,
- "z": "be119e26.f34f9",
+ "x": 667.8999938964844,
+ "y": 870.5761375427246,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "c21735a0.60eee",
+ "id": "cb94ab5f.1c20d8",
"type": "execute",
"name": "split node-id a-end retrieved from DB",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$controller2`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix2\"/>\n",
"comments": "",
"outputs": 1,
- "x": 659.4000244140625,
- "y": 935.8999938964844,
- "z": "be119e26.f34f9",
+ "x": 655.9000244140625,
+ "y": 918.5761375427246,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "13d6217f.3fa927",
+ "id": "24684bb0.9b2da4",
"type": "set",
"name": "set controller-ip",
"xml": "<set>\n<parameter name='controller-ip1' value='`$param-prefix1[1]`' />\n<parameter name='domain-type1' value='`$param-prefix1[0]`' />\n<parameter name='controller-ip2' value='`$param-prefix2[1]`' />\n<parameter name='domain-type2' value='`$param-prefix2[0]`' />\n ",
"comments": "",
- "x": 584.2500305175781,
- "y": 983.7499694824219,
- "z": "be119e26.f34f9",
+ "x": 580.7500305175781,
+ "y": 966.4261131286621,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "9e125ea0.2b4738",
+ "id": "b5b4fca.44564",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 511.0666809082031,
- "y": 1443.5666427612305,
- "z": "be119e26.f34f9",
+ "x": 507.5666809082031,
+ "y": 1426.2427864074707,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "cb4e4d03.2320a8",
- "aabebe1e.a2a91",
- "ed06089e.edc54",
- "ee62cd42.65cd58",
- "be3eb75a.fcea9"
+ "8104d75c.ee8468",
+ "656ab2d4.c3fb6c",
+ "a9e2c26d.57924",
+ "5465bdbd.205a84",
+ "d5363033.a7177"
]
]
},
{
- "id": "cb4e4d03.2320a8",
+ "id": "8104d75c.ee8468",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='access-aend' value=\"`$optical-service-create-input.payload.service-aend.port-id`\"/>\n<parameter name='access-zend' value=\"`$optical-service-create-input.payload.service-zend.port-id`\"/>\n",
+ "xml": "<set>\n<parameter name='src-port-id' value=\"`$optical-service-create-input.payload.service-aend.port-id`\"/>\n<parameter name='dst-port-id' value=\"`$optical-service-create-input.payload.service-zend.port-id`\"/>\n<parameter name='access-service-name' value=\"`$optical-service-create-input.payload.service-name`\"/>\n\n",
"comments": "",
- "x": 682.1500015258789,
- "y": 1562.6500406265259,
- "z": "be119e26.f34f9",
+ "x": 693.6499633789062,
+ "y": 1500.3261532783508,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "be3eb75a.fcea9",
+ "id": "5465bdbd.205a84",
"type": "call",
"name": "inter-domain DG",
"xml": "<call module='optical-service' rpc='inter-domain-handling' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 673.6500015258789,
- "y": 1677.6500415802002,
- "z": "be119e26.f34f9",
+ "x": 670.1500015258789,
+ "y": 1660.3261852264404,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "714fe0b3.cbe86",
+ "id": "dfba0215.d64aa",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 521.3999938964844,
- "y": 1267.900016784668,
- "z": "be119e26.f34f9",
+ "x": 517.8999938964844,
+ "y": 1250.5761604309082,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "912b18e0.6fcbc8",
- "ce6f9a2a.d58bc",
- "545d3a33.e4b434",
- "9be241b.73fe74",
- "28b59567.3572fa"
+ "a69cc43e.4224a8",
+ "39fef34a.fff3dc",
+ "a0b47622.30a538",
+ "18de46db.9f95f9",
+ "96ef7743.5c1a08"
]
]
},
{
- "id": "2a30842b.722684",
+ "id": "93240432.64d878",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$final-response-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 916.4000549316406,
- "y": 1175.900016784668,
- "z": "be119e26.f34f9",
+ "x": 912.9000549316406,
+ "y": 1158.5761604309082,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "13543e22.9a274a"
+ "d35f8f3f.afff5"
]
]
},
{
- "id": "13543e22.9a274a",
+ "id": "d35f8f3f.afff5",
"type": "outcome",
"name": "200",
"xml": "<outcome value='200'>\n",
"comments": "",
"outputs": 1,
- "x": 1054.4000549316406,
- "y": 1168.900016784668,
- "z": "be119e26.f34f9",
+ "x": 1050.9000549316406,
+ "y": 1151.5761604309082,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "d10726b7.d3d02"
+ "8ba6bc3c.8340d"
]
]
},
{
- "id": "d44f3957.51ad4",
+ "id": "46fe0a0d.c44404",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Service Created Successfully' />\n<parameter name='ack-final-indicator' value='Y' />\n",
"comments": "",
- "x": 1354.4000549316406,
- "y": 1211.900016784668,
- "z": "be119e26.f34f9",
+ "x": 1652.5666961669922,
+ "y": 1242.9096031188965,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "d10726b7.d3d02",
+ "id": "8ba6bc3c.8340d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1192.4000549316406,
- "y": 1164.900016784668,
- "z": "be119e26.f34f9",
+ "x": 1188.9000549316406,
+ "y": 1147.5761604309082,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "d44f3957.51ad4",
- "16c29993.ab7326",
- "87bdb7fa.7da8d8"
+ "81960bf8.553688",
+ "2784835b.5b854c"
]
]
},
{
- "id": "da2fcf8b.57e868",
+ "id": "c3013a1c.f0d408",
"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/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$optical-service-create-input.payload.service-aend.port-id`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 740.4000244140625,
- "y": 137.89999389648438,
- "z": "be119e26.f34f9",
+ "x": 736.9000244140625,
+ "y": 120.57613754272461,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "84b92024.42fc4",
+ "id": "b458c88.b917f38",
"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/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$optical-service-create-input.payload.service-zend.port-id`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 735.4000244140625,
- "y": 214.89999389648438,
- "z": "be119e26.f34f9",
+ "x": 731.9000244140625,
+ "y": 197.5761375427246,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "ee48055b.43515",
+ "id": "178649c0.6dafb6",
"type": "switchNode",
"name": "service-name",
"xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'service-name'`\">\n",
"comments": "",
"outputs": 1,
- "x": 663.0667114257812,
- "y": 618.566650390625,
- "z": "be119e26.f34f9",
+ "x": 659.5667114257812,
+ "y": 601.2427940368652,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "5a17268d.005fe8"
+ "41a2a0bb.81352"
]
]
},
{
- "id": "5a17268d.005fe8",
+ "id": "41a2a0bb.81352",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 840.0667114257812,
- "y": 634.566650390625,
- "z": "be119e26.f34f9",
+ "x": 836.5667114257812,
+ "y": 617.2427940368652,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "a2725653.88689"
+ "504e594c.3f8818"
]
]
},
{
- "id": "a2725653.88689",
+ "id": "504e594c.3f8818",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='optical-service-create-input.payload.service-name' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
"comments": "",
- "x": 974.0667724609375,
- "y": 636.566650390625,
- "z": "be119e26.f34f9",
+ "x": 970.5667724609375,
+ "y": 619.2427940368652,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "8351b374.bb829",
+ "id": "3bc0ebca.20fce4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 860.4000244140625,
- "y": 785.9000244140625,
- "z": "be119e26.f34f9",
+ "x": 856.9000244140625,
+ "y": 768.5761680603027,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "2aa1562e.df8772"
+ "f63b3eeb.67f52"
]
]
},
{
- "id": "b67baa88.7569f8",
+ "id": "f54a3d3d.942aa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 858.4000244140625,
- "y": 835.8999938964844,
- "z": "be119e26.f34f9",
+ "x": 854.9000244140625,
+ "y": 818.5761375427246,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "723d4991.2456b"
+ "f111e27.da9dc2"
]
]
},
{
- "id": "f2170d69.16bd1",
+ "id": "e44b182.8dbb5e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 853.3999938964844,
- "y": 1262.900016784668,
- "z": "be119e26.f34f9",
+ "x": 849.8999938964844,
+ "y": 1245.5761604309082,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "2a30842b.722684"
+ "93240432.64d878"
]
]
},
{
- "id": "f6fda81a.c05dd8",
+ "id": "5d24d34c.f7200c",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"service1-request-id\"/> ",
"comments": "",
"outputs": 1,
- "x": 355.5000305175781,
- "y": 946.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 352.0000305175781,
+ "y": 929.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "52cfcf48.59a01",
+ "id": "ba9a69d4.39ab08",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"service1-svc-instance-id\"/> ",
"comments": "",
"outputs": 1,
- "x": 384.5000305175781,
- "y": 860.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 381.0000305175781,
+ "y": 843.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "47962899.7c2",
+ "id": "67091f02.08a3b",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"service2-svc-instance-id\"/> ",
"comments": "",
"outputs": 1,
- "x": 318.5000305175781,
- "y": 1021.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 315.0000305175781,
+ "y": 1004.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "e4b9f8f.0986908",
+ "id": "1d744f82.b13ab",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"service2-request-id\"/> ",
"comments": "",
"outputs": 1,
- "x": 289.5000305175781,
- "y": 1098.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 286.0000305175781,
+ "y": 1081.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "16c29993.ab7326",
+ "id": "81960bf8.553688",
"type": "call",
"name": "create-service-relationship",
"xml": "<call module='optical-service' rpc='create-service-relationship' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1450.5000305175781,
- "y": 1129.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 1447.0000305175781,
+ "y": 1112.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "ce6f9a2a.d58bc",
+ "id": "39fef34a.fff3dc",
"type": "set",
"name": "set acc ser",
"xml": "<set>\n<parameter name='domain-requests' value=\"`$service1-request-id`\" />\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<parameter name='optical-service-create-input.payload.service-name' value=\"`$optical-service-create-input.payload.service-name + '_' + 'MDONS-OTN'`\" /> \n",
"comments": "",
- "x": 690.5000305175781,
- "y": 1064.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 687.0000305175781,
+ "y": 1047.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "912b18e0.6fcbc8",
+ "id": "a69cc43e.4224a8",
"type": "save",
"name": "save access service db",
- "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO REQUEST_DETAILS (request_id, controller_id, status, service_rate, service_instance_id, service_type, global_customer_id, notification_url, domain_requests ) VALUES ( $as-request-id , null , 'CREATING' , $optical-service-create-input.payload.service-rate , $as-svc-instance-id , $optical-service-create-input.service-type , $optical-service-create-input.global-customer-id , $optical-service-create-input.notification-url , $domain-requests );\"> ",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO REQUEST_DETAILS (request_id, controller_id, status, service_rate, service_instance_id, service_type, global_customer_id, notification_url, domain_requests, pinterface_list ) VALUES ( $access-request-id , null , 'CREATING' , $optical-service-create-input.payload.service-rate , $as-svc-instance-id , $optical-service-create-input.service-type , $optical-service-create-input.global-customer-id , $optical-service-create-input.notification-url , $domain-requests , $pinterface-list );\"> ",
"comments": "",
"outputs": 1,
- "x": 754.5000305175781,
- "y": 1154.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 751.0000457763672,
+ "y": 1137.6762208938599,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "ed06089e.edc54",
+ "id": "a9e2c26d.57924",
"type": "set",
"name": "set acc ser",
- "xml": "<set>\n<parameter name='as-request-id' value='`$optical-service-create-input.request-id`' />\n<parameter name='as-svc-instance-id' value='`$optical-service-create-input.service-id`' />\n<parameter name='domain-requests' value=\"`$service1-request-id + ',' + $service2-request-id`\" />\n\n",
+ "xml": "<set>\n<parameter name='access-request-id' value='`$optical-service-create-input.request-id`' />\n<parameter name='as-svc-instance-id' value='`$optical-service-create-input.service-id`' />\n<parameter name='service-rate' value='`$optical-service-create-input.payload.service-rate`' />\n\n\n\n\n\n",
"comments": "",
- "x": 690.5000305175781,
- "y": 1379.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 687.0000305175781,
+ "y": 1362.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "aabebe1e.a2a91",
+ "id": "656ab2d4.c3fb6c",
"type": "save",
"name": "save access service db",
- "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO REQUEST_DETAILS (request_id, controller_id, status, service_rate, service_instance_id, service_type, global_customer_id, notification_url, domain_requests ) VALUES ( $as-request-id , null , 'CREATING' , $optical-service-create-input.payload.service-rate , $as-svc-instance-id , $optical-service-create-input.service-type , $optical-service-create-input.global-customer-id , $optical-service-create-input.notification-url , $domain-requests );\"> ",
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO REQUEST_DETAILS (request_id, controller_id, status, service_rate, service_instance_id, service_type, global_customer_id, notification_url, domain_requests, pinterface_list ) VALUES ( $access-request-id , null , 'CREATING' , $service-rate , $as-svc-instance-id , $optical-service-create-input.service-type , $optical-service-create-input.global-customer-id , $optical-service-create-input.notification-url , $domain-requests , $pinterface-list );\"> ",
"comments": "",
"outputs": 1,
- "x": 752.5000305175781,
- "y": 1506.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 754.0000915527344,
+ "y": 1439.6760692596436,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "ee62cd42.65cd58",
+ "id": "d5363033.a7177",
"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/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`'domain rquest_' + $domain-requests`\"/>\n<parameter name=\"field2\" value=\"`'Service 1 req id---' + $service1-request-id`\"/>\n<parameter name=\"field3\" value=\"`'Service 2 req id---' + $service2-request-id`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Access service details\"/>\n<parameter name=\"field2\" value=\"`$access-request-id`\"/>\n<parameter name=\"field3\" value=\"`$src-port-id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 697.6000061035156,
- "y": 1443.099967956543,
- "z": "be119e26.f34f9",
+ "x": 682.4333305358887,
+ "y": 1564.1094455718994,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "545d3a33.e4b434",
+ "id": "a0b47622.30a538",
"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/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`'domain rquest_' + $domain-requests`\"/>\n<parameter name=\"field2\" value=\"`'Access rquest_' + $as-request-id`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 696.6000061035156,
- "y": 1110.099967956543,
- "z": "be119e26.f34f9",
+ "x": 693.1000061035156,
+ "y": 1092.7761116027832,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[]
]
},
{
- "id": "9be241b.73fe74",
+ "id": "18de46db.9f95f9",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='as-request-id' value='`$optical-service-create-input.request-id`' />\n<parameter name='as-svc-instance-id' value='`$optical-service-create-input.service-id`' />",
+ "xml": "<set>\n<parameter name='access-request-id' value='`$optical-service-create-input.request-id`' />\n<parameter name='as-svc-instance-id' value='`$optical-service-create-input.service-id`' />",
"comments": "",
- "x": 526.5000305175781,
- "y": 1055.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 523.0000305175781,
+ "y": 1038.6761360168457,
+ "z": "3765d4ee.f4ef7c",
"wires": []
},
{
- "id": "87bdb7fa.7da8d8",
- "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": "a5d44eff.c5775",
+ "type": "switchNode",
+ "name": "protocol",
+ "xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'uni1_client_proto'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1376.5000305175781,
- "y": 1054.9999923706055,
- "z": "be119e26.f34f9",
+ "x": 643.0666389465332,
+ "y": 642.5760822296143,
+ "z": "3765d4ee.f4ef7c",
"wires": [
- []
+ [
+ "7821583f.1da9f8"
+ ]
]
},
{
- "id": "27cdd875.835958",
+ "id": "7821583f.1da9f8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 767.066650390625,
+ "y": 655.2427940368652,
+ "z": "3765d4ee.f4ef7c",
+ "wires": [
+ [
+ "d98fda09.1bb478"
+ ]
+ ]
+ },
+ {
+ "id": "d98fda09.1bb478",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-protocol' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "comments": "",
+ "x": 893.066650390625,
+ "y": 668.2427940368652,
+ "z": "3765d4ee.f4ef7c",
+ "wires": []
+ },
+ {
+ "id": "2784835b.5b854c",
"type": "switchNode",
- "name": "protocol",
- "xml": "<switch test=\"`$optical-service-create-input.payload.param[$idx].name == 'uni1_client_proto'`\">\n",
+ "name": "switch",
+ "xml": "<switch test=\"`$domain-type == 'MSA'`\">\n",
"comments": "",
"outputs": 1,
- "x": 646.566650390625,
- "y": 661.566650390625,
- "z": "be119e26.f34f9",
+ "x": 1346.373046875,
+ "y": 1191.373046875,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "b3f1926e.bdae08"
+ "85ea004e.44196",
+ "20585705.4cb1a8"
]
]
},
{
- "id": "b3f1926e.bdae08",
+ "id": "85ea004e.44196",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 770.566650390625,
- "y": 672.566650390625,
- "z": "be119e26.f34f9",
+ "x": 1496.3731002807617,
+ "y": 1174.7064771652222,
+ "z": "3765d4ee.f4ef7c",
"wires": [
[
- "487a398d.1fdfb"
+ "5682ade7.0ace44"
]
]
},
{
- "id": "487a398d.1fdfb",
+ "id": "20585705.4cb1a8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.0397987365723,
+ "y": 1249.7064781188965,
+ "z": "3765d4ee.f4ef7c",
+ "wires": [
+ [
+ "46fe0a0d.c44404"
+ ]
+ ]
+ },
+ {
+ "id": "5682ade7.0ace44",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Service Created Successfully' />\n<parameter name='ack-final-indicator' value='N' />\n",
+ "comments": "",
+ "x": 1678.0396728515625,
+ "y": 1176.373046875,
+ "z": "3765d4ee.f4ef7c",
+ "wires": []
+ },
+ {
+ "id": "62f70543.ff887c",
+ "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/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Controller Ids\"/>\n<parameter name=\"field2\" value=\"`$controller1`\"/>\n<parameter name=\"field3\" value=\"`$controller2`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 228.34278106689453,
+ "y": 1154.4032135009766,
+ "z": "3765d4ee.f4ef7c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b5e0902f.10aa8",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-protocol' value=\"`$optical-service-create-input.payload.param[$idx].value`\"/>\n",
+ "xml": "<set>\n<parameter name='pinterface-list' value=\"\"/>\n",
+ "comments": "",
+ "x": 476.6761245727539,
+ "y": 121.6761302947998,
+ "z": "3765d4ee.f4ef7c",
+ "wires": []
+ },
+ {
+ "id": "fabb7d83.a75cf",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='pinterface-list' value=\"`$pinterface-aend + $pinterface-zend`\"/>\n",
"comments": "",
- "x": 896.566650390625,
- "y": 685.566650390625,
- "z": "be119e26.f34f9",
+ "x": 138.34280395507812,
+ "y": 1229.2518281936646,
+ "z": "3765d4ee.f4ef7c",
"wires": []
}
] \ No newline at end of file