X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2FGENERIC-RESOURCE-API_validate-vf-module-input.json;h=718183709062de871aa75539bd5a13cea7f89aa8;hb=5560feac3ab5cb6a0c749648878be3bf273fdfcf;hp=c75e72411849487fd460a6ec73b8796554fd27fe;hpb=dd97cf829ce1c0b3bbb0e98e93a2e6619d945beb;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json index c75e7241..71818370 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vf-module-input.json @@ -1 +1,557 @@ -[{"id":"9280b236.24feb","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":251.42857360839844,"y":502.50000231606623,"z":"3304d3ee.58708c","wires":[["b78de690.f9f5d8","da185984.e2c478","5a084fe5.895d4","f0d79a13.71b258","b047cbeb.978218","9eadf3bc.97835","2ca2061e.0237ca"]]},{"id":"b78de690.f9f5d8","type":"switchNode","name":"switch svc-request-id","xml":"\n","comments":"","outputs":1,"x":534.1904830932617,"y":385.580340385437,"z":"3304d3ee.58708c","wires":[["de999d71.d9736"]]},{"id":"de999d71.d9736","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":759.9047775268555,"y":385.5803442001343,"z":"3304d3ee.58708c","wires":[["7ce8eacd.cf3c74"]]},{"id":"7ce8eacd.cf3c74","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":911.3333435058594,"y":385.58034229278564,"z":"3304d3ee.58708c","wires":[]},{"id":"da185984.e2c478","type":"switchNode","name":"switch svc-action","xml":"\n","comments":"","outputs":1,"x":522.7618462698802,"y":344.15177195412775,"z":"3304d3ee.58708c","wires":[["a366b2a.b101a5"]]},{"id":"a366b2a.b101a5","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":758.4761979239329,"y":342.7231697354998,"z":"3304d3ee.58708c","wires":[["779cf777.ccd0f8"]]},{"id":"779cf777.ccd0f8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":908.476171221052,"y":342.723179272243,"z":"3304d3ee.58708c","wires":[]},{"id":"5a084fe5.895d4","type":"switchNode","name":"switch request-action","xml":"\n","comments":"","outputs":1,"x":532.7618996756419,"y":428.43748705727717,"z":"3304d3ee.58708c","wires":[["661c9512.86ffdc"]]},{"id":"661c9512.86ffdc","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":759.9047731672017,"y":428.43749795641224,"z":"3304d3ee.58708c","wires":[["152789a.07c2376"]]},{"id":"152789a.07c2376","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":911.3333391462056,"y":428.4374960490636,"z":"3304d3ee.58708c","wires":[]},{"id":"836f5426.363f78","type":"switchNode","name":"switch model-customization-id","xml":"\n","comments":"","outputs":1,"x":1100.893123626709,"y":649.8662757873535,"z":"3304d3ee.58708c","wires":[["69e64228.97fcac"]]},{"id":"69e64228.97fcac","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":1305.893123626709,"y":649.8662586212158,"z":"3304d3ee.58708c","wires":[["29de077f.8e6ec8"]]},{"id":"29de077f.8e6ec8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1457.321689605713,"y":649.8662567138672,"z":"3304d3ee.58708c","wires":[]},{"id":"76957faf.3e90e","type":"switchNode","name":"switch tenant","xml":"\n","comments":"","outputs":1,"x":1046.750202178955,"y":691.2947864532471,"z":"3304d3ee.58708c","wires":[["eecf68c4.93b228"]]},{"id":"eecf68c4.93b228","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":1304.4645195007324,"y":691.2948207855225,"z":"3304d3ee.58708c","wires":[["5279ca1e.d05be4"]]},{"id":"5279ca1e.d05be4","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1455.8930854797363,"y":691.2948188781738,"z":"3304d3ee.58708c","wires":[]},{"id":"760ce011.a2906","type":"comment","name":"Validation of required fields","info":"","comments":"","x":682.7618560791016,"y":299.8660545349121,"z":"3304d3ee.58708c","wires":[]},{"id":"f0d79a13.71b258","type":"switchNode","name":"switch svc-action","xml":"\n","comments":"","outputs":1,"x":516.3332977294922,"y":730.4614696502686,"z":"3304d3ee.58708c","wires":[["8728b60f.a48fd8","d0629521.3a3078"]]},{"id":"8728b60f.a48fd8","type":"outcome","name":"assign","xml":"\n","comments":"","outputs":1,"x":677.1666145324707,"y":670.46142578125,"z":"3304d3ee.58708c","wires":[["c37e1bac.9bd818"]]},{"id":"c37e1bac.9bd818","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":869.1666145324707,"y":670.46142578125,"z":"3304d3ee.58708c","wires":[["836f5426.363f78","76957faf.3e90e","b4883195.b514a"]]},{"id":"bc09f30d.b7923","type":"dgstart","name":"DGSTART","outputs":1,"x":195.17858341761985,"y":172.41365432739258,"z":"3304d3ee.58708c","wires":[["e6e33f5c.32b8"]]},{"id":"e6e33f5c.32b8","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":308.4642889840261,"y":212.65176582336426,"z":"3304d3ee.58708c","wires":[["daeb37a6.218e58"]]},{"id":"daeb37a6.218e58","type":"method","name":"method validate-vf-module-input","xml":"\n","comments":"","outputs":1,"x":265.5238783700124,"y":253.33031177520752,"z":"3304d3ee.58708c","wires":[["9280b236.24feb"]]},{"id":"9aac0344.99123","type":"comment","name":"validate-vf-module-input","info":"","comments":"","x":589.5234396798269,"y":119.99999809265137,"z":"3304d3ee.58708c","wires":[]},{"id":"b047cbeb.978218","type":"switchNode","name":"switch service-instance-id","xml":"\n","comments":"","outputs":1,"x":545.7857306344167,"y":472.50001335144043,"z":"3304d3ee.58708c","wires":[["705f181f.599f48"]]},{"id":"705f181f.599f48","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":758.2143118722097,"y":472.50000953674316,"z":"3304d3ee.58708c","wires":[["f48f0d61.9dfa7"]]},{"id":"f48f0d61.9dfa7","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":909.6428778512136,"y":472.50000762939453,"z":"3304d3ee.58708c","wires":[]},{"id":"9eadf3bc.97835","type":"switchNode","name":"switch vnf-id","xml":"\n","comments":"","outputs":1,"x":503.28573989868164,"y":519.0000038146973,"z":"3304d3ee.58708c","wires":[["93e4cbab.2046c8"]]},{"id":"93e4cbab.2046c8","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":758.5714492797852,"y":517.5714359283447,"z":"3304d3ee.58708c","wires":[["78d032f1.6b193c"]]},{"id":"78d032f1.6b193c","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":910.0000152587891,"y":517.5714340209961,"z":"3304d3ee.58708c","wires":[]},{"id":"b4883195.b514a","type":"switchNode","name":"switch aic-cloud-region","xml":"\n","comments":"","outputs":1,"x":1076.0952835083008,"y":733.5714435577393,"z":"3304d3ee.58708c","wires":[["eca915fe.8a7528"]]},{"id":"eca915fe.8a7528","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":1302.8096008300781,"y":733.5714778900146,"z":"3304d3ee.58708c","wires":[["671723cf.0cce1c"]]},{"id":"671723cf.0cce1c","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1454.238166809082,"y":733.571475982666,"z":"3304d3ee.58708c","wires":[]},{"id":"2ca2061e.0237ca","type":"switchNode","name":"switch vf-module-id","xml":"\n","comments":"","outputs":1,"x":524.0952301025391,"y":564.9999828338623,"z":"3304d3ee.58708c","wires":[["7dedc936.6d8c88"]]},{"id":"7dedc936.6d8c88","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":758.3809394836426,"y":563.5714149475098,"z":"3304d3ee.58708c","wires":[["d5bce79.04eca18"]]},{"id":"d5bce79.04eca18","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":909.8095054626465,"y":563.5714130401611,"z":"3304d3ee.58708c","wires":[]},{"id":"be6a2bca.c2c3f8","type":"switchNode","name":"switch vf-module-name","xml":"\n","comments":"","outputs":1,"x":1079.4285507202148,"y":607.666654586792,"z":"3304d3ee.58708c","wires":[["3fad2b1f.051354"]]},{"id":"3fad2b1f.051354","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":1305.4285507202148,"y":607.6666374206543,"z":"3304d3ee.58708c","wires":[["9eb9e9d3.f24818"]]},{"id":"9eb9e9d3.f24818","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1456.8571166992188,"y":607.6666355133057,"z":"3304d3ee.58708c","wires":[]},{"id":"d0629521.3a3078","type":"outcome","name":"changeassign","xml":"\n","comments":"","outputs":1,"x":694.7619171142578,"y":795.0000286102295,"z":"3304d3ee.58708c","wires":[["d381036c.b7227"]]},{"id":"d381036c.b7227","type":"switchNode","name":"switch model-customization-id","xml":"\n","comments":"","outputs":1,"x":921.4285583496094,"y":793.3333339691162,"z":"3304d3ee.58708c","wires":[["1c736669.31026a"]]},{"id":"1c736669.31026a","type":"outcome","name":"NULL","xml":"","comments":"","outputs":1,"x":1126.4285583496094,"y":793.3333168029785,"z":"3304d3ee.58708c","wires":[["5fc7ea4b.ad8e04"]]},{"id":"5fc7ea4b.ad8e04","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1277.8571243286133,"y":793.3333148956299,"z":"3304d3ee.58708c","wires":[]},{"id":"bfdaa4c5.3cfce8","type":"comment","name":"REMOVED link here and MOVED vf-module-name validation to vf-module-topology-operation-assign after self-serve logic","info":"","comments":"","x":1434.2857055664062,"y":588.571418762207,"z":"3304d3ee.58708c","wires":[]}] \ No newline at end of file +[ + { + "id": "64530960.7a4c48", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 266.03125, + "y": 487.50000762939453, + "z": "c914996f.38af08", + "wires": [ + [ + "42eab53.cead04c", + "9030d08e.473eb", + "e2eeb7ea.c3b598", + "6a464fe8.f5db", + "1cf09f88.9f996", + "50ebeee1.1f03d" + ] + ] + }, + { + "id": "42eab53.cead04c", + "type": "switchNode", + "name": "switch svc-request-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 522.5431518554688, + "y": 420.58034229278564, + "z": "c914996f.38af08", + "wires": [ + [ + "acac6999.f74ae8" + ] + ] + }, + { + "id": "acac6999.f74ae8", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 748.2574462890625, + "y": 420.5803461074829, + "z": "c914996f.38af08", + "wires": [ + [ + "7a7765a6.716e9c" + ] + ] + }, + { + "id": "7a7765a6.716e9c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 899.6860122680664, + "y": 420.5803442001343, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "9030d08e.473eb", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 511.1145150320872, + "y": 379.1517738614764, + "z": "c914996f.38af08", + "wires": [ + [ + "6c42550c.9ee7ec" + ] + ] + }, + { + "id": "6c42550c.9ee7ec", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 746.8288666861399, + "y": 377.72317164284846, + "z": "c914996f.38af08", + "wires": [ + [ + "7bffbb0f.9e8194" + ] + ] + }, + { + "id": "7bffbb0f.9e8194", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 896.8288399832591, + "y": 377.7231811795916, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "e2eeb7ea.c3b598", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 521.1145684378489, + "y": 463.4374889646258, + "z": "c914996f.38af08", + "wires": [ + [ + "3b145144.cf0dce" + ] + ] + }, + { + "id": "3b145144.cf0dce", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 748.2574419294087, + "y": 463.4374998637609, + "z": "c914996f.38af08", + "wires": [ + [ + "dab01406.ba8c98" + ] + ] + }, + { + "id": "dab01406.ba8c98", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 899.6860079084126, + "y": 463.43749795641224, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "12ea91e7.8a5dee", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1118.5790824890137, + "y": 635.1996374130249, + "z": "c914996f.38af08", + "wires": [ + [ + "7123b9f.8aa2648" + ] + ] + }, + { + "id": "7123b9f.8aa2648", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1323.5790824890137, + "y": 635.1996202468872, + "z": "c914996f.38af08", + "wires": [ + [ + "56283888.4b07c8" + ] + ] + }, + { + "id": "56283888.4b07c8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1475.0076484680176, + "y": 635.1996183395386, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "eca8ac0.d277c58", + "type": "switchNode", + "name": "switch tenant", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1064.4361610412598, + "y": 676.6281480789185, + "z": "c914996f.38af08", + "wires": [ + [ + "17c7649f.342e3b" + ] + ] + }, + { + "id": "17c7649f.342e3b", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1322.150478363037, + "y": 676.6281824111938, + "z": "c914996f.38af08", + "wires": [ + [ + "a9a7bd61.ab17c" + ] + ] + }, + { + "id": "a9a7bd61.ab17c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1473.579044342041, + "y": 676.6281805038452, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "37d1ad14.2a8632", + "type": "comment", + "name": "Validation of required fields", + "info": "", + "comments": "", + "x": 671.1145248413086, + "y": 334.86605644226074, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "6a464fe8.f5db", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 504.2693176269531, + "y": 677.5448093414307, + "z": "c914996f.38af08", + "wires": [ + [ + "55f87411.8977fc" + ] + ] + }, + { + "id": "55f87411.8977fc", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 663.8526191711426, + "y": 677.1280736923218, + "z": "c914996f.38af08", + "wires": [ + [ + "76a30e92.c3b23" + ] + ] + }, + { + "id": "76a30e92.c3b23", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 855.8526191711426, + "y": 677.1280736923218, + "z": "c914996f.38af08", + "wires": [ + [ + "12ea91e7.8a5dee", + "eca8ac0.d277c58", + "75303db4.f39ac4" + ] + ] + }, + { + "id": "412ad4c5.a2550c", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 183.53125217982688, + "y": 207.4136562347412, + "z": "c914996f.38af08", + "wires": [ + [ + "5fecaed1.6af1f" + ] + ] + }, + { + "id": "5fecaed1.6af1f", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 296.81695774623313, + "y": 247.6517677307129, + "z": "c914996f.38af08", + "wires": [ + [ + "ce8e825.505198" + ] + ] + }, + { + "id": "ce8e825.505198", + "type": "method", + "name": "method validate-vf-module-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 253.87654713221946, + "y": 288.33031368255615, + "z": "c914996f.38af08", + "wires": [ + [ + "64530960.7a4c48" + ] + ] + }, + { + "id": "d3c65d01.b09e8", + "type": "comment", + "name": "validate-vf-module-input", + "info": "", + "comments": "", + "x": 577.8761084420339, + "y": 155, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "1cf09f88.9f996", + "type": "switchNode", + "name": "switch service-instance-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 534.1383993966238, + "y": 507.50001525878906, + "z": "c914996f.38af08", + "wires": [ + [ + "4a5d470b.8d66d8" + ] + ] + }, + { + "id": "4a5d470b.8d66d8", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 746.5669806344167, + "y": 507.5000114440918, + "z": "c914996f.38af08", + "wires": [ + [ + "6a814e78.eefa1" + ] + ] + }, + { + "id": "6a814e78.eefa1", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 897.9955466134206, + "y": 507.50000953674316, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "50ebeee1.1f03d", + "type": "switchNode", + "name": "switch vnf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 491.6384086608887, + "y": 554.0000057220459, + "z": "c914996f.38af08", + "wires": [ + [ + "91be467.d997cb8" + ] + ] + }, + { + "id": "91be467.d997cb8", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 746.9241180419922, + "y": 552.5714378356934, + "z": "c914996f.38af08", + "wires": [ + [ + "a61fec00.397b18" + ] + ] + }, + { + "id": "a61fec00.397b18", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 898.3526840209961, + "y": 552.5714359283447, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "75303db4.f39ac4", + "type": "switchNode", + "name": "switch aic-cloud-region", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1093.7812423706055, + "y": 718.9048051834106, + "z": "c914996f.38af08", + "wires": [ + [ + "ce90203b.b0afd" + ] + ] + }, + { + "id": "ce90203b.b0afd", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1320.4955596923828, + "y": 718.904839515686, + "z": "c914996f.38af08", + "wires": [ + [ + "2275e534.88d4ca" + ] + ] + }, + { + "id": "2275e534.88d4ca", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1471.9241256713867, + "y": 718.9048376083374, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "3d870d1c.309352", + "type": "outcome", + "name": "changeassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 687.6979370117188, + "y": 832.2500114440918, + "z": "c914996f.38af08", + "wires": [ + [ + "fa0141f0.f9902" + ] + ] + }, + { + "id": "fa0141f0.f9902", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 914.3645782470703, + "y": 832.5833168029785, + "z": "c914996f.38af08", + "wires": [ + [ + "5358c72a.6a77a8" + ] + ] + }, + { + "id": "5358c72a.6a77a8", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1119.3645782470703, + "y": 832.5832996368408, + "z": "c914996f.38af08", + "wires": [ + [ + "80d57253.986af" + ] + ] + }, + { + "id": "80d57253.986af", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1270.7931442260742, + "y": 832.5832977294922, + "z": "c914996f.38af08", + "wires": [] + }, + { + "id": "319c1dc4.f1e692", + "type": "comment", + "name": "model-customization-uuid validation moved to changeassign DG", + "info": "", + "comments": "", + "x": 744.7812423706055, + "y": 790, + "z": "c914996f.38af08", + "wires": [] + } +] \ No newline at end of file