X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsotn_nni%2FGENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json;h=f25981662c2a638d428094744b682d9c86212731;hb=84477fc8f92e417f809ffe040ffb12de46a43a77;hp=e137522c75c0e14ee274cad8c9e3e4b7161753f2;hpb=92555a71ca2c208d33cbbb043c755f0175c6decc;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json index e137522c..f2598166 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-create.json @@ -1,37 +1,20 @@ [ { - "id": "5567fb41.3853ac", - "type": "block", - "name": "block : atomic", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 442.02733993530273, - "y": 433.74087047576904, - "z": "6cf3d2be.22379c", - "wires": [ - [ - "a47debf4.9031c" - ] - ] - }, - { - "id": "67dcf0d.95d1c1", + "id": "e9f5d8f7.e285a8", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 166.5, - "y": 82.66665649414062, - "z": "6cf3d2be.22379c", + "x": 83.47266006469727, + "y": 26, + "z": "8abb02c9.ea909", "wires": [ [ - "13cbcd0e.cde623" + "f361420f.d2dd5" ] ] }, { - "id": "13cbcd0e.cde623", + "id": "f361420f.d2dd5", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -39,40 +22,601 @@ "comments": "", "xml": "", "outputs": 1, - "x": 297.7856903076172, - "y": 131.90476512908936, - "z": "6cf3d2be.22379c", + "x": 214.75835037231445, + "y": 75.23810863494873, + "z": "8abb02c9.ea909", "wires": [ [ - "90d8ef48.9bbbb8" + "83b54aea.5a2e08" ] ] }, { - "id": "90d8ef48.9bbbb8", + "id": "83b54aea.5a2e08", "type": "method", "name": "method sotn-vf-operation-uni-create", "xml": "\n", "comments": "", "outputs": 1, - "x": 300.9286193847656, - "y": 216.66668891906738, - "z": "6cf3d2be.22379c", + "x": 217.9012794494629, + "y": 160.00003242492676, + "z": "8abb02c9.ea909", + "wires": [ + [ + "d23ea373.2facb" + ] + ] + }, + { + "id": "129ae0d2.67909f", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 592, + "y": 45, + "z": "8abb02c9.ea909", + "wires": [ + [ + "4518c55e.2af6cc" + ] + ] + }, + { + "id": "4518c55e.2af6cc", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 778.6666793823242, + "y": 44.33329772949219, + "z": "8abb02c9.ea909", + "wires": [ + [ + "49f6673c.896c38" + ] + ] + }, + { + "id": "49f6673c.896c38", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 960.3333053588867, + "y": 44.33329772949219, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "344a6d66.006ae2", + "type": "for", + "name": "for each vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 581.5794200897217, + "y": 99.50003504753113, + "z": "8abb02c9.ea909", + "wires": [ + [ + "b740b835.934dd8" + ] + ] + }, + { + "id": "b740b835.934dd8", + "type": "switchNode", + "name": "switch this vnf-id == input vnf-id", + "xml": " \n", + "comments": "", + "outputs": 1, + "x": 832.5795154571533, + "y": 95.16665554046631, + "z": "8abb02c9.ea909", + "wires": [ + [ + "7d8c54e9.05fcdc" + ] + ] + }, + { + "id": "7d8c54e9.05fcdc", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1050.9128322601318, + "y": 97.1666374206543, + "z": "8abb02c9.ea909", + "wires": [ + [ + "4090d448.987d9c" + ] + ] + }, + { + "id": "4090d448.987d9c", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n", + "comments": "", + "x": 1204.2460041046143, + "y": 97.16665840148926, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "d6f734d6.542738", + "type": "switchNode", + "name": "switch vnf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 595.579439163208, + "y": 160.5000331401825, + "z": "8abb02c9.ea909", + "wires": [ + [ + "cc5e7b73.313338" + ] + ] + }, + { + "id": "cc5e7b73.313338", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 757.5794849395752, + "y": 159.50003218650818, + "z": "8abb02c9.ea909", + "wires": [ + [ + "d5e799c5.aa66e8" + ] + ] + }, + { + "id": "d5e799c5.aa66e8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 906.8295764923096, + "y": 157.27790999412537, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "2e3b155c.1acdba", + "type": "switchNode", + "name": "switch vf-modules.vf-module_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 630.2500219345093, + "y": 221.99999403953552, + "z": "8abb02c9.ea909", + "wires": [ + [ + "d6b8c302.00cb5", + "74fd2b9a.39bbc4" + ] + ] + }, + { + "id": "d6b8c302.00cb5", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 861.2500324249268, + "y": 197.99999117851257, + "z": "8abb02c9.ea909", + "wires": [ + [ + "b130c62a.6d5b28" + ] + ] + }, + { + "id": "74fd2b9a.39bbc4", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 861.2500324249268, + "y": 237.99999117851257, + "z": "8abb02c9.ea909", + "wires": [ + [ + "aa20e5dd.34f068" + ] + ] + }, + { + "id": "b130c62a.6d5b28", + "type": "set", + "name": "set vf-index", + "xml": "\n\n", + "comments": "", + "x": 1003.7500324249268, + "y": 197.99999117851257, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "aa20e5dd.34f068", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1005.6070766448975, + "y": 237.93650317192078, + "z": "8abb02c9.ea909", + "wires": [ + [ + "290ec3b5.b78dec", + "ba0b306b.1384c" + ] + ] + }, + { + "id": "ba0b306b.1384c", + "type": "set", + "name": "set vf-index", + "xml": "\n\n\n\n", + "comments": "", + "x": 1158.3055515289307, + "y": 207.55560186458752, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "290ec3b5.b78dec", + "type": "for", + "name": "for each existing vf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1214.7340564727783, + "y": 260.7777316570282, + "z": "8abb02c9.ea909", + "wires": [ + [ + "f5468be4.2d7768" + ] + ] + }, + { + "id": "55b24f6b.1c68", + "type": "comment", + "name": "make sure this network doesn't exist already", + "info": "", + "comments": "", + "x": 1438.384786605835, + "y": 219.03178906440735, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "f5468be4.2d7768", + "type": "switchNode", + "name": "switch vf-module-id found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1490.0197772979736, + "y": 260.3492343425751, + "z": "8abb02c9.ea909", + "wires": [ + [ + "416b188c.9635e8" + ] + ] + }, + { + "id": "416b188c.9635e8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1390.7499752044678, + "y": 318.9206655025482, + "z": "8abb02c9.ea909", + "wires": [ + [ + "5ff9d421.bc0c2c" + ] + ] + }, + { + "id": "5ff9d421.bc0c2c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1538.500078201294, + "y": 318.7778575713746, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "a3005c7c.22f1c", + "type": "comment", + "name": "Take the parameter names by removing prefix", + "info": "", + "comments": "", + "x": 674.8297939300537, + "y": 294.8294517993927, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "c2f9b109.0e45", + "type": "for", + "name": "for loop idx - VF input parameters", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 636.8295917510986, + "y": 338.16278433799744, + "z": "8abb02c9.ea909", + "wires": [ + [ + "c2930fc2.e5909" + ] + ] + }, + { + "id": "c2930fc2.e5909", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 851.6079349517822, + "y": 335.71836829185486, + "z": "8abb02c9.ea909", + "wires": [ + [ + "d1ed645d.aa3a78", + "6dcf8b92.c77424" + ] + ] + }, + { + "id": "d1ed645d.aa3a78", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1047.8641376495361, + "y": 313.46650671958923, + "z": "8abb02c9.ea909", + "wires": [ + [] + ] + }, + { + "id": "6dcf8b92.c77424", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1017.3085651397705, + "y": 350.46662306785583, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "d23ea373.2facb", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 290.5794315338135, + "y": 355.4961154460907, + "z": "8abb02c9.ea909", "wires": [ [ - "5567fb41.3853ac" + "c2f9b109.0e45", + "129ae0d2.67909f", + "2e3b155c.1acdba", + "a11f77d.859bf88", + "7c53c20f.68b9dc", + "42215efb.1d8e4", + "91211121.8f53", + "d001c737.a47218", + "b74ff3ee.b1d98", + "344a6d66.006ae2", + "d6f734d6.542738", + "3cca5aeb.576896", + "6ba0a91d.74fdb8", + "c0fe8566.aad758", + "3368b1eb.e464fe", + "29fa2ed2.416422" ] ] }, { - "id": "a47debf4.9031c", + "id": "d001c737.a47218", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 709.9444580078125, - "y": 516.2777709960938, - "z": "6cf3d2be.22379c", + "x": 577.8019104003906, + "y": 893.00732421875, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "91211121.8f53", + "type": "save", + "name": "save service relationship in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 633.0794067382812, + "y": 851.83349609375, + "z": "8abb02c9.ea909", + "wires": [ + [] + ] + }, + { + "id": "42215efb.1d8e4", + "type": "save", + "name": "save uni resource in AAI", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 615.0794677734375, + "y": 747.83349609375, + "z": "8abb02c9.ea909", + "wires": [ + [] + ] + }, + { + "id": "b74ff3ee.b1d98", + "type": "set", + "name": "set vf-module-level-oper-status", + "xml": "\n\n\n\n", + "comments": "", + "x": 632.579439163208, + "y": 698.5000331401825, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "7c53c20f.68b9dc", + "type": "set", + "name": "set vf-module-object-path", + "xml": "\n \n\n\n\n", + "comments": "", + "x": 616.079475402832, + "y": 656.3335154056549, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "a11f77d.859bf88", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 627.9325504302979, + "y": 604.8296692371368, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "c0fe8566.aad758", + "type": "set", + "name": "set new vf-module_length", + "xml": "\n", + "comments": "", + "x": 608, + "y": 497, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "3cca5aeb.576896", + "type": "set", + "name": "set vf-module-request-input.", + "xml": "\n\n", + "comments": "", + "x": 614.9995880126953, + "y": 391.9912657737732, + "z": "8abb02c9.ea909", + "wires": [] + }, + { + "id": "6ba0a91d.74fdb8", + "type": "call", + "name": "call sotn-get-vf-module-uni-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 653.8132629394531, + "y": 444.83709144592285, + "z": "8abb02c9.ea909", + "wires": [ + [] + ] + }, + { + "id": "3368b1eb.e464fe", + "type": "execute", + "name": "execute generate-vf-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 606.8132781982422, + "y": 553.3409690856934, + "z": "8abb02c9.ea909", + "wires": [ + [] + ] + }, + { + "id": "29fa2ed2.416422", + "type": "get-resource", + "name": "get-resource generic-vnf", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 605, + "y": 803, + "z": "8abb02c9.ea909", + "wires": [ + [ + "5c744e64.d3743" + ] + ] + }, + { + "id": "5c744e64.d3743", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 808, + "y": 798, + "z": "8abb02c9.ea909", + "wires": [ + [ + "79532ac9.38abe4" + ] + ] + }, + { + "id": "79532ac9.38abe4", + "type": "set", + "name": "set tmp.relationship_length", + "xml": "\n\n", + "comments": "", + "x": 991, + "y": 795, + "z": "8abb02c9.ea909", "wires": [] } ] \ No newline at end of file