Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: java

jdk:
- openjdk7
- oraclejdk8

cache:
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand All @@ -23,12 +23,12 @@
</dependency>

<dependency>
<groupId>com.codahale.metrics</groupId>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
</dependency>

<dependency>
<groupId>com.codahale.metrics</groupId>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-jvm</artifactId>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion ffwd-http-reporter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
import rx.Observable;

@RunWith(MockitoJUnitRunner.class)
public class FastForwardReporterTest {
public class FastForwardHttpReporterTest {
private static final int REPORTING_PERIOD = 50;
public static final long TIME = 42L;
private static final long TIME = 42L;
private FastForwardHttpReporter reporter;

private SemanticMetricRegistry registry;
Expand All @@ -60,7 +60,7 @@ public void setUp() throws Exception {
}

@Test
public void someReporting() throws Exception {
public void someReporting() {
doReturn(Observable.<Void>just(null)).when(httpClient).sendBatch(any(Batch.class));
fixedClock.setCurrentTime(TIME);

Expand Down Expand Up @@ -140,7 +140,7 @@ public Double getValue() {

final ArgumentCaptor<Batch> batch = ArgumentCaptor.forClass(Batch.class);

verify(httpClient, timeout(REPORTING_PERIOD * 2 + 20).atLeast(2)).sendBatch(
verify(httpClient, timeout(REPORTING_PERIOD * 2 + 20).atLeastOnce()).sendBatch(
batch.capture());

for (final Batch b : batch.getAllValues()) {
Expand Down Expand Up @@ -173,7 +173,7 @@ public void shouldAddExtractedTags() throws Exception {

final ArgumentCaptor<Batch> batch = ArgumentCaptor.forClass(Batch.class);

verify(httpClient, timeout(REPORTING_PERIOD * 2 + 20).atLeast(2)).sendBatch(
verify(httpClient, timeout(REPORTING_PERIOD * 2 + 20).atLeastOnce()).sendBatch(
batch.capture());

final Map<String, String> commonTags = batch.getValue().getCommonTags();
Expand Down
2 changes: 1 addition & 1 deletion ffwd-reporter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<name>Semantic Metrics: Parent POM</name>
<packaging>pom</packaging>

Expand Down Expand Up @@ -50,7 +50,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<metrics.version>3.0.2</metrics.version>
<metrics.version>4.0.2</metrics.version>
</properties>

<dependencyManagement>
Expand All @@ -77,13 +77,13 @@
</dependency>

<dependency>
<groupId>com.codahale.metrics</groupId>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${metrics.version}</version>
</dependency>

<dependency>
<groupId>com.codahale.metrics</groupId>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-jvm</artifactId>
<version>${metrics.version}</version>
</dependency>
Expand Down Expand Up @@ -193,8 +193,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.spotify.metrics</groupId>
<artifactId>semantic-metrics-parent</artifactId>
<version>0.11.6-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down