X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2FGENERIC-RESOURCE-API_rollback-generated-names.json;h=756b5a06513529f424665c7831d676dc8ba29c89;hb=ae2694d30df3a7f62324ec7e617d23f187debcbb;hp=dacb33793f412dfc7ce7446cab1c572997ecf737;hpb=3d54c9ad35ef5e7a4b13948e718a4ad2830cbb04;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_rollback-generated-names.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_rollback-generated-names.json index dacb3379..756b5a06 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_rollback-generated-names.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_rollback-generated-names.json @@ -1 +1,1646 @@ -[{"id":"367177f7.563698","type":"dgstart","name":"DGSTART","outputs":1,"x":163.75,"y":68.75,"z":"d0c367b0.d55ca8","wires":[["60ca91f4.f6268"]]},{"id":"468f67a9.c0fe68","type":"method","name":"method rollback-generated-names","xml":"\n","comments":"","outputs":1,"x":288.82142639160156,"y":140.1785717010498,"z":"d0c367b0.d55ca8","wires":[["d2988a7c.2fd408"]]},{"id":"d2988a7c.2fd408","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":288.0357208251953,"y":221.60715103149414,"z":"d0c367b0.d55ca8","wires":[["d1a57281.50136","ceb3fba9.761848","dbce21dd.bda28","7ce1313f.711c4","796e66f5.e5b048"]]},{"id":"d1a57281.50136","type":"switchNode","name":"switch rollback-generated-names-input.context-id","xml":"\n","comments":"","outputs":1,"x":609.5833129882812,"y":220.6666603088379,"z":"d0c367b0.d55ca8","wires":[["dbafe83a.757ed8"]]},{"id":"ceb3fba9.761848","type":"switchNode","name":"switch rollback-generated-names-input.naming-type","xml":"\n","comments":"","outputs":1,"x":616.7500152587891,"y":280.50000381469727,"z":"d0c367b0.d55ca8","wires":[["23bb964b.7a2caa","b0705a0b.157f48","34b9c028.357d9","70f01569.bbfe5c","1710e5d3.77dcfa","170cdd4d.2b21a3","de873242.c7b5f","fc133415.70f288"]]},{"id":"dbafe83a.757ed8","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":888.0000152587891,"y":221.25000381469727,"z":"d0c367b0.d55ca8","wires":[["5d590d62.dfd0a4"]]},{"id":"5d590d62.dfd0a4","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1054.6543159484863,"y":220.64523601531982,"z":"d0c367b0.d55ca8","wires":[]},{"id":"23bb964b.7a2caa","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":931.5,"y":280.25,"z":"d0c367b0.d55ca8","wires":[["a0afb9b9.38f3f8"]]},{"id":"a0afb9b9.38f3f8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1097.7500190734863,"y":280.25000381469727,"z":"d0c367b0.d55ca8","wires":[]},{"id":"b0705a0b.157f48","type":"outcome","name":"VM_INSTANCE","xml":"","comments":"","outputs":1,"x":959.5000381469727,"y":327.8571434020996,"z":"d0c367b0.d55ca8","wires":[["bdd8786c.e5b358"]]},{"id":"34b9c028.357d9","type":"outcome","name":"VNFC_INSTANCE","xml":"","comments":"","outputs":1,"x":969.7500305175781,"y":375.35714530944824,"z":"d0c367b0.d55ca8","wires":[["5edf9755.0901f8"]]},{"id":"bdd8786c.e5b358","type":"set","name":"set tmp.rb.naming-index-table-name and prefix column, grn.type","xml":"\n\n\n","comments":"","x":1381.000015258789,"y":328.0000057220459,"z":"d0c367b0.d55ca8","wires":[]},{"id":"5edf9755.0901f8","type":"set","name":"set tmp.rb.naming-index-table-name and prefix column, grn.type","xml":"\n\n\n\n","comments":"","x":1383.250015258789,"y":375.25000762939453,"z":"d0c367b0.d55ca8","wires":[]},{"id":"70f01569.bbfe5c","type":"outcome","name":"Other","xml":"","comments":"","outputs":1,"x":937,"y":619.5,"z":"d0c367b0.d55ca8","wires":[["3136ec47.d68c14"]]},{"id":"3136ec47.d68c14","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1103.2500190734863,"y":619.5000038146973,"z":"d0c367b0.d55ca8","wires":[]},{"id":"77bdf758.54df88","type":"set","name":"set tmp.rb.sql","xml":"\n","comments":"","x":1130.416660308838,"y":1156.5833010673523,"z":"d0c367b0.d55ca8","wires":[]},{"id":"c12778f6.0a1338","type":"get-resource","name":"GET INDEX TABLE.index_number","xml":"\n\n","comments":"","outputs":1,"x":1199.0951309204102,"y":1204.4523363113403,"z":"d0c367b0.d55ca8","wires":[["4ba02bfe.2fafb4","6a6129db.ee97d8"]]},{"id":"23b3074b.857058","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":939.4166564941406,"y":1157.0833015441895,"z":"d0c367b0.d55ca8","wires":[["77bdf758.54df88","c12778f6.0a1338"]]},{"id":"8e098c23.2f40a","type":"returnFailure","name":"return failure","xml":"\n\n\n","comments":"","x":1615.6666641235352,"y":1205.3334102630615,"z":"d0c367b0.d55ca8","wires":[]},{"id":"d5340d0c.48452","type":"returnFailure","name":"return failure","xml":"\n\n","comments":"","outputs":1,"x":1442.6666641235352,"y":1204.8334102630615,"z":"d0c367b0.d55ca8","wires":[["8e098c23.2f40a"]]},{"id":"6a6129db.ee97d8","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1449.5120658874512,"y":1251.3215522766113,"z":"d0c367b0.d55ca8","wires":[["d5340d0c.48452"]]},{"id":"7ce1313f.711c4","type":"get-resource","name":"GET GENERIC_RESOURCE_NAME distinct prefix","xml":"","comments":"","outputs":1,"x":607.4166259765625,"y":741.333324432373,"z":"d0c367b0.d55ca8","wires":[["4ad7538e.f3d82c","65bbc13b.28e13"]]},{"id":"4ad7538e.f3d82c","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":887.1666259765625,"y":741.3333168029785,"z":"d0c367b0.d55ca8","wires":[["173e772a.cd4d19"]]},{"id":"173e772a.cd4d19","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":1056.6666259765625,"y":741.3333168029785,"z":"d0c367b0.d55ca8","wires":[]},{"id":"65bbc13b.28e13","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":895.1666030883789,"y":787.8333101272583,"z":"d0c367b0.d55ca8","wires":[["7e2b366.e1ab2c8"]]},{"id":"611ed5aa.78878c","type":"comment","name":"pfx = db.grn.distinct-prefix[]","info":"","comments":"","x":599.6666717529297,"y":778.833324432373,"z":"d0c367b0.d55ca8","wires":[]},{"id":"796e66f5.e5b048","type":"for","name":"for each distinct prefix","xml":"\n","comments":"","outputs":1,"x":511.9166564941406,"y":903.8333072662354,"z":"d0c367b0.d55ca8","wires":[["863a787.4a89d88"]]},{"id":"10bc4004.cfe86","type":"get-resource","name":"GET GENERIC_RESOURCE_NAME (name_index)","xml":"","comments":"","outputs":1,"x":1056.9166526794434,"y":1043.5832977294922,"z":"d0c367b0.d55ca8","wires":[["5207f077.d162b","57b22cdd.a0b3b4"]]},{"id":"5207f077.d162b","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1374.6666526794434,"y":1043.5832901000977,"z":"d0c367b0.d55ca8","wires":[["37f91f4f.dc317"]]},{"id":"37f91f4f.dc317","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":1544.1666526794434,"y":1043.5832901000977,"z":"d0c367b0.d55ca8","wires":[]},{"id":"57b22cdd.a0b3b4","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1382.6666297912598,"y":1090.0832834243774,"z":"d0c367b0.d55ca8","wires":[["e0189d81.4cff1"]]},{"id":"e0189d81.4cff1","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","atomic":"true","comments":"","outputs":1,"x":722.1666488647461,"y":903.5832977294922,"z":"d0c367b0.d55ca8","wires":[["10bc4004.cfe86","f27ef71e.c804b8","23b3074b.857058","a6b9f4f4.6ad9c8","9b466971.d86f98","92644ca8.ceecd","d045a533.059c38","5592a6f6.a24438","14f7ce44.68bc82","18dcbbfc.8a54f4","37760911.be5b06"]]},{"id":"f27ef71e.c804b8","type":"set","name":"set tmp.rb.grn.prefix","xml":"\n\n","comments":"","x":959.4166374206543,"y":994.3333034515381,"z":"d0c367b0.d55ca8","wires":[]},{"id":"e83d55fd.8d2e08","type":"switchNode","name":"switch: tmp.rb.net-index == 0","xml":"","comments":"","outputs":1,"x":1418.3334503173828,"y":1454.4166259765625,"z":"d0c367b0.d55ca8","wires":[["e05f58d7.4e07f8","f48212b5.20b62"]]},{"id":"676ed71d.e6ce68","type":"comment","name":"pfx = db.grn.index-table","info":"","comments":"","x":1235.1666412353516,"y":1241.0832901000977,"z":"d0c367b0.d55ca8","wires":[]},{"id":"9b466971.d86f98","type":"set","name":"set tmp.rb.grn.max-index","xml":"\n\n","comments":"","x":967.9166564941406,"y":1311.0833044052124,"z":"d0c367b0.d55ca8","wires":[]},{"id":"a6b9f4f4.6ad9c8","type":"set","name":"clear tmp.rb.","xml":"\n\n","comments":"","x":934.4166221618652,"y":947.583288192749,"z":"d0c367b0.d55ca8","wires":[]},{"id":"dbce21dd.bda28","type":"set","name":"clear db.grn.","xml":"\n\n","comments":"","x":490.55554962158203,"y":687.7777805328369,"z":"d0c367b0.d55ca8","wires":[]},{"id":"92644ca8.ceecd","type":"set","name":"clear db.grn.subset.","xml":"\n\n","comments":"","x":955.4166564941406,"y":903.8332967758179,"z":"d0c367b0.d55ca8","wires":[]},{"id":"dd5310c5.e7bc1","type":"set","name":"set tmp.rb.sql for delete","xml":"\n\n\t\t\n\t\t\t\t","comments":"","x":2031.0832824707031,"y":1454.4166088104248,"z":"d0c367b0.d55ca8","wires":[]},{"id":"985fa2e8.98689","type":"get-resource","name":"DELETE from INDEX TABLE","xml":"\n\n","comments":"","outputs":1,"x":2047.2618103027344,"y":1500.0356426239014,"z":"d0c367b0.d55ca8","wires":[["3c1ebfe4.59e22","4c9bbe94.157e"]]},{"id":"27f4d519.bb790a","type":"returnFailure","name":"return failure","xml":"\n\n\n","comments":"","x":2455.8333435058594,"y":1499.9167165756226,"z":"d0c367b0.d55ca8","wires":[]},{"id":"3c1ebfe4.59e22","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":2282.8333435058594,"y":1500.4167165756226,"z":"d0c367b0.d55ca8","wires":[["27f4d519.bb790a"]]},{"id":"4c9bbe94.157e","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":2289.6787452697754,"y":1546.9048585891724,"z":"d0c367b0.d55ca8","wires":[["9e5f981.150f268"]]},{"id":"85575d12.d5857","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":1798.5833358764648,"y":1454.1666259765625,"z":"d0c367b0.d55ca8","wires":[["dd5310c5.e7bc1","985fa2e8.98689"]]},{"id":"d045a533.059c38","type":"set","name":"set tmp.rb.delta-index = index-number - max-index","xml":"\n\n","comments":"","x":1045.9166564941406,"y":1356.333303451538,"z":"d0c367b0.d55ca8","wires":[]},{"id":"e05f58d7.4e07f8","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":1632.0833129882812,"y":1454.4166069030762,"z":"d0c367b0.d55ca8","wires":[["85575d12.d5857"]]},{"id":"18dcbbfc.8a54f4","type":"get-resource","name":"DELETE from GENERIC_RESOURCE_NAME","xml":"\n","comments":"","outputs":1,"x":1028.7618713378906,"y":1792.2856998443604,"z":"d0c367b0.d55ca8","wires":[["62bd7357.1b6afc","e9732f88.feaff"]]},{"id":"b81d8b08.9ca378","type":"returnFailure","name":"return failure","xml":"\n\n\n","comments":"","x":1480.3334045410156,"y":1793.1667737960815,"z":"d0c367b0.d55ca8","wires":[]},{"id":"62bd7357.1b6afc","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1307.3334045410156,"y":1792.6667737960815,"z":"d0c367b0.d55ca8","wires":[["b81d8b08.9ca378"]]},{"id":"e9732f88.feaff","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1314.1787490844727,"y":1839.1549606323242,"z":"d0c367b0.d55ca8","wires":[["ae5976af.669a08"]]},{"id":"24f6c0c3.95f7f","type":"comment","name":"Delete prefix from INDEX TABLE","info":"","comments":"","x":2301.3334197998047,"y":1456.4166803359985,"z":"d0c367b0.d55ca8","wires":[]},{"id":"ee44b770.263dc8","type":"comment","name":"Silence SUCCESS","info":"","comments":"","x":2546.333351135254,"y":1558.4166240692139,"z":"d0c367b0.d55ca8","wires":[]},{"id":"9e5f981.150f268","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2438.5833473205566,"y":1546.6666259765625,"z":"d0c367b0.d55ca8","wires":[[]]},{"id":"f48212b5.20b62","type":"outcomeFalse","name":"false","xml":"\n","comments":"","outputs":1,"x":1631.083396911621,"y":1639.666648864746,"z":"d0c367b0.d55ca8","wires":[["2679c184.7566ce"]]},{"id":"ce016bf1.726fe8","type":"comment","name":"index_number > $db.grn.subset_length; i.e hole in the middle. DO NOTHING","info":"","comments":"","x":1221.8334197998047,"y":1578.4166812896729,"z":"d0c367b0.d55ca8","wires":[]},{"id":"d0ffe154.2017d","type":"comment","name":"Silence SUCCESS","info":"","comments":"","x":1570.333251953125,"y":1850.6666584014893,"z":"d0c367b0.d55ca8","wires":[]},{"id":"ae5976af.669a08","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1462.5832481384277,"y":1838.916660308838,"z":"d0c367b0.d55ca8","wires":[[]]},{"id":"5592a6f6.a24438","type":"switchNode","name":"switch: tmp.rb.delta-index == 0","xml":"","comments":"","outputs":1,"x":984.3333282470703,"y":1454.6666240692139,"z":"d0c367b0.d55ca8","wires":[["54669b2b.1c7664","5cd2e8b2.3aabf8"]]},{"id":"54669b2b.1c7664","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":1211.5833129882812,"y":1454.6666069030762,"z":"d0c367b0.d55ca8","wires":[["e83d55fd.8d2e08"]]},{"id":"13ee581e.78bb98","type":"set","name":"set tmp.rb.sql for update","xml":"\n","comments":"","x":2037.833351135254,"y":1639.666633605957,"z":"d0c367b0.d55ca8","wires":[]},{"id":"d1d5de27.6d65f","type":"get-resource","name":"Update INDEX TABLE","xml":"\n\n","comments":"","outputs":1,"x":2034.0118789672852,"y":1685.2856674194336,"z":"d0c367b0.d55ca8","wires":[["af5b63b8.507a5","961b37ec.64dc98"]]},{"id":"21898cbf.33f884","type":"returnFailure","name":"return failure","xml":"\n\n\n","comments":"","x":2439.58341217041,"y":1685.1667413711548,"z":"d0c367b0.d55ca8","wires":[]},{"id":"af5b63b8.507a5","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":2247.58341217041,"y":1685.6667413711548,"z":"d0c367b0.d55ca8","wires":[["21898cbf.33f884"]]},{"id":"961b37ec.64dc98","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":2254.428813934326,"y":1732.1548833847046,"z":"d0c367b0.d55ca8","wires":[["21898cbf.33f884"]]},{"id":"2679c184.7566ce","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":1798.3334045410156,"y":1639.4166507720947,"z":"d0c367b0.d55ca8","wires":[["13ee581e.78bb98","d1d5de27.6d65f"]]},{"id":"14c2ad0d.ae7c33","type":"comment","name":"Update prefix from INDEX TABLE","info":"","comments":"","x":1989.8334121704102,"y":1717.9166464805603,"z":"d0c367b0.d55ca8","wires":[]},{"id":"14f7ce44.68bc82","type":"set","name":"set tmp.rb.net-index = index-number - $db.grn.subset_length","xml":"\n\n","comments":"","x":1076.6666412353516,"y":1403.833288192749,"z":"d0c367b0.d55ca8","wires":[]},{"id":"2a3dc862.500858","type":"comment","name":"index_number == max index","info":"","comments":"","x":862.1666564941406,"y":1497.5833053588867,"z":"d0c367b0.d55ca8","wires":[]},{"id":"54f2328a.63d03c","type":"comment","name":"index_number == $db.grn.subset_length","info":"","comments":"","x":1489.6666564941406,"y":1415.0833053588867,"z":"d0c367b0.d55ca8","wires":[]},{"id":"5cd2e8b2.3aabf8","type":"outcomeFalse","name":"false","xml":"\n","comments":"","outputs":1,"x":1219.6666564941406,"y":1623.8333044052124,"z":"d0c367b0.d55ca8","wires":[["f7ec1a24.211fe8"]]},{"id":"f7ec1a24.211fe8","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1363.4166641235352,"y":1624.0833072662354,"z":"d0c367b0.d55ca8","wires":[[]]},{"id":"3dffc8c6.351eb8","type":"comment","name":"Change History","info":"iTrack SDNGC-10767\n- new DG to rollback generated-names","comments":"","x":642.5000076293945,"y":113.75000190734863,"z":"d0c367b0.d55ca8","wires":[]},{"id":"6b1751d3.9aae8","type":"set","name":"set tmp.rb.naming-index-table-name, index-table.prefix column, grn.type","xml":"\n\n\n","comments":"","x":1408.75,"y":425.75,"z":"d0c367b0.d55ca8","wires":[]},{"id":"1710e5d3.77dcfa","type":"outcome","name":"CLIENT_KEY","xml":"","comments":"","outputs":1,"x":956.5000152587891,"y":425.35713958740234,"z":"d0c367b0.d55ca8","wires":[["6b1751d3.9aae8"]]},{"id":"170cdd4d.2b21a3","type":"outcome","name":"NETWORK_INSTANCE","xml":"","comments":"","outputs":1,"x":988.2777633666992,"y":475.61110496520996,"z":"d0c367b0.d55ca8","wires":[["5fa679c.78e5088"]]},{"id":"de873242.c7b5f","type":"outcome","name":"SERVICE_INSTANCE","xml":"","comments":"","outputs":1,"x":986.3889007568359,"y":524.6111211776733,"z":"d0c367b0.d55ca8","wires":[["82455610.85dad8"]]},{"id":"fc133415.70f288","type":"outcome","name":"VNF_INSTANCE","xml":"","comments":"","outputs":1,"x":970.2777633666992,"y":570.611120223999,"z":"d0c367b0.d55ca8","wires":[["8ec44038.4f2ac"]]},{"id":"5a4d6d80.b5bda4","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1310.7856979370117,"y":1936.4285354614258,"z":"d0c367b0.d55ca8","wires":[["d0e2990c.3467d8"]]},{"id":"d0e2990c.3467d8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":1480.2856979370117,"y":1936.4285354614258,"z":"d0c367b0.d55ca8","wires":[]},{"id":"3d2d0a92.8fb326","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1318.7856750488281,"y":1982.9285287857056,"z":"d0c367b0.d55ca8","wires":[["a9dae2af.d2f53"]]},{"id":"31297cf.fcd1684","type":"comment","name":"pfx = db.grn.prefix[]","info":"","comments":"","x":1044.0357131958008,"y":1973.9285526275635,"z":"d0c367b0.d55ca8","wires":[]},{"id":"37760911.be5b06","type":"get-resource","name":"GET GENERIC_RESOURCE_NAME (prefix)","xml":"","comments":"","outputs":1,"x":1023.0356903076172,"y":1936.1785564422607,"z":"d0c367b0.d55ca8","wires":[["5a4d6d80.b5bda4","3d2d0a92.8fb326","430381ee.4fc6b"]]},{"id":"430381ee.4fc6b","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":1312.321434020996,"y":2125.892852783203,"z":"d0c367b0.d55ca8","wires":[["3f64846a.c8c06c"]]},{"id":"3f64846a.c8c06c","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1461.9643783569336,"y":2126.0356769561768,"z":"d0c367b0.d55ca8","wires":[["5b56358f.06720c","c6c2e25e.9582a"]]},{"id":"eb05862b.646188","type":"comment","name":"Clean up holes in INDEX TABLE","info":"","comments":"","x":781.0000152587891,"y":1880.0000286102295,"z":"d0c367b0.d55ca8","wires":[]},{"id":"761a02e4.28318c","type":"set","name":"set tmp.rb.sql for delete","xml":"\n\n\t\t\n\t\t\t\t","comments":"","x":1719.7857360839844,"y":1982.9286041259766,"z":"d0c367b0.d55ca8","wires":[]},{"id":"e3b8fba6.d6a5d8","type":"get-resource","name":"DELETE from INDEX TABLE","xml":"\n\n","comments":"","outputs":1,"x":1735.9642639160156,"y":2028.5476379394531,"z":"d0c367b0.d55ca8","wires":[["8a19c44d.2f7a68","83735701.520468"]]},{"id":"87b45267.a3082","type":"returnFailure","name":"return failure","xml":"\n\n","comments":"","outputs":1,"x":1953.5357971191406,"y":2028.9287118911743,"z":"d0c367b0.d55ca8","wires":[["87b45267.a3082"]]},{"id":"83735701.520468","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1960.3811988830566,"y":2075.416853904724,"z":"d0c367b0.d55ca8","wires":[["8dd77dea.9bf17"]]},{"id":"f0c8fc09.c807b","type":"comment","name":"Delete prefix from INDEX TABLE","info":"","comments":"","x":1990.035873413086,"y":1984.9286756515503,"z":"d0c367b0.d55ca8","wires":[]},{"id":"8771620a.4a45","type":"comment","name":"Silence SUCCESS","info":"","comments":"","x":2217.035804748535,"y":2086.9286193847656,"z":"d0c367b0.d55ca8","wires":[]},{"id":"8dd77dea.9bf17","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2109.285800933838,"y":2075.1786212921143,"z":"d0c367b0.d55ca8","wires":[[]]},{"id":"a9dae2af.d2f53","type":"block","name":"block","xml":"","atomic":"false","comments":"","outputs":1,"x":1466.5000228881836,"y":1983.2500286102295,"z":"d0c367b0.d55ca8","wires":[["761a02e4.28318c","e3b8fba6.d6a5d8"]]},{"id":"5b56358f.06720c","type":"set","name":"set tmp.rb.grn.last-max-index","xml":"\n\n","comments":"","x":1685.0000228881836,"y":2126.2500324249268,"z":"d0c367b0.d55ca8","wires":[]},{"id":"c6c2e25e.9582a","type":"switchNode","name":"switch: index_number > last-max-index","xml":" $tmp.rb.grn.last-max-index`\">","comments":"","outputs":1,"x":1714.2500305175781,"y":2170.2500324249268,"z":"d0c367b0.d55ca8","wires":[["2a0f937.5be026c"]]},{"id":"2a0f937.5be026c","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":1954.25,"y":2169.75,"z":"d0c367b0.d55ca8","wires":[["6bcac8c3.2d4898"]]},{"id":"f6ae0895.c117f8","type":"set","name":"set tmp.rb.sql for update","xml":"\n","comments":"","x":2302.500030517578,"y":2169.7500324249268,"z":"d0c367b0.d55ca8","wires":[]},{"id":"877a352a.7a0348","type":"get-resource","name":"Update INDEX TABLE","xml":"\n\n","comments":"","outputs":1,"x":2298.6785583496094,"y":2214.3690662384033,"z":"d0c367b0.d55ca8","wires":[["5993fe93.97069","ba617526.0c8828"]]},{"id":"35689d99.980fa2","type":"returnFailure","name":"return failure","xml":"\n\n","comments":"","outputs":1,"x":2508.2500915527344,"y":2214.7501401901245,"z":"d0c367b0.d55ca8","wires":[["35689d99.980fa2"]]},{"id":"ba617526.0c8828","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":2515.0954933166504,"y":2261.2382822036743,"z":"d0c367b0.d55ca8","wires":[["35689d99.980fa2"]]},{"id":"ab893117.4bf84","type":"comment","name":"Update prefix from INDEX TABLE","info":"","comments":"","x":2254.5000915527344,"y":2247.00004529953,"z":"d0c367b0.d55ca8","wires":[]},{"id":"6bcac8c3.2d4898","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2103.75,"y":2170,"z":"d0c367b0.d55ca8","wires":[["f6ae0895.c117f8","877a352a.7a0348"]]},{"id":"7e2b366.e1ab2c8","type":"set","name":"set db.grn.distinct-prefix_length = 0","xml":"\n\n","comments":"","x":1127.500015258789,"y":788.0000133514404,"z":"d0c367b0.d55ca8","wires":[]},{"id":"60ca91f4.f6268","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":438.3333740234375,"y":68.33333587646484,"z":"d0c367b0.d55ca8","wires":[["468f67a9.c0fe68"]]},{"id":"8ec44038.4f2ac","type":"set","name":"set tmp.rb.naming-index-table-name and prefix column, grn.type","xml":"\n\n\n\n","comments":"","x":1390,"y":570.3333129882812,"z":"d0c367b0.d55ca8","wires":[]},{"id":"5fa679c.78e5088","type":"set","name":"set tmp.rb.naming-index-table-name and prefix column, grn.type","xml":"\n\n\n\n","comments":"","x":1387,"y":475,"z":"d0c367b0.d55ca8","wires":[]},{"id":"82455610.85dad8","type":"set","name":"set tmp.rb.naming-index-table-name and prefix column, grn.type","xml":"\n\n\n\n","comments":"","x":1387,"y":525,"z":"d0c367b0.d55ca8","wires":[]}] \ No newline at end of file +[ + { + "id": "29cb883a.884228", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 1334.4443359375, + "y": 20.416664123535156, + "z": "aa630329.50a53", + "wires": [ + [ + "888a84ae.33c888" + ] + ] + }, + { + "id": "ed968adc.8ee998", + "type": "method", + "name": "method rollback-generated-names", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1459.5157623291016, + "y": 91.84523582458496, + "z": "aa630329.50a53", + "wires": [ + [ + "75650b62.fb7214" + ] + ] + }, + { + "id": "75650b62.fb7214", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1458.7300567626953, + "y": 173.2738151550293, + "z": "aa630329.50a53", + "wires": [ + [ + "5556f19b.f5219", + "19ce5e74.e19aa2", + "d35c0a8.e055af8", + "37f63bc9.9d3f04", + "b6ebcdec.0165b" + ] + ] + }, + { + "id": "5556f19b.f5219", + "type": "switchNode", + "name": "switch rollback-generated-names-input.context-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1780.2776489257812, + "y": 172.33332443237305, + "z": "aa630329.50a53", + "wires": [ + [ + "49e2a20b.aa74ac" + ] + ] + }, + { + "id": "19ce5e74.e19aa2", + "type": "switchNode", + "name": "switch rollback-generated-names-input.naming-type", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1787.444351196289, + "y": 232.16666793823242, + "z": "aa630329.50a53", + "wires": [ + [ + "19ba8656.ba40ea", + "fbafb911.c1a228", + "aaaeba77.eb1d38", + "c6b37ac7.e80618", + "1516480b.27b978", + "943b3579.515908", + "ffdb86fd.ed9ae8", + "f9d65524.73d078" + ] + ] + }, + { + "id": "49e2a20b.aa74ac", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2058.694351196289, + "y": 172.91666793823242, + "z": "aa630329.50a53", + "wires": [ + [ + "7ab1c055.bf769" + ] + ] + }, + { + "id": "7ab1c055.bf769", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2225.3486518859863, + "y": 172.31190013885498, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "19ba8656.ba40ea", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2102.1943359375, + "y": 231.91666412353516, + "z": "aa630329.50a53", + "wires": [ + [ + "6acbae14.16e77" + ] + ] + }, + { + "id": "6acbae14.16e77", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2268.4443550109863, + "y": 231.91666793823242, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "fbafb911.c1a228", + "type": "outcome", + "name": "VM_INSTANCE", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2130.1943740844727, + "y": 279.52380752563477, + "z": "aa630329.50a53", + "wires": [ + [ + "14f5428c.d3dd3d" + ] + ] + }, + { + "id": "aaaeba77.eb1d38", + "type": "outcome", + "name": "VNFC_INSTANCE", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2140.444366455078, + "y": 327.0238094329834, + "z": "aa630329.50a53", + "wires": [ + [ + "b191361f.e39258" + ] + ] + }, + { + "id": "14f5428c.d3dd3d", + "type": "set", + "name": "set tmp.rb.naming-index-table-name and prefix column, grn.type", + "xml": "\n\n\n", + "comments": "", + "x": 2551.694351196289, + "y": 279.66666984558105, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "b191361f.e39258", + "type": "set", + "name": "set tmp.rb.naming-index-table-name and prefix column, grn.type", + "xml": "\n\n\n\n", + "comments": "", + "x": 2553.944351196289, + "y": 326.9166717529297, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "c6b37ac7.e80618", + "type": "outcome", + "name": "Other", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2107.6943359375, + "y": 571.1666641235352, + "z": "aa630329.50a53", + "wires": [ + [ + "f1c08b0d.d43858" + ] + ] + }, + { + "id": "f1c08b0d.d43858", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2273.9443550109863, + "y": 571.1666679382324, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "1f6886e.08cdb79", + "type": "set", + "name": "set tmp.rb.sql", + "xml": "\n", + "comments": "", + "x": 2301.110996246338, + "y": 1108.2499651908875, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "9103eac2.da1f88", + "type": "get-resource", + "name": "GET INDEX TABLE.index_number", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2369.78946685791, + "y": 1156.1190004348755, + "z": "aa630329.50a53", + "wires": [ + [ + "4bac1a75.3bf994", + "9830d2f4.14e32" + ] + ] + }, + { + "id": "bf055860.21dff8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2110.1109924316406, + "y": 1108.7499656677246, + "z": "aa630329.50a53", + "wires": [ + [ + "1f6886e.08cdb79", + "9103eac2.da1f88" + ] + ] + }, + { + "id": "dba5c1eb.6b22f", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 2786.361000061035, + "y": 1157.0000743865967, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "aa4a319e.2aea6", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2613.361000061035, + "y": 1156.5000743865967, + "z": "aa630329.50a53", + "wires": [ + [ + "dba5c1eb.6b22f" + ] + ] + }, + { + "id": "9830d2f4.14e32", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2620.206401824951, + "y": 1202.9882164001465, + "z": "aa630329.50a53", + "wires": [ + [ + "aa4a319e.2aea6" + ] + ] + }, + { + "id": "37f63bc9.9d3f04", + "type": "get-resource", + "name": "GET GENERIC_RESOURCE_NAME distinct prefix", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1778.1109619140625, + "y": 692.9999885559082, + "z": "aa630329.50a53", + "wires": [ + [ + "6cb3df87.7e0ec", + "727c9c85.dfe244" + ] + ] + }, + { + "id": "6cb3df87.7e0ec", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2057.8609619140625, + "y": 692.9999809265137, + "z": "aa630329.50a53", + "wires": [ + [ + "5c66740e.eb157c" + ] + ] + }, + { + "id": "5c66740e.eb157c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 2227.3609619140625, + "y": 692.9999809265137, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "727c9c85.dfe244", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2065.860939025879, + "y": 739.4999742507935, + "z": "aa630329.50a53", + "wires": [ + [ + "1fa487d3.8ad6e8" + ] + ] + }, + { + "id": "314b583f.7203e8", + "type": "comment", + "name": "pfx = db.grn.distinct-prefix[]", + "info": "", + "comments": "", + "x": 1770.3610076904297, + "y": 730.4999885559082, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "b6ebcdec.0165b", + "type": "for", + "name": "for each distinct prefix", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1682.6109924316406, + "y": 855.4999713897705, + "z": "aa630329.50a53", + "wires": [ + [ + "615652ba.fc923c" + ] + ] + }, + { + "id": "e5feeac4.d67ae8", + "type": "get-resource", + "name": "GET GENERIC_RESOURCE_NAME (name_index)", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2227.6109886169434, + "y": 995.2499618530273, + "z": "aa630329.50a53", + "wires": [ + [ + "3b74e0d1.8867b", + "cd385c50.732c1" + ] + ] + }, + { + "id": "3b74e0d1.8867b", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2545.3609886169434, + "y": 995.2499542236328, + "z": "aa630329.50a53", + "wires": [ + [ + "de6cfc01.eec5b" + ] + ] + }, + { + "id": "de6cfc01.eec5b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 2714.8609886169434, + "y": 995.2499542236328, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "cd385c50.732c1", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2553.3609657287598, + "y": 1041.7499475479126, + "z": "aa630329.50a53", + "wires": [ + [ + "92b03b04.367558" + ] + ] + }, + { + "id": "92b03b04.367558", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1892.860984802246, + "y": 855.2499618530273, + "z": "aa630329.50a53", + "wires": [ + [ + "e5feeac4.d67ae8", + "d73de031.6f6f9", + "bf055860.21dff8", + "5b7f4beb.293b54", + "5bc6188.f631ce8", + "71d6da4f.c71d64", + "1bd95123.da921f", + "300df04b.286a1", + "c3fa064.1eee4f8", + "6647f1a8.2eba5", + "5693c8f8.d296b8" + ] + ] + }, + { + "id": "d73de031.6f6f9", + "type": "set", + "name": "set tmp.rb.grn.prefix", + "xml": "\n\n", + "comments": "", + "x": 2130.1109733581543, + "y": 945.9999675750732, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "6dc0d5b7.e8b79c", + "type": "switchNode", + "name": "switch: tmp.rb.net-index == 0", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2589.027786254883, + "y": 1406.0832901000977, + "z": "aa630329.50a53", + "wires": [ + [ + "ae547b4c.5ee188", + "de514521.1f6668" + ] + ] + }, + { + "id": "ab812023.4d106", + "type": "comment", + "name": "pfx = db.grn.index-table", + "info": "", + "comments": "", + "x": 2405.8609771728516, + "y": 1192.7499542236328, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "5bc6188.f631ce8", + "type": "set", + "name": "set tmp.rb.grn.max-index", + "xml": "\n\n", + "comments": "", + "x": 2138.6109924316406, + "y": 1262.7499685287476, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "5b7f4beb.293b54", + "type": "set", + "name": "clear tmp.rb.", + "xml": "\n\n", + "comments": "", + "x": 2105.1109580993652, + "y": 899.2499523162842, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "d35c0a8.e055af8", + "type": "set", + "name": "clear db.grn.", + "xml": "\n\n", + "comments": "", + "x": 1661.249885559082, + "y": 639.4444446563721, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "71d6da4f.c71d64", + "type": "set", + "name": "clear db.grn.subset.", + "xml": "\n\n", + "comments": "", + "x": 2126.1109924316406, + "y": 855.499960899353, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "f019211a.03f21", + "type": "set", + "name": "set tmp.rb.sql for delete", + "xml": "\n\n\t\t\n\t\t\t\t", + "comments": "", + "x": 3201.777618408203, + "y": 1406.08327293396, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "28704354.57816c", + "type": "get-resource", + "name": "DELETE from INDEX TABLE", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 3217.9561462402344, + "y": 1451.7023067474365, + "z": "aa630329.50a53", + "wires": [ + [ + "2a3eafed.800b2", + "9929948e.80baa8" + ] + ] + }, + { + "id": "f41ba658.f134a8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 3626.5276794433594, + "y": 1451.5833806991577, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "2a3eafed.800b2", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3453.5276794433594, + "y": 1452.0833806991577, + "z": "aa630329.50a53", + "wires": [ + [ + "f41ba658.f134a8" + ] + ] + }, + { + "id": "9929948e.80baa8", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3460.3730812072754, + "y": 1498.5715227127075, + "z": "aa630329.50a53", + "wires": [ + [ + "ce9cb4be.d8f5e8" + ] + ] + }, + { + "id": "138bb542.26235b", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2969.277671813965, + "y": 1405.8332901000977, + "z": "aa630329.50a53", + "wires": [ + [ + "f019211a.03f21", + "28704354.57816c" + ] + ] + }, + { + "id": "1bd95123.da921f", + "type": "set", + "name": "set tmp.rb.delta-index = index-number - max-index", + "xml": "\n\n", + "comments": "", + "x": 2216.6109924316406, + "y": 1307.9999675750732, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "ae547b4c.5ee188", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2802.7776489257812, + "y": 1406.0832710266113, + "z": "aa630329.50a53", + "wires": [ + [ + "138bb542.26235b" + ] + ] + }, + { + "id": "6647f1a8.2eba5", + "type": "get-resource", + "name": "DELETE from GENERIC_RESOURCE_NAME", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2199.4562072753906, + "y": 1743.9523639678955, + "z": "aa630329.50a53", + "wires": [ + [ + "c5dfbac3.eb7ac8", + "d5e547a5.1eafc8" + ] + ] + }, + { + "id": "c240b414.e47518", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 2651.0277404785156, + "y": 1744.8334379196167, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "c5dfbac3.eb7ac8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2478.0277404785156, + "y": 1744.3334379196167, + "z": "aa630329.50a53", + "wires": [ + [ + "c240b414.e47518" + ] + ] + }, + { + "id": "d5e547a5.1eafc8", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2484.8730850219727, + "y": 1790.8216247558594, + "z": "aa630329.50a53", + "wires": [ + [ + "a4121e26.ea489" + ] + ] + }, + { + "id": "c25429a5.1b65a8", + "type": "comment", + "name": "Delete prefix from INDEX TABLE", + "info": "", + "comments": "", + "x": 3472.0277557373047, + "y": 1408.0833444595337, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "4b654cba.5ced54", + "type": "comment", + "name": "Silence SUCCESS", + "info": "", + "comments": "", + "x": 3717.027687072754, + "y": 1510.083288192749, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "ce9cb4be.d8f5e8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3609.2776832580566, + "y": 1498.3332901000977, + "z": "aa630329.50a53", + "wires": [ + [] + ] + }, + { + "id": "de514521.1f6668", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2801.777732849121, + "y": 1591.3333129882812, + "z": "aa630329.50a53", + "wires": [ + [ + "e961bcf0.f03cb" + ] + ] + }, + { + "id": "666b02e.502d0fc", + "type": "comment", + "name": "index_number > $db.grn.subset_length; i.e hole in the middle. DO NOTHING", + "info": "", + "comments": "", + "x": 2392.5277557373047, + "y": 1530.083345413208, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "b133d8d2.574fa8", + "type": "comment", + "name": "Silence SUCCESS", + "info": "", + "comments": "", + "x": 2741.027587890625, + "y": 1802.3333225250244, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "a4121e26.ea489", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2633.2775840759277, + "y": 1790.583324432373, + "z": "aa630329.50a53", + "wires": [ + [] + ] + }, + { + "id": "300df04b.286a1", + "type": "switchNode", + "name": "switch: tmp.rb.delta-index == 0", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2155.0276641845703, + "y": 1406.333288192749, + "z": "aa630329.50a53", + "wires": [ + [ + "ebc810ff.c3a11", + "cc537a09.f92948" + ] + ] + }, + { + "id": "ebc810ff.c3a11", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2382.2776489257812, + "y": 1406.3332710266113, + "z": "aa630329.50a53", + "wires": [ + [ + "6dc0d5b7.e8b79c" + ] + ] + }, + { + "id": "9160dc95.b9431", + "type": "set", + "name": "set tmp.rb.sql for update", + "xml": "\n", + "comments": "", + "x": 3208.527687072754, + "y": 1591.3332977294922, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "d2204951.3f5048", + "type": "get-resource", + "name": "Update INDEX TABLE", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 3204.706214904785, + "y": 1636.9523315429688, + "z": "aa630329.50a53", + "wires": [ + [ + "e86d1619.af6ed8", + "79602d4f.9dc9b4" + ] + ] + }, + { + "id": "3686c0ec.5662b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 3610.27774810791, + "y": 1636.83340549469, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "e86d1619.af6ed8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3418.27774810791, + "y": 1637.33340549469, + "z": "aa630329.50a53", + "wires": [ + [ + "3686c0ec.5662b" + ] + ] + }, + { + "id": "79602d4f.9dc9b4", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3425.123149871826, + "y": 1683.8215475082397, + "z": "aa630329.50a53", + "wires": [ + [ + "3686c0ec.5662b" + ] + ] + }, + { + "id": "e961bcf0.f03cb", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2969.0277404785156, + "y": 1591.0833148956299, + "z": "aa630329.50a53", + "wires": [ + [ + "9160dc95.b9431", + "d2204951.3f5048" + ] + ] + }, + { + "id": "d4cb9489.bfce78", + "type": "comment", + "name": "Update prefix from INDEX TABLE", + "info": "", + "comments": "", + "x": 3160.52774810791, + "y": 1669.5833106040955, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "c3fa064.1eee4f8", + "type": "set", + "name": "set tmp.rb.net-index = index-number - $db.grn.subset_length", + "xml": "\n\n", + "comments": "", + "x": 2247.3609771728516, + "y": 1355.4999523162842, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "1fda938f.3dbb9c", + "type": "comment", + "name": "index_number == max index", + "info": "", + "comments": "", + "x": 2032.8609924316406, + "y": 1449.2499694824219, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "d76b3389.44a7f", + "type": "comment", + "name": "index_number == $db.grn.subset_length", + "info": "", + "comments": "", + "x": 2660.3609924316406, + "y": 1366.7499694824219, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "cc537a09.f92948", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2390.3609924316406, + "y": 1575.4999685287476, + "z": "aa630329.50a53", + "wires": [ + [ + "a8f99767.daacf8" + ] + ] + }, + { + "id": "a8f99767.daacf8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2534.111000061035, + "y": 1575.7499713897705, + "z": "aa630329.50a53", + "wires": [ + [] + ] + }, + { + "id": "2d578494.cd5f7c", + "type": "comment", + "name": "Change History", + "info": "iTrack SDNGC-10767\n- new DG to rollback generated-names", + "comments": "", + "x": 1813.1943435668945, + "y": 65.41666603088379, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "3d5fa372.a6850c", + "type": "set", + "name": "set tmp.rb.naming-index-table-name, index-table.prefix column, grn.type", + "xml": "\n\n\n", + "comments": "", + "x": 2579.4443359375, + "y": 377.41666412353516, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "1516480b.27b978", + "type": "outcome", + "name": "CLIENT_KEY", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2127.194351196289, + "y": 377.0238037109375, + "z": "aa630329.50a53", + "wires": [ + [ + "3d5fa372.a6850c" + ] + ] + }, + { + "id": "943b3579.515908", + "type": "outcome", + "name": "NETWORK_INSTANCE", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2158.972099304199, + "y": 427.2777690887451, + "z": "aa630329.50a53", + "wires": [ + [ + "83af09d2.c65ec8" + ] + ] + }, + { + "id": "ffdb86fd.ed9ae8", + "type": "outcome", + "name": "SERVICE_INSTANCE", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2157.083236694336, + "y": 476.2777853012085, + "z": "aa630329.50a53", + "wires": [ + [ + "1c77760e.ecb7ea" + ] + ] + }, + { + "id": "f9d65524.73d078", + "type": "outcome", + "name": "VNF_INSTANCE", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2140.972099304199, + "y": 522.2777843475342, + "z": "aa630329.50a53", + "wires": [ + [ + "e200beea.7beb8" + ] + ] + }, + { + "id": "2e594a51.7adc16", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2481.4800338745117, + "y": 1888.095199584961, + "z": "aa630329.50a53", + "wires": [ + [ + "dc507a17.e1ccd8" + ] + ] + }, + { + "id": "dc507a17.e1ccd8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 2650.9800338745117, + "y": 1888.095199584961, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "72a18f01.deeb5", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2489.480010986328, + "y": 1934.5951929092407, + "z": "aa630329.50a53", + "wires": [ + [ + "43bd72cf.d1989c" + ] + ] + }, + { + "id": "5826c7ee.56a468", + "type": "comment", + "name": "pfx = db.grn.prefix[]", + "info": "", + "comments": "", + "x": 2214.730049133301, + "y": 1925.5952167510986, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "5693c8f8.d296b8", + "type": "get-resource", + "name": "GET GENERIC_RESOURCE_NAME (prefix)", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2193.730026245117, + "y": 1887.845220565796, + "z": "aa630329.50a53", + "wires": [ + [ + "2e594a51.7adc16", + "72a18f01.deeb5", + "97a75732.8d1778" + ] + ] + }, + { + "id": "97a75732.8d1778", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2483.015769958496, + "y": 2077.5595169067383, + "z": "aa630329.50a53", + "wires": [ + [ + "af5d42dd.241e1" + ] + ] + }, + { + "id": "af5d42dd.241e1", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2632.6587142944336, + "y": 2077.702341079712, + "z": "aa630329.50a53", + "wires": [ + [ + "255e4edf.8d20f2", + "46080842.900648" + ] + ] + }, + { + "id": "ad49ad2b.b9ff7", + "type": "comment", + "name": "Clean up holes in INDEX TABLE", + "info": "", + "comments": "", + "x": 1951.694351196289, + "y": 1831.6666927337646, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "f4c9b7ed.c5e8b8", + "type": "set", + "name": "set tmp.rb.sql for delete", + "xml": "\n\n\t\t\n\t\t\t\t", + "comments": "", + "x": 2890.4800720214844, + "y": 1934.5952682495117, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "9004f393.79866", + "type": "get-resource", + "name": "DELETE from INDEX TABLE", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2906.6585998535156, + "y": 1980.2143020629883, + "z": "aa630329.50a53", + "wires": [ + [ + "e6d51ffb.da5ef", + "e74e9d15.6e515" + ] + ] + }, + { + "id": "8b317be0.6cea48", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 3124.2301330566406, + "y": 1980.5953760147095, + "z": "aa630329.50a53", + "wires": [ + [ + "8b317be0.6cea48" + ] + ] + }, + { + "id": "e74e9d15.6e515", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3131.0755348205566, + "y": 2027.0835180282593, + "z": "aa630329.50a53", + "wires": [ + [ + "9ba26a8.310e298" + ] + ] + }, + { + "id": "77aa82ec.ea575c", + "type": "comment", + "name": "Delete prefix from INDEX TABLE", + "info": "", + "comments": "", + "x": 3160.730209350586, + "y": 1936.5953397750854, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "2d8ded7b.a5e7e2", + "type": "comment", + "name": "Silence SUCCESS", + "info": "", + "comments": "", + "x": 3387.730140686035, + "y": 2038.5952835083008, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "9ba26a8.310e298", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3279.980136871338, + "y": 2026.8452854156494, + "z": "aa630329.50a53", + "wires": [ + [] + ] + }, + { + "id": "43bd72cf.d1989c", + "type": "block", + "name": "block", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2637.1943588256836, + "y": 1934.9166927337646, + "z": "aa630329.50a53", + "wires": [ + [ + "f4c9b7ed.c5e8b8", + "9004f393.79866" + ] + ] + }, + { + "id": "255e4edf.8d20f2", + "type": "set", + "name": "set tmp.rb.grn.last-max-index", + "xml": "\n\n", + "comments": "", + "x": 2855.6943588256836, + "y": 2077.916696548462, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "46080842.900648", + "type": "switchNode", + "name": "switch: index_number > last-max-index", + "xml": " $tmp.rb.grn.last-max-index`\">", + "comments": "", + "outputs": 1, + "x": 2884.944366455078, + "y": 2121.916696548462, + "z": "aa630329.50a53", + "wires": [ + [ + "88ac47d8.6bb598" + ] + ] + }, + { + "id": "88ac47d8.6bb598", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3124.9443359375, + "y": 2121.416664123535, + "z": "aa630329.50a53", + "wires": [ + [ + "c1f045de.3e28c8" + ] + ] + }, + { + "id": "ee302e41.39dd1", + "type": "set", + "name": "set tmp.rb.sql for update", + "xml": "\n", + "comments": "", + "x": 3473.194366455078, + "y": 2121.416696548462, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "b61cd1a1.4af9b", + "type": "get-resource", + "name": "Update INDEX TABLE", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 3469.3728942871094, + "y": 2166.0357303619385, + "z": "aa630329.50a53", + "wires": [ + [ + "5241d984.6b2458", + "19f1dadd.4da2c5" + ] + ] + }, + { + "id": "2583f2fc.38be4e", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 3678.9444274902344, + "y": 2166.4168043136597, + "z": "aa630329.50a53", + "wires": [ + [ + "2583f2fc.38be4e" + ] + ] + }, + { + "id": "19f1dadd.4da2c5", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3685.7898292541504, + "y": 2212.9049463272095, + "z": "aa630329.50a53", + "wires": [ + [ + "2583f2fc.38be4e" + ] + ] + }, + { + "id": "370184fa.2c436c", + "type": "comment", + "name": "Update prefix from INDEX TABLE", + "info": "", + "comments": "", + "x": 3425.1944274902344, + "y": 2198.666709423065, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "c1f045de.3e28c8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3274.4443359375, + "y": 2121.666664123535, + "z": "aa630329.50a53", + "wires": [ + [ + "ee302e41.39dd1", + "b61cd1a1.4af9b" + ] + ] + }, + { + "id": "1fa487d3.8ad6e8", + "type": "set", + "name": "set db.grn.distinct-prefix_length = 0", + "xml": "\n\n", + "comments": "", + "x": 2298.194351196289, + "y": 739.6666774749756, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "888a84ae.33c888", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 1609.0277099609375, + "y": 20, + "z": "aa630329.50a53", + "wires": [ + [ + "ed968adc.8ee998" + ] + ] + }, + { + "id": "e200beea.7beb8", + "type": "set", + "name": "set tmp.rb.naming-index-table-name and prefix column, grn.type", + "xml": "\n\n\n\n", + "comments": "", + "x": 2671.805435180664, + "y": 555.3333234786987, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "83af09d2.c65ec8", + "type": "set", + "name": "set tmp.rb.naming-index-table-name and prefix column, grn.type", + "xml": "\n\n\n\n", + "comments": "", + "x": 2557.6943359375, + "y": 426.66666412353516, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "98dce5f3.4de788", + "type": "set", + "name": "set tmp.rb.naming-index-table-name and prefix column, grn.type", + "xml": "\n\n\n\n", + "comments": "", + "x": 2741.027633666992, + "y": 474.4444389343262, + "z": "aa630329.50a53", + "wires": [] + }, + { + "id": "1c77760e.ecb7ea", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2356.6666666666665, + "y": 474.44444444444446, + "z": "aa630329.50a53", + "wires": [ + [ + "98dce5f3.4de788", + "3647a166.a299ee" + ] + ] + }, + { + "id": "3647a166.a299ee", + "type": "get-resource", + "name": "DELETE service instance name", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2582.2221870422363, + "y": 512.222222328186, + "z": "aa630329.50a53", + "wires": [ + [] + ] + }, + { + "id": "7a0ecea1.020ae", + "type": "comment", + "name": "quick path to delete instance name", + "info": "If no prefix and name_index involved, it can be deleted now", + "comments": "", + "x": 2838.888832092285, + "y": 518.8889126777649, + "z": "aa630329.50a53", + "wires": [] + } +] \ No newline at end of file