summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-05-13Merge "Fix package integrity issue with non mano arifacts"Bogumil Zebek2-12/+25
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 arifactsedyta2-12/+25
Issue-ID: VNFSDK-581 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ia07e5ed9b188a689381e95485dd8f32d13b77258
2020-03-21Set version 1.2.3Kanagaraj Manickam1-1/+1
Issue-ID: VNFSDK-565 Change-Id: I4abe480328684f28032035ff6b3c3b3c2c85d4b5 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
2020-03-13Migrate to gsonpriyanka.akhade1-0/+11
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.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 versionvasraz8-18/+147
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 Lu2-4/+29
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 Lu2-1/+34
Issue-ID: VNFSDK-516 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Change-Id: Ic14e713522871fba5ebce92870ff796624f4a820
2019-10-08Merge "Sonar fix"Weitao Gao2-1/+189
2019-09-18Sonar fixBogumil Zebek2-1/+189
Change-Id: I7c39a2d83d067382ffb91ed136ad840dab85ccd8 Issue-ID: VNFSDK-477 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-09-17Non mano artifactsBogumil Zebek2-3/+5
Change-Id: I4d7eefc999f9cd6cb5255b764da3c5ae7e84f0af Issue-ID: VNFSDK-476 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-09-04Merge "CMS signature validation"Weitao Gao11-33/+195
2019-08-29Set the product to onap-dublinKanagaraj Manickam k003651061-3/+3
Issue-ID: VNFSDK-424 Change-Id: If9b32e045bb282c0f3cfdf12564ceb529453cc5a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-22CMS signature validationBogumil Zebek11-33/+195
Change-Id: Ie5d1c835d0e6a760f1b7de651a3833cb87b727e0 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-08-09Improve code qualityBogumil Zebek3-1/+149
Change-Id: I60090d9da403bf8e6c3e5ba77ef4acfd6f41ec2b Issue-ID: VNFSDK-449 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-31Option 1 - vnf onlyBogumil Zebek13-35/+185
Change-Id: I281dddab930328f24b9267aa6afc6ae08fd9ed01 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-08Option 1 - pnf onlyBogumil Zebek14-19/+465
Change-Id: I9af3bb9b0682d7babed16042c5cac948db5dd822 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-03Merge "Non_mano_artifact"Gao Weitao18-7/+15
2019-06-13Non_mano_artifactBogumil Zebek18-7/+15
Change-Id: I0a47aac7935f12e406998fcdc3ae1eba6c5a2adc Issue-ID: VNFSDK-418 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-06-11Security verificationBogumil Zebek4-135/+36
Change-Id: I759e3698a25dd4f84dc345c3fd4c0d201b75d233 Issue-ID: VNFSDK-395 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-06-06Merge "Specification change"dublinGao Weitao3-19/+9
2019-05-31Handle signature in cmsBogumil Zebek7-111/+18
Change-Id: Ied997305efe347859cbd069f2887f792adc775c0 Issue-ID: VNFSDK-414 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-05-30Specification changeBogumil Zebek3-19/+9
Change-Id: I7810f0310d6c2ae178c6d865494fff88c8751634 Issue-ID: VNFSDK-410 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-05-29Clearer messageBogumil Zebek5-2/+95
Change-Id: I1ca7c3596e55c4b6c58d3ccb8224929e8575176d Issue-ID: VNFSDK-412 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-05-07Fix internal errorsBogumil Zebek6-0/+134
Change-Id: Ifdc6995fdadfc4e0ef575e9688b4e331afedce73 Issue-ID: VNFSDK-404 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-04-26Basic PNFD validationBogumil Zebek1-5/+5
Change-Id: I959324f3fc0ba89d99a291d0608aa5a5ba778077 Issue-ID: VNFSDK-341 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-04-18Security TC op2Bogumil Zebek6-1/+387
Change-Id: I247c1223b5731c8dbea1480ca88db1cff78cb633 Issue-ID: VNFSDK-342 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-04-10Separate list of TCSBogumil Zebek2-8/+28
Change-Id: I15bed6fe97e2d4bc025ddcd38f8b2bd72364257a Issue-ID: AAI-391 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-04-09Merge "PNF TC R146092"Kanagaraj Manickam17-76/+322
2019-03-28Update test cases to fix the TOSCA issuesKanagaraj Manickam k003651061-1/+1
Issue-ID: VNFSDK-352 Change-Id: I058dbe23a02244b90f3e9d58c136960249c7ffdf Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-28PNF TC R146092Bogumil Zebek17-76/+322
Change-Id: I27c881a8673957dde346fae393fffa6e946c2cd4 Issue-ID: VNFSDK-388 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-22PNF TC R293901Bogumil Zebek5-9/+148
Change-Id: I6acfa94ce0fac2b3c46688601c3ec553af4c8b66 Issue-ID: VNFSDK-386 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-18Update manifest parserBogumil Zebek6-49/+74
Change-Id: I420fd9fb97450cbcc2afc15632717182e18f0333 Issue-ID: VNFSDK-384 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-18Merge changes I4ddadfa3,I8fc71d45,I1d9f8d29Gao Weitao1-3/+1
* changes: Update readme with SOL001 Add SOL001 test case place holder Fix the csarvalidation build failure on windows
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-14Fix the csarvalidation build failure on windowsKanagaraj Manickam k003651061-3/+1
Issue-ID: VNFSDK-352 Change-Id: I1d9f8d297036256b4b8a756c4a1a8ace4b3d2e3c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-12Create pnf scar archive moduleBogumil Zebek6-0/+398
Change-Id: Iad552af5d4e9f446de9abecdded317ee2065edc4 Issue-ID: VNFSDK-377 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-11Merge "Add README.md"Gao Weitao3-13/+47
2019-03-11Merge "Add sample result json for reference"Gao Weitao2-1/+63
2019-03-07Add README.mdKanagaraj Manickam k003651063-13/+47
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 Weitao3-0/+68
2019-02-28CVC TOSCA CSAR Validation Test casesKanagaraj Manickam k003651063-0/+68
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 Gao2-0/+19
Change-Id: Icac494bda73069fb5435600e7d5144c584a692b6 Issue-ID: VNFSDK-175 Signed-off-by: Victor Gao <victor.gao@huawei.com>
2018-04-04Enhance error messages for validationMurali-P1-25/+39
Show proper error message in UI Change-Id: I39158f3d727cd817758fd688ec6bbf4fbd8ae426 Issue-ID: VNFSDK-233 Signed-off-by: Murali-P <murali.p@huawei.com>
2018-03-01Fix security vulneribilityAvinash S1-5/+0
Fix policy error of level-10 in marketplace validation Change-Id: I69d145978c0f015c7c9297d83704a19712d98fe6 dChange-Id: I726ca94306b23bb1a01e0da77ab55f13ccd9128d Issue-ID: VNFSDK-212 Signed-off-by: Avinash S <avinash.s@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 validationAvinashS2-1/+1
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-13Code cleanupAvinashS2-86/+87
Change-Id: I02bac5f387273965a622723654895a27202f1182 IssueId: VNFSDK-108 Signed-off-by: AvinashS <avinash.s@huawei.com>