aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-01-14 11:09:16 +0100
committersebdet <sebastien.determe@intl.att.com>2021-01-14 11:09:16 +0100
commitcc026b95671b60d39bfcba5e63b60ba8f3944b70 (patch)
tree5ed42ba8cd58e126a30c165c5113801b5691050e
parent0b913bbd8529f079e66fd40a38110ffc782459cc (diff)
Fix sonar
Fix sonar report by re-enabling the jacoco in integration test phase (this is set in the policy integration parent) Issue-ID: POLICY-2922 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I283aca6bc0e8b2518b72854fad0289bbc082b78d
-rw-r--r--pom.xml3
-rw-r--r--src/main/resources/logback-default.xml2
-rw-r--r--src/test/resources/logback.xml2
3 files changed, 4 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index af3f9822c..99f8c05ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,7 +83,6 @@
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/jacoco-html-xml-reports/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
- <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<sonar.log.level>DEBUG</sonar.log.level>
<sonar.nodejs.executable>${project.build.directory}/${ui.react.src}/node/node</sonar.nodejs.executable>
@@ -1094,6 +1093,8 @@
<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
<propertyName>failsafeArgLine</propertyName>
<!-- <append>true</append> -->
+ <!-- Need to overwrite the policy integration parent flag -->
+ <skip>false</skip>
</configuration>
</execution>
<execution>
diff --git a/src/main/resources/logback-default.xml b/src/main/resources/logback-default.xml
index e263a13fc..5397eab04 100644
--- a/src/main/resources/logback-default.xml
+++ b/src/main/resources/logback-default.xml
@@ -261,7 +261,7 @@
<!-- CLAMP related loggers -->
<logger
- name="org.onap.clamp"
+ name="org.onap.policy.clamp"
level="DEBUG">
<appender-ref ref="ERROR" />
<appender-ref ref="DEBUG" />
diff --git a/src/test/resources/logback.xml b/src/test/resources/logback.xml
index c47cab31c..97a8982a9 100644
--- a/src/test/resources/logback.xml
+++ b/src/test/resources/logback.xml
@@ -64,7 +64,7 @@
<!-- CLDS related loggers -->
<logger
- name="org.onap.clamp"
+ name="org.onap.policy.clamp"
level="DEBUG">
<appender-ref ref="STDOUT" />
</logger>