summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main
AgeCommit message (Collapse)AuthorFilesLines
2017-10-26Add custom validationAvinashS4-36/+247
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 cleanupAvinashS4-37/+43
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-12Enhance validation with new VNF typesAvinashS2-29/+66
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-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 validationAvinashS1-8/+13
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-54/+68
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 CSITAvinashS3-41/+118
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-8/+29
To populate csar files during object creation. Change-Id: I66b5cf8b46f98990240e9cc470eff6a8874f3de0 IssueId: VNFSDK-90 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.AvinashS4-77/+98
IssueId: VNFSDK-83 Change-Id: I5bae38239c5dcd3c235396eeb5f8f81da69d298c Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-07VNF Validation seed codeAvinashS4-0/+668
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>