diff options
author | Shiwei Tian <tian.shiwei@zte.com.cn> | 2018-03-19 15:57:01 +0800 |
---|---|---|
committer | Shiwei Tian <tian.shiwei@zte.com.cn> | 2018-03-20 10:04:16 +0800 |
commit | daa5c04c40fda44ddd4f4184f233c74b335cc343 (patch) | |
tree | e01b77802cc54d87d2df513f9022f2addfe7a2de /engine-d | |
parent | ee84334e9e8c167086bb01a5836fd3335d192bee (diff) |
Fix the Sonar Findings
Issue-ID: HOLMES-121
Change-Id: I04311e7618f504859c5aee4acea8530cd019ab87
Signed-off-by: Shiwei Tian <tian.shiwei@zte.com.cn>
Diffstat (limited to 'engine-d')
-rw-r--r-- | engine-d/pom.xml | 45 | ||||
-rw-r--r-- | engine-d/src/main/java/org/onap/holmes/engine/dcae/DcaeConfigurationPolling.java | 1 |
2 files changed, 38 insertions, 8 deletions
diff --git a/engine-d/pom.xml b/engine-d/pom.xml index d1abda4..3d06046 100644 --- a/engine-d/pom.xml +++ b/engine-d/pom.xml @@ -34,7 +34,11 @@ </properties> <dependencies> - + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>1.2.3</version> + </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> @@ -64,6 +68,20 @@ <dependency> <groupId>org.onap.msb.java-sdk</groupId> <artifactId>msb-java-sdk</artifactId> + <exclusions> + <exclusion> + <groupId>com.eclipsesource.jaxrs</groupId> + <artifactId>jersey-all</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + </exclusion> + <exclusion> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.reflections</groupId> @@ -88,6 +106,14 @@ <artifactId>holmes-actions</artifactId> <exclusions> <exclusion> + <groupId>io.dropwizard</groupId> + <artifactId>dropwizard-db</artifactId> + </exclusion> + <exclusion> + <groupId>io.dropwizard</groupId> + <artifactId>dropwizard-core</artifactId> + </exclusion> + <exclusion> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-servlet-core</artifactId> </exclusion> @@ -152,13 +178,13 @@ <artifactId>log4j-over-slf4j</artifactId> <groupId>org.slf4j</groupId> </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + </exclusion> </exclusions> </dependency> - <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - <version>1.2.3</version> - </dependency> + <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> @@ -195,8 +221,13 @@ <groupId>io.swagger</groupId> <artifactId>swagger-jersey2-jaxrs</artifactId> <scope>provided</scope> + <exclusions> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + </exclusion> + </exclusions> </dependency> - <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-easymock</artifactId> diff --git a/engine-d/src/main/java/org/onap/holmes/engine/dcae/DcaeConfigurationPolling.java b/engine-d/src/main/java/org/onap/holmes/engine/dcae/DcaeConfigurationPolling.java index 522ec0b..4da1740 100644 --- a/engine-d/src/main/java/org/onap/holmes/engine/dcae/DcaeConfigurationPolling.java +++ b/engine-d/src/main/java/org/onap/holmes/engine/dcae/DcaeConfigurationPolling.java @@ -15,7 +15,6 @@ */ package org.onap.holmes.engine.dcae; -import com.fasterxml.jackson.core.JsonProcessingException; import lombok.extern.slf4j.Slf4j; import org.onap.holmes.common.dcae.DcaeConfigurationQuery; import org.onap.holmes.common.dcae.DcaeConfigurationsCache; |