summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main/java/org
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-03-06 17:16:54 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-03-07 11:24:08 +0530
commitabffb74716ba22a3c083776e38744b1e80640a02 (patch)
tree6432752def3f99c452cbea9e19b1022c5f1d8d38 /csarvalidation/src/main/java/org
parentdac3233ad8afe25398655d61c11a7791e71bef38 (diff)
Add README.md
Issue-ID: VNFSDK-276 Change-Id: I4917b8bf484feaf34a8bcdead677cd12cfb18057 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'csarvalidation/src/main/java/org')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java b/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java
index d14c14b..cfea2b4 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/CSARArchive.java
@@ -1309,22 +1309,4 @@ public class CSARArchive {
public File getFileFromCsar(String path) {
return new File(this.tempDir.toFile().getAbsolutePath() + File.separator + path);
}
-
- public static void main(String[] args) {
- System.out.println(CSARArchive.SOL0004_2_4_1);
-
- for (String csarFileName: Arrays.asList(new String[] {"enterprise2DC", "VoLTE", "vEPC_NS", "vIMS_NS", "sample2"})) {
- try {
- CSARArchive csar = new CSARArchive();
- System.out.println(csarFileName);
- csar.init("D:\\workspace\\onap\\1.1\\vnfsdk\\validation\\csarvalidation\\src\\test\\resources\\" + csarFileName + ".csar");
- csar.parse();
- csar.cleanup();
- System.out.println(csar.getErrors());
- } catch (Exception e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
}