X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fvnfapi%2Fsrc%2Fmain%2Fjson%2FVNF-API_vnf-topology-activate.json;fp=platform-logic%2Fvnfapi%2Fsrc%2Fmain%2Fjson%2FVNF-API_vnf-topology-activate.json;h=e2cbc212543a9b42a75c30ee01dea4421206d183;hb=96ce6079fa678b9e3a465ecf3a89ebd397e4721e;hp=87f11f2c256e9366a88715f33087db22ce7c9c9d;hpb=6171a812c2b7822c6a62d4c2a920783faeb0b2d7;p=sdnc%2Foam.git diff --git a/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-activate.json b/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-activate.json index 87f11f2c..e2cbc212 100644 --- a/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-activate.json +++ b/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-activate.json @@ -1,4 +1,348 @@ - - - -[{"id":"88706b6c.d7e8f8","type":"comment","name":"VNF-TOPOLOGY-ACTIVATE","info":"","comments":"","x":705,"y":56.25,"z":"bdb7525f.b82ac","wires":[]},{"id":"9919a3a0.0db84","type":"set","name":"set: order-status = Active","xml":"\n\t","comments":"","outputs":1,"x":416.1111373901367,"y":392.19443130493164,"z":"bdb7525f.b82ac","wires":[[]]},{"id":"c7aef71a.0546b8","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":163.1111297607422,"y":159.6944465637207,"z":"bdb7525f.b82ac","wires":[["9919a3a0.0db84","d2f822b9.c0ba2","cb7a4a21.63f1a8","a2825e7b.f1f5b","997d743b.93f348","4d75942d.b062cc","4d26f461.ab756c","be925673.a43ed8"]]},{"id":"e1d7f022.0eec5","type":"method","name":"method vnf-topology-activate","xml":"\n","comments":"","outputs":1,"x":205.77781677246094,"y":103.86111068725586,"z":"bdb7525f.b82ac","wires":[["c7aef71a.0546b8"]]},{"id":"8ecea6c6.be7228","type":"service-logic","name":"VNF-API 2.0.0","module":"VNF-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":297.7777862548828,"y":56.86111831665039,"z":"bdb7525f.b82ac","wires":[["e1d7f022.0eec5"]]},{"id":"c14838e9.4ff538","type":"dgstart","name":"DGSTART","outputs":1,"x":132.6111297607422,"y":56.6944465637207,"z":"bdb7525f.b82ac","wires":[["8ecea6c6.be7228"]]},{"id":"d2f822b9.c0ba2","type":"switchNode","name":"switch: order-status = PendingCreate","xml":"\n\n","comments":"","outputs":1,"x":455.4445114135742,"y":288.5276527404785,"z":"bdb7525f.b82ac","wires":[["7fbf2884.337bd8"]]},{"id":"7fbf2884.337bd8","type":"other","name":"false","xml":"","comments":"","outputs":1,"x":704.7778625488281,"y":288.8609619140625,"z":"bdb7525f.b82ac","wires":[["6a86c40f.3cacbc"]]},{"id":"5ab563ab.d3ac3c","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":1363.110984802246,"y":287.8610134124756,"z":"bdb7525f.b82ac","wires":[]},{"id":"997d743b.93f348","type":"switchNode","name":"switch:vnf-id config == input","xml":"","comments":"","outputs":1,"x":427.88387298583984,"y":236.73988723754883,"z":"bdb7525f.b82ac","wires":[["18372478.ff847c"]]},{"id":"18372478.ff847c","type":"outcomeFalse","name":"false","xml":"\n","comments":"","outputs":1,"x":647.3383483886719,"y":236.9217071533203,"z":"bdb7525f.b82ac","wires":[["a2862881.e98788"]]},{"id":"a2862881.e98788","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":825.4292907714844,"y":236.830810546875,"z":"bdb7525f.b82ac","wires":[]},{"id":"cb7a4a21.63f1a8","type":"returnSuccess","name":"return success","xml":"\n\t","comments":"","x":385.22225189208984,"y":612.8610877990723,"z":"bdb7525f.b82ac","wires":[]},{"id":"6a86c40f.3cacbc","type":"switchNode","name":"switch: order-status = PendingUpdate","xml":"\n\n","comments":"","outputs":1,"x":955.7020568847656,"y":288.2853698730469,"z":"bdb7525f.b82ac","wires":[["8c8f2029.ca786"]]},{"id":"8c8f2029.ca786","type":"other","name":"false","xml":"","comments":"","outputs":1,"x":1198.1564636230469,"y":288.28533935546875,"z":"bdb7525f.b82ac","wires":[["5ab563ab.d3ac3c"]]},{"id":"3c6838ea.3c4ff8","type":"comment","name":"once success is returned, operational-data gets saved","info":"","comments":"","x":731.6288452148438,"y":573.79541015625,"z":"bdb7525f.b82ac","wires":[]},{"id":"a2825e7b.f1f5b","type":"set","name":"set: last-order-status = order-status","xml":"\n\t","comments":"","outputs":1,"x":449.22481536865234,"y":340.8081398010254,"z":"bdb7525f.b82ac","wires":[[]]},{"id":"b434395d.5c9488","type":"comment","name":"request-action = VNFActivateRequest, svc-action = activate","info":"","comments":"","x":711.7222137451172,"y":96.02778053283691,"z":"bdb7525f.b82ac","wires":[]},{"id":"4d75942d.b062cc","type":"set","name":"set: service-data = input","xml":"\n\t","comments":"","outputs":1,"x":413.1111373901367,"y":527.2500038146973,"z":"bdb7525f.b82ac","wires":[[]]},{"id":"4d26f461.ab756c","type":"set","name":"set: last-action ","xml":"\n\t","comments":"","outputs":1,"x":383.1111373901367,"y":439.25000381469727,"z":"bdb7525f.b82ac","wires":[[]]},{"id":"25f69501.db82ca","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":741.5238571166992,"y":482.2385025024414,"z":"bdb7525f.b82ac","wires":[["8b31c6d4.18a8e8"]]},{"id":"8b31c6d4.18a8e8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n", + "comments": "", + "outputs": 1, + "x": 205.77781677246094, + "y": 103.86111068725586, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "c7aef71a.0546b8" + ] + ] + }, + { + "id": "8ecea6c6.be7228", + "type": "service-logic", + "name": "VNF-API ${project.version}", + "module": "VNF-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 297.7777862548828, + "y": 56.86111831665039, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "e1d7f022.0eec5" + ] + ] + }, + { + "id": "c14838e9.4ff538", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 132.6111297607422, + "y": 56.6944465637207, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "8ecea6c6.be7228" + ] + ] + }, + { + "id": "d2f822b9.c0ba2", + "type": "switchNode", + "name": "switch: order-status = PendingCreate", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 455.4445114135742, + "y": 288.5276527404785, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "7fbf2884.337bd8" + ] + ] + }, + { + "id": "7fbf2884.337bd8", + "type": "other", + "name": "false", + "xml": "", + "comments": "", + "outputs": 1, + "x": 704.7778625488281, + "y": 288.8609619140625, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "6a86c40f.3cacbc" + ] + ] + }, + { + "id": "5ab563ab.d3ac3c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 1363.110984802246, + "y": 287.8610134124756, + "z": "bdb7525f.b82ac", + "wires": [] + }, + { + "id": "997d743b.93f348", + "type": "switchNode", + "name": "switch:vnf-id config == input", + "xml": "", + "comments": "", + "outputs": 1, + "x": 427.88387298583984, + "y": 236.73988723754883, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "18372478.ff847c" + ] + ] + }, + { + "id": "18372478.ff847c", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 647.3383483886719, + "y": 236.9217071533203, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "a2862881.e98788" + ] + ] + }, + { + "id": "a2862881.e98788", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 825.4292907714844, + "y": 236.830810546875, + "z": "bdb7525f.b82ac", + "wires": [] + }, + { + "id": "cb7a4a21.63f1a8", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\t", + "comments": "", + "x": 385.22225189208984, + "y": 612.8610877990723, + "z": "bdb7525f.b82ac", + "wires": [] + }, + { + "id": "6a86c40f.3cacbc", + "type": "switchNode", + "name": "switch: order-status = PendingUpdate", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 955.7020568847656, + "y": 288.2853698730469, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "8c8f2029.ca786" + ] + ] + }, + { + "id": "8c8f2029.ca786", + "type": "other", + "name": "false", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1198.1564636230469, + "y": 288.28533935546875, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "5ab563ab.d3ac3c" + ] + ] + }, + { + "id": "3c6838ea.3c4ff8", + "type": "comment", + "name": "once success is returned, operational-data gets saved", + "info": "", + "comments": "", + "x": 731.6288452148438, + "y": 573.79541015625, + "z": "bdb7525f.b82ac", + "wires": [] + }, + { + "id": "a2825e7b.f1f5b", + "type": "set", + "name": "set: last-order-status = order-status", + "xml": "\n\t", + "comments": "", + "outputs": 1, + "x": 449.22481536865234, + "y": 340.8081398010254, + "z": "bdb7525f.b82ac", + "wires": [ + [] + ] + }, + { + "id": "b434395d.5c9488", + "type": "comment", + "name": "request-action = VNFActivateRequest, svc-action = activate", + "info": "", + "comments": "", + "x": 711.7222137451172, + "y": 96.02778053283691, + "z": "bdb7525f.b82ac", + "wires": [] + }, + { + "id": "4d75942d.b062cc", + "type": "set", + "name": "set: service-data = input", + "xml": "\n\t", + "comments": "", + "outputs": 1, + "x": 413.1111373901367, + "y": 527.2500038146973, + "z": "bdb7525f.b82ac", + "wires": [ + [] + ] + }, + { + "id": "4d26f461.ab756c", + "type": "set", + "name": "set: last-action ", + "xml": "\n\t", + "comments": "", + "outputs": 1, + "x": 383.1111373901367, + "y": 439.25000381469727, + "z": "bdb7525f.b82ac", + "wires": [ + [] + ] + }, + { + "id": "25f69501.db82ca", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 741.5238571166992, + "y": 482.2385025024414, + "z": "bdb7525f.b82ac", + "wires": [ + [ + "8b31c6d4.18a8e8" + ] + ] + }, + { + "id": "8b31c6d4.18a8e8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t