Madhura Bhave
d724f154f4
Merge branch '2.0.x'
2018-08-16 15:45:20 -07:00
Madhura Bhave
b93c2b9a9f
Allow actuator endpoints to be used with mvcMatchers
...
This commit changes AbstractWebMvcEndpointHandlerMapping to
be a MatchableHandlerMapping. Additionally, EndpointRequest,
now delegates to MvcRequestMatcher for Spring MVC applications.
For all other applications, AntPathRequestMatcher is used as
a delegate.
Closes gh-13962
2018-08-16 15:41:02 -07:00
Johnny Lim
101cc59b7d
Polish
...
Closes gh-14023
2018-08-09 09:32:10 +02:00
Stephane Nicoll
a12ca0a0dc
Merge branch '2.0.x'
2018-08-08 16:05:34 +02:00
Stephane Nicoll
a023bd030a
Add configurable timeout for Couchbase health indicator
...
This commit makes sure to use a configurable timeout to check if the
Couchbase cluster is up, rather than relying on the default that can be
quite long.
Closes gh-13879
2018-08-08 16:01:58 +02:00
Stephane Nicoll
14a9ec8711
Polish
2018-08-06 14:44:44 +02:00
Stephane Nicoll
e6b44189e0
Polish "Add global support for JMX unique names"
...
This commit ensures that the new "spring.jmx.unique-names" property
deprecates the Endpoint's specific property as they share the same goal.
If both are set with an incompatible value, an exception is thrown
inviting the user to update their configuration.
Closes gh-13990
2018-08-06 14:35:18 +02:00
Stephane Nicoll
624c1306fd
Merge branch '2.0.x'
2018-08-03 18:25:24 +02:00
Stephane Nicoll
737b4a275b
Polish
2018-08-03 18:24:59 +02:00
Stephane Nicoll
0e750f982b
Merge branch '2.0.x'
2018-08-03 09:25:15 +02:00
Johnny Lim
7b6b91aae7
Return null immediately when sla is null in convertSla()
...
Closes gh-13991
2018-08-03 09:23:22 +02:00
Phillip Webb
1b91c0ceb7
Merge branch '2.0.x'
2018-07-29 09:29:57 +01:00
Phillip Webb
0ec22c8bf9
Polish copyright date on changed files
2018-07-29 09:29:29 +01:00
Phillip Webb
80da9cf5eb
Merge branch '2.0.x'
2018-07-29 09:28:56 +01:00
Phillip Webb
aeb885192e
Polish ternary expressions
2018-07-29 09:24:46 +01:00
Phillip Webb
a6c9c92f2e
Merge branch '2.0.x'
2018-07-28 01:35:43 +01:00
Phillip Webb
e6a68b39a3
Fix checkstyle javadoc issues
...
Fix checkstyle issues in javadoc following the spring-javaformat
upgrade.
See gh-13932
2018-07-28 01:11:52 +01:00
Phillip Webb
7fc455654a
Fix checkstyle ternary issues
...
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.
See gh-13932
2018-07-28 01:11:52 +01:00
Madhura Bhave
f2a9030788
Merge branch '2.0.x'
2018-07-27 12:23:51 -07:00
Madhura Bhave
e753b530fa
EndpointRequest should match links with trailing slash
...
Fixes gh-13921
2018-07-27 12:23:27 -07:00
Phillip Webb
b5b60c2053
Merge branch '2.0.x'
2018-07-26 13:23:07 +01:00
Phillip Webb
9a9111af21
Support path discovery for main dispatcher servlet
...
Add an `DispatcherServletPath` interface which provides a much more
consistent way to discover the path of the main dispatcher servet.
Prior to this commit, auto-configurations would often make use of the
`ServerProperties` class to discover the dispatcher servlet path. This
mechanism isn't very explicit and also makes it hard for us to relocate
that property in Spring Boot 2.1.
This commit also reverts most of fddc9e9c7e since it is now clear that
the supporting multiple dispatcher servlet paths will be much more
involved that we originally anticipated.
Closes gh-13834
2018-07-26 11:35:12 +01:00
Phillip Webb
d37e717500
Polish
2018-07-26 11:35:12 +01:00
Stephane Nicoll
1e7aa7c4bc
Fix Spring Integration imports
2018-07-25 16:25:06 +02:00
Stephane Nicoll
af0aa11d15
Polish "Add reactive health indicator for Cassandra"
...
Closes gh-13864
2018-07-25 10:16:17 +02:00
artsiom
61c41555c8
Add reactive health indicator for Cassandra
...
See gh-13864
2018-07-25 10:16:17 +02:00
Stephane Nicoll
6dc0cb4f67
Merge branch '2.0.x'
2018-07-24 09:33:22 +02:00
Stephane Nicoll
7176c54f5e
Polish "Add metric description and base unit to metrics endpoint"
...
Closes gh-13813
2018-07-24 09:32:22 +02:00
Johannes Edmeier
ab1f8cf77b
Add metric description and base unit to metrics endpoint
...
See gh-13813
2018-07-24 09:32:22 +02:00
Stephane Nicoll
ecb8da2536
Polish "Upgrade to Micrometer 1.0.6"
...
Closes gh-13819
2018-07-24 09:25:54 +02:00
Jon Schneider
f478911c54
Upgrade to Micrometer 1.0.6
...
See gh-13819
2018-07-24 09:12:06 +02:00
Madhura Bhave
9b6a069903
Merge branch '2.0.x'
2018-07-17 16:54:43 -07:00
Johnny Lim
86ccb26c58
Polish EndpointRequest.RequestMatcherFactory.antPath()
...
Closes gh-13775
2018-07-17 16:53:33 -07:00
Andy Wilkinson
6a189cee06
Merge branch '2.0.x'
2018-07-17 19:26:08 +01:00
Andy Wilkinson
a57d0f0853
Reinstate order of WebMvcMetricsFilter
...
Closes gh-13781
2018-07-17 19:14:17 +01:00
Stephane Nicoll
070c26d6c3
Merge branch '2.0.x'
2018-07-17 12:03:58 +02:00
Stephane Nicoll
d6c7eff8f7
Add check for empty values for lookup
...
Closes gh-13419
2018-07-17 12:01:26 +02:00
Johnny Lim
58df752af4
Polish
...
See gh-13790
2018-07-17 10:25:38 +02:00
Stephane Nicoll
43091150d8
Merge branch '2.0.x'
2018-07-17 10:23:12 +02:00
Johnny Lim
f363fe7dd1
Polish
...
See gh-13790
2018-07-17 10:03:41 +02:00
Andy Wilkinson
ac1f2a5817
Polish
2018-07-14 08:45:34 +01:00
Madhura Bhave
d1b8558430
Make /health and /info insecure by default
...
Closes gh-13722
2018-07-13 13:35:52 -07:00
Stephane Nicoll
fa171671b1
Merge branch '2.0.x'
2018-07-13 09:39:29 +02:00
Stephane Nicoll
e6ea28dec5
Polish
2018-07-13 09:36:37 +02:00
Johnny Lim
13202eb278
Prevent duplicate RequestMatcher in RequestMatcherFactory.antPath()
...
Closes gh-13706
2018-07-13 09:35:34 +02:00
Johnny Lim
f94ce495d8
Fix parameter order for RequestMatcherAssert.doesNotMatch()
...
Closes gh-13707
2018-07-10 11:36:47 -07:00
dreis2211
be837ccb4b
Use PropertySources.stream() where possible
...
Closes gh-13724
2018-07-10 15:35:03 +02:00
Andy Wilkinson
c1a81cfca0
Prohibit bean overriding by default and analyze override failures
...
Closes gh-13609
2018-07-10 12:28:18 +01:00
Johnny Lim
b87b23a44f
Fix parameter order for RequestMatcherAssert.doesNotMatch()
...
Closes gh-13707
2018-07-09 15:20:18 -07:00
Stephane Nicoll
60457f1d9a
Merge branch '2.0.x'
2018-07-09 13:22:14 +02:00