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=7189c44abd762ce9459c619e8da16ba46dfc35ff;hp=548017d5609603b3439ca9f1d2faf13e5ea95bb7;hpb=979076e024b63ea7632c3cd57b8d62525482698d;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 548017d5..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,487 +1,529 @@ -[ - { - "id": "b38b0b37.4fbba8", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 156.66665649414062, - "y": 414.16667597634455, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "52d79f98.236c9", - "db0b2c04.23c78", - "2090c272.2f2dae", - "f3ec5636.aa7578", - "de04dcb6.e0093", - "286a5aeb.cd2826" - ] - ] - }, - { - "id": "52d79f98.236c9", - "type": "switchNode", - "name": "switch svc-request-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 439.4285659790039, - "y": 297.24701404571533, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "f9ab1dd1.ac849" - ] - ] - }, - { - "id": "f9ab1dd1.ac849", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 665.1428604125977, - "y": 297.2470178604126, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "a08153b.30607b" - ] - ] - }, - { - "id": "a08153b.30607b", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 816.5714263916016, - "y": 297.24701595306396, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "db0b2c04.23c78", - "type": "switchNode", - "name": "switch svc-action", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 427.99992915562234, - "y": 255.81844561440607, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "eeea9033.66cb9" - ] - ] - }, - { - "id": "eeea9033.66cb9", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 663.7142808096751, - "y": 254.38984339577814, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "d8278276.52076" - ] - ] - }, - { - "id": "d8278276.52076", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 813.7142541067942, - "y": 254.3898529325213, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "2090c272.2f2dae", - "type": "switchNode", - "name": "switch request-action", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 437.99998256138406, - "y": 340.1041607175555, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "3462c626.b9b84a" - ] - ] - }, - { - "id": "3462c626.b9b84a", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 665.1428560529439, - "y": 340.10417161669056, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "b3d88cc6.52ff2" - ] - ] - }, - { - "id": "b3d88cc6.52ff2", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 816.5714220319478, - "y": 340.10416970934193, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "e6d8c21d.71c1c", - "type": "switchNode", - "name": "switch model-customization-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 972.4645347595215, - "y": 486.53292655944824, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "de43bd69.67fda" - ] - ] - }, - { - "id": "de43bd69.67fda", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 1177.4645347595215, - "y": 486.53290939331055, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "4575d060.3b037" - ] - ] - }, - { - "id": "4575d060.3b037", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1328.8931007385254, - "y": 486.5329074859619, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "689a33f6.b4cc9c", - "type": "switchNode", - "name": "switch tenant", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 918.3216133117676, - "y": 527.9614372253418, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "238e5ffc.d0317" - ] - ] - }, - { - "id": "238e5ffc.d0317", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 1176.035930633545, - "y": 527.9614715576172, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "bcaf5c05.49c86" - ] - ] - }, - { - "id": "bcaf5c05.49c86", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1327.4644966125488, - "y": 527.9614696502686, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "c2b4e8d1.4fcae8", - "type": "comment", - "name": "Validation of required fields", - "info": "", - "comments": "", - "x": 587.9999389648438, - "y": 211.53272819519043, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "f3ec5636.aa7578", - "type": "switchNode", - "name": "switch svc-action", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 423.238037109375, - "y": 528.7947521209717, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "2acfd81d.e2f408" - ] - ] - }, - { - "id": "2acfd81d.e2f408", - "type": "outcome", - "name": "assign", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 585.738037109375, - "y": 528.7947521209717, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "5a45a048.95a1d" - ] - ] - }, - { - "id": "5a45a048.95a1d", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 740.738037109375, - "y": 528.7947521209717, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "e6d8c21d.71c1c", - "689a33f6.b4cc9c", - "217fcc81.9f4ba4" - ] - ] - }, - { - "id": "a37f14a8.387e78", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 100.41666630336204, - "y": 84.0803279876709, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "b399deb4.255d6" - ] - ] - }, - { - "id": "b399deb4.255d6", - "type": "service-logic", - "name": "GENERIC-RESOURCE-API ${project.version}", - "module": "GENERIC-RESOURCE-API", - "version": "${project.version}", - "comments": "", - "xml": "", - "outputs": 1, - "x": 175.70237186976829, - "y": 124.31843948364258, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "869696da.e07a18" - ] - ] - }, - { - "id": "869696da.e07a18", - "type": "method", - "name": "method validate-vnf-input", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 151.0952933175222, - "y": 165.33032417297363, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "b38b0b37.4fbba8" - ] - ] - }, - { - "id": "9789ee81.07f95", - "type": "comment", - "name": "validate-vnf-input", - "info": "", - "comments": "", - "x": 494.76152256556907, - "y": 31.666671752929688, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "de04dcb6.e0093", - "type": "switchNode", - "name": "switch service-instance-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 451.0238135201589, - "y": 384.16668701171875, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "54e9ea0e.6ae744" - ] - ] - }, - { - "id": "54e9ea0e.6ae744", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 663.4523947579519, - "y": 384.1666831970215, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "d1e3ee4b.ceb14" - ] - ] - }, - { - "id": "d1e3ee4b.ceb14", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 814.8809607369558, - "y": 384.16668128967285, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "286a5aeb.cd2826", - "type": "switchNode", - "name": "switch vnf-id", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 408.5238227844238, - "y": 427.6666774749756, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "bb28e2bc.36c43" - ] - ] - }, - { - "id": "bb28e2bc.36c43", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 663.8095321655273, - "y": 426.23810958862305, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "9c9ba7cb.f1d4b8" - ] - ] - }, - { - "id": "9c9ba7cb.f1d4b8", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 815.2380981445312, - "y": 426.2381076812744, - "z": "19ac43dc.b5de6c", - "wires": [] - }, - { - "id": "217fcc81.9f4ba4", - "type": "switchNode", - "name": "switch aic-cloud-region", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 947.6666946411133, - "y": 570.238094329834, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "30f287b7.9d1118" - ] - ] - }, - { - "id": "30f287b7.9d1118", - "type": "outcome", - "name": "NULL", - "xml": "", - "comments": "", - "outputs": 1, - "x": 1174.3810119628906, - "y": 570.2381286621094, - "z": "19ac43dc.b5de6c", - "wires": [ - [ - "44a324d9.932adc" - ] - ] - }, - { - "id": "44a324d9.932adc", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1325.8095779418945, - "y": 570.2381267547607, - "z": "19ac43dc.b5de6c", - "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": [] + } +]