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=0a95efc3cd24c115f39b47a43e91c82feae1d6a3;hb=f515a8831e0036414d69d73030e871dec88180f8;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..0a95efc3 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": "bdabd9df.2798c", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 166.5, - "y": 82.66665649414062, - "z": "6cf3d2be.22379c", + "x": 134, + "y": 76, + "z": "d9929d00.bfba4", "wires": [ [ - "13cbcd0e.cde623" + "37325ab3.a584e6" ] ] }, { - "id": "13cbcd0e.cde623", + "id": "37325ab3.a584e6", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -39,40 +22,608 @@ "comments": "", "xml": "", "outputs": 1, - "x": 297.7856903076172, - "y": 131.90476512908936, - "z": "6cf3d2be.22379c", + "x": 265.2856903076172, + "y": 125.23810863494873, + "z": "d9929d00.bfba4", "wires": [ [ - "90d8ef48.9bbbb8" + "89aa288e.14e82" ] ] }, { - "id": "90d8ef48.9bbbb8", + "id": "89aa288e.14e82", "type": "method", "name": "method sotn-vf-operation-uni-create", "xml": "\n", "comments": "", "outputs": 1, - "x": 300.9286193847656, - "y": 216.66668891906738, - "z": "6cf3d2be.22379c", + "x": 268.4286193847656, + "y": 210.00003242492676, + "z": "d9929d00.bfba4", + "wires": [ + [ + "6a0993ac.72dd54" + ] + ] + }, + { + "id": "a9a04009.84cea", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 642.5273399353027, + "y": 95, + "z": "d9929d00.bfba4", + "wires": [ + [ + "61b0d7e5.2d7618" + ] + ] + }, + { + "id": "61b0d7e5.2d7618", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 829.194019317627, + "y": 94.33329772949219, + "z": "d9929d00.bfba4", + "wires": [ + [ + "bd3df9dd.cbfcb" + ] + ] + }, + { + "id": "bd3df9dd.cbfcb", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1010.8606452941895, + "y": 94.33329772949219, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "4ccd346e.b2fa8c", + "type": "for", + "name": "for each vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 632.1067600250244, + "y": 149.50003504753113, + "z": "d9929d00.bfba4", + "wires": [ + [ + "a043ea5a.d72c3" + ] + ] + }, + { + "id": "a043ea5a.d72c3", + "type": "switchNode", + "name": "switch this vnf-id == input vnf-id", + "xml": " \n", + "comments": "", + "outputs": 1, + "x": 883.106855392456, + "y": 145.1666555404663, + "z": "d9929d00.bfba4", + "wires": [ + [ + "1c9dfc9b.785bf3" + ] + ] + }, + { + "id": "1c9dfc9b.785bf3", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1101.4401721954346, + "y": 147.1666374206543, + "z": "d9929d00.bfba4", + "wires": [ + [ + "969f295d.058158" + ] + ] + }, + { + "id": "969f295d.058158", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n", + "comments": "", + "x": 1254.773344039917, + "y": 147.16665840148926, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "40f51cac.5aaffc", + "type": "switchNode", + "name": "switch vnf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 646.1067790985107, + "y": 210.5000331401825, + "z": "d9929d00.bfba4", + "wires": [ + [ + "7872a8f4.e17f28" + ] + ] + }, + { + "id": "7872a8f4.e17f28", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 808.1068248748779, + "y": 209.50003218650818, + "z": "d9929d00.bfba4", + "wires": [ + [ + "ecf654ed.ac8c08" + ] + ] + }, + { + "id": "ecf654ed.ac8c08", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 957.3569164276123, + "y": 207.27790999412537, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "1bbfcdc4.cfc1ea", + "type": "switchNode", + "name": "switch vf-modules.vf-module_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 680.777361869812, + "y": 271.9999940395355, + "z": "d9929d00.bfba4", + "wires": [ + [ + "76a0bc4c.3ecaac", + "7c11fc12.2ce60c" + ] + ] + }, + { + "id": "76a0bc4c.3ecaac", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 911.7773723602295, + "y": 247.99999117851257, + "z": "d9929d00.bfba4", + "wires": [ + [ + "dcfece83.e40b18" + ] + ] + }, + { + "id": "7c11fc12.2ce60c", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 911.7773723602295, + "y": 287.9999911785126, + "z": "d9929d00.bfba4", + "wires": [ + [ + "5a1242b8.d2d7dc" + ] + ] + }, + { + "id": "dcfece83.e40b18", + "type": "set", + "name": "set vf-index", + "xml": "\n\n", + "comments": "", + "x": 1054.2773723602295, + "y": 247.99999117851257, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "5a1242b8.d2d7dc", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1056.1344165802002, + "y": 287.9365031719208, + "z": "d9929d00.bfba4", + "wires": [ + [ + "fc192c7c.c666c", + "3d110b04.3f7cfc" + ] + ] + }, + { + "id": "3d110b04.3f7cfc", + "type": "set", + "name": "set vf-index", + "xml": "\n\n\n\n", + "comments": "", + "x": 1208.8328914642334, + "y": 257.5556018645875, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "fc192c7c.c666c", + "type": "for", + "name": "for each existing vf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1265.261396408081, + "y": 310.7777316570282, + "z": "d9929d00.bfba4", + "wires": [ + [ + "88b73d6e.6d468" + ] + ] + }, + { + "id": "442e188e.f803c", + "type": "comment", + "name": "make sure this network doesn't exist already", + "info": "", + "comments": "", + "x": 1488.9121265411377, + "y": 269.03178906440735, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "88b73d6e.6d468", + "type": "switchNode", + "name": "switch vf-module-id found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1540.5471172332764, + "y": 310.3492343425751, + "z": "d9929d00.bfba4", + "wires": [ + [ + "ea98d10d.89934" + ] + ] + }, + { + "id": "ea98d10d.89934", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1441.2773151397705, + "y": 368.9206655025482, + "z": "d9929d00.bfba4", "wires": [ [ - "5567fb41.3853ac" + "acd8ea2b.eae8b8" ] ] }, { - "id": "a47debf4.9031c", + "id": "acd8ea2b.eae8b8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1589.0274181365967, + "y": 368.7778575713746, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "59edc1a3.014a68", + "type": "comment", + "name": "Take the parameter names by removing prefix", + "info": "", + "comments": "", + "x": 725.3571338653564, + "y": 344.8294517993927, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "848c6001.e3ca1", + "type": "for", + "name": "for loop idx - VF input parameters", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 687.3569316864014, + "y": 388.16278433799744, + "z": "d9929d00.bfba4", + "wires": [ + [ + "502abba1.49866c" + ] + ] + }, + { + "id": "502abba1.49866c", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 902.135274887085, + "y": 385.71836829185486, + "z": "d9929d00.bfba4", + "wires": [ + [ + "e8577fea.dc9eb", + "c88b6740.086e48" + ] + ] + }, + { + "id": "e8577fea.dc9eb", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1098.3914775848389, + "y": 363.46650671958923, + "z": "d9929d00.bfba4", + "wires": [ + [] + ] + }, + { + "id": "c88b6740.086e48", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1067.8359050750732, + "y": 400.46662306785583, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "6a0993ac.72dd54", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 341.1067714691162, + "y": 405.4961154460907, + "z": "d9929d00.bfba4", + "wires": [ + [ + "848c6001.e3ca1", + "1bbfcdc4.cfc1ea", + "53255108.3aa87", + "eb87c476.701828", + "60cc5c3c.7af384", + "6cc42136.9a456", + "18de011.772867f", + "56659886.9d87b", + "46813925.b275b", + "4dcd3e86.6f4288", + "1e2320ca.16ae1f", + "922a3600.fd199", + "d21f4a10.58364" + ] + ] + }, + { + "id": "18de011.772867f", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 709.9444580078125, - "y": 516.2777709960938, - "z": "6cf3d2be.22379c", + "x": 628.3292503356934, + "y": 943.00732421875, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "6cc42136.9a456", + "type": "save", + "name": "save service relationship in AAI", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 683.606746673584, + "y": 901.83349609375, + "z": "d9929d00.bfba4", + "wires": [ + [] + ] + }, + { + "id": "60cc5c3c.7af384", + "type": "save", + "name": "save uni resource in AAI", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 665.6068077087402, + "y": 797.83349609375, + "z": "d9929d00.bfba4", + "wires": [ + [] + ] + }, + { + "id": "56659886.9d87b", + "type": "set", + "name": "set vf-module-level-oper-status", + "xml": "\n\n\n\n", + "comments": "", + "x": 683.1067790985107, + "y": 748.5000331401825, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "eb87c476.701828", + "type": "set", + "name": "set vf-module-object-path", + "xml": "\n \n\n\n\n\n\n \n", + "comments": "", + "x": 666.6068153381348, + "y": 706.3335154056549, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "53255108.3aa87", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 678.4598903656006, + "y": 654.8296692371368, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "1e2320ca.16ae1f", + "type": "set", + "name": "set new vf-module_length", + "xml": "\n", + "comments": "", + "x": 658.5273399353027, + "y": 547, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "46813925.b275b", + "type": "set", + "name": "set vf-module-request-input.", + "xml": "\n\n", + "comments": "", + "x": 665.526927947998, + "y": 441.9912657737732, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "4dcd3e86.6f4288", + "type": "call", + "name": "call sotn-get-vf-module-uni-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 704.3406028747559, + "y": 494.83709144592285, + "z": "d9929d00.bfba4", + "wires": [ + [] + ] + }, + { + "id": "922a3600.fd199", + "type": "execute", + "name": "execute generate-vf-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 657.3406181335449, + "y": 603.3409690856934, + "z": "d9929d00.bfba4", + "wires": [ + [] + ] + }, + { + "id": "f8f11492.e98458", + "type": "get-resource", + "name": "get-resource generic-vnf", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 655.5273399353027, + "y": 853, + "z": "d9929d00.bfba4", + "wires": [ + [ + "3535eafb.6a02f6" + ] + ] + }, + { + "id": "670e04c7.7b4c04", + "type": "set", + "name": "set tmp.relationship_length", + "xml": "\n\n", + "comments": "", + "x": 1171.52734375, + "y": 811, + "z": "d9929d00.bfba4", + "wires": [] + }, + { + "id": "3535eafb.6a02f6", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 885, + "y": 831, + "z": "d9929d00.bfba4", + "wires": [ + [ + "670e04c7.7b4c04" + ] + ] + }, + { + "id": "d21f4a10.58364", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n\n\n", + "comments": "", + "x": 626, + "y": 33, + "z": "d9929d00.bfba4", "wires": [] } ] \ No newline at end of file