From b2cd0a93d044558cbf2c95353a6194e50cb6a74e Mon Sep 17 00:00:00 2001 From: "shashikanth.vh" Date: Mon, 19 Nov 2018 17:56:22 +0530 Subject: ccvpn integration sdnc issue fix Fixed couple of issues 1. SDWAN connectivity request was failing due to empty request body in tenant authorization put request. 2. Get token issue fixed for sotn DG's 3. SDWAN Allotted resource relationship with parent service instance ID is missing, added it. Change-Id: Ib6451c93e6a6b7886cd5614d064270ff9182030b Issue-ID: SDNC-527 Signed-off-by: shashikanth.vh Former-commit-id: 1b16252e07e358568342480d4604f50f226860b5 --- ...sdwan-attachment-topology-operation-create.json | 2625 ++++++++++---------- 1 file changed, 1320 insertions(+), 1305 deletions(-) (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-create.json') diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-create.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-create.json index bd279399..8dd29ed3 100644 --- a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-create.json +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-attachment-topology-operation-create.json @@ -1,1305 +1,1320 @@ -[ - { - "id": "ad2ef973.e6a378", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 131, - "y": 55, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "151183ce.27c78c" - ] - ] - }, - { - "id": "151183ce.27c78c", - "type": "service-logic", - "name": "GENERIC-RESOURCE-API ${project.version}", - "module": "GENERIC-RESOURCE-API", - "version": "${project.version}", - "comments": "", - "xml": "", - "outputs": 1, - "x": 314.00000381469727, - "y": 129.000018119812, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "89afc74f.956348" - ] - ] - }, - { - "id": "89afc74f.956348", - "type": "method", - "name": "sdwan-attachment-topology-operation-create", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 302.0001220703125, - "y": 217.00000095367432, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "580de8c5.e06e78" - ] - ] - }, - { - "id": "580de8c5.e06e78", - "type": "block", - "name": "block : atomic", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 222.00005340576172, - "y": 966.0002489089966, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "1fbb291d.155017", - "f8c6b86f.980db8", - "655b6d38.675514", - "87b8ca30.cf86e8", - "3718c342.00f4ac", - "3fc33b48.8d6bf4", - "15c0d821.288668", - "99b25b64.985da8", - "cc1d8a7e.c8e908", - "aec371b2.f4eb6", - "7c0d6a4c.141ba4", - "605ed84a.e90ef8", - "cf809c65.e205f", - "5ffc39de.e33178", - "b70e6d89.61807", - "2fe0bf35.0314b", - "4b90a515.ea737c", - "30825693.105b0a", - "a79587b.c624178", - "9d0211a4.58ce8", - "5c590a79.9e0264", - "adeabb6e.cf7758", - "7ee858c0.930c58" - ] - ] - }, - { - "id": "74beb7.011b0148", - "type": "comment", - "name": "Set allotted resource id if not sent by SO", - "info": "", - "comments": "", - "x": 706.0767517089844, - "y": 126.43391990661621, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "1fbb291d.155017", - "type": "switchNode", - "name": "switch allotted-resource-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 652.0000305175781, - "y": 181.99999332427979, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "4a85a033.b553c", - "de2e876a.0ba078" - ] - ] - }, - { - "id": "4a85a033.b553c", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 850.0001182556152, - "y": 151.999981880188, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "63eb9d84.765954" - ] - ] - }, - { - "id": "de2e876a.0ba078", - "type": "other", - "name": "other", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 849.0000267028809, - "y": 188.99999237060547, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "eef884cd.26a128" - ] - ] - }, - { - "id": "eef884cd.26a128", - "type": "set", - "name": "set tmp.ar.allotted-resource-id", - "xml": "\n\n", - "comments": "", - "x": 1047.000015258789, - "y": 186.0000114440918, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "f8c6b86f.980db8", - "type": "set", - "name": "set tmp.ar.self-link", - "xml": "\n\n\n", - "comments": "", - "x": 619.9999542236328, - "y": 403.0001001358032, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "655b6d38.675514", - "type": "execute", - "name": "execute Properties", - "xml": "\n \n \n", - "comments": "", - "outputs": 1, - "x": 620.2618713378906, - "y": 484.6667814254761, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "87b8ca30.cf86e8", - "type": "execute", - "name": "generate allotted-resource tmp.ar-url", - "xml": "\n \n \n \n \n", - "comments": "", - "outputs": 1, - "x": 673.2619323730469, - "y": 571.6666994094849, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "63eb9d84.765954", - "type": "execute", - "name": "execute tmp.ar.allotted-resource-id", - "xml": "\n\n", - "comments": "", - "outputs": 1, - "x": 1065.0000953674316, - "y": 152.9999876022339, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "7fcc0333.e4b76c" - ] - ] - }, - { - "id": "7fcc0333.e4b76c", - "type": "failure", - "name": "failure", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1283.0001373291016, - "y": 152.99995136260986, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "dc8faa82.0a80d8" - ] - ] - }, - { - "id": "dc8faa82.0a80d8", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n\n", - "comments": "", - "x": 1449.0000915527344, - "y": 152.9999656677246, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "83948a24.3af768", - "type": "success", - "name": "success", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1179.0002307891846, - "y": 643.7778720855713, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "64a66d0e.2cab24" - ] - ] - }, - { - "id": "fd6c452f.f52a18", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n \n", - "comments": "", - "x": 1912.5186100006104, - "y": 644.8439435958862, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "df1c313d.a9cf4", - "type": "comment", - "name": "Check for non existence of allotted resource", - "info": "", - "comments": "", - "x": 1035.0001525878906, - "y": 577.7779388427734, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "3c6b3ac8.5f54b6", - "type": "for", - "name": "for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1555.6666984558105, - "y": 788.0000512599945, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "e0e0a661.74b9e8" - ] - ] - }, - { - "id": "3fc33b48.8d6bf4", - "type": "switchNode", - "name": "switch service-data.consumed-allotted-resources_length", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 737.6660232543945, - "y": 764.7140836715698, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "98246edb.9d503", - "303d6837.0384d8" - ] - ] - }, - { - "id": "98246edb.9d503", - "type": "other", - "name": "outcome Null", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1041.8089218139648, - "y": 733.5715208053589, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "1bc15eed.fd45b1" - ] - ] - }, - { - "id": "303d6837.0384d8", - "type": "other", - "name": "other", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1018.8089714050293, - "y": 794.571475982666, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "b930de42.50a21" - ] - ] - }, - { - "id": "b930de42.50a21", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 1178.9360618591309, - "y": 792.697452545166, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "3c6b3ac8.5f54b6", - "7d532296.0d9bfc", - "6dd5cf93.f0258" - ] - ] - }, - { - "id": "1bc15eed.fd45b1", - "type": "set", - "name": "set cidx", - "xml": "\n\n\n\n\n", - "comments": "", - "x": 1191.6659049987793, - "y": 731.2855710983276, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "15c0d821.288668", - "type": "set", - "name": "set consumed allotted resources", - "xml": "\n\n\n\n\n\n", - "comments": "", - "x": 666.5233154296875, - "y": 868.2856483459473, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "7d532296.0d9bfc", - "type": "switchNode", - "name": "switch tmp.found-cidx", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1368.0511093139648, - "y": 824.708975315094, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "106270aa.e9c6ff" - ] - ] - }, - { - "id": "106270aa.e9c6ff", - "type": "outcomeTrue", - "name": "false", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1558.0510635375977, - "y": 824.7089123725891, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "e1144596.6d5ba8" - ] - ] - }, - { - "id": "e1144596.6d5ba8", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 1724.0510635375977, - "y": 824.7089123725891, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "b93f3869.6459e8" - ] - ] - }, - { - "id": "e0e0a661.74b9e8", - "type": "switchNode", - "name": "switch allotted-resource-id", - "xml": "\n\n", - "comments": "", - "outputs": 1, - "x": 1972.7783279418945, - "y": 785.000078201294, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "326d00a0.76b6c" - ] - ] - }, - { - "id": "326d00a0.76b6c", - "type": "outcomeTrue", - "name": "true", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 2154.587902069092, - "y": 785.4645252227783, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "cec76fbc.ec734" - ] - ] - }, - { - "id": "b93f3869.6459e8", - "type": "set", - "name": "set tmp.cidx", - "xml": "\n\n", - "comments": "", - "x": 1885.924446105957, - "y": 824.2206134796143, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "9dc9afd9.071d8", - "type": "comment", - "name": "Add to consumed service consumed-allotted-resources in mdsal", - "info": "Prepare data and add to service-data", - "comments": "", - "x": 758.667236328125, - "y": 695.0000476837158, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "79d72e28.e5bf", - "type": "comment", - "name": "This set resource will be added to MDSAL by provider code", - "info": "Below we add to service-data.consumed-allotted-resource at last index", - "comments": "", - "x": 746.0001525878906, - "y": 833.7781400680542, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "7ee858c0.930c58", - "type": "update", - "name": "save AAI allotted-resource", - "xml": "\n \n\t\t\n \n\t\n\t\n\t\n\t\n", - "comments": "", - "outputs": 1, - "x": 656.6908569335938, - "y": 1793.531904220581, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "54e2f563.b3af5c", - "291816ed.18393a" - ] - ] - }, - { - "id": "54e2f563.b3af5c", - "type": "failure", - "name": "failure", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 851.4527931213379, - "y": 1784.4845056533813, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "a3778d99.3c015" - ] - ] - }, - { - "id": "a3778d99.3c015", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1017.9766731262207, - "y": 1796.1035766601562, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "291816ed.18393a", - "type": "failure", - "name": "not-found", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 858.5480804443359, - "y": 1817.246473312378, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "a3778d99.3c015" - ] - ] - }, - { - "id": "ac365c56.4b2", - "type": "comment", - "name": "Save Resource to AAI", - "info": "", - "comments": "", - "x": 690.5005340576172, - "y": 1761.833875656128, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "81ef7e04.cd917", - "type": "comment", - "name": "Set allotted resource type if not sent by SO", - "info": "", - "comments": "", - "x": 692, - "y": 235.00000095367432, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "3718c342.00f4ac", - "type": "switchNode", - "name": "switch allotted-resource-type", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 653.9233093261719, - "y": 275.5660572052002, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "64aa0e9c.b1d09", - "7800ea8d.a7f124" - ] - ] - }, - { - "id": "64aa0e9c.b1d09", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 856.9234619140625, - "y": 260.56606006622314, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "f530af4a.706e5" - ] - ] - }, - { - "id": "7800ea8d.a7f124", - "type": "other", - "name": "other", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 849.9232902526855, - "y": 300.5660800933838, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "7a986711.0ca2d8" - ] - ] - }, - { - "id": "7a986711.0ca2d8", - "type": "set", - "name": "set tmp.ar.allotted-resource-type", - "xml": "\n\n", - "comments": "", - "x": 1081.9232749938965, - "y": 300.56608486175537, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "369cb772.706cb8", - "type": "comment", - "name": "For storage in AAI connection-attachment-topology", - "info": "", - "comments": "", - "x": 716.9999618530273, - "y": 370.0000009536743, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "492255d4.2adf4c", - "type": "comment", - "name": "Obtain different URL, template location etc", - "info": "For saving resource information to MDSAL & for AAI", - "comments": "", - "x": 691.9999465942383, - "y": 451.8889102935791, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "ddea3893.c96cd8", - "type": "comment", - "name": "Used for Put AR by id to MDSAL", - "info": "", - "comments": "", - "x": 658.0000305175781, - "y": 540.8889274597168, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "a440e95e.3176f8", - "type": "comment", - "name": "Obtain the last index in services", - "info": "ServiceData is added by Provider code", - "comments": "", - "x": 659.4444732666016, - "y": 726.8888721466064, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "a79587b.c624178", - "type": "set", - "name": "set output to api handler", - "xml": "\n\n\n\n \n", - "comments": "", - "x": 642.2681427001953, - "y": 1700.359203338623, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "9d0211a4.58ce8", - "type": "returnSuccess", - "name": "return success", - "xml": "\n\n\n\n", - "comments": "", - "x": 610.6812286376953, - "y": 1862.9749298095703, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "f530af4a.706e5", - "type": "set", - "name": "set tmp.ar.allotted-resource-type", - "xml": "\n\n", - "comments": "", - "x": 1096.0001487731934, - "y": 260.99998664855957, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "30825693.105b0a", - "type": "execute", - "name": "execute RestApiCallNode - PUT AR by id", - "xml": "\n \n \n \n \n \n \n \n\n", - "comments": "", - "outputs": 1, - "x": 693.0002746582031, - "y": 1634.00013256073, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "7725804e.b7ea", - "ff126c78.d9f65", - "34ce7aa1.c96186" - ] - ] - }, - { - "id": "7725804e.b7ea", - "type": "not-found", - "name": "not-found", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 942.6416282653809, - "y": 1672.3314628601074, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "d7cd6db2.d2286" - ] - ] - }, - { - "id": "ff126c78.d9f65", - "type": "failure", - "name": "failure", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 933.6416778564453, - "y": 1640.831488609314, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "d7cd6db2.d2286" - ] - ] - }, - { - "id": "34ce7aa1.c96186", - "type": "success", - "name": "success", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 937.391716003418, - "y": 1611.1885934844613, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "6ccc24c6.03b4dc" - ] - ] - }, - { - "id": "d7cd6db2.d2286", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1103.391716003418, - "y": 1641.5815124511719, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "6ccc24c6.03b4dc", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1079.0476837158203, - "y": 1607.3807626739144, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "7c0d6a4c.141ba4", - "type": "execute", - "name": "execute RestApiCallNode - Update parent provided service AR", - "xml": "\n \n \n \n \n \n \n \n\n", - "comments": "", - "outputs": 1, - "x": 757.9999542236328, - "y": 1150.000165939331, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "494a716e.866ba", - "227c3021.44dc4", - "ff8b452c.8d9bc8" - ] - ] - }, - { - "id": "494a716e.866ba", - "type": "not-found", - "name": "not-found", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1066.3080139160156, - "y": 1181.998441696167, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "aaeb645f.80fed8" - ] - ] - }, - { - "id": "227c3021.44dc4", - "type": "failure", - "name": "failure", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1057.30806350708, - "y": 1150.4984674453735, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "aaeb645f.80fed8" - ] - ] - }, - { - "id": "ff8b452c.8d9bc8", - "type": "success", - "name": "success", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1061.0581016540527, - "y": 1120.8555723205209, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "74f3a310.0128fc" - ] - ] - }, - { - "id": "aaeb645f.80fed8", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1227.0581016540527, - "y": 1151.2484912872314, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "74f3a310.0128fc", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1202.714069366455, - "y": 1117.047741509974, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "9405156b.c649a8", - "type": "comment", - "name": "Put the parent allotted resource in mdsal", - "info": "", - "comments": "", - "x": 686.9999008178711, - "y": 1112.000072479248, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "cf809c65.e205f", - "type": "set", - "name": "set connection-attachment-ar-identifiers", - "xml": "\n\n\n\n\n\n", - "comments": "", - "x": 683.3570861816406, - "y": 1314.5716915130615, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "605ed84a.e90ef8", - "type": "set", - "name": "set ar-data", - "xml": "\n\n\n\n\n\n\n\n\n", - "comments": "", - "x": 603.2139129638672, - "y": 1282.381194114685, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "5ffc39de.e33178", - "type": "set", - "name": "set identifiers in overall structure", - "xml": "\n\n\n\n", - "comments": "", - "x": 662.1668853759766, - "y": 1348.6668767929077, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "b70e6d89.61807", - "type": "execute", - "name": "execute getTime", - "xml": "\n \n\n", - "comments": "", - "outputs": 1, - "x": 614.4997253417969, - "y": 1422.0004043579102, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "2fe0bf35.0314b", - "type": "set", - "name": "set allotted-resource-oper-status", - "xml": "\n\n\n\n\n\n", - "comments": "", - "x": 665.4867630004883, - "y": 1477.9516372680664, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "4b90a515.ea737c", - "type": "set", - "name": "set model-data", - "xml": "\n", - "comments": "", - "x": 610.0553817749023, - "y": 1383.5557622909546, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "a3fd3ef0.9cf2", - "type": "comment", - "name": "Prepare data for allotted-resource addition to MDSAL", - "info": "This will add to allotted-resource which is present inside service.", - "comments": "", - "x": 727.3888702392578, - "y": 1248.5556087493896, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "aec371b2.f4eb6", - "type": "execute", - "name": "generate parent-ar url - replace allotted-resource-id", - "xml": "\n \n \n \n \n", - "comments": "", - "outputs": 1, - "x": 722.5000152587891, - "y": 1076.0000114440918, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "cc1d8a7e.c8e908", - "type": "execute", - "name": "generate parent-ar url - replace service-instance-id", - "xml": "\n \n \n \n \n", - "comments": "", - "outputs": 1, - "x": 718.4999389648438, - "y": 1033.000147819519, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "af622d17.e96e6", - "type": "comment", - "name": "Prepare Parent AR URL", - "info": "Preparation to set provided-allotted-resource in parent service instance", - "comments": "", - "x": 636.5003967285156, - "y": 962.0001010894775, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "99b25b64.985da8", - "type": "set", - "name": "set tmp.ar.parent-service-instance-id", - "xml": "\n\n\n", - "comments": "", - "x": 675.5001907348633, - "y": 995.5000405311584, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "cec76fbc.ec734", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 2232.7569732666016, - "y": 833.645830154419, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "6dd5cf93.f0258", - "type": "set", - "name": "set tmp.found-cidx", - "xml": "\n\n\n\n", - "comments": "", - "x": 1358.6461448669434, - "y": 745.3125731945038, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "fcf58d3f.726c9", - "type": "comment", - "name": "Add to parent services provided-allotted-resources in mdsal", - "info": "", - "comments": "", - "x": 747.2015075683594, - "y": 929.9792575836182, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "edb39741.2151b8", - "type": "comment", - "name": "Add to allotted-resources in mdsal", - "info": "", - "comments": "", - "x": 667.9686965942383, - "y": 1215.9689378738403, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "64a66d0e.2cab24", - "type": "block", - "name": "block: atomic", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1341.000051498413, - "y": 643.2777614593506, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "c5b1dd9f.c626c" - ] - ] - }, - { - "id": "c5b1dd9f.c626c", - "type": "switchNode", - "name": "switch cr length", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1528.8574314117432, - "y": 643.8968968391418, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "dea64b0a.33d1a8" - ] - ] - }, - { - "id": "dea64b0a.33d1a8", - "type": "other", - "name": "outcome 1", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1728.1905536651611, - "y": 643.896975517273, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "fd6c452f.f52a18" - ] - ] - }, - { - "id": "5c590a79.9e0264", - "type": "execute", - "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", - "xml": "\n \n \n \n \n \n \n\n", - "comments": "", - "outputs": 1, - "x": 813.0000534057617, - "y": 638.0000371932983, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "83948a24.3af768", - "a688402e.6a3a9" - ] - ] - }, - { - "id": "a688402e.6a3a9", - "type": "failure", - "name": "failure", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1181.0000839233398, - "y": 608.0000352859497, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "a6697dc2.ce9f3" - ] - ] - }, - { - "id": "a6697dc2.ce9f3", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1333.0000839233398, - "y": 607.0000352859497, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "adeabb6e.cf7758", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 619.0039215087891, - "y": 1553.2500038146973, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "96f36120.1f9af", - "6b505cd5.c78924" - ] - ] - }, - { - "id": "96f36120.1f9af", - "type": "for", - "name": "for each sdwan-get-request-input-param", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 954.0041198730469, - "y": 1499.2501260638237, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "7401fe63.179e9" - ] - ] - }, - { - "id": "4e61fb49.c94114", - "type": "comment", - "name": "Required for filling template values", - "info": "This is done because connection-attachment is generic resource and doesn't have specific parameters", - "comments": "", - "x": 976.4486236572266, - "y": 1533.0832867622375, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "d4660c0f.147f3", - "type": "comment", - "name": "Remove VNFC prefix", - "info": "", - "comments": "", - "x": 1037.003963470459, - "y": 1455.6944618225098, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "7401fe63.179e9", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 1201.0039672851562, - "y": 1500.6943712234497, - "z": "77e7049e.a5a37c", - "wires": [ - [ - "6a638cf5.ebb554", - "3e399a15.de4336" - ] - ] - }, - { - "id": "50ce4566.040d7c", - "type": "comment", - "name": "Take the parameter names by removing prefix", - "info": "", - "comments": "", - "x": 1469.0038146972656, - "y": 1416.250369310379, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "6a638cf5.ebb554", - "type": "execute", - "name": "execute split parameterName", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1420.0384826660156, - "y": 1451.2294654846191, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - }, - { - "id": "3e399a15.de4336", - "type": "set", - "name": "set parameterName", - "xml": "\n\n", - "comments": "", - "x": 1408.4829559326172, - "y": 1555.2294359207153, - "z": "77e7049e.a5a37c", - "wires": [] - }, - { - "id": "6b505cd5.c78924", - "type": "call", - "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 995.0039672851562, - "y": 1573.2500658035278, - "z": "77e7049e.a5a37c", - "wires": [ - [] - ] - } -] +[ + { + "id": "41a7b6d3.f9b528", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 104.03125, + "y": 62.99999749660492, + "z": "588621bb.e9fef", + "wires": [ + [ + "f309be9c.cefce" + ] + ] + }, + { + "id": "f309be9c.cefce", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 287.03125381469727, + "y": 137.00001561641693, + "z": "588621bb.e9fef", + "wires": [ + [ + "63686a7b.f7aa94" + ] + ] + }, + { + "id": "63686a7b.f7aa94", + "type": "method", + "name": "sdwan-attachment-topology-operation-create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 275.0313720703125, + "y": 224.99999845027924, + "z": "588621bb.e9fef", + "wires": [ + [ + "445b402d.36165" + ] + ] + }, + { + "id": "445b402d.36165", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 195.03130340576172, + "y": 974.0002464056015, + "z": "588621bb.e9fef", + "wires": [ + [ + "57abe88c.4f1e28", + "da2ee563.ca49c8", + "d7db7598.ec6a58", + "b1a31713.a74f68", + "bb52c8b.9210938", + "e248322d.07f73", + "e3ed6a01.033e28", + "49207aa3.305be4", + "e7fc7beb.0c2218", + "fff0be1d.b2bcf", + "6737ccd9.1b9484", + "3d98ece2.536f54", + "279d04d9.311b7c", + "bd2101b.463ff", + "a593e64c.edffe8", + "ad258829.1a9fb8", + "d28d77a4.947808", + "b3ca8b3e.e57468", + "4f85eb.0fdeca14", + "4b8ef133.24669", + "3a0fc26c.48c2fe", + "13f594ad.41064b", + "571ae355.45c2fc", + "936a519f.07274" + ] + ] + }, + { + "id": "f44d3a22.e968a8", + "type": "comment", + "name": "Set allotted resource id if not sent by SO", + "info": "", + "comments": "", + "x": 679.1080017089844, + "y": 134.43391740322113, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "57abe88c.4f1e28", + "type": "switchNode", + "name": "switch allotted-resource-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 625.0312805175781, + "y": 189.9999908208847, + "z": "588621bb.e9fef", + "wires": [ + [ + "4ebc9e25.f0a41", + "c5e852a7.8a1b7" + ] + ] + }, + { + "id": "4ebc9e25.f0a41", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 823.0313682556152, + "y": 159.9999793767929, + "z": "588621bb.e9fef", + "wires": [ + [ + "80de8467.db5608" + ] + ] + }, + { + "id": "c5e852a7.8a1b7", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 822.0312767028809, + "y": 196.9999898672104, + "z": "588621bb.e9fef", + "wires": [ + [ + "f37c96f7.6c5a88" + ] + ] + }, + { + "id": "f37c96f7.6c5a88", + "type": "set", + "name": "set tmp.ar.allotted-resource-id", + "xml": "\n\n", + "comments": "", + "x": 1020.0312652587891, + "y": 194.00000894069672, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "da2ee563.ca49c8", + "type": "set", + "name": "set tmp.ar.self-link", + "xml": "\n\n\n", + "comments": "", + "x": 593.0312042236328, + "y": 411.00009763240814, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "d7db7598.ec6a58", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 593.2931213378906, + "y": 492.666778922081, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "b1a31713.a74f68", + "type": "execute", + "name": "generate allotted-resource tmp.ar-url", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 646.2931823730469, + "y": 579.6666969060898, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "80de8467.db5608", + "type": "execute", + "name": "execute tmp.ar.allotted-resource-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1038.0313453674316, + "y": 160.9999850988388, + "z": "588621bb.e9fef", + "wires": [ + [ + "827e9a97.124e48" + ] + ] + }, + { + "id": "827e9a97.124e48", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1256.0313873291016, + "y": 160.99994885921478, + "z": "588621bb.e9fef", + "wires": [ + [ + "153037d4.5daa68" + ] + ] + }, + { + "id": "153037d4.5daa68", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1422.0313415527344, + "y": 160.99996316432953, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "8fcb37f5.98d048", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1152.0314807891846, + "y": 651.7778695821762, + "z": "588621bb.e9fef", + "wires": [ + [ + "91db96ee.5f5ab8" + ] + ] + }, + { + "id": "bc59ed7b.1de9c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n \n", + "comments": "", + "x": 1885.5498600006104, + "y": 652.8439410924911, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "b0f210fa.eabdf", + "type": "comment", + "name": "Check for non existence of allotted resource", + "info": "", + "comments": "", + "x": 1008.0314025878906, + "y": 585.7779363393784, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "a2101ce1.011fb", + "type": "for", + "name": "for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1528.6979484558105, + "y": 796.0000487565994, + "z": "588621bb.e9fef", + "wires": [ + [ + "f78e26b6.71e388" + ] + ] + }, + { + "id": "e248322d.07f73", + "type": "switchNode", + "name": "switch service-data.consumed-allotted-resources_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 710.6972732543945, + "y": 772.7140811681747, + "z": "588621bb.e9fef", + "wires": [ + [ + "30dfa22f.78a2de", + "3fbb9163.26209e" + ] + ] + }, + { + "id": "30dfa22f.78a2de", + "type": "other", + "name": "outcome Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1014.8401718139648, + "y": 741.5715183019638, + "z": "588621bb.e9fef", + "wires": [ + [ + "a8a680b4.767d6" + ] + ] + }, + { + "id": "3fbb9163.26209e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 991.8402214050293, + "y": 802.5714734792709, + "z": "588621bb.e9fef", + "wires": [ + [ + "c3b51f9c.33bcc" + ] + ] + }, + { + "id": "c3b51f9c.33bcc", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1151.9673118591309, + "y": 800.6974500417709, + "z": "588621bb.e9fef", + "wires": [ + [ + "a2101ce1.011fb", + "e3a80e4a.14e7d", + "6c9a2abd.a627f4" + ] + ] + }, + { + "id": "a8a680b4.767d6", + "type": "set", + "name": "set cidx", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1164.6971549987793, + "y": 739.2855685949326, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "e3ed6a01.033e28", + "type": "set", + "name": "set consumed allotted resources", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 639.5545654296875, + "y": 876.2856458425522, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "e3a80e4a.14e7d", + "type": "switchNode", + "name": "switch tmp.found-cidx", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1341.0823593139648, + "y": 832.7089728116989, + "z": "588621bb.e9fef", + "wires": [ + [ + "cbb92020.3ddcd" + ] + ] + }, + { + "id": "cbb92020.3ddcd", + "type": "outcomeTrue", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1531.0823135375977, + "y": 832.708909869194, + "z": "588621bb.e9fef", + "wires": [ + [ + "808efd55.65f55" + ] + ] + }, + { + "id": "808efd55.65f55", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1697.0823135375977, + "y": 832.708909869194, + "z": "588621bb.e9fef", + "wires": [ + [ + "6d2d79a2.093ad8" + ] + ] + }, + { + "id": "f78e26b6.71e388", + "type": "switchNode", + "name": "switch allotted-resource-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1945.8095779418945, + "y": 793.0000756978989, + "z": "588621bb.e9fef", + "wires": [ + [ + "b1c9d43a.bd2f08" + ] + ] + }, + { + "id": "b1c9d43a.bd2f08", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2127.619152069092, + "y": 793.4645227193832, + "z": "588621bb.e9fef", + "wires": [ + [ + "1288ae5b.1e1ce2" + ] + ] + }, + { + "id": "6d2d79a2.093ad8", + "type": "set", + "name": "set tmp.cidx", + "xml": "\n\n", + "comments": "", + "x": 1858.955696105957, + "y": 832.2206109762192, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "8e24c24b.d6fc2", + "type": "comment", + "name": "Add to consumed service consumed-allotted-resources in mdsal", + "info": "Prepare data and add to service-data", + "comments": "", + "x": 731.698486328125, + "y": 703.0000451803207, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "2cffaf1f.4fc49", + "type": "comment", + "name": "This set resource will be added to MDSAL by provider code", + "info": "Below we add to service-data.consumed-allotted-resource at last index", + "comments": "", + "x": 719.0314025878906, + "y": 841.7781375646591, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "571ae355.45c2fc", + "type": "update", + "name": "save AAI allotted-resource", + "xml": "\n \n\t\t\n \n\t\n\t\n\t\n\t\n", + "comments": "", + "outputs": 1, + "x": 629.7221069335938, + "y": 1801.531901717186, + "z": "588621bb.e9fef", + "wires": [ + [ + "bad0c727.d486c8", + "6744df38.44f3c" + ] + ] + }, + { + "id": "bad0c727.d486c8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 824.4840431213379, + "y": 1792.4845031499863, + "z": "588621bb.e9fef", + "wires": [ + [ + "be610d32.68478" + ] + ] + }, + { + "id": "be610d32.68478", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 991.0079231262207, + "y": 1804.1035741567612, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "6744df38.44f3c", + "type": "failure", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 831.5793304443359, + "y": 1825.2464708089828, + "z": "588621bb.e9fef", + "wires": [ + [ + "be610d32.68478" + ] + ] + }, + { + "id": "7ddcb0e1.3b36d", + "type": "comment", + "name": "Save Resource to AAI", + "info": "", + "comments": "", + "x": 663.5317840576172, + "y": 1769.8338731527328, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "42977fdb.9150a", + "type": "comment", + "name": "Set allotted resource type if not sent by SO", + "info": "", + "comments": "", + "x": 665.03125, + "y": 242.99999845027924, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "bb52c8b.9210938", + "type": "switchNode", + "name": "switch allotted-resource-type", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 626.9545593261719, + "y": 283.5660547018051, + "z": "588621bb.e9fef", + "wires": [ + [ + "ebcdd7cc.5ddb28", + "5e1b4704.ff03b8" + ] + ] + }, + { + "id": "ebcdd7cc.5ddb28", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 829.9547119140625, + "y": 268.56605756282806, + "z": "588621bb.e9fef", + "wires": [ + [ + "e292f924.218148" + ] + ] + }, + { + "id": "5e1b4704.ff03b8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 822.9545402526855, + "y": 308.5660775899887, + "z": "588621bb.e9fef", + "wires": [ + [ + "bc4b0c6b.6b5dc" + ] + ] + }, + { + "id": "bc4b0c6b.6b5dc", + "type": "set", + "name": "set tmp.ar.allotted-resource-type", + "xml": "\n\n", + "comments": "", + "x": 1054.9545249938965, + "y": 308.5660823583603, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "e49aa8f1.f12588", + "type": "comment", + "name": "For storage in AAI connection-attachment-topology", + "info": "", + "comments": "", + "x": 690.0312118530273, + "y": 377.99999845027924, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "c0fccf31.3b1b7", + "type": "comment", + "name": "Obtain different URL, template location etc", + "info": "For saving resource information to MDSAL & for AAI", + "comments": "", + "x": 665.0311965942383, + "y": 459.888907790184, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "100bd889.c313d7", + "type": "comment", + "name": "Used for Put AR by id to MDSAL", + "info": "", + "comments": "", + "x": 631.0312805175781, + "y": 548.8889249563217, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "18c10c65.2f90b4", + "type": "comment", + "name": "Obtain the last index in services", + "info": "ServiceData is added by Provider code", + "comments": "", + "x": 632.4757232666016, + "y": 734.8888696432114, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "4f85eb.0fdeca14", + "type": "set", + "name": "set output to api handler", + "xml": "\n\n\n\n \n", + "comments": "", + "x": 615.2993927001953, + "y": 1708.359200835228, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "4b8ef133.24669", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 583.7125244140625, + "y": 1957.974946975708, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "e292f924.218148", + "type": "set", + "name": "set tmp.ar.allotted-resource-type", + "xml": "\n\n", + "comments": "", + "x": 1069.0313987731934, + "y": 268.9999841451645, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "b3ca8b3e.e57468", + "type": "execute", + "name": "execute RestApiCallNode - PUT AR by id", + "xml": "\n \n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 666.0315246582031, + "y": 1642.000130057335, + "z": "588621bb.e9fef", + "wires": [ + [ + "891b6f50.0b8ca", + "17f28b89.81c5a4", + "6238cca6.7c6784" + ] + ] + }, + { + "id": "891b6f50.0b8ca", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 915.6728782653809, + "y": 1680.3314603567123, + "z": "588621bb.e9fef", + "wires": [ + [ + "c7ada304.940bb" + ] + ] + }, + { + "id": "17f28b89.81c5a4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 906.6729278564453, + "y": 1648.8314861059189, + "z": "588621bb.e9fef", + "wires": [ + [ + "c7ada304.940bb" + ] + ] + }, + { + "id": "6238cca6.7c6784", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 910.422966003418, + "y": 1619.1885909810662, + "z": "588621bb.e9fef", + "wires": [ + [ + "9d842474.1d5df8" + ] + ] + }, + { + "id": "c7ada304.940bb", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1076.422966003418, + "y": 1649.5815099477768, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "9d842474.1d5df8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1052.0789337158203, + "y": 1615.3807601705194, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "6737ccd9.1b9484", + "type": "execute", + "name": "execute RestApiCallNode - Update parent provided service AR", + "xml": "\n \n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 731.0312042236328, + "y": 1158.000163435936, + "z": "588621bb.e9fef", + "wires": [ + [ + "ce9d67c0.fef428", + "32ea0966.e31a46", + "8052d936.8da758" + ] + ] + }, + { + "id": "ce9d67c0.fef428", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1039.3392639160156, + "y": 1189.998439192772, + "z": "588621bb.e9fef", + "wires": [ + [ + "cecd64fe.528bd8" + ] + ] + }, + { + "id": "32ea0966.e31a46", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1030.33931350708, + "y": 1158.4984649419785, + "z": "588621bb.e9fef", + "wires": [ + [ + "cecd64fe.528bd8" + ] + ] + }, + { + "id": "8052d936.8da758", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1034.0893516540527, + "y": 1128.8555698171258, + "z": "588621bb.e9fef", + "wires": [ + [ + "c4a631eb.caa38" + ] + ] + }, + { + "id": "cecd64fe.528bd8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1200.0893516540527, + "y": 1159.2484887838364, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "c4a631eb.caa38", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1175.745319366455, + "y": 1125.047739006579, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "9c5665b2.ee98f8", + "type": "comment", + "name": "Put the parent allotted resource in mdsal", + "info": "", + "comments": "", + "x": 660.0311508178711, + "y": 1120.000069975853, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "279d04d9.311b7c", + "type": "set", + "name": "set connection-attachment-ar-identifiers", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 656.3883361816406, + "y": 1322.5716890096664, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "3d98ece2.536f54", + "type": "set", + "name": "set ar-data", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 576.2451629638672, + "y": 1290.38119161129, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "bd2101b.463ff", + "type": "set", + "name": "set identifiers in overall structure", + "xml": "\n\n\n\n", + "comments": "", + "x": 635.1981353759766, + "y": 1356.6668742895126, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "a593e64c.edffe8", + "type": "execute", + "name": "execute getTime", + "xml": "\n \n\n", + "comments": "", + "outputs": 1, + "x": 587.5309753417969, + "y": 1430.000401854515, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "ad258829.1a9fb8", + "type": "set", + "name": "set allotted-resource-oper-status", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 638.5180130004883, + "y": 1485.9516347646713, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "d28d77a4.947808", + "type": "set", + "name": "set model-data", + "xml": "\n", + "comments": "", + "x": 583.0866317749023, + "y": 1391.5557597875595, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "23859bfe.f043f4", + "type": "comment", + "name": "Prepare data for allotted-resource addition to MDSAL", + "info": "This will add to allotted-resource which is present inside service.", + "comments": "", + "x": 700.4201202392578, + "y": 1256.5556062459946, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "fff0be1d.b2bcf", + "type": "execute", + "name": "generate parent-ar url - replace allotted-resource-id", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 695.5312652587891, + "y": 1084.0000089406967, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "e7fc7beb.0c2218", + "type": "execute", + "name": "generate parent-ar url - replace service-instance-id", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 691.5311889648438, + "y": 1041.000145316124, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "80cf2b3b.3e92b8", + "type": "comment", + "name": "Prepare Parent AR URL", + "info": "Preparation to set provided-allotted-resource in parent service instance", + "comments": "", + "x": 609.5316467285156, + "y": 970.0000985860825, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "49207aa3.305be4", + "type": "set", + "name": "set tmp.ar.parent-service-instance-id", + "xml": "\n\n\n", + "comments": "", + "x": 648.5314407348633, + "y": 1003.5000380277634, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "1288ae5b.1e1ce2", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2205.7882232666016, + "y": 841.6458276510239, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "6c9a2abd.a627f4", + "type": "set", + "name": "set tmp.found-cidx", + "xml": "\n\n\n\n", + "comments": "", + "x": 1331.6773948669434, + "y": 753.3125706911087, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "57452405.e26b5c", + "type": "comment", + "name": "Add to parent services provided-allotted-resources in mdsal", + "info": "", + "comments": "", + "x": 720.2327575683594, + "y": 937.9792550802231, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "6013a8b1.8cfec8", + "type": "comment", + "name": "Add to allotted-resources in mdsal", + "info": "", + "comments": "", + "x": 640.9999465942383, + "y": 1223.9689353704453, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "91db96ee.5f5ab8", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1314.031301498413, + "y": 651.2777589559555, + "z": "588621bb.e9fef", + "wires": [ + [ + "d36cd8c7.bbc8c8" + ] + ] + }, + { + "id": "d36cd8c7.bbc8c8", + "type": "switchNode", + "name": "switch cr length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1501.8886814117432, + "y": 651.8968943357468, + "z": "588621bb.e9fef", + "wires": [ + [ + "c670c701.c3ff18" + ] + ] + }, + { + "id": "c670c701.c3ff18", + "type": "other", + "name": "outcome 1", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1701.2218036651611, + "y": 651.8969730138779, + "z": "588621bb.e9fef", + "wires": [ + [ + "bc59ed7b.1de9c" + ] + ] + }, + { + "id": "3a0fc26c.48c2fe", + "type": "execute", + "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource", + "xml": "\n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 786.0313034057617, + "y": 646.0000346899033, + "z": "588621bb.e9fef", + "wires": [ + [ + "8fcb37f5.98d048", + "230adea5.52af62" + ] + ] + }, + { + "id": "230adea5.52af62", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1154.0313339233398, + "y": 616.0000327825546, + "z": "588621bb.e9fef", + "wires": [ + [ + "f02fcbfc.47bf28" + ] + ] + }, + { + "id": "f02fcbfc.47bf28", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1306.0313339233398, + "y": 615.0000327825546, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "13f594ad.41064b", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 592.0351715087891, + "y": 1561.2500013113022, + "z": "588621bb.e9fef", + "wires": [ + [ + "c4d3876.e194578", + "a56d9e1e.69cb5" + ] + ] + }, + { + "id": "c4d3876.e194578", + "type": "for", + "name": "for each sdwan-get-request-input-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 927.0353698730469, + "y": 1507.2501235604286, + "z": "588621bb.e9fef", + "wires": [ + [ + "c009da24.7d2598" + ] + ] + }, + { + "id": "654cbf55.2b8ad", + "type": "comment", + "name": "Required for filling template values", + "info": "This is done because connection-attachment is generic resource and doesn't have specific parameters", + "comments": "", + "x": 949.4798736572266, + "y": 1541.0832842588425, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "eaf3595.bafe4a8", + "type": "comment", + "name": "Remove VNFC prefix", + "info": "", + "comments": "", + "x": 1010.035213470459, + "y": 1463.6944593191147, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "c009da24.7d2598", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1174.0352172851562, + "y": 1508.6943687200546, + "z": "588621bb.e9fef", + "wires": [ + [ + "447c6486.c17b2c", + "fb95c554.72d748" + ] + ] + }, + { + "id": "6b76a58c.b29a1c", + "type": "comment", + "name": "Take the parameter names by removing prefix", + "info": "", + "comments": "", + "x": 1442.0350646972656, + "y": 1424.250366806984, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "447c6486.c17b2c", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1393.0697326660156, + "y": 1459.229462981224, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "fb95c554.72d748", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1381.5142059326172, + "y": 1563.2294334173203, + "z": "588621bb.e9fef", + "wires": [] + }, + { + "id": "a56d9e1e.69cb5", + "type": "call", + "name": "call GENERIC-RESOURCE-API:sdwan-get-saved-ar-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 968.0352172851562, + "y": 1581.2500633001328, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + }, + { + "id": "936a519f.07274", + "type": "save", + "name": "save allotted relationship in AAI", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 641.0312767028809, + "y": 1884.531162261963, + "z": "588621bb.e9fef", + "wires": [ + [] + ] + } +] -- cgit 1.2.3-korg