From cb78477d4a74b0ab703c1027fffe11b5c17e7335 Mon Sep 17 00:00:00 2001 From: Hesam Rahimi Date: Wed, 1 Apr 2020 19:31:42 +0000 Subject: [PATCH] Bug fixing in DGs related to network and links storing in AAI. Issue-ID: SDNC-899 Signed-off-by: Hesam Rahimi Change-Id: I09df4dd299ebb02386312a58806404cc2ae27b8c Former-commit-id: 72d0ed54d160546f494781bca5aa0f574d84748d --- .../DataChange_update-network-links-to-aai.json | 834 ++++++++++++++++++--- .../json/DataChange_update-network-to-aai.json | 514 ++++++++----- .../xml/DataChange_update-network-links-to-aai.xml | 250 ++++-- .../main/xml/DataChange_update-network-to-aai.xml | 261 +++---- 4 files changed, 1392 insertions(+), 467 deletions(-) diff --git a/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json index 442a44eb..9c07e5fb 100644 --- a/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json +++ b/platform-logic/datachange/src/main/json/DataChange_update-network-links-to-aai.json @@ -1,20 +1,20 @@ [ { - "id": "3dae3829.6d50d8", + "id": "5858bb6c.1c5b2c", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 140, - "y": 83, - "z": "5fc7c3fb.48a444", + "x": 116, + "y": 67, + "z": "3cbec5d5.54ea02", "wires": [ [ - "de2fffb7.c073f8" + "350dfcb7.24e654" ] ] }, { - "id": "de2fffb7.c073f8", + "id": "350dfcb7.24e654", "type": "service-logic", "name": "DataChange ${project.version}", "module": "DataChange", @@ -22,264 +22,890 @@ "comments": "", "xml": "", "outputs": 1, - "x": 182, - "y": 162.888916015625, - "z": "5fc7c3fb.48a444", + "x": 173, + "y": 146.888916015625, + "z": "3cbec5d5.54ea02", "wires": [ [ - "8d7f08d3.c67fe8" + "92cd3521.3e4e6" ] ] }, { - "id": "8d7f08d3.c67fe8", + "id": "92cd3521.3e4e6", "type": "method", "name": "method update-network-links-to-aai", "xml": "\n", "comments": "", "outputs": 1, - "x": 196, - "y": 239.22222900390625, - "z": "5fc7c3fb.48a444", + "x": 187, + "y": 223.22222900390625, + "z": "3cbec5d5.54ea02", "wires": [ [ - "89a3239d.9a961" + "b665c6f2.69a4d" ] ] }, { - "id": "89a3239d.9a961", + "id": "b665c6f2.69a4d", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 207.33343505859375, - "y": 316.7779235839844, - "z": "5fc7c3fb.48a444", + "x": 198.33343505859375, + "y": 300.7779235839844, + "z": "3cbec5d5.54ea02", "wires": [ [ - "f779b713.8cfdc8" + "c59c9b79.9f8cc" ] ] }, { - "id": "705ccc82.ecc094", + "id": "f41ff5d9.72c91", "type": "update", - "name": "save logical-link", - "xml": "\n\n\n\n\n\n\n\n", + "name": "save logical-link with regular id", + "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 580.1111450195312, - "y": 168.11109924316406, - "z": "5fc7c3fb.48a444", + "x": 1156.111083984375, + "y": 546.111083984375, + "z": "3cbec5d5.54ea02", "wires": [ [] ] }, { - "id": "f779b713.8cfdc8", + "id": "c59c9b79.9f8cc", "type": "for", "name": "for each link", "xml": "\n", "comments": "", "outputs": 1, - "x": 235.88885498046875, - "y": 410.33331298828125, - "z": "5fc7c3fb.48a444", + "x": 226.88885498046875, + "y": 394.33331298828125, + "z": "3cbec5d5.54ea02", "wires": [ [ - "705ccc82.ecc094", - "45a55196.a54ca", - "d54d8abb.5beac", - "5271a41c.d8700c" + "6d5acc0f.b7df54", + "8fbc8f1e.fe24c8", + "954c1d48.971018", + "915555f.abb44a8" ] ] }, { - "id": "45a55196.a54ca", + "id": "6d5acc0f.b7df54", "type": "set", "name": "set network link's local variables", - "xml": "\n\n\n\n\n\n\n", + "xml": "\n\n\n\n", "comments": "", - "x": 581.111083984375, - "y": 109.22221374511719, - "z": "5fc7c3fb.48a444", + "x": 572.111083984375, + "y": 62.22221374511719, + "z": "3cbec5d5.54ea02", "wires": [] }, { - "id": "d54d8abb.5beac", - "type": "save", - "name": "save source and dest TP", - "xml": "\n\n\n\n\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 596.7779541015625, - "y": 234.44447326660156, - "z": "5fc7c3fb.48a444", - "wires": [ - [] - ] - }, - { - "id": "5271a41c.d8700c", + "id": "7a38f4d0.9f3e6c", "type": "for", "name": "for each label-restriction", "xml": "\n", "comments": "", "outputs": 1, - "x": 533.4444580078125, - "y": 375.111083984375, - "z": "5fc7c3fb.48a444", + "x": 1535.4444580078125, + "y": 712.111083984375, + "z": "3cbec5d5.54ea02", "wires": [ [ - "1b0f5546.e78123", - "443c3267.dc2134", - "b1de45a9.d99468" + "556fc245.d19e3c", + "d6c13a1b.e798a", + "69e9f586.641064" ] ] }, { - "id": "1b0f5546.e78123", + "id": "556fc245.d19e3c", "type": "set", "name": "set label-restriction's local variables", "xml": "\n\n\n", "comments": "", - "x": 805.111328125, - "y": 299.00006103515625, - "z": "5fc7c3fb.48a444", + "x": 1870.111328125, + "y": 635.0000610351562, + "z": "3cbec5d5.54ea02", "wires": [] }, { - "id": "759b3331.b0b62c", + "id": "3398d2c0.69ae06", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 982.4998779296875, - "y": 371.7460632324219, - "z": "5fc7c3fb.48a444", + "x": 2005.4998779296875, + "y": 679.74609375, + "z": "3cbec5d5.54ea02", "wires": [ [ - "1a522f6e.2f6589" + "abb716be.3fb59" ] ] }, { - "id": "b709b603.7fa938", + "id": "3d46f558.3e53f2", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 990.178466796875, - "y": 430.96038818359375, - "z": "5fc7c3fb.48a444", + "x": 2013.178466796875, + "y": 738.9604187011719, + "z": "3cbec5d5.54ea02", "wires": [ [ - "5fd30b98.524afc" + "f0df0cf2.e46b6" ] ] }, { - "id": "1a522f6e.2f6589", + "id": "abb716be.3fb59", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1102, - "y": 318, - "z": "5fc7c3fb.48a444", + "x": 2166, + "y": 679.0000305175781, + "z": "3cbec5d5.54ea02", "wires": [ [] ] }, { - "id": "61d66d0d.d0e254", + "id": "9aed5c80.54f11", "type": "set", "name": "set src-ltpId dst-ltpId", "xml": "\n\n", "comments": "", - "x": 2595.5001220703125, - "y": 2430.545135498047, - "z": "5fc7c3fb.48a444", + "x": 2586.5001220703125, + "y": 2414.545135498047, + "z": "3cbec5d5.54ea02", "wires": [] }, { - "id": "d454df86.50acb", + "id": "ce693523.2da318", "type": "save", "name": "save srcLTP relationship in AAI", "xml": "\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 2629.0001220703125, - "y": 2470.545135498047, - "z": "5fc7c3fb.48a444", + "x": 2620.0001220703125, + "y": 2454.545135498047, + "z": "3cbec5d5.54ea02", "wires": [ [] ] }, { - "id": "f86402c5.f4d968", + "id": "72343f4d.bac85", "type": "save", "name": "save dstLTP relationship in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, - "x": 2629.0001220703125, - "y": 2510.545135498047, - "z": "5fc7c3fb.48a444", + "x": 2620.0001220703125, + "y": 2494.545135498047, + "z": "3cbec5d5.54ea02", "wires": [ [] ] }, { - "id": "5fd30b98.524afc", + "id": "f0df0cf2.e46b6", "type": "update", "name": "save label-restriction", "xml": " \n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1114, - "y": 507, - "z": "5fc7c3fb.48a444", + "x": 2197, + "y": 739.0000305175781, + "z": "3cbec5d5.54ea02", "wires": [ [] ] }, { - "id": "443c3267.dc2134", + "id": "d6c13a1b.e798a", "type": "save", "name": "save link relationship to label-restriction in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 770, - "y": 533, - "z": "5fc7c3fb.48a444", + "x": 1892, + "y": 793, + "z": "3cbec5d5.54ea02", "wires": [ [] ] }, { - "id": "b1de45a9.d99468", + "id": "69e9f586.641064", "type": "update", "name": "save label-restriction", "xml": " \n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 795.815185546875, - "y": 425.55560302734375, - "z": "5fc7c3fb.48a444", + "x": 1814.815185546875, + "y": 711.5556640625, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "3398d2c0.69ae06", + "3d46f558.3e53f2" + ] + ] + }, + { + "id": "9c77d572.aa0dd", + "type": "switchNode", + "name": "switch te-link-attributes", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1135, + "y": 668, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "acb46a14.faf1b8", + "fad2e2be.055cd8" + ] + ] + }, + { + "id": "acb46a14.faf1b8", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1324, + "y": 639, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "b663d811.06fad8" + ] + ] + }, + { + "id": "b663d811.06fad8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1484, + "y": 638, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "fad2e2be.055cd8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1328, + "y": 712, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "7a38f4d0.9f3e6c" + ] + ] + }, + { + "id": "8fbc8f1e.fe24c8", + "type": "switchNode", + "name": "switch link.destination", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 540, + "y": 158, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "44b39c00.9558ec", + "d8a931d0.793fd" + ] + ] + }, + { + "id": "44b39c00.9558ec", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 784, + "y": 129, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "dd848e51.9b8178" + ] + ] + }, + { + "id": "d8a931d0.793fd", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 736, + "y": 190, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "bdffabea.a9f78" + ] + ] + }, + { + "id": "bdffabea.a9f78", + "type": "set", + "name": "set network link's destination variables", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 965, + "y": 190, + "z": "3cbec5d5.54ea02", + "wires": [] + }, + { + "id": "d1d8b826.4d04f", + "type": "set", + "name": "set is-open-ended-link", + "xml": "\n\n\n", + "comments": "", + "x": 1144, + "y": 94, + "z": "3cbec5d5.54ea02", + "wires": [] + }, + { + "id": "b17a800b.11d598", + "type": "save", + "name": "get p-interface from aai", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1146, + "y": 150, + "z": "3cbec5d5.54ea02", "wires": [ [ - "759b3331.b0b62c", - "b709b603.7fa938" + "698d4309.a506a4", + "c0b09280.fde57", + "b035740b.82c768" ] ] + }, + { + "id": "698d4309.a506a4", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1389, + "y": 145, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "d4d599ee.a3913" + ] + ] + }, + { + "id": "c0b09280.fde57", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1387, + "y": 234, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "d42c9066.3cdb28" + ] + ] + }, + { + "id": "d4d599ee.a3913", + "type": "set", + "name": "set alternative unique link id", + "xml": "\n\n\n", + "comments": "", + "x": 1597, + "y": 147, + "z": "3cbec5d5.54ea02", + "wires": [] + }, + { + "id": "d42c9066.3cdb28", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1556, + "y": 235, + "z": "3cbec5d5.54ea02", + "wires": [] + }, + { + "id": "f65cb67d.b3d368", + "type": "save", + "name": "get logical-link from aai", + "xml": "", + "comments": "", + "outputs": 1, + "x": 943, + "y": 355, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "48397109.a69d68", + "efa56bf.4c6db98" + ] + ] + }, + { + "id": "b035740b.82c768", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1398.490966796875, + "y": 187.57403564453125, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "6959706d.7f87e8" + ] + ] + }, + { + "id": "6959706d.7f87e8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "outputs": 1, + "x": 522, + "y": 394, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "4e6e74a5.e8af4c", + "53a87226.590744" + ] + ] + }, + { + "id": "4e6e74a5.e8af4c", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 739, + "y": 416, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "2e08f3a1.53987c" + ] + ] + }, + { + "id": "53a87226.590744", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 742, + "y": 356, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "f65cb67d.b3d368" + ] + ] + }, + { + "id": "48397109.a69d68", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1140, + "y": 325, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "6b973.4170168dc" + ] + ] + }, + { + "id": "efa56bf.4c6db98", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1143.490966796875, + "y": 365.57403564453125, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "ef51ee2a.cafb5" + ] + ] + }, + { + "id": "842144b1.a1cb2", + "type": "update", + "name": "save logical-link with alternative link id", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1590, + "y": 368, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "2e08f3a1.53987c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 917, + "y": 424, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "f41ff5d9.72c91", + "9c77d572.aa0dd", + "34901df.74cf7e2" + ] + ] + }, + { + "id": "6b973.4170168dc", + "type": "save", + "name": "update dest TP by putting src TP of the current link", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1429, + "y": 321, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "34901df.74cf7e2", + "type": "save", + "name": "save source and dest TP", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1142, + "y": 601, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "dd848e51.9b8178", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 927, + "y": 126, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "d1d8b826.4d04f", + "b17a800b.11d598" + ] + ] + }, + { + "id": "ef51ee2a.cafb5", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1314, + "y": 366, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "842144b1.a1cb2", + "9ab70c9.3d83df", + "dd8767a.3acd918" + ] + ] + }, + { + "id": "9ab70c9.3d83df", + "type": "save", + "name": "save source only", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1527, + "y": 416, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "ec4710d1.a4614", + "type": "for", + "name": "for each label-restriction", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1933, + "y": 499, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "5f4e6661.8be42", + "bf1c8950.f6775", + "869edf38.84c148" + ] + ] + }, + { + "id": "5f4e6661.8be42", + "type": "set", + "name": "set label-restriction's local variables", + "xml": "\n\n\n", + "comments": "", + "x": 2267.6668701171875, + "y": 421.88897705078125, + "z": "3cbec5d5.54ea02", + "wires": [] + }, + { + "id": "7135b68.c08c3c8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2403.055419921875, + "y": 466.635009765625, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "2043dae3.034356" + ] + ] + }, + { + "id": "69007117.c84f9", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2410.7340087890625, + "y": 525.8493347167969, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "30f94010.a2f0b" + ] + ] + }, + { + "id": "2043dae3.034356", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2563.5555419921875, + "y": 465.8889465332031, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "30f94010.a2f0b", + "type": "update", + "name": "save label-restriction", + "xml": " \n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2594.5555419921875, + "y": 525.8889465332031, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "bf1c8950.f6775", + "type": "save", + "name": "save link relationship to label-restriction in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2289.5555419921875, + "y": 579.888916015625, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "869edf38.84c148", + "type": "update", + "name": "save label-restriction", + "xml": " \n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2212.3707275390625, + "y": 498.444580078125, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "7135b68.c08c3c8", + "69007117.c84f9" + ] + ] + }, + { + "id": "dd8767a.3acd918", + "type": "switchNode", + "name": "switch te-link-attributes", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1532.5555419921875, + "y": 454.888916015625, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "2ac06a2f.120e4e", + "45e6587f.a583a" + ] + ] + }, + { + "id": "2ac06a2f.120e4e", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1721.5555419921875, + "y": 425.888916015625, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "5884f4a0.224604" + ] + ] + }, + { + "id": "5884f4a0.224604", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1881.5555419921875, + "y": 424.888916015625, + "z": "3cbec5d5.54ea02", + "wires": [ + [] + ] + }, + { + "id": "45e6587f.a583a", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1725.5555419921875, + "y": 498.888916015625, + "z": "3cbec5d5.54ea02", + "wires": [ + [ + "ec4710d1.a4614" + ] + ] + }, + { + "id": "915555f.abb44a8", + "type": "set", + "name": "set more local variables", + "xml": "\n\n\n\n", + "comments": "", + "x": 557, + "y": 102, + "z": "3cbec5d5.54ea02", + "wires": [] } ] \ No newline at end of file diff --git a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json index 7f980627..382a4c98 100644 --- a/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json +++ b/platform-logic/datachange/src/main/json/DataChange_update-network-to-aai.json @@ -1,20 +1,20 @@ [ { - "id": "e71bc70e.124d38", + "id": "ef88be3f.517f78", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 142, - "y": 49, - "z": "a2160ede.50a7f8", + "x": 105, + "y": 67, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "f849e1fd.7b8e28" + "74a7a837.229be" ] ] }, { - "id": "f849e1fd.7b8e28", + "id": "74a7a837.229be", "type": "service-logic", "name": "DataChange ${project.version}", "module": "DataChange", @@ -22,457 +22,633 @@ "comments": "", "xml": "", "outputs": 1, - "x": 231.00003051757812, - "y": 139.88891220092773, - "z": "a2160ede.50a7f8", + "x": 194.00003051757812, + "y": 157.88891220092773, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "7adf111d.766db8" + "284dae72.737532" ] ] }, { - "id": "7adf111d.766db8", + "id": "284dae72.737532", "type": "method", - "name": "method update-network-to-aai", + "name": "update-network-to-aai", "xml": "\n", "comments": "", "outputs": 1, - "x": 267.1112518310547, - "y": 210.22223663330078, - "z": "a2160ede.50a7f8", + "x": 230.1112518310547, + "y": 228.22223663330078, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "802b5752.247908" + "da05320e.186d48" ] ] }, { - "id": "802b5752.247908", + "id": "da05320e.186d48", "type": "block", "name": "block : atomic", "xml": "\n", - "atomic": "false", + "atomic": "true", "comments": "", "outputs": 1, - "x": 492.33343505859375, - "y": 209.77792358398438, - "z": "a2160ede.50a7f8", + "x": 455.33343505859375, + "y": 227.77792358398438, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "32d96ea8.386a82", - "7667af77.0df1e8", - "6f623dd3.9a7c44", - "ffd24e55.e4afa" + "8c187a81.9e4d28", + "75113293.98ea0c", + "9937b93d.ff5938", + "55dde830.cc61b8" ] ] }, { - "id": "7667af77.0df1e8", - "type": "update", + "id": "75113293.98ea0c", + "type": "save", "name": "save network-resource", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 722.333251953125, - "y": 115.00001525878906, - "z": "a2160ede.50a7f8", + "x": 685.333251953125, + "y": 133.00001525878906, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "ab67cffd.8b31", - "type": "update", + "id": "74f65e67.75c658", + "type": "save", "name": "save pnf", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 934.1111450195312, - "y": 205.111083984375, - "z": "a2160ede.50a7f8", + "x": 897.1111450195312, + "y": 223.111083984375, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "6f623dd3.9a7c44", + "id": "9937b93d.ff5938", "type": "for", "name": "for each node", "xml": "\n", "comments": "", "outputs": 1, - "x": 705.8888549804688, - "y": 185.33331298828125, - "z": "a2160ede.50a7f8", + "x": 668.8888549804688, + "y": 203.33331298828125, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "ab67cffd.8b31", - "c4083363.2a3b2", - "ba78539e.d2e248", - "c02a5c85.3b448", - "499b8cbc.ebafac", - "7a876b8.f89b114", - "46013f8c.54849" + "74f65e67.75c658", + "60e29b35.16fbd4", + "b27f201.393186", + "e83884ed.3fb2d8", + "7257c53.4f087bc", + "395bef40.08498", + "1392eb55.76adbd", + "e55192de.2cc998" ] ] }, { - "id": "c4083363.2a3b2", + "id": "60e29b35.16fbd4", "type": "set", - "name": "set network", - "xml": "\n\n\n\n\n\n", + "name": "set node", + "xml": "\n\n\n\n", "comments": "", - "x": 950.111083984375, - "y": 133.2222137451172, - "z": "a2160ede.50a7f8", + "x": 902.111083984375, + "y": 119.22221374511719, + "z": "6d6b8a1f.be1cb4", "wires": [] }, { - "id": "c02a5c85.3b448", + "id": "e83884ed.3fb2d8", "type": "save", "name": "save pnf relationship to network-resource in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, - "x": 1030.7779541015625, - "y": 380.44447803497314, - "z": "a2160ede.50a7f8", + "x": 993.7779541015625, + "y": 398.44447803497314, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "499b8cbc.ebafac", + "id": "9c15e41a.6cfbc8", "type": "for", "name": "for each termination point", "xml": "\n", "comments": "", "outputs": 1, - "x": 963.4444580078125, - "y": 496.111083984375, - "z": "a2160ede.50a7f8", + "x": 1279.4444580078125, + "y": 574.111083984375, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "c5951e15.43701", - "c670da77.075458", - "3831ed03.d1f9da", - "f6959b19.b0bc18" + "3c657cae.66477c", + "2e1dc2b9.f23686", + "8c144095.b1eaf8" ] ] }, { - "id": "c5951e15.43701", + "id": "3c657cae.66477c", "type": "set", "name": "set termination point", "xml": "\n\n", "comments": "", - "x": 1230.111328125, - "y": 457.0000457763672, - "z": "a2160ede.50a7f8", + "x": 1550.111328125, + "y": 536.0000457763672, + "z": "6d6b8a1f.be1cb4", "wires": [] }, { - "id": "3831ed03.d1f9da", - "type": "update", + "id": "8c144095.b1eaf8", + "type": "save", "name": "save p-interface", "xml": " \n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1213.8151397705078, - "y": 630.5555934906006, - "z": "a2160ede.50a7f8", + "x": 1533.815185546875, + "y": 628.5556030273438, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "9d09dea6.d30ca8", - "abd50ee3.2f813" + "3fc33363.5b82ec", + "34c813e4.f5477c" ] ] }, { - "id": "7e259f3c.438d9", + "id": "f6e5129a.8bd048", "type": "save", "name": "save pnf relationship to p-interface in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, - "x": 1297.703857421875, - "y": 765.3333740234375, - "z": "a2160ede.50a7f8", + "x": 1610.703857421875, + "y": 784.3333740234375, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "c670da77.075458", + "id": "2e1dc2b9.f23686", "type": "set", "name": "set unique-ltpId", "xml": "\n\n", "comments": "", - "x": 1214.000244140625, - "y": 491.1111145019531, - "z": "a2160ede.50a7f8", + "x": 1534.000244140625, + "y": 570.1111145019531, + "z": "6d6b8a1f.be1cb4", "wires": [] }, { - "id": "32d96ea8.386a82", + "id": "8c187a81.9e4d28", "type": "execute", "name": "execute", "xml": "\n \n \n \n \n ", "comments": "", "outputs": 1, - "x": 671.9935302734375, - "y": 75.99349212646484, - "z": "a2160ede.50a7f8", + "x": 640.9935302734375, + "y": 83.99349975585938, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "ba78539e.d2e248", + "id": "b27f201.393186", "type": "save", "name": "save pnf relation with esr-thirdparty-sdnc", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1012, - "y": 416.9934997558594, - "z": "a2160ede.50a7f8", + "x": 975, + "y": 434.9934997558594, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "9d09dea6.d30ca8", + "id": "3fc33363.5b82ec", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 1385.4998397827148, - "y": 617.7460689544678, - "z": "a2160ede.50a7f8", + "x": 1705.499885559082, + "y": 615.7460784912109, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "3d744c93.2eb20c" + "a873419b.bc81c" ] ] }, { - "id": "abd50ee3.2f813", + "id": "34c813e4.f5477c", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 1379.1784286499023, - "y": 669.9603805541992, - "z": "a2160ede.50a7f8", + "x": 1699.1784744262695, + "y": 667.9603900909424, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "a0fb6003.0efd8" + "66113f50.7819f8" ] ] }, { - "id": "3d744c93.2eb20c", + "id": "a873419b.bc81c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1536, - "y": 617, - "z": "a2160ede.50a7f8", + "x": 1856.0000457763672, + "y": 615.0000095367432, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "a0fb6003.0efd8", + "id": "66113f50.7819f8", "type": "update", "name": "update p-interface", - "xml": " \n\n\n\n\n\n\n\n\n\n\n", + "xml": " \n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1556, - "y": 667, - "z": "a2160ede.50a7f8", + "x": 1885, + "y": 669, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "aa9ed7c5.9f2be8", - "type": "update", + "id": "c8e5472a.d10408", + "type": "save", "name": "save tunnel-termination-point", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1423, - "y": 205, - "z": "a2160ede.50a7f8", + "x": 1678, + "y": 331, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "54fe71d8.edb1c", - "6cd48f92.21a288" + "11cb3cf8.02c3eb", + "1a336806.ba4bc8" ] ] }, { - "id": "7a876b8.f89b114", + "id": "8b0a557c.b35cd", "type": "for", "name": "for each tunnel termination point", "xml": "\n", "comments": "", "outputs": 1, - "x": 1038, - "y": 281, - "z": "a2160ede.50a7f8", + "x": 1341, + "y": 319, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "79913f13.5b1fa", - "4552b8b5.e9ba2", - "aa9ed7c5.9f2be8", - "e23bdb7f.fdc9c" + "58c4d943.63d2f", + "e7e93cd.8f563c", + "c8e5472a.d10408", + "7c00c858.c87ab8" ] ] }, { - "id": "79913f13.5b1fa", + "id": "58c4d943.63d2f", "type": "set", "name": "set tunnel termination point", "xml": "\n\n", "comments": "", - "x": 1393, - "y": 114, - "z": "a2160ede.50a7f8", + "x": 1676, + "y": 239, + "z": "6d6b8a1f.be1cb4", "wires": [] }, { - "id": "4552b8b5.e9ba2", + "id": "e7e93cd.8f563c", "type": "set", "name": "set unique-ttpId", "xml": "\n\n", "comments": "", - "x": 1370.888916015625, - "y": 151.111083984375, - "z": "a2160ede.50a7f8", + "x": 1634.888916015625, + "y": 277.111083984375, + "z": "6d6b8a1f.be1cb4", "wires": [] }, { - "id": "54fe71d8.edb1c", + "id": "11cb3cf8.02c3eb", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 1680, - "y": 191, - "z": "a2160ede.50a7f8", + "x": 1944, + "y": 317, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "42f8b4e.c7b524c" + "9ad375c8.fab3e8" ] ] }, { - "id": "6cd48f92.21a288", + "id": "1a336806.ba4bc8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 1673.6785888671875, - "y": 243.21431159973145, - "z": "a2160ede.50a7f8", + "x": 1937.6785888671875, + "y": 369.21431159973145, + "z": "6d6b8a1f.be1cb4", "wires": [ [ - "5f719388.c96efc" + "842e7e75.fc0558" ] ] }, { - "id": "42f8b4e.c7b524c", + "id": "9ad375c8.fab3e8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1830.5001602172852, - "y": 190.25393104553223, - "z": "a2160ede.50a7f8", + "x": 2094.500160217285, + "y": 316.2539310455322, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "5f719388.c96efc", + "id": "842e7e75.fc0558", "type": "update", "name": "update tunnel-termination-point", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1911, - "y": 245, - "z": "a2160ede.50a7f8", + "x": 2175, + "y": 371, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "46013f8c.54849", + "id": "7257c53.4f087bc", "type": "set", "name": "set local variables", - "xml": "\n\n\n", + "xml": "\n\n", "comments": "", - "x": 969, - "y": 167, - "z": "a2160ede.50a7f8", + "x": 927, + "y": 166, + "z": "6d6b8a1f.be1cb4", "wires": [] }, { - "id": "ffd24e55.e4afa", + "id": "55dde830.cc61b8", "type": "call", "name": "call update-network-links-to-aai", "xml": "\n", "comments": "", "outputs": 1, - "x": 648, - "y": 311, - "z": "a2160ede.50a7f8", + "x": 611, + "y": 329, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "f6959b19.b0bc18", + "id": "b86a9ee9.558c2", "type": "save", "name": "save pnf-interface relationship to pnf in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1300, - "y": 724, - "z": "a2160ede.50a7f8", + "x": 1617, + "y": 728, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] }, { - "id": "e23bdb7f.fdc9c", + "id": "7c00c858.c87ab8", "type": "save", "name": "save pnf relationship to tunnel termination point in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, - "x": 1485, - "y": 297, - "z": "a2160ede.50a7f8", + "x": 1749, + "y": 423, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [] + ] + }, + { + "id": "395bef40.08498", + "type": "switchNode", + "name": "switch node ttp", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 913, + "y": 295, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "84bf875e.b8d51", + "cc6df2e.2398e9", + "f2d2c388.1aa578" + ] + ] + }, + { + "id": "5889c4ed.3fc544", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1261, + "y": 247, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [] + ] + }, + { + "id": "f2d2c388.1aa578", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1103, + "y": 318, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "8b0a557c.b35cd" + ] + ] + }, + { + "id": "1392eb55.76adbd", + "type": "switchNode", + "name": "switch node tp", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 893, + "y": 550, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "c5e649ab.cfe2e8", + "d7a3de29.b44a1", + "a21fbfb7.b6608" + ] + ] + }, + { + "id": "c5e649ab.cfe2e8", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1072, + "y": 502, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "3d51c59d.7acffa" + ] + ] + }, + { + "id": "d7a3de29.b44a1", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1071, + "y": 604, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "9c15e41a.6cfbc8" + ] + ] + }, + { + "id": "3d51c59d.7acffa", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1227, + "y": 502, + "z": "6d6b8a1f.be1cb4", "wires": [ [] ] + }, + { + "id": "e55192de.2cc998", + "type": "record", + "name": "log file", + "xml": " \n \n \n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 891, + "y": 339, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [] + ] + }, + { + "id": "84bf875e.b8d51", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1101, + "y": 181, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "5889c4ed.3fc544" + ] + ] + }, + { + "id": "cc6df2e.2398e9", + "type": "outcome", + "name": "length 0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1106, + "y": 256, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "5889c4ed.3fc544" + ] + ] + }, + { + "id": "a21fbfb7.b6608", + "type": "outcome", + "name": "length 0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1082, + "y": 550, + "z": "6d6b8a1f.be1cb4", + "wires": [ + [ + "3d51c59d.7acffa" + ] + ] } ] \ No newline at end of file diff --git a/platform-logic/datachange/src/main/xml/DataChange_update-network-links-to-aai.xml b/platform-logic/datachange/src/main/xml/DataChange_update-network-links-to-aai.xml index 3495214e..8777891a 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_update-network-links-to-aai.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_update-network-links-to-aai.xml @@ -1,70 +1,192 @@ - - + + - + - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform-logic/datachange/src/main/xml/DataChange_update-network-to-aai.xml b/platform-logic/datachange/src/main/xml/DataChange_update-network-to-aai.xml index 9c17eac5..17be19ec 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_update-network-to-aai.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_update-network-to-aai.xml @@ -1,148 +1,149 @@ - - + + - + - - - - - - + + + + + + - + - - - - + + - - + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + \ No newline at end of file -- 2.16.6