1227 Commits

Author SHA1 Message Date
Phillip Webb
63c827b14d Ensure exports are configured before endpoint
Update `SimpleMetricsExportAutoConfiguration` to ensure that it runs
before `SimpleMetricsExportAutoConfiguration`.

See gh-11977
2018-02-09 14:44:07 -08:00
Phillip Webb
d259f68fbf Drop recordRequestPercentiles property
Drop the `recordRequestPercentiles` property as it overlaps with the
property based `MeterFilter` support.

Fixes gh-11982
2018-02-09 13:59:46 -08:00
Phillip Webb
601157f552 Polish "Add publishUnchangedMeters StatsD support"
Closes gh-11967
2018-02-09 12:09:45 -08:00
Jon Schneider
e02eba2a33 Add publishUnchangedMeters StatsD support
Add configuration property to support publishing unchanged pollable
meters.

See gh-11967
2018-02-09 12:09:41 -08:00
Phillip Webb
3ec778fb64 Polish 2018-02-09 11:31:53 -08:00
Madhura Bhave
f68f23bb52 Remove documentation that's no longer applicable 2018-02-09 10:53:53 -08:00
Andy Wilkinson
351e1ec4de Ensure that metrics export backs off when there's no Clock
Closes gh-11977
2018-02-09 17:14:06 +00:00
Madhura Bhave
e9fe918d25 Add option to skip ssl for reactive CF actuators
Fixes gh-10898
2018-02-09 08:46:29 -08:00
Andy Wilkinson
fee9dacab1 Allow use of custom DatadogConfig without requiring api-key property
Closes gh-11979
2018-02-09 16:04:16 +00:00
Andy Wilkinson
cc3d7648c1 Auto-configure Micrometer's Clock in a single place
Closes gh-11977
2018-02-09 15:26:10 +00:00
Stephane Nicoll
2c40383524 Polish 2018-02-09 16:22:13 +01:00
Stephane Nicoll
077d00fcb3 Polish 2018-02-09 16:07:58 +01:00
Andy Wilkinson
03d7c3a7af Repackage HTTP tracing auto-configuration classes
Closes gh-11934
2018-02-09 12:03:48 +00:00
Andy Wilkinson
a6ecd55f1f Make expose and exclude properties affect servlet endpoints
Closes gh-11968
2018-02-09 11:24:18 +00:00
Stephane Nicoll
a97a762086 Only set mapping resources when present
This commit sets a mapping resources list only when there is at least an
element in it. This allows the default fallback of finding an "orm.xml"
file to kick in when no customization has been applied.

Closes gh-11964
2018-02-09 12:01:08 +01:00
Andy Wilkinson
2993dccd1e Provide links to all types of endpoints
Previously, links were only provide to web endpoints. This commit
expands link resolution to also provide links for servlet endpoints,
controller endpoints, and rest controller endpoints.

Closes gh-11902
2018-02-09 10:56:15 +00:00
Phillip Webb
204f6f67fd Migrate all of metrics to auto-configuration
Migrate remaining metrics `@Configuration` classes to individual
auto-configurations.

Fixes gh-11935
2018-02-08 22:39:47 -08:00
Phillip Webb
6f7f11fd96 Refine metrics export auto-configure ordering
The `SimpleMetricsExportAutoConfiguration` should be last and it should
check for a `MeterRegistry` bean.

