summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22Support non DOS/Windows format CSAR manifest fileLianhao Lu1-4/+19
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-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 Zebek1-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 Gao4-23/+131
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 Zebek4-23/+131
Change-Id: Ie5d1c835d0e6a760f1b7de651a3833cb87b727e0 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-08-09Improve code qualityBogumil Zebek2-1/+81
Change-Id: I60090d9da403bf8e6c3e5ba77ef4acfd6f41ec2b Issue-ID: VNFSDK-449 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-31Option 1 - vnf onlyBogumil Zebek10-35/+158
Change-Id: I281dddab930328f24b9267aa6afc6ae08fd9ed01 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-08Option 1 - pnf onlyBogumil Zebek6-17/+289
Change-Id: I9af3bb9b0682d7babed16042c5cac948db5dd822 Issue-ID: VNFSDK-396 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-07-03Merge "Non_mano_artifact"Gao Weitao2-7/+9
2019-06-13Non_mano_artifactBogumil Zebek2-7/+9
Change-Id: I0a47aac7935f12e406998fcdc3ae1eba6c5a2adc Issue-ID: VNFSDK-418 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-06-11Security verificationBogumil Zebek2-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 Zebek4-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 Zebek4-2/+95
Change-Id: I1ca7c3596e55c4b6c58d3ccb8224929e8575176d Issue-ID: VNFSDK-412 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-05-07Fix internal errorsBogumil Zebek1-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 Zebek5-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 Manickam6-74/+320
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 Zebek6-74/+320
Change-Id: I27c881a8673957dde346fae393fffa6e946c2cd4 Issue-ID: VNFSDK-388 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-22PNF TC R293901Bogumil Zebek2-9/+148
Change-Id: I6acfa94ce0fac2b3c46688601c3ec553af4c8b66 Issue-ID: VNFSDK-386 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-18Update manifest parserBogumil Zebek4-38/+50
Change-Id: I420fd9fb97450cbcc2afc15632717182e18f0333 Issue-ID: VNFSDK-384 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 Zebek4-0/+384
Change-Id: Iad552af5d4e9f446de9abecdded317ee2065edc4 Issue-ID: VNFSDK-377 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
2019-03-11Merge "Add README.md"Gao Weitao2-2/+46
2019-03-07Add README.mdKanagaraj Manickam k003651062-2/+46
Issue-ID: VNFSDK-276 Change-Id: I4917b8bf484feaf34a8bcdead677cd12cfb18057 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-01Merge "CVC TOSCA CSAR Validation Test cases"Gao Weitao1-0/+36
2019-02-28CVC TOSCA CSAR Validation Test casesKanagaraj Manickam k003651061-0/+36
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/+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-26Add custom validationAvinashS1-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>
2017-10-12Increase the VNF validation scope with new samplesAvinashS2-40/+70
Change-Id: I171c2f3c37e8255bece396107319057463065827 IssueId: VNFSDK-107 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-12Enhance validation with new VNF typesAvinashS2-24/+26
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-10-11Enhance UT.AvinashS2-6/+121
Add UT for delete directory/file Change-Id: I1294b94ab69844dd719c6d9b4b5066581e07ea91 IssueId: VNFSDK-108 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-22Fix double value validationAvinashS1-4/+1
Fix double values in Meta file validation fix Change-Id: Ie4b7ae34566b060871c14b683d8d12386a53d395 IssueId: VNFSDK-96 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-21Added validation for MainServiceTemplateAvinashS1-14/+48
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-20Updated validation for CSITAvinashS1-9/+11
Lib interface for CSIT with marketplace Change-Id: I73c68b2f8f7a3940cb175cce2397abd4a4deaff4 IssueId: VNFSDK-90 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-18Instantiate validation with pathAvinashS1-4/+3
To populate csar files during object creation. Change-Id: I66b5cf8b46f98990240e9cc470eff6a8874f3de0 IssueId: VNFSDK-90 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-18Add UT for CSAR validationAvinashS1-0/+63
Initial UT for CSAR validation. IssueId: VNFSDK-89 Change-Id: I035ee02f48bc856e2b9d355e4fe1041292bf5165 Signed-off-by: AvinashS <avinash.s@huawei.com>