summaryrefslogtreecommitdiffstats
path: root/csarvalidation
AgeCommit message (Collapse)AuthorFilesLines
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
2020-05-15Merge "Fix VNF/PNF package integrity issue with CMS signature not containing ↵Bogumil Zebek5-23/+71
certificate"
2020-05-14Fix VNF/PNF package integrity issue with CMS signature not containing ↵Aleksandra Maciaga5-23/+71
certificate Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Issue-ID: VNFSDK-582 Change-Id: Id3dc6c8e1ead183449fcf903d9b9b886e4796e84
2020-05-13Merge "Fix package integrity issue with non mano arifacts"Bogumil Zebek4-12/+33
2020-05-13Increase code coverage of R972082 ruleMichal Banka3-0/+35
Change-Id: I6d8174842128ba7fa8aa1b2167c048d00edaf9fa Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: VNFSDK-585
2020-05-13Fix package integrity issue with non mano arifactsedyta4-12/+33
Issue-ID: VNFSDK-581 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ia07e5ed9b188a689381e95485dd8f32d13b77258
2020-04-13Set version to 1.2.4Kanagaraj Manickam1-1/+1
Issue-ID: VNFSDK-565 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: Ibf8e35132de303fd1a9d80afcf193772a7d34089
2020-04-13Fix csar validation success statusKanagaraj Manickam1-1/+1
Issue-ID: VNFSDK-565 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: If041e271c28543b8d6f884795201e094f73e4459
2020-04-03Fix csar validation success statusKanagaraj Manickam1-0/+1
Issue-ID: VNFSDK-565 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: Ib131e7f9c4765c676f14e52b06e4165e602924bb
2020-03-21Set version 1.2.3Kanagaraj Manickam2-3/+3
Issue-ID: VNFSDK-565 Change-Id: I4abe480328684f28032035ff6b3c3b3c2c85d4b5 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
2020-03-13Migrate to gsonpriyanka.akhade4-12/+23
Issue-ID: VNFSDK-553 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: Ideb0e20ebe09945f221cc31560922aae9e375dde
2020-03-04removed slf4j-log4j12, added log4j-slf4j-implpriyanka.akhade4-40/+69
Issue-ID: VNFSDK-553 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I751b24860993381076e12741896c7dd2d1f3fd33
2020-01-22Merge "Fix installation docs for csarvalidation"Weitao Gao1-3/+3
2019-12-13Implement PNF package validation on PNF software versionvasraz15-367/+842
1. New requirement (R-972082) 2. Edit requirement (R-146092) 3. Remove unused dependencies. Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0518da5cdbf22b0086cf2c4f50194b47994273f7 Issue-ID: VNFSDK-531
2019-11-22Support non DOS/Windows format CSAR manifest fileLianhao Lu5-10/+92
When recreating the csar manifest file during signature verification, we should use the same newline charater as the original file instead of using the DOS/Windows newline charater to avoid false positive signature verfication failure. Issue-ID: VNFSDK-520 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Change-Id: I7bdf0a7f6b46c7def0a92d7ec7f245e268355959
2019-11-22Tolerate subdirectory zip entries in csarLianhao Lu4-2/+40
Issue-ID: VNFSDK-516 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Change-Id: Ic14e713522871fba5ebce92870ff796624f4a820
2019-11-12Fix installation docs for csarvalidationArtem Naluzhnyy1-3/+3
Issue-ID: VNFSDK-514 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: Ia9a6798930ab623f6793f7522c99fad2fc87b72e
2019-10-08Merge "Sonar fix"Weitao Gao5-78/+345
2019-09-18Sonar fixBogumil Zebek5-78/+345
Change-Id: I7c39a2d83d067382ffb91ed136ad840dab85ccd8 Issue-ID: VNFSDK-477 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-09-17Non mano artifactsBogumil Zebek3-3/+39
Change-Id: I4d7eefc999f9cd6cb5255b764da3c5ae7e84f0af Issue-ID: VNFSDK-476 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-09-10Fix the product name for sol004 testKanagaraj Manickam k003651061-1/+1
Issue-ID: VNFSDK-424 Change-Id: Ieeaebeed722089ea889192b8f594488a9bb2d056 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-09-04Merge "modify Sonar Issue"Weitao Gao13-156/+133
2019-09-04Merge "CMS signature validation"Weitao Gao21-96/+442
2019-09-04modify Sonar IssueHailong Zhang13-156/+133
Issue-ID: VNFSDK-462 Signed-off-by: Hailong Zhang <zhanghailong22@huawei.com> Change-Id: I010d99d82c1ac8919907cf70ea4f8893e0a4b06d