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-vnf-input.json;h=9ef063ea9603d0adb05522efd93f21c1312178b6;hb=refs%2Fheads%2Fmaster;hp=3ebab1004e9c5081301045a6a41fcd186d4b0296;hpb=bb17c401f713e29f652ac49ff8633b829604c40b;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json index 3ebab100..9ef063ea 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-vnf-input.json @@ -1,461 +1,529 @@ -[ - { - "id": "c428e8d.27cce18", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 189, - "y": 416.50000422341486, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "3ab2d225.c8f26e", - "f97f4e94.92985", - "99754530.a920a8", - "77ab2ae3.a31c54", - "c2bc3d2d.6fb7d" - ] - ] - }, - { - "id": "3ab2d225.c8f26e", - "type": "switchNode", - "name": "switch svc-request-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 471.7619094848633, - "y": 299.58034229278564, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "a9a2f3f.7cb551" - ] - ] - }, - { - "id": "a9a2f3f.7cb551", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 697.476203918457, - "y": 299.5803461074829, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "cb1db5f9.619c48" - ] - ] - }, - { - "id": "cb1db5f9.619c48", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 848.9047698974609, - "y": 299.5803442001343, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "f97f4e94.92985", - "type": "switchNode", - "name": "switch svc-action", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 460.3332726614817, - "y": 258.1517738614764, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "4bce0fc2.589ce" - ] - ] - }, - { - "id": "4bce0fc2.589ce", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 696.0476243155344, - "y": 256.72317164284846, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "8b6ba872.3b8a98" - ] - ] - }, - { - "id": "8b6ba872.3b8a98", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 846.0475976126536, - "y": 256.7231811795916, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "99754530.a920a8", - "type": "switchNode", - "name": "switch request-action", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 470.33332606724343, - "y": 342.4374889646258, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "1356b9d1.f1abc6" - ] - ] - }, - { - "id": "1356b9d1.f1abc6", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 697.4761995588033, - "y": 342.4374998637609, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "9bdd0c3e.f5034" - ] - ] - }, - { - "id": "9bdd0c3e.f5034", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 848.9047655378072, - "y": 342.43749795641224, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "77407e17.13aa", - "type": "switchNode", - "name": "switch model-customization-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1004.7978782653809, - "y": 488.86625480651855, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "c78e5862.3ed2f8" - ] - ] - }, - { - "id": "c78e5862.3ed2f8", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 1209.7978782653809, - "y": 488.86623764038086, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "a0bae35d.bd0f3" - ] - ] - }, - { - "id": "a0bae35d.bd0f3", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1361.2264442443848, - "y": 488.8662357330322, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "9b39e778.02f938", - "type": "switchNode", - "name": "switch tenant", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 950.654956817627, - "y": 530.2947654724121, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "204bc24c.52717e" - ] - ] - }, - { - "id": "204bc24c.52717e", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 1208.3692741394043, - "y": 530.2947998046875, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "cd515ce9.de34" - ] - ] - }, - { - "id": "cd515ce9.de34", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1359.7978401184082, - "y": 530.2947978973389, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "38ecaf2a.7759a", - "type": "comment", - "name": "Validation of required fields", - "info": "", - "comments": "", - "x": 620.3332824707031, - "y": 213.86605644226074, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "77ab2ae3.a31c54", - "type": "switchNode", - "name": "switch svc-action", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 455.5713806152344, - "y": 531.128080368042, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "8e972969.bb2dd8" - ] - ] - }, - { - "id": "8e972969.bb2dd8", - "type": "outcome", - "name": "assign", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 618.0713806152344, - "y": 531.128080368042, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "f91647c8.1d72f8" - ] - ] - }, - { - "id": "f91647c8.1d72f8", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 773.0713806152344, - "y": 531.128080368042, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "77407e17.13aa", - "9b39e778.02f938", - "4108c244.bc563c" - ] - ] - }, - { - "id": "bfe21f2e.7dff3", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 132.7500098092214, - "y": 86.41365623474121, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "d64c66df.cad6c8" - ] - ] - }, - { - "id": "d64c66df.cad6c8", - "type": "service-logic", - "name": "GENERIC-RESOURCE-API ${project.version}", - "module": "GENERIC-RESOURCE-API", - "version": "${project.version}", - "comments": "", - "xml": "", - "outputs": 1, - "x": 208.03571537562766, - "y": 126.65176773071289, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "2e84fc71.260244" - ] - ] - }, - { - "id": "2e84fc71.260244", - "type": "method", - "name": "method validate-vnf-input", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 183.42863682338157, - "y": 167.66365242004395, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "c428e8d.27cce18" - ] - ] - }, - { - "id": "580b25f3.b0273c", - "type": "comment", - "name": "validate-vnf-input", - "info": "", - "comments": "", - "x": 527.0948660714284, - "y": 34, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "c2bc3d2d.6fb7d", - "type": "switchNode", - "name": "switch service-instance-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 483.3571570260183, - "y": 386.50001525878906, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "4f2dc133.3331a" - ] - ] - }, - { - "id": "4f2dc133.3331a", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 695.7857382638113, - "y": 386.5000114440918, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "46f09548.364bec" - ] - ] - }, - { - "id": "46f09548.364bec", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 847.2143042428152, - "y": 386.50000953674316, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - }, - { - "id": "4108c244.bc563c", - "type": "switchNode", - "name": "switch aic-cloud-region", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 980.0000381469727, - "y": 572.5714225769043, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "c4c6b560.de5ab8" - ] - ] - }, - { - "id": "c4c6b560.de5ab8", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 1206.71435546875, - "y": 572.5714569091797, - "z": "a20f7f20.3dd04", - "wires": [ - [ - "c4c87ecd.ccad2" - ] - ] - }, - { - "id": "c4c87ecd.ccad2", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1358.142921447754, - "y": 572.571455001831, - "z": "a20f7f20.3dd04", - "wires": [ - - ] - } -] +[ + { + "id": "76c41400.105bfc", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 215.03125, + "y": 380.7500047683716, + "z": "62d88521.de373c", + "wires": [ + [ + "2a2419b1.808286", + "63aa7131.36521", + "eac281c.1de128", + "e567acf8.fa2ee", + "b96ae981.783b38" + ] + ] + }, + { + "id": "2a2419b1.808286", + "type": "switchNode", + "name": "switch svc-request-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 472.7931594848633, + "y": 338.580340385437, + "z": "62d88521.de373c", + "wires": [ + [ + "b04eadfc.363d6" + ] + ] + }, + { + "id": "b04eadfc.363d6", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 698.507453918457, + "y": 338.5803442001343, + "z": "62d88521.de373c", + "wires": [ + [ + "7a089ce3.3d6db4" + ] + ] + }, + { + "id": "7a089ce3.3d6db4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 849.9360198974609, + "y": 338.58034229278564, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "63aa7131.36521", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 461.3645226614817, + "y": 297.15177195412775, + "z": "62d88521.de373c", + "wires": [ + [ + "9a54011a.7a533" + ] + ] + }, + { + "id": "9a54011a.7a533", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 697.0788743155344, + "y": 295.7231697354998, + "z": "62d88521.de373c", + "wires": [ + [ + "ae9fbdb1.99d76" + ] + ] + }, + { + "id": "ae9fbdb1.99d76", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 847.0788476126536, + "y": 295.723179272243, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "eac281c.1de128", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 471.36457606724343, + "y": 381.43748705727717, + "z": "62d88521.de373c", + "wires": [ + [ + "723ab622.079618" + ] + ] + }, + { + "id": "723ab622.079618", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 698.5074495588033, + "y": 381.43749795641224, + "z": "62d88521.de373c", + "wires": [ + [ + "af6a2199.40114" + ] + ] + }, + { + "id": "af6a2199.40114", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 849.9360155378072, + "y": 381.4374960490636, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "cb0aa11e.ba442", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1089.8290977478027, + "y": 528.8662605285645, + "z": "62d88521.de373c", + "wires": [ + [ + "f7d46398.5727f" + ] + ] + }, + { + "id": "f7d46398.5727f", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1294.8290977478027, + "y": 528.8662433624268, + "z": "62d88521.de373c", + "wires": [ + [ + "4203f831.9a99a8" + ] + ] + }, + { + "id": "4203f831.9a99a8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1446.2576637268066, + "y": 528.8662414550781, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "3314ab19.e03fa4", + "type": "switchNode", + "name": "switch tenant", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1035.6861763000488, + "y": 570.294771194458, + "z": "62d88521.de373c", + "wires": [ + [ + "8f23daeb.368758" + ] + ] + }, + { + "id": "8f23daeb.368758", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1293.4004936218262, + "y": 570.2948055267334, + "z": "62d88521.de373c", + "wires": [ + [ + "d455e65.3d8f318" + ] + ] + }, + { + "id": "d455e65.3d8f318", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1444.82905960083, + "y": 570.2948036193848, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "b6a4138f.58b28", + "type": "comment", + "name": "Validation of required fields", + "info": "", + "comments": "", + "x": 621.3645324707031, + "y": 252.8660545349121, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "e567acf8.fa2ee", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 455.35266876220703, + "y": 570.5447463989258, + "z": "62d88521.de373c", + "wires": [ + [ + "99eee3d5.45a48" + ] + ] + }, + { + "id": "99eee3d5.45a48", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 632.4359893798828, + "y": 570.1280860900879, + "z": "62d88521.de373c", + "wires": [ + [ + "74f6768d.61c458" + ] + ] + }, + { + "id": "74f6768d.61c458", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 829.1026000976562, + "y": 570.1280860900879, + "z": "62d88521.de373c", + "wires": [ + [ + "cb0aa11e.ba442", + "3314ab19.e03fa4", + "14a1f7ee.4225a8" + ] + ] + }, + { + "id": "75d1af24.b59b7", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 133.7812598092214, + "y": 125.41365432739258, + "z": "62d88521.de373c", + "wires": [ + [ + "7a2246ee.79a8f8" + ] + ] + }, + { + "id": "7a2246ee.79a8f8", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 247.06696537562766, + "y": 165.65176582336426, + "z": "62d88521.de373c", + "wires": [ + [ + "58cd5caf.4f7f64" + ] + ] + }, + { + "id": "58cd5caf.4f7f64", + "type": "method", + "name": "method validate-vnf-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 182.45988682338157, + "y": 206.6636505126953, + "z": "62d88521.de373c", + "wires": [ + [ + "76c41400.105bfc" + ] + ] + }, + { + "id": "4fd47656.8c48d8", + "type": "comment", + "name": "validate-vnf-input", + "info": "", + "comments": "", + "x": 528.1261160714284, + "y": 72.99999809265137, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "b96ae981.783b38", + "type": "switchNode", + "name": "switch service-instance-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 484.3884070260183, + "y": 425.50001335144043, + "z": "62d88521.de373c", + "wires": [ + [ + "222c65be.19adaa" + ] + ] + }, + { + "id": "222c65be.19adaa", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 696.8169882638113, + "y": 425.50000953674316, + "z": "62d88521.de373c", + "wires": [ + [ + "419149d7.f3c9e8" + ] + ] + }, + { + "id": "419149d7.f3c9e8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 848.2455542428152, + "y": 425.50000762939453, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "14a1f7ee.4225a8", + "type": "switchNode", + "name": "switch aic-cloud-region", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1065.0312576293945, + "y": 612.5714282989502, + "z": "62d88521.de373c", + "wires": [ + [ + "34b6bd95.7d9342" + ] + ] + }, + { + "id": "34b6bd95.7d9342", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1291.7455749511719, + "y": 612.5714626312256, + "z": "62d88521.de373c", + "wires": [ + [ + "2a60eee3.33bf02" + ] + ] + }, + { + "id": "2a60eee3.33bf02", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1443.1741409301758, + "y": 612.571460723877, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "786596f7.351798", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1060.5074005126953, + "y": 727.7619094848633, + "z": "62d88521.de373c", + "wires": [ + [ + "47670feb.a0d52" + ] + ] + }, + { + "id": "47670feb.a0d52", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1265.5074005126953, + "y": 727.7618923187256, + "z": "62d88521.de373c", + "wires": [ + [ + "57c8f1dd.5353b" + ] + ] + }, + { + "id": "57c8f1dd.5353b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1416.9359664916992, + "y": 727.761890411377, + "z": "62d88521.de373c", + "wires": [] + }, + { + "id": "cfe766b3.3ac5a8", + "type": "outcome", + "name": "changeassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 650.4476203918457, + "y": 727.690468788147, + "z": "62d88521.de373c", + "wires": [ + [ + "43346cb0.8ff874" + ] + ] + }, + { + "id": "43346cb0.8ff874", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 830.4476089477539, + "y": 727.6904354095459, + "z": "62d88521.de373c", + "wires": [ + [ + "786596f7.351798" + ] + ] + }, + { + "id": "75147ce8.6bd644", + "type": "comment", + "name": "model-customization-uuid validation moved to changeassign DG", + "info": "", + "comments": "", + "x": 710.03125, + "y": 693.0000085830688, + "z": "62d88521.de373c", + "wires": [] + } +]