X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2FGENERIC-RESOURCE-API_policy-update-notify-operation.json;h=318584dcede56e44c1c3108b15a2695097e7dcc8;hb=5a41e5c15bdbfba0e84e89e13bb06d9930988e77;hp=9c22c1f40816cc60a544375799a623b138e29385;hpb=3b79de733187d2c1c9bccf626958a43bb06dbf2e;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_policy-update-notify-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_policy-update-notify-operation.json index 9c22c1f4..318584dc 100755 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_policy-update-notify-operation.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_policy-update-notify-operation.json @@ -1 +1,445 @@ -[{"id":"2b8f0645.8e4dda","type":"comment","name":"POLICY-UPDATE-NOTIFY-OPERATION","info":"","comments":"","x":538.3928527832031,"y":34.28571319580078,"z":"c4ddb531.504de8","wires":[]},{"id":"640c5bf2.e2b254","type":"dgstart","name":"DGSTART","outputs":1,"x":110.14285278320312,"y":85.03571319580078,"z":"c4ddb531.504de8","wires":[["6371d353.9eabbc"]]},{"id":"6371d353.9eabbc","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":224.46426391601562,"y":124.7023868560791,"z":"c4ddb531.504de8","wires":[["af806a5c.37c7f8"]]},{"id":"af806a5c.37c7f8","type":"method","name":"method policy-update-notify-operation","xml":"\n","comments":"","outputs":1,"x":201,"y":165.0357151031494,"z":"c4ddb531.504de8","wires":[["59ff8d7a.32d3d4"]]},{"id":"d17a989.54e5868","type":"returnSuccess","name":"return success","xml":"\n\n\n\n","comments":"","x":338.3810272216797,"y":578.9882106781006,"z":"c4ddb531.504de8","wires":[]},{"id":"3cfb5438.adb59c","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":680.2977676391602,"y":313.80953311920166,"z":"c4ddb531.504de8","wires":[["4c9eba0e.d56fd4","bbad0a81.e6a3e8","5bf6f09a.aa2a","dadfe54.591ea18","5210aeb1.e5ac2"]]},{"id":"4c9eba0e.d56fd4","type":"execute","name":"RestapiCallnode getConfig","xml":"\n \n \n \n \n \n \n \n \n","comments":"","outputs":1,"x":904.285774230957,"y":198.57144355773926,"z":"c4ddb531.504de8","wires":[[]]},{"id":"371b8aa7.b584d6","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":1145.7143020629883,"y":342.85714054107666,"z":"c4ddb531.504de8","wires":[["bc023fa9.fe4ae"]]},{"id":"bc023fa9.fe4ae","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1309.4286270141602,"y":342.78561639785767,"z":"c4ddb531.504de8","wires":[[]]},{"id":"eb8e6d2.61e729","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":1141.8518409729004,"y":390.7803535461426,"z":"c4ddb531.504de8","wires":[["c447c4e0.dd61f8"]]},{"id":"c447c4e0.dd61f8","type":"returnFailure","name":"return failure","xml":"\n\n\n","comments":"","x":1306.2857246398926,"y":390.42856311798096,"z":"c4ddb531.504de8","wires":[]},{"id":"5bf6f09a.aa2a","type":"execute","name":"execute Contrail API update network policy","xml":"\n\n\n\n\n","comments":"","outputs":1,"x":987.1428680419922,"y":467.14284801483154,"z":"c4ddb531.504de8","wires":[["fca9fae0.1cd838","cadf6d1d.e304e"]]},{"id":"fca9fae0.1cd838","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":1240.0000457763672,"y":444.2856969833374,"z":"c4ddb531.504de8","wires":[["9b561741.693e18"]]},{"id":"9b561741.693e18","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1403.714370727539,"y":444.2141728401184,"z":"c4ddb531.504de8","wires":[[]]},{"id":"cadf6d1d.e304e","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":1236.1375846862793,"y":492.2089099884033,"z":"c4ddb531.504de8","wires":[["bc7e3f77.a2464"]]},{"id":"bc7e3f77.a2464","type":"returnFailure","name":"return failure","xml":"\n\n\n","comments":"","x":1400.5714683532715,"y":491.8571195602417,"z":"c4ddb531.504de8","wires":[]},{"id":"50b08b49.336914","type":"switchNode","name":"switch update-type","xml":"\n","comments":"","outputs":1,"x":349.9999771118164,"y":314.2857093811035,"z":"c4ddb531.504de8","wires":[["8100e6ab.3c2318"]]},{"id":"59ff8d7a.32d3d4","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":140,"y":445.714298248291,"z":"c4ddb531.504de8","wires":[["50b08b49.336914","d17a989.54e5868"]]},{"id":"8100e6ab.3c2318","type":"outcome","name":"Update","xml":"\n","comments":"","outputs":1,"x":523.5714454650879,"y":313.85714530944824,"z":"c4ddb531.504de8","wires":[["3cfb5438.adb59c"]]},{"id":"dadfe54.591ea18","type":"save","name":"insert to POLICY_UPDATE_NOTIFICATION","xml":"\n","comments":"","outputs":1,"x":992.8572158813477,"y":294.28569889068604,"z":"c4ddb531.504de8","wires":[[]]},{"id":"5210aeb1.e5ac2","type":"set","name":"set sql statement","xml":"\n\n\n","comments":"","x":909.9999465942383,"y":245.71427249908447,"z":"c4ddb531.504de8","wires":[]}] +[ + { + "id": "2b8f0645.8e4dda", + "type": "comment", + "name": "POLICY-UPDATE-NOTIFY-OPERATION", + "info": "", + "comments": "", + "x": 538.3928527832031, + "y": 34.28571319580078, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "640c5bf2.e2b254", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 110.14285278320312, + "y": 85.03571319580078, + "z": "c4ddb531.504de8", + "wires": [ + [ + "6371d353.9eabbc" + ] + ] + }, + { + "id": "6371d353.9eabbc", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 224.46426391601562, + "y": 124.7023868560791, + "z": "c4ddb531.504de8", + "wires": [ + [ + "af806a5c.37c7f8" + ] + ] + }, + { + "id": "af806a5c.37c7f8", + "type": "method", + "name": "method policy-update-notify-operation", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 201, + "y": 165.0357151031494, + "z": "c4ddb531.504de8", + "wires": [ + [ + "59ff8d7a.32d3d4" + ] + ] + }, + { + "id": "d17a989.54e5868", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 325.04773712158203, + "y": 783.9882183074951, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "3cfb5438.adb59c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 665.2977752685547, + "y": 443.8095178604126, + "z": "c4ddb531.504de8", + "wires": [ + [ + "bbad0a81.e6a3e8", + "dadfe54.591ea18", + "5210aeb1.e5ac2", + "7d21e501.763d7c", + "4ca8d575.f2c99c", + "5d81f8f2.13ee78", + "9cb05511.ecfcc8", + "5bf6f09a.aa2a", + "4c9eba0e.d56fd4" + ] + ] + }, + { + "id": "4c9eba0e.d56fd4", + "type": "execute", + "name": "RestapiCallnode getConfig", + "xml": "\n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 904.285774230957, + "y": 198.57144355773926, + "z": "c4ddb531.504de8", + "wires": [ + [] + ] + }, + { + "id": "371b8aa7.b584d6", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1144.0476684570312, + "y": 397.857141494751, + "z": "c4ddb531.504de8", + "wires": [ + [ + "bc023fa9.fe4ae" + ] + ] + }, + { + "id": "bc023fa9.fe4ae", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1307.7619934082031, + "y": 397.785617351532, + "z": "c4ddb531.504de8", + "wires": [ + [] + ] + }, + { + "id": "eb8e6d2.61e729", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1140.1852073669434, + "y": 445.7803544998169, + "z": "c4ddb531.504de8", + "wires": [ + [ + "c447c4e0.dd61f8" + ] + ] + }, + { + "id": "c447c4e0.dd61f8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1304.6190910339355, + "y": 445.4285640716553, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "5bf6f09a.aa2a", + "type": "execute", + "name": "execute Contrail API update network policy", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 973.8094635009766, + "y": 725.4761505126953, + "z": "c4ddb531.504de8", + "wires": [ + [ + "fca9fae0.1cd838", + "cadf6d1d.e304e" + ] + ] + }, + { + "id": "fca9fae0.1cd838", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1226.6666412353516, + "y": 702.6189994812012, + "z": "c4ddb531.504de8", + "wires": [ + [ + "9b561741.693e18" + ] + ] + }, + { + "id": "9b561741.693e18", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1390.3809661865234, + "y": 702.5474753379822, + "z": "c4ddb531.504de8", + "wires": [ + [] + ] + }, + { + "id": "cadf6d1d.e304e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1222.8041801452637, + "y": 750.5422124862671, + "z": "c4ddb531.504de8", + "wires": [ + [ + "bc7e3f77.a2464" + ] + ] + }, + { + "id": "bc7e3f77.a2464", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1385.809440612793, + "y": 751.6189785003662, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "50b08b49.336914", + "type": "switchNode", + "name": "switch update-type", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 334.99998474121094, + "y": 444.28569412231445, + "z": "c4ddb531.504de8", + "wires": [ + [ + "8100e6ab.3c2318" + ] + ] + }, + { + "id": "59ff8d7a.32d3d4", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 123.33332824707031, + "y": 614.0476264953613, + "z": "c4ddb531.504de8", + "wires": [ + [ + "50b08b49.336914", + "d17a989.54e5868" + ] + ] + }, + { + "id": "8100e6ab.3c2318", + "type": "outcome", + "name": "Update", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 508.5714530944824, + "y": 443.8571300506592, + "z": "c4ddb531.504de8", + "wires": [ + [ + "3cfb5438.adb59c" + ] + ] + }, + { + "id": "dadfe54.591ea18", + "type": "save", + "name": "insert to POLICY_UPDATE_NOTIFICATION", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 992.8572158813477, + "y": 294.28569889068604, + "z": "c4ddb531.504de8", + "wires": [ + [] + ] + }, + { + "id": "5210aeb1.e5ac2", + "type": "set", + "name": "set sql statement", + "xml": "\n\n\n", + "comments": "", + "x": 909.9999465942383, + "y": 245.71427249908447, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "7d21e501.763d7c", + "type": "set", + "name": "set tmp.policy-name", + "xml": "\n\n", + "comments": "", + "x": 916.6665954589844, + "y": 343.33336639404297, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "4ca8d575.f2c99c", + "type": "execute", + "name": "convert json config to variables", + "xml": "\n \n \n \n", + "comments": "", + "outputs": 1, + "x": 938.3333129882812, + "y": 520, + "z": "c4ddb531.504de8", + "wires": [ + [ + "215a8f00.3a1142", + "bf040853.679c08" + ] + ] + }, + { + "id": "215a8f00.3a1142", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1145.4761581420898, + "y": 497.14288330078125, + "z": "c4ddb531.504de8", + "wires": [ + [ + "dc65e70.190b018" + ] + ] + }, + { + "id": "dc65e70.190b018", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1309.1904830932617, + "y": 497.07135915756226, + "z": "c4ddb531.504de8", + "wires": [ + [] + ] + }, + { + "id": "bf040853.679c08", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1141.613697052002, + "y": 545.0660963058472, + "z": "c4ddb531.504de8", + "wires": [ + [ + "c3c3e9d5.9be4c8" + ] + ] + }, + { + "id": "c3c3e9d5.9be4c8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1306.0475807189941, + "y": 544.7143058776855, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "5d81f8f2.13ee78", + "type": "set", + "name": "set policy-name", + "xml": "\n\n", + "comments": "", + "x": 888.3333282470703, + "y": 608.3333606719971, + "z": "c4ddb531.504de8", + "wires": [] + }, + { + "id": "9cb05511.ecfcc8", + "type": "execute", + "name": "execute split", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 876.9047546386719, + "y": 657.6190423965454, + "z": "c4ddb531.504de8", + "wires": [ + [] + ] + } +] \ No newline at end of file