From 5a41e5c15bdbfba0e84e89e13bb06d9930988e77 Mon Sep 17 00:00:00 2001 From: "Brandon, Bruce (bb2697)" Date: Thu, 26 Jul 2018 18:10:42 +0000 Subject: Generic resource API DG catch up Generic resource API DG catch up with several new capabilities Change-Id: I6ba4a1716693a2fb0ba5314f60038277a50249a3 Issue-ID: SDNC-403 Signed-off-by: Brandon, Bruce (bb2697) Former-commit-id: dd97cf829ce1c0b3bbb0e98e93a2e6619d945beb --- ..._security-zone-topology-operation-unassign.json | 491 ++++++++++++++++++++- 1 file changed, 490 insertions(+), 1 deletion(-) (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-unassign.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-unassign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-unassign.json index e0ba0886..1edf25f3 100755 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-unassign.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_security-zone-topology-operation-unassign.json @@ -1 +1,490 @@ -[{"id":"8f1f2ad4.1b2628","type":"dgstart","name":"DGSTART","outputs":1,"x":185,"y":110,"z":"892de9cf.a3e7e8","wires":[["aef28f38.d3ad2"]]},{"id":"aef28f38.d3ad2","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":281.2380790710449,"y":170.95239067077637,"z":"892de9cf.a3e7e8","wires":[["d541214e.1421c"]]},{"id":"d541214e.1421c","type":"method","name":"security-zone-topology-operation-unassign","xml":"\n","comments":"","outputs":1,"x":325.15489196777344,"y":210.190447807312,"z":"892de9cf.a3e7e8","wires":[["3d909232.be8cbe"]]},{"id":"3d909232.be8cbe","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":235.47619247436523,"y":349.5237879753113,"z":"892de9cf.a3e7e8","wires":[["ac546d04.a44e3","65b7ebff.45ef54","887af0a1.cfd5a","16719562.f89cfb","921e5db9.a3742","ae6a6800.748f18","4585bd6c.db3454","a30a4193.dc67c"]]},{"id":"65b7ebff.45ef54","type":"returnSuccess","name":"return success","xml":"\n\n\n\n","comments":"","x":502.0001106262207,"y":1019.2145080566406,"z":"892de9cf.a3e7e8","wires":[]},{"id":"ac546d04.a44e3","type":"set","name":"set output to api handler","xml":"\n\n\n\n \n","comments":"","x":530.7540245056152,"y":983.3370542526245,"z":"892de9cf.a3e7e8","wires":[]},{"id":"16719562.f89cfb","type":"set","name":"set tmp.ar.self-link","xml":"\n\n\n","comments":"","x":497.73806381225586,"y":323.33332538604736,"z":"892de9cf.a3e7e8","wires":[]},{"id":"887af0a1.cfd5a","type":"set","name":"set tmp.ar.allotted-resource-id,etc","xml":"\n\n\n\n\n\n","comments":"","x":544.9973258972168,"y":289.59259128570557,"z":"892de9cf.a3e7e8","wires":[]},{"id":"921e5db9.a3742","type":"execute","name":"execute Properties","xml":"\n \n \n","comments":"","outputs":1,"x":503.9934196472168,"y":359.23152446746826,"z":"892de9cf.a3e7e8","wires":[[]]},{"id":"4585bd6c.db3454","type":"execute","name":"execute RestApiCallNode - Get AR by id","xml":"\n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":566.5187530517578,"y":520.4594917297363,"z":"892de9cf.a3e7e8","wires":[["39c78959.7ed206","f4ec9c65.dbf1a"]]},{"id":"ae6a6800.748f18","type":"execute","name":"generate allotted-resource url","xml":"\n \n \n \n \n","comments":"","outputs":1,"x":532.0648536682129,"y":419.0172290802002,"z":"892de9cf.a3e7e8","wires":[[]]},{"id":"39c78959.7ed206","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":823.8148918151855,"y":519.2672522068024,"z":"892de9cf.a3e7e8","wires":[["aa4578bf.e01898"]]},{"id":"cf288e81.867c","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":844.837329864502,"y":926.432332418859,"z":"892de9cf.a3e7e8","wires":[["562e732f.776e5c"]]},{"id":"8f1f61fb.4c4c9","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":835.8373794555664,"y":894.9323581680655,"z":"892de9cf.a3e7e8","wires":[["562e732f.776e5c"]]},{"id":"48115134.9ae56","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":839.5874176025391,"y":865.2894630432129,"z":"892de9cf.a3e7e8","wires":[["9c761fba.db0c3"]]},{"id":"562e732f.776e5c","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1005.5874176025391,"y":895.6823820099235,"z":"892de9cf.a3e7e8","wires":[]},{"id":"aa4578bf.e01898","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1004.8148460388184,"y":519.7672016620636,"z":"892de9cf.a3e7e8","wires":[["d17cf2f0.cec85","dae16c74.e3b7c"]]},{"id":"d17cf2f0.cec85","type":"switchNode","name":"switch sz length","xml":"\n","comments":"","outputs":1,"x":1250.6720924377441,"y":554.052964925766,"z":"892de9cf.a3e7e8","wires":[["9eb758cd.982008"]]},{"id":"9eb758cd.982008","type":"other","name":"outcome 1","xml":"\n","comments":"","outputs":1,"x":1441.6720962524414,"y":554.0529625415802,"z":"892de9cf.a3e7e8","wires":[["e43335e7.a2b4b8"]]},{"id":"90a7fa85.7e06d8","type":"set","name":"set sz-ar from get","xml":"\n\n","comments":"","x":1841.5292320251465,"y":554.6243867874146,"z":"892de9cf.a3e7e8","wires":[]},{"id":"e43335e7.a2b4b8","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1612.5290794372559,"y":554.6244316101074,"z":"892de9cf.a3e7e8","wires":[["90a7fa85.7e06d8","82e79827.7b2528","e9d4c55b.3b68e8"]]},{"id":"82e79827.7b2528","type":"set","name":"set oper-status","xml":"\n\n\n\n\n","comments":"","x":1839.5294761657715,"y":622.0529508590698,"z":"892de9cf.a3e7e8","wires":[]},{"id":"dceff592.9c16a8","type":"comment","name":"GET security-zone-allotted-resource from mdsal","info":"","comments":"","x":591.8148155212402,"y":483.7671926021576,"z":"892de9cf.a3e7e8","wires":[]},{"id":"e9d4c55b.3b68e8","type":"switchNode","name":"switch order-status","xml":"\n","comments":"","outputs":1,"x":1849.52925491333,"y":587.6243848800659,"z":"892de9cf.a3e7e8","wires":[["ee32ca42.029ac8","f44f15e1.8ed938"]]},{"id":"ee32ca42.029ac8","type":"outcome","name":"outcome Created","xml":"\n","comments":"","outputs":1,"x":2061.1292114257812,"y":548.6243848800659,"z":"892de9cf.a3e7e8","wires":[["74e489f7.35eb68"]]},{"id":"f44f15e1.8ed938","type":"outcome","name":"outcome Other","xml":"\n","comments":"","outputs":1,"x":2086.8435859680176,"y":584.052975654602,"z":"892de9cf.a3e7e8","wires":[["74e489f7.35eb68"]]},{"id":"dae16c74.e3b7c","type":"set","name":"save backup copy of mdsal-ar for rollback","xml":"\n\n","comments":"","x":1330.3864250183105,"y":519.7672936916351,"z":"892de9cf.a3e7e8","wires":[]},{"id":"972a22dc.b7b85","type":"comment","name":"Create urls for restapi","info":"","comments":"","x":502.9576606750488,"y":388.6243562698364,"z":"892de9cf.a3e7e8","wires":[]},{"id":"9c761fba.db0c3","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":981.2433853149414,"y":861.481632232666,"z":"892de9cf.a3e7e8","wires":[[]]},{"id":"f4ec9c65.dbf1a","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":823.5766868591309,"y":555.4814250469208,"z":"892de9cf.a3e7e8","wires":[["8c932988.c6f7a8"]]},{"id":"8c932988.c6f7a8","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1003.5766372680664,"y":556.1479756832123,"z":"892de9cf.a3e7e8","wires":[[]]},{"id":"74e489f7.35eb68","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2275.5997276306152,"y":550.0000190734863,"z":"892de9cf.a3e7e8","wires":[[]]},{"id":"a30a4193.dc67c","type":"execute","name":"execute RestApiCallNode - PUT AR by id","xml":"\n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":568.0000610351562,"y":878.0000267028809,"z":"892de9cf.a3e7e8","wires":[["48115134.9ae56","8f1f61fb.4c4c9","cf288e81.867c"]]}] +[ + { + "id": "8f1f2ad4.1b2628", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 185, + "y": 110, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "aef28f38.d3ad2" + ] + ] + }, + { + "id": "aef28f38.d3ad2", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 281.2380790710449, + "y": 170.95239067077637, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "d541214e.1421c" + ] + ] + }, + { + "id": "d541214e.1421c", + "type": "method", + "name": "security-zone-topology-operation-unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 325.15489196777344, + "y": 210.190447807312, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "3d909232.be8cbe" + ] + ] + }, + { + "id": "3d909232.be8cbe", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 235.47619247436523, + "y": 349.5237879753113, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "ac546d04.a44e3", + "65b7ebff.45ef54", + "887af0a1.cfd5a", + "16719562.f89cfb", + "921e5db9.a3742", + "ae6a6800.748f18", + "4585bd6c.db3454", + "a30a4193.dc67c" + ] + ] + }, + { + "id": "65b7ebff.45ef54", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 502.0001106262207, + "y": 1019.2145080566406, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "ac546d04.a44e3", + "type": "set", + "name": "set output to api handler", + "xml": "\n\n\n\n \n", + "comments": "", + "x": 530.7540245056152, + "y": 983.3370542526245, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "16719562.f89cfb", + "type": "set", + "name": "set tmp.ar.self-link", + "xml": "\n\n\n", + "comments": "", + "x": 497.73806381225586, + "y": 323.33332538604736, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "887af0a1.cfd5a", + "type": "set", + "name": "set tmp.ar.allotted-resource-id,etc", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 544.9973258972168, + "y": 289.59259128570557, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "921e5db9.a3742", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 503.9934196472168, + "y": 359.23152446746826, + "z": "892de9cf.a3e7e8", + "wires": [ + [] + ] + }, + { + "id": "4585bd6c.db3454", + "type": "execute", + "name": "execute RestApiCallNode - Get AR by id", + "xml": "\n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 566.5187530517578, + "y": 520.4594917297363, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "39c78959.7ed206", + "f4ec9c65.dbf1a" + ] + ] + }, + { + "id": "ae6a6800.748f18", + "type": "execute", + "name": "generate allotted-resource url", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 532.0648536682129, + "y": 419.0172290802002, + "z": "892de9cf.a3e7e8", + "wires": [ + [] + ] + }, + { + "id": "39c78959.7ed206", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 823.8148918151855, + "y": 519.2672522068024, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "aa4578bf.e01898" + ] + ] + }, + { + "id": "cf288e81.867c", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 844.837329864502, + "y": 926.432332418859, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "562e732f.776e5c" + ] + ] + }, + { + "id": "8f1f61fb.4c4c9", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 835.8373794555664, + "y": 894.9323581680655, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "562e732f.776e5c" + ] + ] + }, + { + "id": "48115134.9ae56", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 839.5874176025391, + "y": 865.2894630432129, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "9c761fba.db0c3" + ] + ] + }, + { + "id": "562e732f.776e5c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1005.5874176025391, + "y": 895.6823820099235, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "aa4578bf.e01898", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1004.8148460388184, + "y": 519.7672016620636, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "d17cf2f0.cec85", + "dae16c74.e3b7c" + ] + ] + }, + { + "id": "d17cf2f0.cec85", + "type": "switchNode", + "name": "switch sz length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1250.6720924377441, + "y": 554.052964925766, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "9eb758cd.982008" + ] + ] + }, + { + "id": "9eb758cd.982008", + "type": "other", + "name": "outcome 1", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1441.6720962524414, + "y": 554.0529625415802, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "e43335e7.a2b4b8" + ] + ] + }, + { + "id": "90a7fa85.7e06d8", + "type": "set", + "name": "set sz-ar from get", + "xml": "\n\n", + "comments": "", + "x": 1841.5292320251465, + "y": 554.6243867874146, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "e43335e7.a2b4b8", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1612.5290794372559, + "y": 554.6244316101074, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "90a7fa85.7e06d8", + "82e79827.7b2528", + "e9d4c55b.3b68e8" + ] + ] + }, + { + "id": "82e79827.7b2528", + "type": "set", + "name": "set oper-status", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1839.5294761657715, + "y": 622.0529508590698, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "dceff592.9c16a8", + "type": "comment", + "name": "GET security-zone-allotted-resource from mdsal", + "info": "", + "comments": "", + "x": 591.8148155212402, + "y": 483.7671926021576, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "e9d4c55b.3b68e8", + "type": "switchNode", + "name": "switch order-status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1849.52925491333, + "y": 587.6243848800659, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "ee32ca42.029ac8", + "f44f15e1.8ed938" + ] + ] + }, + { + "id": "ee32ca42.029ac8", + "type": "outcome", + "name": "outcome Created", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2061.1292114257812, + "y": 548.6243848800659, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "74e489f7.35eb68" + ] + ] + }, + { + "id": "f44f15e1.8ed938", + "type": "outcome", + "name": "outcome Other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2086.8435859680176, + "y": 584.052975654602, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "74e489f7.35eb68" + ] + ] + }, + { + "id": "dae16c74.e3b7c", + "type": "set", + "name": "save backup copy of mdsal-ar for rollback", + "xml": "\n\n", + "comments": "", + "x": 1330.3864250183105, + "y": 519.7672936916351, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "972a22dc.b7b85", + "type": "comment", + "name": "Create urls for restapi", + "info": "", + "comments": "", + "x": 502.9576606750488, + "y": 388.6243562698364, + "z": "892de9cf.a3e7e8", + "wires": [] + }, + { + "id": "9c761fba.db0c3", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 981.2433853149414, + "y": 861.481632232666, + "z": "892de9cf.a3e7e8", + "wires": [ + [] + ] + }, + { + "id": "f4ec9c65.dbf1a", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 823.5766868591309, + "y": 555.4814250469208, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "8c932988.c6f7a8" + ] + ] + }, + { + "id": "8c932988.c6f7a8", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1003.5766372680664, + "y": 556.1479756832123, + "z": "892de9cf.a3e7e8", + "wires": [ + [] + ] + }, + { + "id": "74e489f7.35eb68", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2275.5997276306152, + "y": 550.0000190734863, + "z": "892de9cf.a3e7e8", + "wires": [ + [] + ] + }, + { + "id": "a30a4193.dc67c", + "type": "execute", + "name": "execute RestApiCallNode - PUT AR by id", + "xml": "\n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 568.0000610351562, + "y": 878.0000267028809, + "z": "892de9cf.a3e7e8", + "wires": [ + [ + "48115134.9ae56", + "8f1f61fb.4c4c9", + "cf288e81.867c" + ] + ] + } +] \ No newline at end of file -- cgit 1.2.3-korg