summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml7
-rw-r--r--sdc-distribution-ci/pom.xml2
-rw-r--r--sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java12
3 files changed, 10 insertions, 11 deletions
diff --git a/pom.xml b/pom.xml
index abfad51..6333d4d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
<artifactId>sdc-main-distribution-client</artifactId>
<version>1.1.50-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>sdc-sdc-distribution-client</name>
+ <name>sdc-sdc-distribution-client</name>
<modules>
<module>sdc-distribution-client</module>
@@ -162,6 +162,11 @@
<name>Staging Repository</name>
<url>${nexus.proxy}/content/repositories/staging/</url>
</repository>
+ <repository>
+ <id>ecomp-snapshots</id>
+ <name>Snapshots Repository</name>
+ <url>${nexus.proxy}/content/repositories/snapshots/</url>
+ </repository>
</repositories>
<distributionManagement>
diff --git a/sdc-distribution-ci/pom.xml b/sdc-distribution-ci/pom.xml
index cb6f7f2..8af62ed 100644
--- a/sdc-distribution-ci/pom.xml
+++ b/sdc-distribution-ci/pom.xml
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.openecomp.sdc.sdc-tosca</groupId>
<artifactId>sdc-tosca</artifactId>
- <version>1.1.51-SNAPSHOT</version>
+ <version>1.1.55-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
diff --git a/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java b/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java
index 1ce3619..98072fa 100644
--- a/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java
+++ b/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java
@@ -46,17 +46,11 @@ public class CsarToscaTester {
} catch (SdcToscaParserException e){
System.out.println("SdcToscaParserException caught. Code: "+e.getCode()+", message: "+ e.getMessage());
}
- List<String> notAnalyzedReport = ThreadLocalsHolder.getCollector().getNotAnalyzedExceptionsReport();
- System.out.println("NOT ANALYZED during CSAR parsing are: " + (notAnalyzedReport != null ? notAnalyzedReport.toString() : "none"));
- List<String> warningsReport = ThreadLocalsHolder.getCollector().getWarningsReport();
- //System.out.println("WARNINGS during CSAR parsing are: " + (warningsReport != null ? warningsReport.toString() : "none"));
- List<String> criticalsReport = ThreadLocalsHolder.getCollector().getCriticalsReport();
- System.out.println("CRITICALS during CSAR parsing are: " + (criticalsReport != null ? criticalsReport.toString() : "none"));
+ List<String> validationIssueReport = ThreadLocalsHolder.getCollector().getValidationIssueReport();
+ System.out.println("Validation issues during CSAR parsing are: " + (validationIssueReport != null ? validationIssueReport.toString() : "none"));
try {
- generateReport(time, name, currentCsarDir, criticalsReport, "critical");
- generateReport(time, name, currentCsarDir, warningsReport, "warning");
- generateReport(time, name, currentCsarDir, notAnalyzedReport, "notAnalyzed");
+ generateReport(time, name, currentCsarDir, validationIssueReport, "validationIssues");
} catch (IOException ex) {
ex.printStackTrace();