aboutsummaryrefslogtreecommitdiffstats
path: root/tests/resources
AgeCommit message (Collapse)AuthorFilesLines
2018-09-18Updated to new hpa schemaLianhao Lu2-0/+0
Change-Id: I2e546f4a3b56bfb331207034c285323728a3b774 Issue-ID: VNFSDK-326 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-27Support signing and certificateLianhao Lu1-0/+19
Added the support of certificate and signing based on SOL-004. Change-Id: I864f298edbcd85a9da2126d369a5b98d7950d590 Issue-ID: VNFSDK-144 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-24Added supporting functions for certificateLianhao Lu4-0/+76
Added the supporting functions for sign and verify using certificate. Change-Id: Ic84e773d60c248963e63909cbdae3edd99bd5293 Issue-ID: VNFSDK-144 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-15Added the logic to validate HPALianhao Lu2-0/+0
Added the code logic to validate HPA for opnfv tosca parser. Also corrected some hpa validation schema errors introduced by the previous patch. Change-Id: Icd61d34d7915aa965ec32adfc3c0f1a117dd6f3e Issue-ID: VNFSDK-194 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-04-12Fix aria validation error in import case2.0.0-ONAPbeijing2.0.0-ONAPLianhao Lu1-0/+0
Previously, we assume all the yaml files in the csar package are located under definition directory. This is not always true according to SOL-004. We need to change the way how we call aria to validate the vnfd content within the csar pacakge. Also added the unit test for vnfsdk_pkgtools/validator. Issue-ID: VNFSDK-231 Change-Id: Ia112b21b3bbf64ab980dd4e98aab0e87131f28e0 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-03-26Added file digest computationLianhao Lu1-2/+2
Support to compute file digest and save it to manifest file. Also extend the manifest file module to be able to write content into temporary file. Change-Id: If1f3f42799eb527bdeac418d1a40aa203641f628 Issue-ID: VNFSDK-174 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2017-09-14Update to align with package model in R1Lianhao Lu3-0/+5
1. Added the support of manifest file, change history file, test directory, license directory. 2. Added the support of including empty directories in the final csar package. Change-Id: I639110b2e92c91ec9c6bf5c505a60bb1d3b63599 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Issue-Id: VNFSDK-52
2017-01-31Add unit testsKrzysztof Frukacz1-0/+23
Added unit tests with tox configuration Change-Id: I99a5107689c0df198cdc22e6272176b8c4747896 Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com> Issue-id: VNFSDK-60