See gh-11838
2018-02-08 19:22:37 -08:00
Phillip Webb
d2418b99ef Fix checkstyle errors 2018-02-08 17:19:19 -08:00
Phillip Webb
5de46c3186 Polish 2018-02-08 16:35:10 -08:00
Phillip Webb
387804e600 Format with Eclipse Oxygen SR2 2018-02-08 15:44:32 -08:00
Andy Wilkinson
7b32cf82df Exclude documentation examples from main API Javadoc 2018-02-08 16:50:37 +00:00
Andy Wilkinson
5522174e96 Provide package info for all packages included in javadoc 2018-02-08 16:50:37 +00:00
Andy Wilkinson
dec37ec5e2 Move EndpointMapping into spring-boot-actuator 2018-02-08 15:13:27 +00:00
Stephane Nicoll
0f6a13c9b3 Warn users about the caching implications of @MockBean and @SpyBean
Closes gh-10182
2018-02-08 15:03:23 +01:00
Andy Wilkinson
4beb6be179 Rename HTTP trace properties and packages
Closes gh-11934
2018-02-08 13:08:27 +00:00
Stephane Nicoll
509b068338 Clarify logging level documentation
Closes gh-11949
2018-02-08 13:46:52 +01:00
Andy Wilkinson
a09c64e18c Polish 2018-02-08 11:15:36 +00:00
Andy Wilkinson
70c613819d Fix incomplete calls to assertThat 2018-02-08 11:06:54 +00:00
Stephane Nicoll
7cd19822c6 Polish "Add Kafka health indicator"
Closes gh-11515
2018-02-08 11:58:42 +01:00
Juan Camilo Rada
0dbd9429cc Add Kafka health indicator
See gh-11515
2018-02-08 11:55:37 +01:00
Andy Wilkinson
76a450dfba Format with Eclipse Oxygen SR2 2018-02-08 10:53:53 +00:00
Andy Wilkinson
b4f4dd3fdd Correct location of JDT config files in Gradle plugin 2018-02-08 10:42:50 +00:00
Andy Wilkinson
37f3b1d1e5 Polish 2018-02-08 10:10:34 +00:00
Madhura Bhave
7136bed126 Fix tests 2018-02-07 17:36:44 -08:00
Madhura Bhave
0a446cb962 Refactor Spring Security auto-configuration classes
The auto-configuration for a `UserDetailsService` and the web bits
has been split into two.

Closes gh-11915
Fixes gh-11891
2018-02-07 16:12:46 -08:00
Madhura Bhave
761bcffc13 Consider generic information on @Bean method for bind
Fixes gh-11931
2018-02-07 13:55:09 -08:00
Madhura Bhave
dd3bcc5691 Polish 2018-02-07 13:55:09 -08:00
Madhura Bhave
7d53c54364 Fallback to Object.class if ResolvableType can't resolve
Fixes gh-11908
2018-02-07 13:37:43 -08:00
Andy Wilkinson
efc3f888da Avoid exception throw-catch for non-MatchableHandlerMapping mappings
Closes gh-11912
2018-02-07 17:06:33 +00:00
Andy Wilkinson
b3ed46af5a Polish 2018-02-07 16:30:03 +00:00
Andy Wilkinson
9a456924e4 Remove - from path-match and content-negotiation properties
Closes gh-11913
2018-02-07 15:09:32 +00:00
Michael J. Simons
97a97f3784 Polish 2018-02-07 13:37:10 +00:00
Andy Wilkinson
deb94e7ff7 Upgrade to Flyway 5.0.7
Closes gh-11946
2018-02-07 12:46:39 +00:00
Andy Wilkinson
c66aba8c35 Upgrade to Rxjava2 2.1.9
Closes gh-11945
2018-02-07 12:46:38 +00:00
Andy Wilkinson
f18ee926a0 Upgrade to Rxjava 1.3.5
Closes gh-11944
2018-02-07 12:46:38 +00:00
Andy Wilkinson
b42de610b9 Polish 2018-02-07 12:40:50 +00:00
Andy Wilkinson
5e8d533279 Add dependency management for javax.xml.bind:jaxb-api
Closes gh-11205
2018-02-07 12:40:50 +00:00
dreis2211
7108a1fc49 Optimize ApplicationHome.isUnitTest()
Closes gh-11910
2018-02-07 12:57:03 +01:00
Stephane Nicoll
63d2e944ba Polish "Add influx property to govern whether db is auto-created or not"
Closes gh-11922
2018-02-07 12:55:20 +01:00