From 4b3a36e8ab1a721d4d87b5e0643fa3336a5ecc6d Mon Sep 17 00:00:00 2001 From: Pavel Aharoni Date: Tue, 21 Nov 2017 18:09:33 +0200 Subject: [SDC-697] adding snapshot repo Change-Id: I1c2f28a1fa548896c39d59a841c540e83858a954 Signed-off-by: Pavel Aharoni --- pom.xml | 7 ++++++- sdc-distribution-ci/pom.xml | 2 +- .../src/main/java/org/openecomp/test/CsarToscaTester.java | 12 +++--------- 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 @@ sdc-main-distribution-client 1.1.50-SNAPSHOT pom - sdc-sdc-distribution-client + sdc-sdc-distribution-client sdc-distribution-client @@ -162,6 +162,11 @@ Staging Repository ${nexus.proxy}/content/repositories/staging/ + + ecomp-snapshots + Snapshots Repository + ${nexus.proxy}/content/repositories/snapshots/ + 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 @@ org.openecomp.sdc.sdc-tosca sdc-tosca - 1.1.51-SNAPSHOT + 1.1.55-SNAPSHOT compile 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 notAnalyzedReport = ThreadLocalsHolder.getCollector().getNotAnalyzedExceptionsReport(); - System.out.println("NOT ANALYZED during CSAR parsing are: " + (notAnalyzedReport != null ? notAnalyzedReport.toString() : "none")); - List warningsReport = ThreadLocalsHolder.getCollector().getWarningsReport(); - //System.out.println("WARNINGS during CSAR parsing are: " + (warningsReport != null ? warningsReport.toString() : "none")); - List criticalsReport = ThreadLocalsHolder.getCollector().getCriticalsReport(); - System.out.println("CRITICALS during CSAR parsing are: " + (criticalsReport != null ? criticalsReport.toString() : "none")); + List 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(); -- cgit 1.2.3-korg