aboutsummaryrefslogtreecommitdiffstats
path: root/vnfsdk_pkgtools/packager/csar.py
AgeCommit message (Collapse)AuthorFilesLines
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>