aboutsummaryrefslogtreecommitdiffstats
path: root/vnfsdk_pkgtools/packager/csar.py
AgeCommit message (Collapse)AuthorFilesLines
2019-11-29Adapt to TOSCA.meta chagnes in SOL004 v2.6.1Lianhao Lu1-173/+48
Adapted to changes made in SOL004 v2.6.1 about TOSCA.meta file content, while still keeps the backward ability to generate SOL004 v2.4.1 compatible csar file. Issue-ID: VNFSDK-420 Change-Id: I2ea8d001211ea15c8409ee2e2802798a0945f390 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2019-11-21Add non-empty directory zip entries in the csarLianhao Lu1-7/+7
Issue-ID: VNFSDK-517 Change-Id: Ib699949ae72a3d3a7d141ad5ddc331343dac16ac Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-29Added more logic about cmd param validationLianhao Lu1-3/+3
Shouldn't allow the user to set digest or certificate if manifest is not set. Change-Id: Iccb9f038106d52039f75ce80af1cce3858d1fba5 Issue-ID: VNFSDK-311 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-28Resolve warning from ruamel.yamlLianhao Lu1-2/+2
Change-Id: Id22f17ec46896ff8a1044bf54115a7bd30746c77 Issue-ID: VNFSDK-309 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-08-27Support signing and certificateLianhao Lu1-7/+51
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-02Support verbose loggingLianhao Lu1-23/+25
The previous verbose logging switch '-v' doesn't work as we expected. Change the code to follow python conventions to make it work. Issue-ID: VNFSDK-297 Change-Id: Ia0c41b5067d9c28acccabc4137797310052fce5e Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-03-26Added file digest computationLianhao Lu1-3/+26
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>
2018-03-22Adjusted for pypi supportLianhao Lu1-0/+285
We need to adjust the python module structure meet the pypi requirements. This has been tested on test pypi https://test.pypi.org/project/vnfsdk. 1. move 3 directories cli/ validator/ packager/ into vnfsdk_pkgtools. so now the python module for vnfsdk pkgtools would be "vnfsdk_pkgtool.*" 2. Added missing README.rst, LICENSE.txt according to pypi requirement. 3. Added new version mechanism accroding onap community suggestions. 4. Other clean sweep job like dos2unix. Change-Id: If90df33673bff045d85d67c29a1d0ab44d0c8858 Issue-ID: VNFSDK-143 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>