summaryrefslogtreecommitdiffstats
path: root/csarvalidation
AgeCommit message (Collapse)AuthorFilesLines
2020-09-21Add warnings field to oclip json responseAdam Wudzinski3-20/+76
Add new field called "warnings" to oclip json response. All ignored errors are now reported as warnings. Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Issue-ID: VNFSDK-596 Change-Id: Ifebfb09b54156f0566858e942d73a7a5ef34721f
2020-08-28Merge "Fix searching for path to PM_Dictionary in manifest file."Bogumil Zebek4-7/+44
2020-08-27Fix searching for path to PM_Dictionary in manifest file.Bartosz Gardziejewski4-7/+44
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I3bf22f9095c560fa6c98e37b6d28b306e9af4d95 Issue-ID: VNFSDK-645
2020-08-24Fix commons-io vulnerabilityjitendra0071-1/+1
Issue-ID: VNFSDK-584 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: I8a91c7f441559cd9e3ddcd9cbd1223fd9882c320
2020-08-21Migrate from java 8 to java 11Bogumil Zebek4-62/+147
Change-Id: If146dc0d99541a8a14ecc5e504c49a5c433a262f Issue-ID: VNFSDK-631 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-08-21Fix commons-codec vulnerabilityjitendra0071-0/+11
Issue-ID: VNFSDK-584 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: I78c1bd06c040085419155ad7bb19c070f416715a
2020-08-20Change version to 1.2.12Bartosz Gardziejewski1-1/+1
Issue-ID: VNFSDK-644 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I900ba711ff8525eb26674a76abac6d6fb45f386e
2020-08-20Wrap exceptions connected with Yaml parsing in order to send them as ↵Bartosz Gardziejewski8-1/+364
validation error. Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Iae6c0948746bb903945de1796b6f42952d4072ba Issue-ID: VNFSDK-644
2020-08-19Removing jmockit dependencies.Bartosz Gardziejewski2-91/+2
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Idbd406f3cbfb943452870a394e2a8b7bcdc7509b Issue-ID: VNFSDK-631
2020-08-18Code Improvements-Vnfsdk-validation sonar issue fixesSravanKumarGunda14-82/+91
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: VNFSDK-608 Change-Id: Idba9f4876e41b699e2a2ac836eb2090f3694d0f1
2020-08-12fix snakeyaml vulnerabilityjitendra0073-5/+4
Issue-ID: VNFSDK-584 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Id91ed81d3b104e507eefc242a59e19918564233c
2020-08-05Fix sonar issues for validationjitendra00726-265/+394
Issue-ID: VNFSDK-608 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ib56d706444190d11958f125e666b0e0fbeab5391
2020-07-22Change version to 1.2.11Bartosz Gardziejewski1-1/+1
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I5a5b8c428674dc2b3a4da1b2390691e5411d6286
2020-07-21Add list of values validation using schema in PM Dictionary.Bartosz Gardziejewski17-140/+462
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1e59bdfb697adb6097636212fa5be8c749f084e6
2020-07-16Change version to 1.2.10Bartosz Gardziejewski1-1/+1
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I686f3af44beafae3161de6513f5dc8bca6532ed5
2020-07-15Merge "Add rule r816745 to pnf list"Bogumil Zebek2-1/+2
2020-07-15Merge "use YAML schema validator in rule R816745"Bogumil Zebek22-23/+429
2020-07-15Merge "Add validation of YAML documents, with use of schema"Bogumil Zebek10-5/+526
2020-07-14Add rule r816745 to pnf listBartosz Gardziejewski2-1/+2
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ia51e1d4a60aaddb21f3c66f939cf50743b1ccc2d
2020-07-14use YAML schema validator in rule R816745Bartosz Gardziejewski22-23/+429
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I70c6150662b69833d4e190a6adc1047840a78975
2020-07-14Add validation of YAML documents, with use of schemaBartosz Gardziejewski10-5/+526
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I4afc573f564c642a349736e50b50c591b9b18650
2020-07-14Merge "Convert yaml schema into tree structure"Bogumil Zebek17-15/+893
2020-07-14Convert yaml schema into tree structureBartosz Gardziejewski17-15/+893
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I071095347fbdf824205e63ab9771cdf47d2ad29d
2020-07-13Fix validation processMaciej Malewski3-13/+81
Rule must check if files defined in a manifest file are available in a csar artifact. Code created by Bogumil Zebek. Issue-ID: VNFSDK-583 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I890a67bb8f62af306825f2c7d150baffac385671
2020-07-07Merge "Extend R01123 to support ZIP files"Bogumil Zebek5-24/+52
2020-07-07Merge "Add wrappers for yaml generic objects"Bogumil Zebek6-3/+368
2020-07-07Extend R01123 to support ZIP filesBartosz Gardziejewski5-24/+52
Issue-ID: VNFSDK-583 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ie63d1ff3f38d10643bd895b5ed720997c189920a
2020-07-03Change version to 1.2.9Bartosz Gardziejewski1-1/+1
Issue-ID: VNFSDK-583 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I0b5b17d20432a813245006f5629d382737b3be2f
2020-07-03Add R01123 to pnf validationBartosz Gardziejewski2-2/+4
Issue-ID: VNFSDK-583 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I2e4ba82e55dc366ea7c5ffb0944fc467ab530076
2020-07-02Change version to 1.2.8Michal Banka1-1/+1
Change-Id: I22b5f6f783291660851591ac6012d33dbebaf6d5 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: VNFSDK-595
2020-07-02Change R130206 warning messageMichal Banka2-4/+4
Change-Id: I0160fb47414d6b04d2ef649bbacb5125f3ad3335 Issue-ID: VNFSDK-595 Signed-off-by: Michal Banka <michal.banka@nokia.com>
2020-07-01Add wrappers for yaml generic objectsBartosz Gardziejewski6-3/+368
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ic6e2f291a0f8d5a34b75208f7cff68c4262f6cbf
2020-07-01Merge "Add multi document Yaml file loading"Bogumil Zebek5-0/+388
2020-06-30Add multi document Yaml file loadingBartosz Gardziejewski5-0/+388
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ic4feb908b57bd6ff4f2903559dbc5b92836e2c33
2020-06-30Make rule 130206 less restrictiveAleksandra Maciaga5-15/+59
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Issue-ID: VNFSDK-595 Change-Id: I39beb48d958b0589837f4d960ca7edded0e1e22e
2020-06-25Skip YAML validation in rule R816745, if onap_pm_dictionary is not present ↵Bartosz Gardziejewski4-0/+54
in non_mano_artifact_sets Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I0e52bcc84583a65243fd821f6434f986d12fdadd
2020-06-24Merge "Create new Rule (R816745) that will be used for PM_Dictionary content ↵Bogumil Zebek3-0/+142
validation"
2020-06-24Create new Rule (R816745) that will be used for PM_Dictionary content validationBartosz Gardziejewski3-0/+142
Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I38dd04621e9cef39126a19b760079f79de13b5ac
2020-06-24Add new rule for validation, if every files located in CSAR are listed in ↵Bartosz Gardziejewski7-9/+201
manifest Issue-ID: VNFSDK-583 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I96bf65b1988cd0a9549f2cd536f29a467f50a51f
2020-05-21Upgrade version to 1.2.7 and add change logedyta1-1/+1
Issue-ID: VNFSDK-587 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I01563147acff860b45aa44df22a0063aa5fcbf0d
2020-05-21Fix issue with loading rules propertiesedyta1-1/+1
Issue-ID: VNFSDK-587 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I1fae95e8cd67e6aea880b96457f35e1c187a63c3
2020-05-21Upgrade version to 1.2.6 and add change logMichal Banka1-1/+1
Change-Id: I5b59719a2aad336e940f5f57e643d6fe21e455df Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: VNFSDK-585
2020-05-21Add file extension checking to R972082Michal Banka3-0/+29
Change-Id: If67fce758fdeac29bbb1450892d89a424fdb7c84 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: VNFSDK-585
2020-05-20Fix validation processBogumil Zebek2-15/+102
Resolve problem that one failed rule has impact on other valid rules. Change-Id: Ib36eed71b16fbfc48af88faaf07bb7293fefaf38 Issue-ID: VNFSDK-586 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2020-05-19Merge "Upgrade version to 1.2.5 and add change log"Bogumil Zebek1-1/+1
2020-05-19Upgrade version to 1.2.5 and add change logBartosz Gardziejewski1-1/+1
Issue-ID: VNFSDK-582 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I8025412c1c0cec03635082cfbe6e53eb22d0f0d4
2020-05-19Merge "Enable R972082 rule in pnf requirements"Bogumil Zebek1-2/+2
2020-05-18Enable R972082 rule in pnf requirementsMichal Banka1-2/+2
Change-Id: Ia28cdcee83b8dc99345871daa6659e28d934c4ce Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: VNFSDK-585
2020-05-18Merge "Fix R972082 bug"Bogumil Zebek3-31/+21
2020-05-15Fix R972082 bugMichal Banka3-31/+21
Fixed bug that was showing errors during validation of CSAR, when any other non_mano_artifact_set than onap_pnf_sw_information was present in manifest file. Change-Id: Iebf4f586c3069bc8c22796ec0f809fc95e561159 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: VNFSDK-585