summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
2020-06-30Make rule 130206 less restrictiveAleksandra Maciaga2-0/+0
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 Gardziejewski2-0/+0
in non_mano_artifact_sets Issue-ID: VNFSDK-594 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I0e52bcc84583a65243fd821f6434f986d12fdadd
2020-06-24Add new rule for validation, if every files located in CSAR are listed in ↵Bartosz Gardziejewski4-0/+0
manifest Issue-ID: VNFSDK-583 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I96bf65b1988cd0a9549f2cd536f29a467f50a51f
2020-05-21Add file extension checking to R972082Michal Banka1-0/+0
Change-Id: If67fce758fdeac29bbb1450892d89a424fdb7c84 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: VNFSDK-585
2020-05-18Merge "Fix R972082 bug"Bogumil Zebek1-0/+0
2020-05-15Fix R972082 bugMichal Banka1-0/+0
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 Zebek2-0/+0
certificate"
2020-05-14Fix VNF/PNF package integrity issue with CMS signature not containing ↵Aleksandra Maciaga2-0/+0
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 Zebek1-0/+0
2020-05-13Increase code coverage of R972082 ruleMichal Banka2-0/+0
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 arifactsedyta1-0/+0
Issue-ID: VNFSDK-581 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ia07e5ed9b188a689381e95485dd8f32d13b77258
2020-03-04removed slf4j-log4j12, added log4j-slf4j-implpriyanka.akhade1-6/+12
Issue-ID: VNFSDK-553 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I751b24860993381076e12741896c7dd2d1f3fd33
2019-12-13Implement PNF package validation on PNF software versionvasraz6-0/+0
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 Lu1-0/+10
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 Lu1-0/+0
Issue-ID: VNFSDK-516 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Change-Id: Ic14e713522871fba5ebce92870ff796624f4a820
2019-09-17Non mano artifactsBogumil Zebek1-0/+0
Change-Id: I4d7eefc999f9cd6cb5255b764da3c5ae7e84f0af Issue-ID: VNFSDK-476 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-08-22CMS signature validationBogumil Zebek7-10/+64
Change-Id: Ie5d1c835d0e6a760f1b7de651a3833cb87b727e0 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-08-09Improve code qualityBogumil Zebek1-0/+68
Change-Id: I60090d9da403bf8e6c3e5ba77ef4acfd6f41ec2b Issue-ID: VNFSDK-449 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-31Option 1 - vnf onlyBogumil Zebek3-0/+27
Change-Id: I281dddab930328f24b9267aa6afc6ae08fd9ed01 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-08Option 1 - pnf onlyBogumil Zebek8-2/+176
Change-Id: I9af3bb9b0682d7babed16042c5cac948db5dd822 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-03Merge "Non_mano_artifact"Gao Weitao16-0/+6
2019-06-13Non_mano_artifactBogumil Zebek16-0/+6
Change-Id: I0a47aac7935f12e406998fcdc3ae1eba6c5a2adc Issue-ID: VNFSDK-418 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-06-11Security verificationBogumil Zebek2-0/+0
Change-Id: I759e3698a25dd4f84dc345c3fd4c0d201b75d233 Issue-ID: VNFSDK-395 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-05-31Handle signature in cmsBogumil Zebek3-0/+0
Change-Id: Ied997305efe347859cbd069f2887f792adc775c0 Issue-ID: VNFSDK-414 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-05-29Clearer messageBogumil Zebek1-0/+0
Change-Id: I1ca7c3596e55c4b6c58d3ccb8224929e8575176d Issue-ID: VNFSDK-412 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-05-07Fix internal errorsBogumil Zebek5-0/+0
Change-Id: Ifdc6995fdadfc4e0ef575e9688b4e331afedce73 Issue-ID: VNFSDK-404 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-04-18Security TC op2Bogumil Zebek1-0/+0
Change-Id: I247c1223b5731c8dbea1480ca88db1cff78cb633 Issue-ID: VNFSDK-342 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-28PNF TC R146092Bogumil Zebek11-2/+2
Change-Id: I27c881a8673957dde346fae393fffa6e946c2cd4 Issue-ID: VNFSDK-388 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-22PNF TC R293901Bogumil Zebek3-0/+0
Change-Id: I6acfa94ce0fac2b3c46688601c3ec553af4c8b66 Issue-ID: VNFSDK-386 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-18Update manifest parserBogumil Zebek2-11/+24
Change-Id: I420fd9fb97450cbcc2afc15632717182e18f0333 Issue-ID: VNFSDK-384 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-15Update TOSCA.meta parserBogumil Zebek1-0/+0
Change-Id: Id4cd3e3cfe09d9bdcb9df870d22884eb85a42e90 Issue-ID: VNFSDK-385 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-12Create pnf scar archive moduleBogumil Zebek2-0/+14
Change-Id: Iad552af5d4e9f446de9abecdded317ee2065edc4 Issue-ID: VNFSDK-377 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-11Merge "Add README.md"Gao Weitao1-11/+1
2019-03-11Merge "Add sample result json for reference"Gao Weitao2-1/+63
2019-03-07Add README.mdKanagaraj Manickam k003651061-11/+1
Issue-ID: VNFSDK-276 Change-Id: I4917b8bf484feaf34a8bcdead677cd12cfb18057 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-04Add sample result json for referenceKanagaraj Manickam k003651062-1/+63
Issue-ID: VNFSDK-276 Change-Id: I24e61fdca3f179d23dcc618da8e64d3c1c67ee63 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-01Merge "CVC TOSCA CSAR Validation Test cases"Gao Weitao2-0/+32
2019-02-28CVC TOSCA CSAR Validation Test casesKanagaraj Manickam k003651062-0/+32
Add the planned test cases with incubation of test coverage. This would help to cvc. Issue-ID: VNFSDK-276 Change-Id: Id3429c606f9370bf6e373abd8b7b76067f013dd1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-18Implement requirement r02454Victor Gao1-0/+0
Change-Id: Icac494bda73069fb5435600e7d5144c584a692b6 Issue-ID: VNFSDK-175 Signed-off-by: Victor Gao <victor.gao@huawei.com>
2017-10-26Validate against as per defined attribute nameAvinashS5-0/+0
TOSCA.meta: Should be TOSCA-Meta-File-Version instead of TOSCA-Meta-Version Change-Id: I6d8d84bcc8a48436fbb044091ea1db1b7f8a2240 Issue-Id: VNFSDK-118 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-26Add custom validationAvinashS1-0/+0
To support custom CSAR structure for Amsterdam, add support with schema based validation.This can scale to future enhancements and hardening of validation. Change-Id: I8a20dd2377dafc94346412a8601f1299fa4600c8 Issue-Id: VNFSDK-117 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-12Increase the VNF validation scope with new samplesAvinashS2-0/+0
Change-Id: I171c2f3c37e8255bece396107319057463065827 IssueId: VNFSDK-107 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-12Enhance validation with new VNF typesAvinashS1-0/+0
Add validation for vEPC sample. Removed strict validation for metadata in MRF.yaml file with no defined standard. Change-Id: I1ebb4c4c77923b00b7a4074184fbaa4659a6095a IssueId: VNFSDK-107 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-21Add sample csarAvinashS1-0/+0
Sample valid csar example for UT. Change-Id: Ib8807eb3f6bc63ac70bf0144787d2df847f5650c IssueId: VNFSDK-89 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-21Added validation for MainServiceTemplateAvinashS1-0/+0
Added code for validation of MainServiceTemplate requires further cleanup and smart schema validation. Change-Id: I65ecd9ec0d1b5ee32d50583b2670a1ce532d74e7 IssueId: VNFSDK-96 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-18Add UT for CSAR validationAvinashS1-0/+0
Initial UT for CSAR validation. IssueId: VNFSDK-89 Change-Id: I035ee02f48bc856e2b9d355e4fe1041292bf5165 Signed-off-by: AvinashS <avinash.s@huawei.com>