From 1e579c2910080e9e7b22e57d6fcfe3a4e443bffa Mon Sep 17 00:00:00 2001 From: Bartosz Gardziejewski Date: Tue, 7 Jul 2020 07:43:03 +0200 Subject: Extend R01123 to support ZIP files Issue-ID: VNFSDK-583 Signed-off-by: Bartosz Gardziejewski Change-Id: Ie63d1ff3f38d10643bd895b5ed720997c189920a --- .../main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR01123.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'csarvalidation/src/main/java') diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR01123.java b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR01123.java index 8b17e25..69563b0 100644 --- a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR01123.java +++ b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR01123.java @@ -59,8 +59,7 @@ public class VTPValidateCSARR01123 extends VTPValidateCSARBase { csar.getVersion() == null) { errors.add(new CSARErrorEntryVNFProviderDetailsNotFound()); } - - Path rootFolder = csar.getWorkspace().getRootFolder() + Path rootFolder = csar.getWorkspace().getPathToCsarFolder() .orElseThrow(() -> new IOException("Couldn't find CSAR root catalog")); List filesInCsar = getAllFilesInDirectory(rootFolder); List sourcesInManifest = getAllFilesFromManifestSources(csar.getManifest()); -- cgit 1.2.3-korg