summaryrefslogtreecommitdiffstats
path: root/csarvalidation
AgeCommit message (Collapse)AuthorFilesLines
2020-12-01Change version to 1.2.16Pawel1-1/+1
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ibef6ae2369d9f9b77e31064ce7525a277844a581
2020-11-26Add possibility to validation pm-dictionary from byte arrayPawel1-2/+2
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I2d2de2cfe066e1cbbdea3bc8fac771914779e117
2020-11-24Extract pm-dicrionary validationPawel37-3035/+5
Issue-ID: VNFSDK-713 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Iee5a23a3a6c9215927aa2c453faab62d30453444
2020-10-23Change version to 1.2.15Bartosz Gardziejewski1-1/+1
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Id2edd82230f3f57eaa6473e24e976985552a07f8 Issue-ID: VNFSDK-481
2020-10-15Add handling of CSAR with no TOSCA meta and no certificate.Bartosz Gardziejewski4-2/+52
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ic9914b13e0bd5d9844849f20051d99d18e369ae9 Issue-ID: VNFSDK-481
2020-10-13Add error when CMS and TOSCA meta file are present, however TOSCA does not ↵Bartosz Gardziejewski4-34/+36
contains ETSI-Entry-Certificate Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I238ac7544f1eda9fa1bc0f2a89120dc3ae33437a Issue-ID: VNFSDK-660
2020-10-13Revert "Update ONAP cli to 6.0.0 ."Bartosz Gardziejewski2-3/+3
This reverts commit bbb1c92f09a8ef563f6897c2afa1073ecdd4d73b. Reason for revert: Bug exist in version 6.0.0 ONAP CLI. Change-Id: I3690383252b90f918f2f708eac2c1f518faea3dc Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Issue-ID: VNFSDK-697
2020-10-12Update ONAP cli to 6.0.0 .Bartosz Gardziejewski2-3/+3
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I03e78efbf1b22ba6b58f9d204a2dda1b97958588 Issue-ID: VNFSDK-697
2020-10-07Refactor functional tests for CSAR validation.Bartosz Gardziejewski6-180/+398
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Icaa53313d66a01dccc779959b49b74857402cb71 Issue-ID: VNFSDK-661
2020-09-25Release validation 1.2.13Adam Wudzinski1-1/+1
Add new field called "warnings" to oclip json response. All ignored errors are now reported as warnings. - https://jira.onap.org/browse/VNFSDK-596 Fixed rule R130206 CMS and certificate searching and validation mechanism - https://jira.onap.org/browse/VNFSDK-595 Issue-ID: VNFSDK-596 Signed-off-by: adam.wudzinski@nokia.com <adam.wudzinski@nokia.com> Change-Id: Ic235ed14976576586fe8512eeaa8d9253e4609cb
2020-09-24Fixing R130206 certificate searching mechanismBartosz Gardziejewski38-201/+764
Issue-ID: VNFSDK-595 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I8dacd924b16812378356b05291229f2097dfcbe1
2020-09-23Merge "Add warnings field to oclip json response"Bogumil Zebek3-20/+76
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-09-14Merge "code improvements"Bogumil Zebek6-159/+161
2020-09-14code improvementspriyanka.akhade6-159/+161
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: VNFSDK-608 Change-Id: Ia4b6d62bc0a3a94487e2a8748cfbfff9727a7d77
2020-09-10Change version to 1.2.13Bartosz Gardziejewski1-1/+1
Issue-ID: VNFSDK-645 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ic5cd36832fa251643a3fe4b1fc06e315037d5155
2020-09-04added non-vulnerable log4j versionpriyanka.akhade1-1/+1
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: VNFSDK-553 Change-Id: I6844d21d095d6f3031382fa271babfc50eee4a98
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