Bump to Dropwizard Metrics 4.0.3 38/76438/1
authorStephen Kitt <skitt@redhat.com>
Tue, 25 Sep 2018 10:24:24 +0000 (12:24 +0200)
committerStephen Kitt <skitt@redhat.com>
Tue, 25 Sep 2018 10:24:24 +0000 (12:24 +0200)
This also cleans up some duplicate dependencies.

Release notes:
* 4.0.0: https://metrics.dropwizard.io/4.0.0/about/release-notes.html
* 4.0.1: https://github.com/dropwizard/metrics/releases/tag/v4.0.1
* 4.0.2: https://github.com/dropwizard/metrics/releases/tag/v4.0.1
* 4.0.3: none available, see
  https://github.com/dropwizard/metrics/compare/v4.0.2...v4.0.3

Change-Id: I29050a587aebafcf0d169425242b6281dbb43519
Signed-off-by: Stephen Kitt <skitt@redhat.com>
features/mdsal/odl-mdsal-clustering-commons/pom.xml
opendaylight/md-sal/sal-clustering-commons/pom.xml
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/reporting/MetricsReporter.java
opendaylight/md-sal/sal-remoterpc-connector/pom.xml

index d798bc22c62c2484b2f4657d8b4ec1368fce0e4a..df99340aefcc3962b520e3089eb62fa6a968879a 100644 (file)
             <artifactId>sal-akka-raft</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <dependency>
-            <groupId>io.dropwizard.metrics</groupId>
-            <artifactId>metrics-core</artifactId>
-            <version>3.1.2</version>
-        </dependency>
     </dependencies>
 
 </project>
index d3f90420cf5f55a17a7cbaf2ba73ef971895948e..fd62d9e43ecd9eba2050cbdf81f6252871dfe0dd 100644 (file)
     <dependency>
       <groupId>io.dropwizard.metrics</groupId>
       <artifactId>metrics-core</artifactId>
-      <version>3.1.2</version>
+      <version>4.0.3</version>
     </dependency>
     <dependency>
       <groupId>io.dropwizard.metrics</groupId>
       <artifactId>metrics-graphite</artifactId>
-      <version>3.1.2</version>
+      <version>4.0.3</version>
+    </dependency>
+    <dependency>
+      <groupId>io.dropwizard.metrics</groupId>
+      <artifactId>metrics-jmx</artifactId>
+      <version>4.0.3</version>
     </dependency>
 
     <!-- Google -->
index e815187d596223ed0dbc8b449a94724e7d39efce..a488342abaa2b9efeacbd52c9eefb69ba0f82e71 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.reporting;
 
-import com.codahale.metrics.JmxReporter;
 import com.codahale.metrics.MetricRegistry;
+import com.codahale.metrics.jmx.JmxReporter;
 import com.google.common.cache.CacheBuilder;
 import com.google.common.cache.CacheLoader;
 import com.google.common.cache.LoadingCache;
index 27390ae5299e1b535aca85663e0628c29fda9217..4cfeda5f979be8b393150c184cf2d8919ef6dac7 100644 (file)
             <groupId>org.scala-lang</groupId>
             <artifactId>scala-library</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.dropwizard.metrics</groupId>
-            <artifactId>metrics-core</artifactId>
-            <version>3.1.2</version>
-        </dependency>
-        <dependency>
-            <groupId>io.dropwizard.metrics</groupId>
-            <artifactId>metrics-graphite</artifactId>
-            <version>3.1.2</version>
-        </dependency>
         <!-- Test Dependencies -->
         <dependency>
             <groupId>org.mockito</groupId>