diff options
-rwxr-xr-x | cps-parent/pom.xml | 2 | ||||
-rwxr-xr-x | cps-rest/pom.xml | 4 | ||||
-rwxr-xr-x | cps-service/src/main/java/org/onap/cps/spi/exceptions/AnchorNotFoundException.java | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 01eacb302..f427555aa 100755 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -20,7 +20,7 @@ <base.image>openjdk:11-jre-slim</base.image> <java.version>11</java.version> <jib-maven-plugin.version>2.6.0</jib-maven-plugin.version> - <minimum-coverage>0.80</minimum-coverage> + <minimum-coverage>0.9</minimum-coverage> <nexusproxy>https://nexus.onap.org</nexusproxy> <oparent.version>3.1.0</oparent.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml index f2f643ac2..128c56680 100755 --- a/cps-rest/pom.xml +++ b/cps-rest/pom.xml @@ -11,6 +11,10 @@ <artifactId>cps-rest</artifactId>
+ <properties>
+ <minimum-coverage>0.88</minimum-coverage>
+ </properties>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
diff --git a/cps-service/src/main/java/org/onap/cps/spi/exceptions/AnchorNotFoundException.java b/cps-service/src/main/java/org/onap/cps/spi/exceptions/AnchorNotFoundException.java index 847959fc0..d346c4123 100755 --- a/cps-service/src/main/java/org/onap/cps/spi/exceptions/AnchorNotFoundException.java +++ b/cps-service/src/main/java/org/onap/cps/spi/exceptions/AnchorNotFoundException.java @@ -20,6 +20,7 @@ package org.onap.cps.spi.exceptions;
+@SuppressWarnings("squid:S110") // Team agreed to accept 6 levels of inheritance for CPS Exceptions
public class AnchorNotFoundException extends CpsAdminException {
private static final long serialVersionUID = -1821064664642194882L;
|