Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
Per sol-004, section 4.3.2, the csar manifest file should include the
digest of individual files contained in the package. This patch lays the
foundation of that support.
- Added content check of manifest file
- Added support of generating local file digest in manifest file
Change-Id: If575012d319e6f6aa0e2259e7405d8a2b6f8f338
Issue-ID: VNFSDK-174
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Issue-ID: VNFSDK-210
Change-Id: I6feb427dc422ee16488b5dd939ed3bf5896303c7
Signed-off-by: Chris Donley <christopher.donley@huawei.com>
|
|
Need to align with all other component for Beijing release.
Change-Id: I836e5b80a874029e4a232f6fe0e368ce79d2595f
Issue-ID: VNFSDK-228
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
This reverts commit b0eb866eb2a56c8a7cf1bd9183451226b890d77e.
run-sonar.sh script doesn't help in our case.
Change-Id: I152e551a27c24ff1b41441e57c666abe1baa0234
Issue-ID: VNFSDK-210
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Try to mimic optf/has to add run-sonar.sh script to trigger tox test to
generate the code coverage report.
Change-Id: Ie44ae58ab4b870aea938dcda1661b08d899fa0a8
Issue-ID: VNFSDK-210
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
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>
|
|
adding sonar sources
Issue-ID: VNFSDK-210
Change-Id: Iacca17491815a9be9d48aa7e907676e92a33b283
Signed-off-by: Chris Donley <christopher.donley@huawei.com>
|
|
Updating pom.xml to adjust included and excluded directories.
Issue-ID: VNFSDK-210
Change-Id: Iba01bff695ad32f433153a77f29a30f88995fb07
Signed-off-by: Chris Donley <christopher.donley@huawei.com>
|
|
Update python test configuration in the pom file
Issue-ID: VNFSDK-210
Change-Id: I52615cc986587fe7df0f1b8c2ca9608f14b35e7b
Signed-off-by: Chris Donley <christopher.donley@huawei.com>
|
|
Adjusted the tox settings to generate the unit test coverage report to
be used by sonar.
Change-Id: I825b1770f1a27ceaafde181ce9d7cd44882e70c6
Issue-ID: VNFSDK-210
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Update pom.xml file to latest version release of oparent, 1.1.0
Change-Id: I26931bfb479b7a0785a311899844a4bfadd06d3e
Issue-ID: INT-443
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
|
|
Issue-ID: VNFSDK-210
Change-Id: I89e803d3790233b0f891e8454559b6a14cd19de1
Signed-off-by: Chris Donley <christopher.donley@huawei.com>
|
|
Change-Id: Ia14f21e27833eaef1eb45b6ec59788f361745369
Issue-ID: VNFSDK-210
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Change-Id: I458705b6e31fbb45f9459492667cb7fe5d7aba62
Issue-ID: VNFSDK-210
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Issue-ID: VNFSDK-210
Change-Id: Icf7f0c4fabc03f30e18656df87fe93ad94335104
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Include missing *.py files generated by 'mvn package'.
Change-Id: I14be5d8d37b6fab2335d01af3c5dfd00c54ec757
Issue-ID: VNFSDK-98
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Added .gitignore file to exclude files which should not tracked by git.
Issue-Id: VNFSDK-84
Change-Id: I6b3e2888b9d30fc675cd4a5f5fb9cb6ee9db889e
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
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
|
|
The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.
Change-Id: I305a7d4f86164ba6477ed050daeb053cc978e58d
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
Use stevedore to make the aria parser as a plugin of the vnfsdk package
tool. Currently, the aria parser is still the default parser but 3rd
party developer can add other plugins as a parser to validate the csar
packages.
Change-Id: I4a1a1c5e65103fb93fa8aebf3d683781f4888ea4
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Issue-Id: VNFSDK-60
|
|
Use the requirements.txt as the single file to include all the
dependencies. This is to unblock the jenkins verify job failure.
Change-Id: If68b61826bfe8d32d08e59d9b67a8791cc878833
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Issue-Id: VNFSDK-69
|
|
|
|
|
|
`1.1.0-SNAPSHOT` is legacy from Open-O, update the version so
that it could be built successfully.
Issue-ID: VNFSDK-63
Change-Id: I28193e8de68a0a6033b6009474c2543993d7f3ee
Signed-off-by: Dave Chen <wei.d.chen@intel.com>
|
|
Issue-ID: VNFSDK-62
Change-Id: I1e5296a23bf58820fabb326cf8379fe439243118
Signed-off-by: Dave Chen <wei.d.chen@intel.com>
|
|
No need to put packages which is not directly used or already a part of
python standard library in the dependency list.
Change-Id: I1b1e81beaa5af30404e4f2862e5b2e7d51c5b9b1
Issue-ID: VNFSDK-61
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
The upstream arai has been accepted into apache foundation and the
pacakge name and interface name have been changed. Here we adopt these
upstream changes accordingly.
Also we drop conflicting package dependency requirements which are
already included in the upstream aria.
Change-Id: I9befbe695cc6edc93029f15bbcee3bfe37099d40
Issue-ID: VNFSDK-61
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Added the .gitreview file so developers can run "git review -s" to
setup git review environment.
Change-Id: Idb4dab88eafa0a6f467f9165f6e0a5ba85a732f6
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
|
|
Added license headers
Change-Id: I33969a0331e9b32977307fdcc3280208d5f02ef7
Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com>
Issue-id: VNFSDK-71
|
|
Fix argument list passed to argparser
Change-Id: Ib42867a0f9abd6309f5776ac981ee1a0fcdcfd74
Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com>
Issue-id: VNFSDK-70
|
|
Added unit tests with tox configuration
Change-Id: I99a5107689c0df198cdc22e6272176b8c4747896
Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com>
Issue-id: VNFSDK-60
|
|
Added requirements.txt to assembly
Change-Id: I9d0fba76e3207417fd99a0c54a79c4f4e51f1043
Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com>
Issue-id: VNFSDK-59
|
|
Issue-ID: VNFSDK-2
Change-Id: I26c7d600de5496df36f31c601e5bd074e94d97af
Signed-off-by: victor.gao <victor.gao@huawei.com>
|
|
Initial commit. Shared CSAR Python library with CLI tool
Change-Id: I121982cec5c839a47068907a1c4c2b379109a882
Issue-ID: VNFSDK-2
Signed-off-by: Krzysztof Frukacz <krzysztof.frukacz@gigaspaces.com>
|
|
|