X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2FGENERIC-RESOURCE-API_security-zone-topology-operation-create.json;h=e11de4483d936e0c8142b40b3b1e7728d095563a;hb=0a8e7414c87424bd9bf0616d14bce525c9a16e24;hp=427361a3a818c5c60287d276a8d3db4824f960db;hpb=79a537071550d5ae0df0c58572ff2b5aa3065c72;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-create.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-create.json index 427361a3..e11de448 100755 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-create.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-create.json @@ -1 +1,551 @@ -[{"id":"b6f76cf0.bed9d","type":"dgstart","name":"DGSTART","outputs":1,"x":295,"y":190,"z":"1afa105.0a3f0f","wires":[["ff3a2e96.20279"]]},{"id":"ff3a2e96.20279","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":391.2380790710449,"y":250.95239067077637,"z":"1afa105.0a3f0f","wires":[["b753df27.1ee1e"]]},{"id":"b753df27.1ee1e","type":"method","name":"security-zone-topology-operation-create","xml":"\n","comments":"","outputs":1,"x":437.15485763549805,"y":286.1904458999634,"z":"1afa105.0a3f0f","wires":[["3d5f9815.bb72d8"]]},{"id":"3d5f9815.bb72d8","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":345.47619247436523,"y":429.5237879753113,"z":"1afa105.0a3f0f","wires":[["bd924d4b.6ac3d","58426f57.d9671","87dd9628.4b8e08","24e1c2bf.f38e3e","56c65e21.0c536","42ea3bdc.05eb14","ad98be46.853ca","9549d5d.4d0ae28","7db0224a.ddf40c","c1426d52.6c3f3","8fad2375.b2e97"]]},{"id":"58426f57.d9671","type":"returnSuccess","name":"return success","xml":"\n\n\n\n","comments":"","x":612.0001106262207,"y":1099.2145080566406,"z":"1afa105.0a3f0f","wires":[]},{"id":"bd924d4b.6ac3d","type":"set","name":"set output to api handler","xml":"\n\n\n\n \n","comments":"","x":640.7540245056152,"y":1063.3370542526245,"z":"1afa105.0a3f0f","wires":[]},{"id":"c1426d52.6c3f3","type":"set","name":"set allotted-resource-oper-status","xml":"\n\n\n\n\n\n","comments":"","x":651.7542190551758,"y":810.0514001846313,"z":"1afa105.0a3f0f","wires":[]},{"id":"24e1c2bf.f38e3e","type":"set","name":"set tmp.ar.self-link","xml":"\n\n\n","comments":"","x":607.7380638122559,"y":403.33332538604736,"z":"1afa105.0a3f0f","wires":[]},{"id":"87dd9628.4b8e08","type":"set","name":"set tmp.ar.allotted-resource-id,etc","xml":"\n\n\n\n\n\n","comments":"","x":654.9973258972168,"y":369.59259128570557,"z":"1afa105.0a3f0f","wires":[]},{"id":"56c65e21.0c536","type":"execute","name":"execute Properties","xml":"\n \n \n","comments":"","outputs":1,"x":613.9934196472168,"y":439.23152446746826,"z":"1afa105.0a3f0f","wires":[[]]},{"id":"ad98be46.853ca","type":"execute","name":"execute RestApiCallNode - Get AR by id","xml":"\n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":676.5187530517578,"y":600.4594917297363,"z":"1afa105.0a3f0f","wires":[["26a7a122.8ca35e","eef0e4d0.faeba8"]]},{"id":"42ea3bdc.05eb14","type":"execute","name":"generate allotted-resource url","xml":"\n \n \n \n \n","comments":"","outputs":1,"x":642.0648536682129,"y":499.0172290802002,"z":"1afa105.0a3f0f","wires":[[]]},{"id":"26a7a122.8ca35e","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":933.8148918151855,"y":599.2672522068024,"z":"1afa105.0a3f0f","wires":[["ba2d298f.ee9da8"]]},{"id":"9549d5d.4d0ae28","type":"execute","name":"execute RestApiCallNode - PUT AR by id","xml":"\n \n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":684.5293121337891,"y":953.4341316223145,"z":"1afa105.0a3f0f","wires":[["c81ee454.030d28","6308f6ba.6c5ee8","f6e148d1.5bbbc8"]]},{"id":"c81ee454.030d28","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":954.837329864502,"y":1006.432332418859,"z":"1afa105.0a3f0f","wires":[["a2f954df.7d6a08"]]},{"id":"6308f6ba.6c5ee8","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":945.8373794555664,"y":974.9323581680655,"z":"1afa105.0a3f0f","wires":[["a2f954df.7d6a08"]]},{"id":"f6e148d1.5bbbc8","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":949.5874176025391,"y":945.2894630432129,"z":"1afa105.0a3f0f","wires":[["956bdde7.54a34"]]},{"id":"a2f954df.7d6a08","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1115.587417602539,"y":975.6823820099235,"z":"1afa105.0a3f0f","wires":[]},{"id":"ba2d298f.ee9da8","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1114.8148460388184,"y":599.7672016620636,"z":"1afa105.0a3f0f","wires":[["f6b8a443.ce37c8","7f9a9607.9deb78"]]},{"id":"f6b8a443.ce37c8","type":"switchNode","name":"switch sz length","xml":"\n","comments":"","outputs":1,"x":1360.6720924377441,"y":634.052964925766,"z":"1afa105.0a3f0f","wires":[["c19598d2.19bd88"]]},{"id":"c19598d2.19bd88","type":"other","name":"outcome 1","xml":"\n","comments":"","outputs":1,"x":1551.6720962524414,"y":634.0529625415802,"z":"1afa105.0a3f0f","wires":[["852776b8.720618"]]},{"id":"20c1fba5.738554","type":"set","name":"set sz-ar from get","xml":"\n\n","comments":"","x":1951.5292320251465,"y":634.6243867874146,"z":"1afa105.0a3f0f","wires":[]},{"id":"852776b8.720618","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1722.5290794372559,"y":634.6244316101074,"z":"1afa105.0a3f0f","wires":[["20c1fba5.738554","37c4ecf.ab37e14","b8ed9202.62a45"]]},{"id":"37c4ecf.ab37e14","type":"set","name":"set oper-status","xml":"\n\n\n\n\n","comments":"","x":1949.5294761657715,"y":702.0529508590698,"z":"1afa105.0a3f0f","wires":[]},{"id":"a2659467.3372c8","type":"comment","name":"GET security-zone-allotted-resource from mdsal","info":"","comments":"","x":701.8148155212402,"y":563.7671926021576,"z":"1afa105.0a3f0f","wires":[]},{"id":"b8ed9202.62a45","type":"switchNode","name":"switch order-status","xml":"\n","comments":"","outputs":1,"x":1959.52925491333,"y":667.6243848800659,"z":"1afa105.0a3f0f","wires":[["994a7d02.f776","c6432d89.74604"]]},{"id":"994a7d02.f776","type":"outcome","name":"outcome PendingCreate","xml":"\n","comments":"","outputs":1,"x":2171.1292114257812,"y":628.6243848800659,"z":"1afa105.0a3f0f","wires":[["edf3836c.7ac5a"]]},{"id":"c6432d89.74604","type":"outcome","name":"outcome Other","xml":"\n","comments":"","outputs":1,"x":2196.8435859680176,"y":664.052975654602,"z":"1afa105.0a3f0f","wires":[["edf3836c.7ac5a"]]},{"id":"242cf515.aebfea","type":"comment","name":"Set allotted-resource-identifiers","info":"","comments":"","x":657.3386383056641,"y":654.3386459350586,"z":"1afa105.0a3f0f","wires":[]},{"id":"7f9a9607.9deb78","type":"set","name":"save backup copy of mdsal-ar for rollback","xml":"\n\n","comments":"","x":1440.3864250183105,"y":599.7672936916351,"z":"1afa105.0a3f0f","wires":[]},{"id":"1ab1e0dc.601f6f","type":"comment","name":"Create urls for restapi","info":"","comments":"","x":612.9576606750488,"y":468.6243562698364,"z":"1afa105.0a3f0f","wires":[]},{"id":"956bdde7.54a34","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1091.2433853149414,"y":941.481632232666,"z":"1afa105.0a3f0f","wires":[[]]},{"id":"2ad43a51.cbb826","type":"comment","name":"TO DO: vnf/put parent","info":"","comments":"","x":625.2433776855468,"y":875.4815540313718,"z":"1afa105.0a3f0f","wires":[]},{"id":"7db0224a.ddf40c","type":"execute","name":"execute getTime","xml":"\n \n\n","comments":"","outputs":1,"x":599.2433815002441,"y":771.4815549850464,"z":"1afa105.0a3f0f","wires":[[]]},{"id":"eef0e4d0.faeba8","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":933.5766868591309,"y":635.4814250469208,"z":"1afa105.0a3f0f","wires":[["c1d6759.acebc88"]]},{"id":"c1d6759.acebc88","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1113.5766372680664,"y":636.1479756832123,"z":"1afa105.0a3f0f","wires":[[]]},{"id":"8fad2375.b2e97","type":"set","name":"set id","xml":"\n\n\n\n\n\n\n\n\n","comments":"","x":582.2434234619141,"y":691.1481666564941,"z":"1afa105.0a3f0f","wires":[]},{"id":"edf3836c.7ac5a","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2385.5997276306152,"y":630.0000190734863,"z":"1afa105.0a3f0f","wires":[[]]}] +[ + { + "id": "b6f76cf0.bed9d", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 295, + "y": 190, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "ff3a2e96.20279" + ] + ] + }, + { + "id": "ff3a2e96.20279", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 391.2380790710449, + "y": 250.95239067077637, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "b753df27.1ee1e" + ] + ] + }, + { + "id": "b753df27.1ee1e", + "type": "method", + "name": "security-zone-topology-operation-create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 437.15485763549805, + "y": 286.1904458999634, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "3d5f9815.bb72d8" + ] + ] + }, + { + "id": "3d5f9815.bb72d8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 345.47619247436523, + "y": 429.5237879753113, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "bd924d4b.6ac3d", + "58426f57.d9671", + "87dd9628.4b8e08", + "24e1c2bf.f38e3e", + "56c65e21.0c536", + "42ea3bdc.05eb14", + "ad98be46.853ca", + "9549d5d.4d0ae28", + "7db0224a.ddf40c", + "c1426d52.6c3f3", + "8fad2375.b2e97" + ] + ] + }, + { + "id": "58426f57.d9671", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 612.0001106262207, + "y": 1099.2145080566406, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "bd924d4b.6ac3d", + "type": "set", + "name": "set output to api handler", + "xml": "\n\n\n\n \n", + "comments": "", + "x": 640.7540245056152, + "y": 1063.3370542526245, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "c1426d52.6c3f3", + "type": "set", + "name": "set allotted-resource-oper-status", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 651.7542190551758, + "y": 810.0514001846313, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "24e1c2bf.f38e3e", + "type": "set", + "name": "set tmp.ar.self-link", + "xml": "\n\n\n", + "comments": "", + "x": 607.7380638122559, + "y": 403.33332538604736, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "87dd9628.4b8e08", + "type": "set", + "name": "set tmp.ar.allotted-resource-id,etc", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 654.9973258972168, + "y": 369.59259128570557, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "56c65e21.0c536", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 613.9934196472168, + "y": 439.23152446746826, + "z": "1afa105.0a3f0f", + "wires": [ + [] + ] + }, + { + "id": "ad98be46.853ca", + "type": "execute", + "name": "execute RestApiCallNode - Get AR by id", + "xml": "\n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 676.5187530517578, + "y": 600.4594917297363, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "26a7a122.8ca35e", + "eef0e4d0.faeba8" + ] + ] + }, + { + "id": "42ea3bdc.05eb14", + "type": "execute", + "name": "generate allotted-resource url", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 642.0648536682129, + "y": 499.0172290802002, + "z": "1afa105.0a3f0f", + "wires": [ + [] + ] + }, + { + "id": "26a7a122.8ca35e", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 933.8148918151855, + "y": 599.2672522068024, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "ba2d298f.ee9da8" + ] + ] + }, + { + "id": "9549d5d.4d0ae28", + "type": "execute", + "name": "execute RestApiCallNode - PUT AR by id", + "xml": "\n \n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 684.5293121337891, + "y": 953.4341316223145, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "c81ee454.030d28", + "6308f6ba.6c5ee8", + "f6e148d1.5bbbc8" + ] + ] + }, + { + "id": "c81ee454.030d28", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 954.837329864502, + "y": 1006.432332418859, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "a2f954df.7d6a08" + ] + ] + }, + { + "id": "6308f6ba.6c5ee8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 945.8373794555664, + "y": 974.9323581680655, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "a2f954df.7d6a08" + ] + ] + }, + { + "id": "f6e148d1.5bbbc8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 949.5874176025391, + "y": 945.2894630432129, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "956bdde7.54a34" + ] + ] + }, + { + "id": "a2f954df.7d6a08", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1115.587417602539, + "y": 975.6823820099235, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "ba2d298f.ee9da8", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1114.8148460388184, + "y": 599.7672016620636, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "f6b8a443.ce37c8", + "7f9a9607.9deb78" + ] + ] + }, + { + "id": "f6b8a443.ce37c8", + "type": "switchNode", + "name": "switch sz length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1360.6720924377441, + "y": 634.052964925766, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "c19598d2.19bd88" + ] + ] + }, + { + "id": "c19598d2.19bd88", + "type": "other", + "name": "outcome 1", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1551.6720962524414, + "y": 634.0529625415802, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "852776b8.720618" + ] + ] + }, + { + "id": "20c1fba5.738554", + "type": "set", + "name": "set sz-ar from get", + "xml": "\n\n", + "comments": "", + "x": 1951.5292320251465, + "y": 634.6243867874146, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "852776b8.720618", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1722.5290794372559, + "y": 634.6244316101074, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "20c1fba5.738554", + "37c4ecf.ab37e14", + "b8ed9202.62a45" + ] + ] + }, + { + "id": "37c4ecf.ab37e14", + "type": "set", + "name": "set oper-status", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1949.5294761657715, + "y": 702.0529508590698, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "a2659467.3372c8", + "type": "comment", + "name": "GET security-zone-allotted-resource from mdsal", + "info": "", + "comments": "", + "x": 701.8148155212402, + "y": 563.7671926021576, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "b8ed9202.62a45", + "type": "switchNode", + "name": "switch order-status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1959.52925491333, + "y": 667.6243848800659, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "994a7d02.f776", + "c6432d89.74604" + ] + ] + }, + { + "id": "994a7d02.f776", + "type": "outcome", + "name": "outcome PendingCreate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2171.1292114257812, + "y": 628.6243848800659, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "edf3836c.7ac5a" + ] + ] + }, + { + "id": "c6432d89.74604", + "type": "outcome", + "name": "outcome Other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2196.8435859680176, + "y": 664.052975654602, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "edf3836c.7ac5a" + ] + ] + }, + { + "id": "242cf515.aebfea", + "type": "comment", + "name": "Set allotted-resource-identifiers", + "info": "", + "comments": "", + "x": 657.3386383056641, + "y": 654.3386459350586, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "7f9a9607.9deb78", + "type": "set", + "name": "save backup copy of mdsal-ar for rollback", + "xml": "\n\n", + "comments": "", + "x": 1440.3864250183105, + "y": 599.7672936916351, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "1ab1e0dc.601f6f", + "type": "comment", + "name": "Create urls for restapi", + "info": "", + "comments": "", + "x": 612.9576606750488, + "y": 468.6243562698364, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "956bdde7.54a34", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1091.2433853149414, + "y": 941.481632232666, + "z": "1afa105.0a3f0f", + "wires": [ + [] + ] + }, + { + "id": "2ad43a51.cbb826", + "type": "comment", + "name": "TO DO: vnf/put parent", + "info": "", + "comments": "", + "x": 625.2433776855468, + "y": 875.4815540313718, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "7db0224a.ddf40c", + "type": "execute", + "name": "execute getTime", + "xml": "\n \n\n", + "comments": "", + "outputs": 1, + "x": 599.2433815002441, + "y": 771.4815549850464, + "z": "1afa105.0a3f0f", + "wires": [ + [] + ] + }, + { + "id": "eef0e4d0.faeba8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 933.5766868591309, + "y": 635.4814250469208, + "z": "1afa105.0a3f0f", + "wires": [ + [ + "c1d6759.acebc88" + ] + ] + }, + { + "id": "c1d6759.acebc88", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1113.5766372680664, + "y": 636.1479756832123, + "z": "1afa105.0a3f0f", + "wires": [ + [] + ] + }, + { + "id": "8fad2375.b2e97", + "type": "set", + "name": "set id", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 582.2434234619141, + "y": 691.1481666564941, + "z": "1afa105.0a3f0f", + "wires": [] + }, + { + "id": "edf3836c.7ac5a", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2385.5997276306152, + "y": 630.0000190734863, + "z": "1afa105.0a3f0f", + "wires": [ + [] + ] + } +] \ No newline at end of file