summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsg481n <sg481n@att.com>2017-09-29 12:33:53 +0000
committersg481n <sg481n@att.com>2017-09-29 12:34:00 +0000
commit08e110471b550e64dca66ef46745949a98d982a4 (patch)
tree43d6644684984719b9d0ff09d1c887ff12df9b38
parent92685f23e7f89624bee32be0324fbe17f18ede09 (diff)
Improve aaf sonar code coverage
Issue-id: AAF-79 Change-Id: I36081744a2b97942f41517502d12256e2ed44312 Signed-off-by: sg481n <sg481n@att.com>
-rw-r--r--authz-batch/pom.xml6
-rw-r--r--authz-cass/pom.xml5
-rw-r--r--authz-certman/pom.xml5
-rw-r--r--authz-client/pom.xml6
-rw-r--r--authz-cmd/pom.xml6
-rw-r--r--authz-core/pom.xml5
-rw-r--r--authz-defOrg/pom.xml6
-rw-r--r--authz-fs/pom.xml6
-rw-r--r--authz-gui/pom.xml6
-rw-r--r--authz-gw/pom.xml6
-rw-r--r--authz-service/pom.xml8
-rw-r--r--authz-test/pom.xml8
-rw-r--r--pom.xml7
13 files changed, 65 insertions, 15 deletions
diff --git a/authz-batch/pom.xml b/authz-batch/pom.xml
index 89af59bd..af456a33 100644
--- a/authz-batch/pom.xml
+++ b/authz-batch/pom.xml
@@ -34,6 +34,7 @@
</developers>
<properties>
+ <maven.test.failure.ignore>false</maven.test.failure.ignore>
<project.swmVersion>1</project.swmVersion>
<project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
@@ -46,7 +47,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -219,6 +220,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-cass/pom.xml b/authz-cass/pom.xml
index 0a2494d2..7c99385e 100644
--- a/authz-cass/pom.xml
+++ b/authz-cass/pom.xml
@@ -58,7 +58,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -167,6 +167,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-certman/pom.xml b/authz-certman/pom.xml
index 9443cb12..1473a1c8 100644
--- a/authz-certman/pom.xml
+++ b/authz-certman/pom.xml
@@ -60,7 +60,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -165,6 +165,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-client/pom.xml b/authz-client/pom.xml
index ae69cb63..6e822e00 100644
--- a/authz-client/pom.xml
+++ b/authz-client/pom.xml
@@ -60,13 +60,14 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
<sonar.language>java</sonar.language>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -195,6 +196,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-cmd/pom.xml b/authz-cmd/pom.xml
index a9d5812a..23066374 100644
--- a/authz-cmd/pom.xml
+++ b/authz-cmd/pom.xml
@@ -52,6 +52,7 @@
</developers>
<properties>
+ <maven.test.failure.ignore>false</maven.test.failure.ignore>
<project.swmVersion>21</project.swmVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
<sonar.language>java</sonar.language>
@@ -59,7 +60,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -171,6 +172,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-core/pom.xml b/authz-core/pom.xml
index 9d55163b..ef361b48 100644
--- a/authz-core/pom.xml
+++ b/authz-core/pom.xml
@@ -58,7 +58,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -156,6 +156,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-defOrg/pom.xml b/authz-defOrg/pom.xml
index 7d5c92b5..86bd4b25 100644
--- a/authz-defOrg/pom.xml
+++ b/authz-defOrg/pom.xml
@@ -52,6 +52,7 @@
</developers>
<properties>
+ <maven.test.failure.ignore>false</maven.test.failure.ignore>
<project.swmVersion>0</project.swmVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
@@ -60,7 +61,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -125,6 +126,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-fs/pom.xml b/authz-fs/pom.xml
index 3486b4be..14d0997b 100644
--- a/authz-fs/pom.xml
+++ b/authz-fs/pom.xml
@@ -51,6 +51,7 @@
</developers>
<properties>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
<project.swmVersion>9</project.swmVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
@@ -59,7 +60,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -147,6 +148,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-gui/pom.xml b/authz-gui/pom.xml
index 6e15c179..0aee3c60 100644
--- a/authz-gui/pom.xml
+++ b/authz-gui/pom.xml
@@ -34,6 +34,7 @@
<properties>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
<project.swmVersion>28</project.swmVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<skipTests>false</skipTests>
@@ -46,7 +47,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -213,6 +214,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-gw/pom.xml b/authz-gw/pom.xml
index 7d74359c..64f9ab5e 100644
--- a/authz-gw/pom.xml
+++ b/authz-gw/pom.xml
@@ -51,6 +51,7 @@
</developers>
<properties>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
<project.swmVersion>30</project.swmVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
@@ -59,7 +60,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -157,6 +158,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-service/pom.xml b/authz-service/pom.xml
index c389525f..507f2b4f 100644
--- a/authz-service/pom.xml
+++ b/authz-service/pom.xml
@@ -52,7 +52,8 @@
<properties>
<maven.build.timestamp.format>yyyy.MM.dd'T'hh.mm.ss'Z'</maven.build.timestamp.format>
- <project.swmVersion>1</project.swmVersion>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
+ <project.swmVersion>1</project.swmVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
<dockerLocation>${basedir}/target/</dockerLocation>
@@ -62,7 +63,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<docker.push.registry>localhost:5000</docker.push.registry>
@@ -495,6 +496,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/authz-test/pom.xml b/authz-test/pom.xml
index e73cb341..17cb314f 100644
--- a/authz-test/pom.xml
+++ b/authz-test/pom.xml
@@ -53,6 +53,7 @@
<properties>
+ <maven.test.failure.ignore>false</maven.test.failure.ignore>
<project.swmVersion>0</project.swmVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
@@ -61,7 +62,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -133,7 +134,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <excludes>
+ <excludes>
<exclude>**/AAFJUnitTest.java</exclude>
</excludes>
</configuration>
@@ -187,6 +188,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>
diff --git a/pom.xml b/pom.xml
index 6aa23537..33d432e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,6 +58,7 @@
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <skipTests>false</skipTests>
<project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
@@ -67,7 +68,7 @@
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
@@ -94,6 +95,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
+ <skipTests>${skipTests}</skipTests>
<includes>
<include>**/JU*.java</include>
</includes>
@@ -263,6 +265,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>