Madhura Bhave
8b29823885
Prevent StackOverFlowException in metadata processor
...
Fixes gh-11037
2018-03-28 07:58:13 -07:00
dreis2211
3b0f6e7168
Use Supplier variants of Assert methods
...
See gh-12630
2018-03-26 17:58:17 +02:00
Johnny Lim
625bf93598
Polish
...
See gh-12584
2018-03-26 17:33:25 +02:00
Phillip Webb
78534a753d
Polish "Iterate map by using lambda function"
...
See gh-12528
2018-03-19 08:00:36 -04:00
igor-suhorukov
ffc883b005
Iterate map by using lambda function
...
Closes gh-12528
2018-03-19 07:50:54 -04:00
Phillip Webb
6e2ecb8a43
Fix broken endpoint integration tests
...
Ensure that JSON response is returned when extracting data from the
error details.
See gh-12513
2018-03-17 12:29:39 -07:00
Andy Wilkinson
2da4897aa8
Polish
2018-03-16 09:57:35 +00:00
Johnny Lim
2e6914ea88
Add missing super() calls
...
Closes gh-12459
2018-03-14 15:56:53 -07:00
dreis2211
8626daf135
Replace Mockito.times(0) with Mockito.never()
...
Closes gh-12475
2018-03-14 15:12:20 -07:00
dreis2211
0d3f3e46dd
Fix typos
...
Closes gh-12468
2018-03-13 17:42:19 -07:00
Andy Wilkinson
2f1b2e3ce2
Log summary of web-exposed endpoints during startup
...
Closes gh-12442
2018-03-13 14:55:51 +00:00
igor-suhorukov
12185251c1
"toString()" should never be called on a String object
...
Closes gh-12452
2018-03-13 08:45:02 +01:00
igor-suhorukov
aebb475bc5
Reorder modifiers to comply with the JLS
...
See gh-12432
2018-03-12 15:17:05 +01:00
Johnny Lim
3c9cee2a8c
Invoke mapStatus() only when necessary
...
Closes gh-12419
2018-03-09 16:21:42 +01:00
Madhura Bhave
89e42d40c5
Provide security matchers for actuator links
...
Fixes gh-12353
2018-03-07 19:02:35 -08:00
Johnny Lim
751c444166
Polish
...
See gh-12326
2018-03-03 12:25:41 +01:00
Phillip Webb
7bc535e4fa
Polish
2018-02-28 10:59:26 -08:00
Johnny Lim
f12c7ab38a
Remove an unnecessary method in EndpointDiscoverer
...
Closes gh-12284
2018-02-28 15:45:25 +01:00
Phillip Webb
29c3be3590
Polish
2018-02-26 10:26:02 -08:00
Stephane Nicoll
306c79f0de
Merge branch '1.5.x'
2018-02-26 18:03:32 +01:00
Stephane Nicoll
cd522dadcd
Revert "Add Kafka health indicator"
...
Closes gh-12225
2018-02-26 15:46:35 +01:00
Phillip Webb
4b9c3c137e
Polish Collection.toArray
...
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.
Fixes gh-12160
2018-02-22 21:11:30 -08:00
Phillip Webb
3076a5523a
Fix checkstyle violation
2018-02-20 22:37:37 -08:00
Phillip Webb
8c24988faa
Fix checkstyle violation
2018-02-20 22:02:02 -08:00
Phillip Webb
0925a0957e
Polish
2018-02-20 16:24:35 -08:00
Phillip Webb
05faac2b09
Polish
2018-02-20 15:53:25 -08:00
Andy Wilkinson
8f699cd6f6
Use RoleVoter for role checks in ReactiveSecurityContext
...
See gh-11869
2018-02-20 17:11:57 +00:00
Andy Wilkinson
ae45b6730b
Apply ROLE_ prefix when needed in ReactiveSecurityContext isUserInRole
...
See gh-11869
2018-02-20 16:38:16 +00:00
Andy Wilkinson
daa280faff
Drop AuthorityReactiveAuthorizationManager and avoid need to block
...
See gh-11869
2018-02-20 16:29:28 +00:00
Stephane Nicoll
7c365bb253
Polish
2018-02-20 13:42:28 +01:00
Andy Wilkinson
87ef9a1d97
Polish
2018-02-20 12:37:24 +00:00
Andy Wilkinson
3e4baf744e
Use role-based security to show details in the health endpoint
...
Closes gh-11869
2018-02-20 12:12:05 +00:00
Jon Schneider
16867f866c
Consistent prefix for datasource pool metrics
...
See gh-12127
2018-02-20 09:35:43 +01:00
Phillip Webb
20109e27be
Add ApplicationConversionService and fix binder
...
Create a new `ApplicationConversionService` similar in design to the
DefaultFormattingConversionService from Spring Framework. The new
conversion service provides a central place for custom conversion logic
supported by Spring Boot.
Also replace the `BindingConversionService` with an internal
`BindConverter` class that now invokes the `SimpleTypeConverter`
directly. Binding for `@ConfigurationProperties` has been updated so
that any custom property editors registered with the BeanFactory can
be used.
Fixes gh-12095
2018-02-19 20:25:47 -08:00
Johnny Lim
88b184ca23
Polish
2018-02-19 20:00:20 -08:00
Jon Schneider
ec5ef0f246
Fix URI tag on RestTemplate requests based on URIs
...
Move leading slash logic from `MetricsClientHttpRequestInterceptor` to
`RestTemplateExchangeTags` so that URI based calls are also managed.
Closes gh-12126
2018-02-19 19:57:24 -08:00
Andy Wilkinson
c3a31fafe2
Remove tangle between actuate.endpoint and actuate.endpoint.invoke
...
See gh-11854
2018-02-19 13:04:23 +00:00
Andy Wilkinson
19ce68d2d8
Prefix endpoint's path to controller endpoint mappings with no path
...
Previously, if a controll endpoint included a mapping with no path,
it would be mapped to the root of the application rather than the
root of the endpoint's path.
This commit updates the handler mappings for both reactive and Servlet
web applications to treat a mapping with no paths as being a mapping
with a single empty path. This ensures that a path with the endpoint's
path prepended is used for the mapping.
Closes gh-12104
2018-02-18 19:53:57 +00:00
Phillip Webb
9e75680e6f
Polish
2018-02-16 18:11:54 -08:00
Andy Wilkinson
17c7f027e0
Add details of the request mapping conditions to mappings endpoint
...
Closes gh-12080
2018-02-16 17:36:06 +00:00
Andy Wilkinson
2c19257d6d
Add HandlerMethod and HandlerFunction details to mappings endpoint
...
Closes gh-11864
2018-02-16 17:08:47 +00:00
Phillip Webb
6771cc9674
Polish
2018-02-13 14:41:12 -08:00
Andy Wilkinson
d238a31d3d
Polish
2018-02-13 17:50:40 +00:00
Stephane Nicoll
b28cabdb12
Polish "Remove unnecessary config options for metrics"
...
Closes gh-12017"
2018-02-13 14:36:52 +01:00
Jon Schneider
49f21a2264
Remove unnecessary config options for JDBC, Rabbit, and Cache metrics
...
See gh-12017
2018-02-13 14:36:52 +01:00
Stephane Nicoll
28f5392787
Polish "Add health indicator for reactive MongoDB"
...
Closes gh-11997
2018-02-13 11:22:04 +01:00
Yulin Qin
eee2694648
Add health indicator for reactive MongoDB
...
See gh-11997
2018-02-13 11:22:04 +01:00
Stephane Nicoll
d468a0714e
Polish "Polish modifier order"
...
Closes gh-12019
2018-02-13 09:50:20 +01:00
Johnny Lim
87bf0b26df
Polish modifier order
...
See gh-12019
2018-02-13 09:49:59 +01:00
igor-suhorukov
71351de694
Remove redundant casts
...
See gh-12011
2018-02-13 09:33:49 +01:00