summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-10-17Change PTL of VNFSDK to be Dan XuHEADmasterxudan161-4/+13
Signed-off-by: xudan16 <xudan16@huawei.com> Issue-ID: VNFSDK-859 Change-Id: Ib1b2c434b6925770310eaed7353d1baf08978c77
2022-05-23Merge "inplace of hasSize(0), isEmpty() is used in AssertJ for better error ↵Kanagaraj Manickam1-1/+1
message"
2022-05-23Removed unused import statements. .prakash.e@huawei.com1-2/+1
https://sonarcloud.io/project/issues?resolved=false&severities=MINOR&id=onap_vnfsdk-validation&open=AXnx7xQ5aKaQcuB-KHhk https://sonarcloud.io/project/issues?resolved=false&severities=MINOR&id=onap_vnfsdk-validation&open=AXQFW52-3TFchjqB3cM9 Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: Ib0d9ec18aa9158661cea4004b9cd4440833c3f91
2022-05-18inplace of hasSize(0), isEmpty() is used in AssertJ for better error messageprakash.e@huawei.com1-1/+1
https://sonarcloud.io/project/issues?resolved=false&severities=MINOR&id=onap_vnfsdk-validation Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: Ida0d4a2283e500e553b0886b666e5997cf52b7fc
2022-05-171. Comment addition on explaining why this method is emptysharath reddy3-4/+6
2.Arguments swapping to maintain in correct order https://sonarcloud.io/project/issues?resolved=false&severities=CRITICAL&id=onap_vnfsdk-validation&open=AW6lcX93wQN7qqDOuZdl https://sonarcloud.io/project/issues?resolved=false&severities=MAJOR&id=onap_vnfsdk-validation&open=AXb86PeCWcGc8ovkTVG3 Issue-ID: VNFSDK-832 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I142dda1ba74f1d2aff51cdfd81dac5d9580586ea Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-05-09Log has to be removed while throwing exceptionsprakash.e@huawei.com1-2/+2
https://sonarcloud.io/project/issues?resolved=false&severities=MAJOR&id=onap_vnfsdk-validation&open=AW6lcX-6wQN7qqDOuZdv Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: I4a41f509deb0c0aacb503caf23b46cecdeefb4f6 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-04-13Merge "Added new parameter to store file path."Kanagaraj Manickam0-0/+0
2022-04-13Merge "Logs has to be removed while throwing exceptions"Kanagaraj Manickam1-2/+1
2022-04-12Logs has to be removed while throwing exceptionsprakash.e@huawei.com1-2/+1
https://sonarcloud.io/project/issues?resolved=false&severities=MAJOR&id=onap_vnfsdk-validation&open=AW6lcX_CwQN7qqDOuZdy Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: Ifd98abaab869d4df71afe9f2eef4a9f8f1268aec
2022-04-12Merge "Vulnerability handled for zip files in code"Kanagaraj Manickam1-1/+1
2022-04-11nested comment addition on explaining why this method is emptyprakash.e@huawei.com1-1/+1
https://sonarcloud.io/project/issues?resolved=false&severities=CRITICAL&id=onap_vnfsdk-validation&open=AW6lcX-nwQN7qqDOuZds Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: I35dacd498146017c556da87a95cbb3a9a302f503
2022-04-11Vulnerability handled for zip files in codeprakash.e@huawei.com1-1/+1
https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXk4ivtaWcQzNZo7t49m Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: I37a9eb51d2c1896045951e86f45dcec8c39b060e
2022-04-10vnfsdk validation code refactoring in method createDirectoryprakash.e@huawei.com1-1/+5
https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&types=VULNERABILITY&id=onap_vnfsdk-validation&open=AXk4ivruWcQzNZo7t49l Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: Ib123d5f3648d81c3583119996ec7e50699f6cfec
2022-04-10Added validation for pathname in unzip methodprakash.e@huawei.com1-9/+4
https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf8 https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf9 https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf7 Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: Ic63fe2fbbf675d187cf7415d8889a47f6e29faa6
2022-04-10Parameter name is same as class name and it has been renamedprakash.e@huawei.com1-5/+5
https://sonarcloud.io/project/issues?resolved=false&severities=MAJOR&id=onap_vnfsdk-validation&open=AXcmGzOcttGLhQMuJU4_ Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: I87fad01e01822baa10b8894e5fc16539a318c43d
2022-04-08Added new parameter to store file path.prakash.e@huawei.com1-9/+4
https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf8 https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf9 https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf7 Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: I7ae4a6256c870aa4921f31e5959939a23c075e3e
2022-03-30parameter filePath is not validated before using it.prakash.e@huawei.com1-0/+4
https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf7 Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: Iefa47f59aa13ec5d13fafe1a7a6c874096fd7eb9
2022-03-25vnfsdk validation sonar cloud blocker issue fixprakash.e@huawei.com1-3/+6
https://sonarcloud.io/project/issues?resolved=false&severities=BLOCKER&id=onap_vnfsdk-validation&open=AXem3AYTgLw0BJ6Agbf8 Issue-ID: VNFSDK-832 Signed-off-by: prakash.e@huawei.com <prakash.e@huawei.com> Change-Id: I217bf91e336f1c96090f4dfd5aa4b4267a43dd24
2022-03-15Issue-ID: VNFSDK-826sharath reddy1-1/+1
Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I6d7bc191f308955116fff5397b2ee9ffe3a50424
2021-05-06Rename PM_Dictionary_Validator to Dictionary_ValidatoristanbulBartosz Gardziejewski72-61/+220
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Icb65e6f832804aa4a958e530422d35e079ffe3c1 Issue-ID: VNFSDK-769
2021-02-24fix id in INFO.yamlhonoluluBartosz Gardziejewski1-1/+1
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I432e1cd07c7af8862ff727768210092f88f84f79 Issue-ID: VNFSDK-754
2021-02-24Add Bartosz Gardziejewski as committerBogumil Zebek1-0/+5
Change-Id: Ie7036f26dac92c3c6fb8ff3b1c3e7a44b2729f3c Issue-ID: VNFSDK-754 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2021-01-21Release version 1.2.20Bartosz Gardziejewski1-0/+5
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I611c430990391f98e103dae289846832a025f073 Issue-ID: VNFSDK-731
2021-01-21Update documentation and fix path to python test resourcesEdyta Krukowska8-51/+152
Issue-ID: VNFSDK-731 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ie7b045fd55a2192bc90c972e60de58ac5aaa66cc
2021-01-20Add release parameter to rulesBogumil Zebek53-287/+1028
- All vnf/pnf rules where updated. Release parameter was added into the info->metadata section. - VNFSDK validation logic supports optional release parameter. Parameter defines which rules should be used during validation process. By default: all rules are used during validation process. --release parameter defines which rules (parent with ancestors) should be used. For example: if user run validation with --release=dublin, then amsterdam, casablanca and dublin rules will be used during validation. Rules order is defined in the vnfreqs.properties file. Change-Id: I3e9dc1e7a899fa51c266808cbcb73e04a2e252cc Issue-ID: VNFSDK-731 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2021-01-20Change versino to 1.2.20Bartosz Gardziejewski6-5/+7
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I0cb2aeaeb6a804e65c5d435263eb528c448f0d52 Issue-ID: VNFSDK-714
2021-01-20Release version 1.2.19Bartosz Gardziejewski2-1/+12
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Id3fe2a571083223d2a430f84281a2ed8aac08b2c Issue-ID: VNFSDK-714
2021-01-13Add support for signature in PCKS7 format.Bartosz Gardziejewski16-27/+421
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ic98d1b9c93c11c484c86338588922c2f347b7c02 Issue-ID: VNFSDK-714
2021-01-07Change version to 1.2.19Bartosz Gardziejewski6-5/+7
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I72bdfe2acaf3f9d8485791cda6d487271e09cfb3 Issue-ID: VNFSDK-721
2021-01-07Release version 1.2.18Bartosz Gardziejewski1-0/+5
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I48a3e7563ab6d8339f232e368af0cd04c85c905c Issue-ID: VNFSDK-721
2021-01-07Change version to 1.2.18Bartosz Gardziejewski6-5/+7
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I15c9d1f872c135a92df94596c8d0c3115e458152 Issue-ID: VNFSDK-721
2021-01-07Merge "PM Validation Yaml rule"Kanagaraj Manickam14-5/+513
2021-01-07Release version 1.2.17Bartosz Gardziejewski1-0/+5
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I95668539aa7cfc5d626f6d9730f8bf395966bff2 Issue-ID: VNFSDK-714
2021-01-07PM Validation Yaml ruleBogumil Zebek14-5/+513
- Add PM Validation Yaml file as OCLIP rule Change-Id: Ida3abc79776a04b56d34e0b223de75225981eb6a Issue-ID: VNFSDK-721 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-12-29Add individual artifact validation using common cert.Bartosz Gardziejewski23-536/+1268
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I2aa4e862f3d343a3f452e1564dc8a97a34960b83 Issue-ID: VNFSDK-714
2020-12-16Change version to 1.2.17Bartosz Gardziejewski6-5/+7
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I492f240fdb8d3bfeffc9c23a510b2f38c3168825 Issue-ID: VNFSDK-715
2020-12-16Release version 1.2.16Bartosz Gardziejewski2-0/+7
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I605d8a2ea9345c4df55bf4a1a18fdbcb6e66ac1c Issue-ID: VNFSDK-715
2020-12-15Fix validation of error messages.Bartosz Gardziejewski1-2/+24
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Id0e83041823558a56932286895363503f77f6de4 Issue-ID: VNFSDK-715
2020-12-15Merge "Add cli to pmdictionary validation"Kanagaraj Manickam25-43/+1192
2020-12-14Add cli to pmdictionary validationBogumil Zebek25-43/+1192
- Extend pmdictionary validation library by cli Change-Id: Id24bca84f985b2859eff1eeb5bcf0c443269a947 Issue-ID: VNFSDK-715 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-12-10Add signature and certificate for individual artifacts.Bartosz Gardziejewski12-82/+333
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ifb9e06fffefea6b4d068a915b69b66c750ab02e8 Issue-ID: VNFSDK-714
2020-12-10Add fields for signature and certificate in source model.Bartosz Gardziejewski3-17/+367
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I0783dd9f78c0138fba871d0977e4cd8305891872 Issue-ID: VNFSDK-714
2020-12-08Merge "Add rules parameter for selected rules validation"Bogumil Zebek4-11/+153
2020-12-02Merge "Add python script to generate table with active validation rules."Bogumil Zebek20-3/+605
2020-12-01Add python script to generate table with active validation rules.Bartosz Gardziejewski20-3/+605
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I4c944fe6c5bd3cb7f8807d954cc85ad16743841b Issue-ID: VNFSDK-696
2020-12-01Change version to 1.2.16Pawel6-5/+7
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ibef6ae2369d9f9b77e31064ce7525a277844a581
2020-12-01Release version 1.2.15Pawel1-0/+5
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I98e7370f2e24dd323d1b8387ecd02daaa9b00c39
2020-11-26Add possibility to validation pm-dictionary from byte arrayPawel16-298/+465
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I2d2de2cfe066e1cbbdea3bc8fac771914779e117
2020-11-25Tests refactorPawel8-151/+151
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I86bfb5af43c6ccab74c46ba4bdcf13a3be27962c
2020-11-24Extract pm-dicrionary validationPawel42-348/+429
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Iee5a23a3a6c9215927aa2c453faab62d30453444