From b58e1d3db05aed02b62a557bf14db6ea7b8df5f5 Mon Sep 17 00:00:00 2001 From: "Tschaen, Brendan" Date: Mon, 25 Feb 2019 17:31:00 -0500 Subject: Remove zookeeper reference Test cachingUtil, and other test coverage increase Remove unused code Rebased ontop of authentication changes Change-Id: I795a9a90d0863b03cc2a4917d4ff13a0a6fca1cc Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan --- pom.xml | 20 - .../org/onap/music/authentication/CachingUtil.java | 45 +- .../music/authentication/MusicAuthentication.java | 18 +- .../conditionals/RestMusicConditionalAPI.java | 1 - .../music/eelf/healthcheck/MusicHealthCheck.java | 33 +- .../lockingservice/zookeeper/LockListener.java | 40 - .../zookeeper/MusicLockingService.java | 182 ----- .../lockingservice/zookeeper/ProtocolSupport.java | 217 ----- .../music/lockingservice/zookeeper/ZNodeName.java | 121 --- .../zookeeper/ZkStatelessLockService.java | 377 --------- .../zookeeper/ZooKeeperOperation.java | 43 - .../java/org/onap/music/main/CronJobManager.java | 103 --- src/main/java/org/onap/music/main/MusicUtil.java | 4 - .../java/org/onap/music/rest/RestMusicDataAPI.java | 14 +- .../onap/music/rest/RestMusicHealthCheckAPI.java | 27 +- .../java/org/onap/music/rest/RestMusicQAPI.java | 1 - .../org/onap/music/service/impl/MusicZKCore.java | 888 --------------------- .../org/onap/music/unittests/MusicUtilTest.java | 11 + .../org/onap/music/unittests/TestMusicCore.java | 666 ---------------- .../music/unittests/TestMusicCoreIntegration.java | 195 ----- .../onap/music/unittests/TestsUsingCassandra.java | 4 +- .../org/onap/music/unittests/TstCachingUtil.java | 178 +++-- .../onap/music/unittests/TstRestMusicDataAPI.java | 138 ++-- .../onap/music/unittests/TstRestMusicLockAPI.java | 24 +- .../jsonobjects/MusicHealthCheckTest.java | 8 +- 25 files changed, 225 insertions(+), 3133 deletions(-) delete mode 100644 src/main/java/org/onap/music/lockingservice/zookeeper/LockListener.java delete mode 100644 src/main/java/org/onap/music/lockingservice/zookeeper/MusicLockingService.java delete mode 100644 src/main/java/org/onap/music/lockingservice/zookeeper/ProtocolSupport.java delete mode 100644 src/main/java/org/onap/music/lockingservice/zookeeper/ZNodeName.java delete mode 100644 src/main/java/org/onap/music/lockingservice/zookeeper/ZkStatelessLockService.java delete mode 100644 src/main/java/org/onap/music/lockingservice/zookeeper/ZooKeeperOperation.java delete mode 100644 src/main/java/org/onap/music/main/CronJobManager.java delete mode 100644 src/main/java/org/onap/music/service/impl/MusicZKCore.java delete mode 100644 src/test/java/org/onap/music/unittests/TestMusicCore.java delete mode 100644 src/test/java/org/onap/music/unittests/TestMusicCoreIntegration.java diff --git a/pom.xml b/pom.xml index a623853c..68f835a8 100755 --- a/pom.xml +++ b/pom.xml @@ -65,7 +65,6 @@ 2.25.1 2.0.1 3.6.0 - 3.4.11 UTF-8 UTF-8 @@ -341,19 +340,6 @@ - - - org.apache.zookeeper - zookeeper - ${zookeeper.version} - - - org.slf4j - slf4j-log4j12 - - - - com.sun.jersey @@ -627,12 +613,6 @@ ${project.basedir}/distribution/trigger - - -