[{"id":"89ae3f75.efc06","type":"dgstart","name":"DGSTART","outputs":1,"x":141,"y":83,"z":"307d8ab2.24f886","wires":[["a0627d9f.9732f8"]]},{"id":"a0627d9f.9732f8","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":237.23807907104492,"y":143.95239067077637,"z":"307d8ab2.24f886","wires":[["d2b128d2.d9f3b"]]},{"id":"d2b128d2.d9f3b","type":"method","name":"tunnelxconn-topology-operation-activate","xml":"\n","comments":"","outputs":1,"x":283.15485763549805,"y":179.19044589996338,"z":"307d8ab2.24f886","wires":[["e0a0d26a.cd7c18"]]},{"id":"e0a0d26a.cd7c18","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":191.47619247436523,"y":322.5237879753113,"z":"307d8ab2.24f886","wires":[["3595ac23.ea8734","f82799c8.167508","e00d09b3.2a3938","2679eac0.b2cc36","1a8f12fd.5ade8d","d30bace3.5a7f2","6c7cdfc8.6b2608","e60cbd81.14ee9","e233eb48.73f8b","69d61c38.40caa4","d2103b31.1f83e8","3936aa7e.049e66"]]},{"id":"f82799c8.167508","type":"returnSuccess","name":"return success","xml":"\n\n\n\n","comments":"","x":458.0001106262207,"y":992.2145080566406,"z":"307d8ab2.24f886","wires":[]},{"id":"3595ac23.ea8734","type":"set","name":"set output to api handler","xml":"\n\n\n\n \n","comments":"","x":486.75402450561523,"y":956.3370542526245,"z":"307d8ab2.24f886","wires":[]},{"id":"69d61c38.40caa4","type":"set","name":"set allotted-resource-oper-status","xml":"\n\n\n\n\n\n","comments":"","x":497.7542190551758,"y":703.0514001846313,"z":"307d8ab2.24f886","wires":[]},{"id":"2679eac0.b2cc36","type":"set","name":"set tmp.ar.self-link","xml":"\n\n\n","comments":"","x":453.73806381225586,"y":296.33332538604736,"z":"307d8ab2.24f886","wires":[]},{"id":"e00d09b3.2a3938","type":"set","name":"set tmp.ar.allotted-resource-id,etc","xml":"\n\n\n\n\n\n","comments":"","x":500.9973258972168,"y":262.59259128570557,"z":"307d8ab2.24f886","wires":[]},{"id":"1a8f12fd.5ade8d","type":"execute","name":"execute Properties","xml":"\n \n \n","comments":"","outputs":1,"x":459.9934196472168,"y":332.23152446746826,"z":"307d8ab2.24f886","wires":[[]]},{"id":"6c7cdfc8.6b2608","type":"execute","name":"execute RestApiCallNode - Get AR by id","xml":"\n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":522.5187530517578,"y":493.4594917297363,"z":"307d8ab2.24f886","wires":[["4b2d666b.abe658","c5e31c5.77e05e"]]},{"id":"d30bace3.5a7f2","type":"execute","name":"generate allotted-resource url","xml":"\n \n \n \n \n","comments":"","outputs":1,"x":488.0648536682129,"y":392.0172290802002,"z":"307d8ab2.24f886","wires":[[]]},{"id":"4b2d666b.abe658","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":779.8148918151855,"y":492.26725220680237,"z":"307d8ab2.24f886","wires":[["56d62b25.1f49bc"]]},{"id":"e60cbd81.14ee9","type":"execute","name":"execute RestApiCallNode - PUT AR by id","xml":"\n \n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":530.5293121337891,"y":846.4341316223145,"z":"307d8ab2.24f886","wires":[["46ade8d5.b547e","20a825ec.94755a","ce5466bc.b050b"]]},{"id":"46ade8d5.b547e","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":800.837329864502,"y":899.432332418859,"z":"307d8ab2.24f886","wires":[["83dde006.65958"]]},{"id":"20a825ec.94755a","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":791.8373794555664,"y":867.9323581680655,"z":"307d8ab2.24f886","wires":[["83dde006.65958"]]},{"id":"ce5466bc.b050b","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":795.5874176025391,"y":838.2894630432129,"z":"307d8ab2.24f886","wires":[["f7831c73.19aa18"]]},{"id":"83dde006.65958","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":961.5874176025391,"y":868.6823820099235,"z":"307d8ab2.24f886","wires":[]},{"id":"56d62b25.1f49bc","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":960.8148460388184,"y":492.7672016620636,"z":"307d8ab2.24f886","wires":[["e624279a.12ec8","a31618b2.409b8"]]},{"id":"e624279a.12ec8","type":"switchNode","name":"switch tx length","xml":"\n","comments":"","outputs":1,"x":1206.6720924377441,"y":527.052964925766,"z":"307d8ab2.24f886","wires":[["3cddd823.41afe"]]},{"id":"3cddd823.41afe","type":"other","name":"outcome 1","xml":"\n","comments":"","outputs":1,"x":1397.6720962524414,"y":527.0529625415802,"z":"307d8ab2.24f886","wires":[["6be9fe1e.f9c138"]]},{"id":"d7146c6d.b9cef8","type":"set","name":"set tx-ar from get","xml":"\n\n","comments":"","x":1797.5292320251465,"y":527.6243867874146,"z":"307d8ab2.24f886","wires":[]},{"id":"6be9fe1e.f9c138","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1568.5290794372559,"y":527.6244316101074,"z":"307d8ab2.24f886","wires":[["d7146c6d.b9cef8","357a7eb2.2788c2","aecdfd17.ff094"]]},{"id":"357a7eb2.2788c2","type":"set","name":"set oper-status","xml":"\n\n\n\n\n","comments":"","x":1795.5294761657715,"y":595.0529508590698,"z":"307d8ab2.24f886","wires":[]},{"id":"787114c9.2806c4","type":"comment","name":"GET tunnelxconn-allotted-resource from mdsal","info":"","comments":"","x":547.8148155212402,"y":456.7671926021576,"z":"307d8ab2.24f886","wires":[]},{"id":"aecdfd17.ff094","type":"switchNode","name":"switch order-status","xml":"\n","comments":"","outputs":1,"x":1805.52925491333,"y":560.6243848800659,"z":"307d8ab2.24f886","wires":[["60364cde.e8654c","5dbfe46e.a42744"]]},{"id":"60364cde.e8654c","type":"outcome","name":"outcome Created","xml":"\n","comments":"","outputs":1,"x":2017.1292114257812,"y":521.6243848800659,"z":"307d8ab2.24f886","wires":[["2e5253bb.935b44"]]},{"id":"5dbfe46e.a42744","type":"outcome","name":"outcome Other","xml":"\n","comments":"","outputs":1,"x":2042.8435859680176,"y":557.052975654602,"z":"307d8ab2.24f886","wires":[["2e5253bb.935b44"]]},{"id":"3137dae9.e2b426","type":"comment","name":"Set allotted-resource-identifiers","info":"","comments":"","x":503.33863830566406,"y":547.3386459350586,"z":"307d8ab2.24f886","wires":[]},{"id":"a31618b2.409b8","type":"set","name":"save backup copy of mdsal-ar for rollback","xml":"\n\n","comments":"","x":1286.3864250183105,"y":492.76729369163513,"z":"307d8ab2.24f886","wires":[]},{"id":"f725e409.258e68","type":"comment","name":"Create urls for restapi","info":"","comments":"","x":458.9576606750488,"y":361.6243562698364,"z":"307d8ab2.24f886","wires":[]},{"id":"f7831c73.19aa18","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":937.2433853149414,"y":834.481632232666,"z":"307d8ab2.24f886","wires":[[]]},{"id":"6917ca0.586c538","type":"comment","name":"TO DO: vnf/put parent","info":"","comments":"","x":461.2433776855469,"y":735.1481952667236,"z":"307d8ab2.24f886","wires":[]},{"id":"e233eb48.73f8b","type":"execute","name":"execute getTime","xml":"\n \n\n","comments":"","outputs":1,"x":445.24338150024414,"y":664.4815549850464,"z":"307d8ab2.24f886","wires":[[]]},{"id":"c5e31c5.77e05e","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":779.5766868591309,"y":528.4814250469208,"z":"307d8ab2.24f886","wires":[["dd1ff459.39f8a8"]]},{"id":"dd1ff459.39f8a8","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":959.5766372680664,"y":529.1479756832123,"z":"307d8ab2.24f886","wires":[[]]},{"id":"d2103b31.1f83e8","type":"set","name":"set id","xml":"\n\n\n\n\n\n\n\n\n","comments":"","x":428.24342346191406,"y":584.1481666564941,"z":"307d8ab2.24f886","wires":[]},{"id":"2e5253bb.935b44","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2231.5997276306152,"y":523.0000190734863,"z":"307d8ab2.24f886","wires":[[]]},{"id":"3936aa7e.049e66","type":"update","name":"update AAI allotted-resource","xml":"\n\t\n","comments":"","outputs":1,"x":488.85716247558594,"y":768.2380628585815,"z":"307d8ab2.24f886","wires":[["578afeed.16a8f8","fb8f774e.d3d13"]]},{"id":"578afeed.16a8f8","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":744.6190567016602,"y":751.1905598640442,"z":"307d8ab2.24f886","wires":[["9bc7661.b85f498"]]},{"id":"9bc7661.b85f498","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":911.142936706543,"y":762.8096308708191,"z":"307d8ab2.24f886","wires":[]},{"id":"fb8f774e.d3d13","type":"failure","name":"not-found","xml":"\n","comments":"","outputs":1,"x":751.7143440246582,"y":783.9525275230408,"z":"307d8ab2.24f886","wires":[["9bc7661.b85f498"]]}]