X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fvnfapi%2Fsrc%2Fmain%2Fjson%2FVNF-API_vnf-topology-assign.json;h=b402137979ff7ede64d4983fa449f17e2184955d;hb=96ce6079fa678b9e3a465ecf3a89ebd397e4721e;hp=c681ab9b30206379f3c04cc868f8eebb15553e7d;hpb=6171a812c2b7822c6a62d4c2a920783faeb0b2d7;p=sdnc%2Foam.git diff --git a/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-assign.json b/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-assign.json index c681ab9b..b4021379 100644 --- a/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-assign.json +++ b/platform-logic/vnfapi/src/main/json/VNF-API_vnf-topology-assign.json @@ -1 +1,441 @@ -[{"id":"6b847111.14518","type":"dgstart","name":"DGSTART","outputs":1,"x":138,"y":100,"z":"f6aa4435.0ea2a8","wires":[["e8032bdd.c514c8"]]},{"id":"e8032bdd.c514c8","type":"service-logic","name":"VNF-API ${project.version}","module":"VNF-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":252,"y":160,"z":"f6aa4435.0ea2a8","wires":[["efc24499.7db518"]]},{"id":"efc24499.7db518","type":"method","name":"method vnf-topology-assign","xml":"\n","comments":"","outputs":1,"x":254.5,"y":220,"z":"f6aa4435.0ea2a8","wires":[["291cc045.48f06"]]},{"id":"291cc045.48f06","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":292,"y":280,"z":"f6aa4435.0ea2a8","wires":[["79076789.383708","d3435702.674a18","53b3c202.b3d34c","6511ce13.6b3e7","b261bb64.7dc868","730a4402.7a9fec","cc1eb17.357f85","ec4234b5.37aa58","e1123f17.441d3"]]},{"id":"79076789.383708","type":"set","name":"set: order-status = PendingCreate","xml":"\n\t","comments":"","x":594.5,"y":640,"z":"f6aa4435.0ea2a8","wires":[]},{"id":"d3435702.674a18","type":"returnSuccess","name":"return success","xml":"\n\t","comments":"","x":533.5,"y":720,"z":"f6aa4435.0ea2a8","wires":[]},{"id":"3098b2d1.15998e","type":"comment","name":"request-action = VNFActivateRequest","info":"","comments":"","x":222,"y":60,"z":"f6aa4435.0ea2a8","wires":[]},{"id":"404b9c45.b090b4","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":890,"y":600,"z":"f6aa4435.0ea2a8","wires":[["44680508.69c9cc"]]},{"id":"76ee352d.d7924c","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":1268.5,"y":600,"z":"f6aa4435.0ea2a8","wires":[]},{"id":"e68cdc52.c407d","type":"save","name":"save relationship: l3-network","xml":"\n\t\n\t\n\t\n\t","comments":"","outputs":1,"x":918,"y":480,"z":"f6aa4435.0ea2a8","wires":[["37286e8d.29b9f2"]]},{"id":"37286e8d.29b9f2","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":890,"y":520,"z":"f6aa4435.0ea2a8","wires":[["44f17fbc.617ed"]]},{"id":"53b3c202.b3d34c","type":"for","name":"for i : SERVICE_DATA vnf-networks","xml":"","comments":"","outputs":1,"x":600,"y":480,"z":"f6aa4435.0ea2a8","wires":[["e68cdc52.c407d"]]},{"id":"749c3a93.be4684","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","atomic":"true","comments":"","outputs":1,"x":1052,"y":520,"z":"f6aa4435.0ea2a8","wires":[["a2a13f6d.2a0c8","749c3a93.be4684"]]},{"id":"a2a13f6d.2a0c8","type":"save","name":"delete vf-module: l3-network relationship","xml":"","comments":"","outputs":1,"x":1355.5,"y":520,"z":"f6aa4435.0ea2a8","wires":[[]]},{"id":"6511ce13.6b3e7","type":"save","name":"update AnAI - vf-module.orchestration-status","xml":"\n\t","comments":"","outputs":1,"x":628.5,"y":600,"z":"f6aa4435.0ea2a8","wires":[["404b9c45.b090b4"]]},{"id":"44680508.69c9cc","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1049.5,"y":600,"z":"f6aa4435.0ea2a8","wires":[["76ee352d.d7924c","a2a13f6d.2a0c8"]]},{"id":"b261bb64.7dc868","type":"call","name":"call: vnf-topology-assign-vfmodule","xml":"","comments":"","outputs":1,"x":594.5,"y":400,"z":"f6aa4435.0ea2a8","wires":[[]]},{"id":"730a4402.7a9fec","type":"set","name":"Set final indicator to Y","xml":"\n","comments":"","x":558.5,"y":680,"z":"f6aa4435.0ea2a8","wires":[]},{"id":"cc1eb17.357f85","type":"switchNode","name":"switch ...SERVICE-DATA vnf-networks[]","xml":"","comments":"","outputs":1,"x":612.5,"y":440,"z":"f6aa4435.0ea2a8","wires":[["e9379e9d.985f7"]]},{"id":"e9379e9d.985f7","type":"outcome","name":"NULL","xml":"","outputs":1,"x":850,"y":440,"z":"f6aa4435.0ea2a8","wires":[["be746643.61ac78"]]},{"id":"be746643.61ac78","type":"set","name":"set SERVICE-DATA vnf-networks[] = 0","xml":"\n\n","comments":"","x":1088,"y":440,"z":"f6aa4435.0ea2a8","wires":[]},{"id":"ec4234b5.37aa58","type":"save","name":"GET AnAI - vf-module","xml":"","comments":"","outputs":1,"x":557.5,"y":340,"z":"f6aa4435.0ea2a8","wires":[["1080e2bd.3bc8dd","573755d9.256a8c"]]},{"id":"1080e2bd.3bc8dd","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":790,"y":320,"z":"f6aa4435.0ea2a8","wires":[["5f7a62b3.c0435c"]]},{"id":"573755d9.256a8c","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":798.5,"y":360,"z":"f6aa4435.0ea2a8","wires":[["b3b13d2d.da245"]]},{"id":"5f7a62b3.c0435c","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n\t\n\t\n\t\n\t","comments":"","x":988.5,"y":280,"z":"f6aa4435.0ea2a8","wires":[]},{"id":"3a4715d4.547d2a","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":790,"y":280,"z":"f6aa4435.0ea2a8","wires":[["2730cc09.74d084"]]}] \ No newline at end of file +[ + { + "id": "6b847111.14518", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 138, + "y": 100, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "e8032bdd.c514c8" + ] + ] + }, + { + "id": "e8032bdd.c514c8", + "type": "service-logic", + "name": "VNF-API ${project.version}", + "module": "VNF-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 252, + "y": 160, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "efc24499.7db518" + ] + ] + }, + { + "id": "efc24499.7db518", + "type": "method", + "name": "method vnf-topology-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 254.5, + "y": 220, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "291cc045.48f06" + ] + ] + }, + { + "id": "291cc045.48f06", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 292, + "y": 280, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "79076789.383708", + "d3435702.674a18", + "53b3c202.b3d34c", + "6511ce13.6b3e7", + "b261bb64.7dc868", + "730a4402.7a9fec", + "cc1eb17.357f85", + "ec4234b5.37aa58", + "e1123f17.441d3" + ] + ] + }, + { + "id": "79076789.383708", + "type": "set", + "name": "set: order-status = PendingCreate", + "xml": "\n\t", + "comments": "", + "x": 594.5, + "y": 640, + "z": "f6aa4435.0ea2a8", + "wires": [] + }, + { + "id": "d3435702.674a18", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\t", + "comments": "", + "x": 533.5, + "y": 720, + "z": "f6aa4435.0ea2a8", + "wires": [] + }, + { + "id": "3098b2d1.15998e", + "type": "comment", + "name": "request-action = VNFActivateRequest", + "info": "", + "comments": "", + "x": 222, + "y": 60, + "z": "f6aa4435.0ea2a8", + "wires": [] + }, + { + "id": "404b9c45.b090b4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 890, + "y": 600, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "44680508.69c9cc" + ] + ] + }, + { + "id": "76ee352d.d7924c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 1268.5, + "y": 600, + "z": "f6aa4435.0ea2a8", + "wires": [] + }, + { + "id": "e68cdc52.c407d", + "type": "save", + "name": "save relationship: l3-network", + "xml": "\n\t\n\t\n\t\n\t", + "comments": "", + "outputs": 1, + "x": 918, + "y": 480, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "37286e8d.29b9f2" + ] + ] + }, + { + "id": "37286e8d.29b9f2", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 890, + "y": 520, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "44f17fbc.617ed" + ] + ] + }, + { + "id": "53b3c202.b3d34c", + "type": "for", + "name": "for i : SERVICE_DATA vnf-networks", + "xml": "", + "comments": "", + "outputs": 1, + "x": 600, + "y": 480, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "e68cdc52.c407d" + ] + ] + }, + { + "id": "749c3a93.be4684", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1052, + "y": 520, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "a2a13f6d.2a0c8", + "749c3a93.be4684" + ] + ] + }, + { + "id": "a2a13f6d.2a0c8", + "type": "save", + "name": "delete vf-module: l3-network relationship", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1355.5, + "y": 520, + "z": "f6aa4435.0ea2a8", + "wires": [ + [] + ] + }, + { + "id": "6511ce13.6b3e7", + "type": "save", + "name": "update AnAI - vf-module.orchestration-status", + "xml": "\n\t", + "comments": "", + "outputs": 1, + "x": 628.5, + "y": 600, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "404b9c45.b090b4" + ] + ] + }, + { + "id": "44680508.69c9cc", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1049.5, + "y": 600, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "76ee352d.d7924c", + "a2a13f6d.2a0c8" + ] + ] + }, + { + "id": "b261bb64.7dc868", + "type": "call", + "name": "call: vnf-topology-assign-vfmodule", + "xml": "", + "comments": "", + "outputs": 1, + "x": 594.5, + "y": 400, + "z": "f6aa4435.0ea2a8", + "wires": [ + [] + ] + }, + { + "id": "730a4402.7a9fec", + "type": "set", + "name": "Set final indicator to Y", + "xml": "\n", + "comments": "", + "x": 558.5, + "y": 680, + "z": "f6aa4435.0ea2a8", + "wires": [] + }, + { + "id": "cc1eb17.357f85", + "type": "switchNode", + "name": "switch ...SERVICE-DATA vnf-networks[]", + "xml": "", + "comments": "", + "outputs": 1, + "x": 612.5, + "y": 440, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "e9379e9d.985f7" + ] + ] + }, + { + "id": "e9379e9d.985f7", + "type": "outcome", + "name": "NULL", + "xml": "", + "outputs": 1, + "x": 850, + "y": 440, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "be746643.61ac78" + ] + ] + }, + { + "id": "be746643.61ac78", + "type": "set", + "name": "set SERVICE-DATA vnf-networks[] = 0", + "xml": "\n\n", + "comments": "", + "x": 1088, + "y": 440, + "z": "f6aa4435.0ea2a8", + "wires": [] + }, + { + "id": "ec4234b5.37aa58", + "type": "save", + "name": "GET AnAI - vf-module", + "xml": "", + "comments": "", + "outputs": 1, + "x": 557.5, + "y": 340, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "1080e2bd.3bc8dd", + "573755d9.256a8c" + ] + ] + }, + { + "id": "1080e2bd.3bc8dd", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 790, + "y": 320, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "5f7a62b3.c0435c" + ] + ] + }, + { + "id": "573755d9.256a8c", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 798.5, + "y": 360, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "b3b13d2d.da245" + ] + ] + }, + { + "id": "5f7a62b3.c0435c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n\t\n\t\n\t\n\t", + "comments": "", + "x": 988.5, + "y": 280, + "z": "f6aa4435.0ea2a8", + "wires": [] + }, + { + "id": "3a4715d4.547d2a", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 790, + "y": 280, + "z": "f6aa4435.0ea2a8", + "wires": [ + [ + "2730cc09.74d084" + ] + ] + } +] \ No newline at end of file