diff options
author | Jan Malkiewicz <jan.malkiewicz@nokia.com> | 2021-02-09 08:39:23 +0100 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-02-20 07:07:31 +0000 |
commit | 372c2470e613128f1e33cfc581ea2c5b1b732d2b (patch) | |
tree | 7204e30f8ea609a057ec3e4449d1abfc4d4b4c27 /integration-tests/src/test | |
parent | 6068ce140c9a65f13a0bd245c9b9a50befaddc32 (diff) |
Add validation of manifest for helm packages.
For ONAP native zip packages added validation of manifest file.
HELM package is only valid if:
* isBase flag is set to 'true' for exactly one helm entry
* isBase flag is present for all helm entries
Zip package is considered to be a helm package if it contains HELM entries but does not contain any HEAT entries (however it may contains entries of other types).
Refactored method OnboardingPackageProcessor.processPackage():
* simplified logic
* enhanced exception handling
Issue-ID: SDC-3185
Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com>
Change-Id: Ica3b1f1504ce4fc3a671c4b8fa8de2bf0236bd77
Diffstat (limited to 'integration-tests/src/test')
-rw-r--r-- | integration-tests/src/test/resources/Files/VNFs/vLB.zip | bin | 6789 -> 7218 bytes |
-rw-r--r-- | integration-tests/src/test/resources/Files/VNFs/vLBMS.zip | bin | 7218 -> 0 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/integration-tests/src/test/resources/Files/VNFs/vLB.zip b/integration-tests/src/test/resources/Files/VNFs/vLB.zip Binary files differindex b61ca1b83b..c542870bad 100644 --- a/integration-tests/src/test/resources/Files/VNFs/vLB.zip +++ b/integration-tests/src/test/resources/Files/VNFs/vLB.zip diff --git a/integration-tests/src/test/resources/Files/VNFs/vLBMS.zip b/integration-tests/src/test/resources/Files/VNFs/vLBMS.zip Binary files differdeleted file mode 100644 index c542870bad..0000000000 --- a/integration-tests/src/test/resources/Files/VNFs/vLBMS.zip +++ /dev/null |