Skip to content

Commit

Permalink
Merge branch '1.2.x'
Browse files Browse the repository at this point in the history
# Conflicts:
#	implementations/micrometer-registry-appoptics/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-appoptics/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-atlas/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-atlas/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-azure-monitor/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-azure-monitor/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-cloudwatch/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-cloudwatch/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-cloudwatch2/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-cloudwatch2/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-datadog/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-datadog/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-dynatrace/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-dynatrace/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-elastic/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-elastic/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-ganglia/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-ganglia/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-graphite/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-graphite/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-humio/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-humio/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-influx/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-influx/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-jmx/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-jmx/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-kairos/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-kairos/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-new-relic/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-new-relic/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-prometheus/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-prometheus/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-signalfx/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-signalfx/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-stackdriver/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-stackdriver/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-statsd/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-statsd/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	implementations/micrometer-registry-wavefront/gradle/dependency-locks/testCompileClasspath.lockfile
#	implementations/micrometer-registry-wavefront/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	micrometer-core/gradle/dependency-locks/testCompileClasspath.lockfile
#	micrometer-core/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	micrometer-spring-legacy/gradle/dependency-locks/testCompileClasspath.lockfile
#	micrometer-spring-legacy/gradle/dependency-locks/testRuntimeClasspath.lockfile
#	micrometer-test/gradle/dependency-locks/compileClasspath.lockfile
#	micrometer-test/gradle/dependency-locks/testCompileClasspath.lockfile
#	micrometer-test/gradle/dependency-locks/testRuntimeClasspath.lockfile
  • Loading branch information
shakuzen committed Aug 28, 2019
2 parents dd52a63 + 57f5950 commit b67317b
Show file tree
Hide file tree
Showing 7 changed files with 129 additions and 212 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public final Builder withBasicAuthentication(@Nullable String user, @Nullable St
}

/**
* Set the request body as JSON.
* Set the request body as JSON content type.
*
* @param content The request body.
* @return This request builder.
Expand All @@ -178,7 +178,7 @@ public final Builder withJsonContent(String content) {
}

/**
* Set the request body as JSON.
* Set the request body as plain text content type.
*
* @param content The request body.
* @return This request builder.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import com.github.tomakehurst.wiremock.WireMockServer;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import ru.lanwen.wiremock.ext.WiremockResolver;

import java.net.SocketTimeoutException;
Expand All @@ -25,11 +26,9 @@
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;

class HttpUrlConnectionSenderTests extends AbstractHttpSenderTests {
@Override
void setHttpSender() {
this.httpSender = new HttpUrlConnectionSender();
}
@ExtendWith(WiremockResolver.class)
class HttpUrlConnectionSenderTests {
HttpSender httpSender = new HttpUrlConnectionSender();

@Test
void customReadTimeoutHonored(@WiremockResolver.Wiremock WireMockServer server) throws Throwable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.github.tomakehurst.wiremock.WireMockServer;
import okhttp3.OkHttpClient;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import ru.lanwen.wiremock.ext.WiremockResolver;

import java.net.SocketTimeoutException;
Expand All @@ -26,11 +27,9 @@
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;

class OkHttpSenderTests extends AbstractHttpSenderTests {
@Override
void setHttpSender() {
this.httpSender = new OkHttpSender();
}
@ExtendWith(WiremockResolver.class)
class OkHttpSenderTests {
HttpSender httpSender = new OkHttpSender();

@Test
void customReadTimeoutHonored(@WiremockResolver.Wiremock WireMockServer server) throws Throwable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import io.netty.handler.timeout.ReadTimeoutHandler;
import io.netty.handler.timeout.WriteTimeoutHandler;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import reactor.netty.http.client.HttpClient;
import ru.lanwen.wiremock.ext.WiremockResolver;

Expand All @@ -28,11 +29,9 @@
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;

class ReactorNettySenderTests extends AbstractHttpSenderTests {
@Override
void setHttpSender() {
this.httpSender = new ReactorNettySender();
}
@ExtendWith(WiremockResolver.class)
class ReactorNettySenderTests {
HttpSender httpSender = new ReactorNettySender();

@Test
void customReadTimeoutHonored(@WiremockResolver.Wiremock WireMockServer server) throws Throwable {
Expand Down

This file was deleted.

Loading

0 comments on commit b67317b

Please sign in to comment.