summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-07-07 07:37:39 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-07 07:37:39 +0000
commitacc4f065bea5608a4e812f6126c102abe8206748 (patch)
treed4d49d1550f8bb7e403376a2920417b685a0a277 /csarvalidation/src/main
parenta31e3acd014ae0f2cb7304bf25c9a7d50ae92eca (diff)
parent1e579c2910080e9e7b22e57d6fcfe3a4e443bffa (diff)
Merge "Extend R01123 to support ZIP files"
Diffstat (limited to 'csarvalidation/src/main')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR01123.java3
1 files changed, 1 insertions, 2 deletions
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<String> filesInCsar = getAllFilesInDirectory(rootFolder);
List<String> sourcesInManifest = getAllFilesFromManifestSources(csar.getManifest());