summaryrefslogtreecommitdiffstats
path: root/csarvalidation
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24Use managed guava versionGary Wu1-5/+4
Use centrally managed guava version specified in oparent. Includes upgrade to oparent 1.2.0. This change was submitted by script and may include additional whitespace or formatting changes. Change-Id: Ia555093ccb59b09de724c63035804a6f53cc6157 Issue-ID: INT-619 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-07Upgrade vnfsdk guavaChris Donley1-1/+1
Upgrading to 25.0-jre to resolve security issue Issue-ID: VNFSDK-262 Change-Id: Ifed41662969d1b46a76fb0502b84b2ae64c0605d Signed-off-by: Chris Donley <christopher.donley@huawei.com>
2018-04-25Release 1.1.2 for validationMurali-P1-1/+1
Swagger UI and Swagger docs Issue-ID: VNFSDK-157 Change-Id: Iac8d0099f4fdcbe5dc6c69ca6ed194b944627204 Signed-off-by: Murali-P <murali.p@huawei.com>
2018-04-25Conflict between ggogle and guavaMurali-P1-8/+4
Remove google collection Issue-ID: VNFSDK-157 Change-Id: Ib170e364889e057996a219ccb654cfb7b3a7c38b Signed-off-by: Murali-P <murali.p@huawei.com>
2018-04-10Update validation-csar version numberv1.1.1Chris Donley1-1/+1
Issue-ID: VNFSDK-233 Change-Id: Id5ed66a02c4bb99b297ccd6523232742fe7b5c3a Signed-off-by: Chris Donley <christopher.donley@huawei.com>
2018-04-04Enhance error messages for validationMurali-P3-285/+325
Show proper error message in UI Change-Id: I39158f3d727cd817758fd688ec6bbf4fbd8ae426 Issue-ID: VNFSDK-233 Signed-off-by: Murali-P <murali.p@huawei.com>
2018-03-26Update csarvalidation versionv1.1.0Jessica Wagantall1-1/+1
Update version to 1.1.0-SNAPSHOT Issue-ID: VNFSDK-160 Change-Id: If13c94abd8a0572fa9a2ce8229ffaa5aae4e87ae Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-26Update validation-csar versionJessica Wagantall1-2/+2
Update version for validation-csar to 1.1.0 to fix dependency for refrepo Change-Id: I6938ec48f37ca63fa0191cc752904c4109e1bfbd Issue-ID: VNFSDK-160 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-19Fix sonar issues for VNFSDK ValidationAvinash S1-19/+0
Sonar majors fix Issue-ID: VNFSDK-219 Change-Id: I62b0cd8c8c91686cceaa4385fb341f2479686c41 Signed-off-by: Avinash S <avinash.s@huawei.com>
2018-03-08Fix sonar issues for VNFSDK ValidationAvinash S1-2/+1
Sonar blocker fix Issue-ID: VNFSDK-219 Change-Id: Ifb4fff7f1d74e132698f4a89ac0306ab0ba0d3cb Signed-off-by: Avinash S <avinash.s@huawei.com>
2018-03-07Fix sonar issues for VNFSDK ValidationAvinash S1-19/+28
Sonar blocker fix Issue-ID: VNFSDK-219 Change-Id: Ib581a95eba891b6d1b02ce5a1c3d1a24c44aed80 Signed-off-by: Avinash S <avinash.s@huawei.com>
2018-03-01Fix security vulneribilityAvinash S3-86/+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>
2018-02-22Fix sonar security reportingsAvinash S1-3/+3
Fix cxf and jackson direct sdk library dependency issues. Change-Id: I7b62648562254b040118b1a89d2e89f7be9f330f Issue-ID: VNFSDK-212 Signed-off-by: Avinash S <avinash.s@huawei.com>
2017-11-02Fix sonar issuesAvinashS2-21/+25
Fix new blocker and criticals Change-Id: I43536f95e869477cc5b44ad8553d2f49e5464723 Issue-Id: VNFSDK-117 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-11-02Validate against as per definedAvinashS1-19/+15
attributes Fix CSIT with runtime context path check. Change-Id: Ie5210606bddf589d93608f25eb04856b1a3b7517 Issue-Id: VNFSDK-118 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-27Schema validator change for windowsAvinashS1-52/+63
Schema validator change with windows UT support. Change-Id: Ic86007d23edb83ab9e817d6b097192533a8c43bc Issue-Id: VNFSDK-118 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-27Code cleanupAvinashS3-19/+13
Removing logs, adding logs, indentation Change-Id: Ia85e742f5178ddc25af79e2c73f7a7b6aaa2c2e3 IssueId: VNFSDK-117 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-26Validate against as per defined attribute nameAvinashS7-2/+2
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 validationAvinashS6-37/+248
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-16Fix sonar criticalAvinashS3-5/+5
Change-Id: Ibdcda7db910e343dba0b5f5e6da7a0db201eee0e IssueId: VNFSDK-113 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-13Code cleanupAvinashS6-123/+130
Change-Id: I02bac5f387273965a622723654895a27202f1182 IssueId: VNFSDK-108 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-12Add validation schemasAvinashS3-0/+15
Add validation schemas for reference for rel1 Change-Id: I340a6cbc0d6c738608905d8b0b3dd605b1619c85 Issue-Id: VNFSDK-107 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-12Increase the VNF validation scope with new samplesAvinashS4-40/+70
Change-Id: I171c2f3c37e8255bece396107319057463065827 IssueId: VNFSDK-107 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-12Enhance validation with new VNF typesAvinashS6-54/+102
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-10-03Add exception handlingAvinashS5-33/+162
Error codes and exception handling. Change-Id: Ia44a8ed2f206ff5fdca3f029f2ba043af769366a IssueId: VNFSDK-104 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-27Fix static errorsAvinashS3-15/+17
Added logs. Change-Id: Ie398107d9069f4d0a9919e1245bbc3a2d1d36329 IssueId: VNFSDK-94 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-22Fix double value validationAvinashS2-12/+14
Fix double values in Meta file validation fix Change-Id: Ie4b7ae34566b060871c14b683d8d12386a53d395 IssueId: VNFSDK-96 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 MainServiceTemplateAvinashS4-68/+122
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-20Exception handling for VNF validationAvinashS1-0/+45
Add initial customised exception handler class Change-Id: I319546d06579ee0dfbe164c09fc5fba89bcea652 IssueId: VNFSDK-46 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-20Fix run time and static error findingsAvinashS2-10/+4
Change-Id: I9caee424003a522f25227c098588e9b77b4b6bdb IssueId: VNFSDK-94 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-20File reader needs closeAvinashS1-14/+2
Potential file stream leak Change-Id: Ib72a7f07bd687c1858b2e06d0d2dcea2271cc519 IssueId: VNFSDK-93 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-20Updated validation for CSITAvinashS5-50/+134
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 pathAvinashS2-12/+32
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 validationAvinashS3-0/+70
Initial UT for CSAR validation. IssueId: VNFSDK-89 Change-Id: I035ee02f48bc856e2b9d355e4fe1041292bf5165 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-15Fix Tosca meta validationAvinashS1-2/+4
Fixed failure due to empty chars in the TOSCA-Meta string. IssueId: VNFSDK-86 Change-Id: Ic5301cb3763cabdbb3cfd49e32f0b592acc911d9 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-14Add csar.meta and TOSCA.meta validation code.AvinashS5-77/+104
IssueId: VNFSDK-83 Change-Id: I5bae38239c5dcd3c235396eeb5f8f81da69d298c Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-07VNF Validation seed codeAvinashS5-0/+812
Skeleton structure Reorganised code with tool as a jar for csar validation as an initial step. Change-Id: Ie5895c885872fb186f2acd8c8bb0f823210e906f IssueId: VNFSDK-76 Signed-off-by: AvinashS <avinash.s@huawei.com>