From c5aea4a8bc398fc1c6220875e55b9520fd7f7524 Mon Sep 17 00:00:00 2001 From: "mark.j.leonard" Date: Wed, 6 Jun 2018 14:47:42 +0100 Subject: Refactor for Sonar smells and code coverage Various code formatting and style fixes (to address Sonar code smells). Introduce a BabelServiceClientException to replace the use of the base Exception class. Make both the BabelServiceClient class and its Factory class use an interface, to allow for Spring injection (using annotations) and for simplified mocking. Refactor the Notification Publishing by making this the responsibility of the main Service classes and not the deployment manager. Issue-ID: AAI-1207 Change-Id: I6bf8a504fa7b98e9158c9976fd1d88c6c54027c1 Signed-off-by: mark.j.leonard --- pom.xml | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index e7d3470..ae5e7cd 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,7 @@ 1.3 1.2.0 1.2.1 + 1.3.0 1.2.3 @@ -104,28 +105,6 @@ - - junit - junit - test - - - org.hamcrest - hamcrest-all - ${hamcrest-all.version} - test - - - org.mockito - mockito-core - test - - - org.eclipse.persistence - org.eclipse.persistence.moxy - 2.6.2 - compile - com.mikesamuel @@ -152,7 +131,7 @@ org.onap.sdc.sdc-distribution-client sdc-distribution-client - 1.3.0 + ${sdc-distribution-client.version} org.json @@ -182,6 +161,29 @@ commons-text ${apache.commons-text.version} + + + + junit + junit + test + + + org.hamcrest + hamcrest-all + ${hamcrest-all.version} + test + + + org.mockito + mockito-core + test + + + org.springframework.boot + spring-boot-starter-test + test + -- cgit 1.2.3-korg