diff options
author | Pavel Aharoni <pa0916@att.com> | 2017-11-21 18:09:33 +0200 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2017-11-21 16:12:56 +0000 |
commit | 4b3a36e8ab1a721d4d87b5e0643fa3336a5ecc6d (patch) | |
tree | f015a37717b914d659897d2f81fbab4aabade7b1 /sdc-distribution-ci/src | |
parent | 3c2636c53deea68359a8deb028bef3ef1e31502f (diff) |
[SDC-697] adding snapshot repo
Change-Id: I1c2f28a1fa548896c39d59a841c540e83858a954
Signed-off-by: Pavel Aharoni <pa0916@att.com>
Diffstat (limited to 'sdc-distribution-ci/src')
-rw-r--r-- | sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java | 12 |
1 files changed, 3 insertions, 9 deletions
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();
|