diff --git a/pom.xml b/pom.xml
index 2590a83be..b41f41dd7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
org.springframework.cloud
spring-cloud-build
- 2.1.3.BUILD-SNAPSHOT
+ 2.1.4.BUILD-SNAPSHOT
@@ -252,7 +252,7 @@
1.8
1.8
1.8
- 2.1.3.BUILD-SNAPSHOT
+ 2.1.4.BUILD-SNAPSHOT
2.1.1.BUILD-SNAPSHOT
2.1.1.BUILD-SNAPSHOT
Fishtown.BUILD-SNAPSHOT
diff --git a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/SkipPatternProviderConfigTest.java b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/SkipPatternProviderConfigTest.java
index abf8361f2..71ef0653d 100644
--- a/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/SkipPatternProviderConfigTest.java
+++ b/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/SkipPatternProviderConfigTest.java
@@ -107,7 +107,8 @@ public class SkipPatternProviderConfigTest {
};
Optional pattern = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsSamePort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsSamePort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(pattern).isNotEmpty();
@@ -129,7 +130,8 @@ public class SkipPatternProviderConfigTest {
};
Optional pattern = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsSamePort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsSamePort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(pattern).isNotEmpty();
@@ -151,7 +153,8 @@ public class SkipPatternProviderConfigTest {
};
Optional pattern = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsSamePort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsSamePort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(pattern).isNotEmpty();
@@ -173,7 +176,8 @@ public class SkipPatternProviderConfigTest {
};
Optional pattern = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsSamePort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsSamePort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(pattern).isNotEmpty();
@@ -195,19 +199,22 @@ public class SkipPatternProviderConfigTest {
};
Optional patternDifferentPort = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsDifferentPort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsDifferentPort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(patternDifferentPort).isNotEmpty();
- then(patternDifferentPort.get().pattern()).isEqualTo("/(info|info/.*|health|health/.*)");
-
+ then(patternDifferentPort.get().pattern())
+ .isEqualTo("/(info|info/.*|health|health/.*)");
+
Optional patternSamePort = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsSamePort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsSamePort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
-
+
then(patternSamePort).isNotEmpty();
then(patternSamePort.get().pattern())
- .isEqualTo("foo/(info|info/.*|health|health/.*)");
+ .isEqualTo("foo/(info|info/.*|health|health/.*)");
}
@Test
@@ -225,17 +232,19 @@ public class SkipPatternProviderConfigTest {
};
Optional patternDifferentPort = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsDifferentPort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsDifferentPort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(patternDifferentPort).isNotEmpty();
then(patternDifferentPort.get().pattern())
.isEqualTo("/mgt/(info|info/.*|health|health/.*)");
-
+
Optional patternSamePort = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsSamePort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsSamePort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
-
+
then(patternSamePort).isNotEmpty();
then(patternSamePort.get().pattern())
.isEqualTo("foo/mgt/(info|info/.*|health|health/.*)");
@@ -256,18 +265,22 @@ public class SkipPatternProviderConfigTest {
};
Optional patternDifferentPort = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsDifferentPort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsDifferentPort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(patternDifferentPort).isNotEmpty();
- then(patternDifferentPort.get().pattern()).isEqualTo("/actuator/(info|info/.*|health|health/.*)");
-
+ then(patternDifferentPort.get().pattern())
+ .isEqualTo("/actuator/(info|info/.*|health|health/.*)");
+
Optional patternSamePort = new TraceWebAutoConfiguration.ActuatorSkipPatternProviderConfig()
- .skipPatternForActuatorEndpointsSamePort(properties, webEndpointProperties, endpointsSupplier)
+ .skipPatternForActuatorEndpointsSamePort(properties,
+ webEndpointProperties, endpointsSupplier)
.skipPattern();
then(patternSamePort).isNotEmpty();
- then(patternSamePort.get().pattern()).isEqualTo("/foo/actuator/(info|info/.*|health|health/.*)");
+ then(patternSamePort.get().pattern())
+ .isEqualTo("/foo/actuator/(info|info/.*|health|health/.*)");
}
@Test