dreis2211
cd0c5ba4d5
Polish BannerTests
...
Closes gh-12029
2018-02-13 14:55:40 -08:00
igor-suhorukov
e98b93844a
Polish static final usage for constants
...
Closes gh-12032
2018-02-13 14:53:26 -08:00
Jon Schneider
d70594a2b1
Fix upstream micrometer renames
...
Fix for the rename of `HistogramConfig` to `DistributionStatisticConfig`
Closes gh-12030
2018-02-13 14:50:20 -08: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
Andy Wilkinson
214c7ebdd5
Start building against Spring Framework 5.0.4 snapshots again
...
This reverts commit 682612efa3
.
2018-02-13 17:42:16 +00:00
Brian Clozel
8d22a79eb6
Polish
2018-02-13 18:21:31 +01:00
sdeleuze
e399cf6918
Improve WebFlux error logging
...
This commit avoids printing the stacktrace for ResponseStatusException
in order to be consistent with WebFlux ResponseStatusExceptionHandler
and because this stacktrace is usually not very useful in Reactive
world and mainly pollutes the logs, only the message is logged in that
case.
It also logs a WARN message for Bad Request (400) HTTP responses in
order to have a feedback when an exception is thrown due to client error
(unable to deserialize request body for example).
See related SPR-15083 issue on Spring Framework side.
2018-02-13 18:21:31 +01:00
Andy Wilkinson
a19b1946d3
Clarify that both Java 8 and 9 are supported
...
Closes gh-12027
2018-02-13 17:11:54 +00:00
Andy Wilkinson
25520a9e32
Polish “Auto-configure FileDescriptorMetrics”
...
Closes gh-12022
2018-02-13 16:40:18 +00:00
Tommy Ludwig
a51fcd071e
Auto-configure FileDescriptorMetrics
...
See gh-12022
2018-02-13 16:40:18 +00:00
Tommy Ludwig
149963bc61
Auto-configure ClassLoaderMetrics
...
Auto-configure ClassLoaderMetrics as part of the JVM metrics from
Micrometer.
See gh-12022
2018-02-13 16:40:18 +00:00
Stephane Nicoll
83e0978a03
Polish
2018-02-13 17:37:56 +01:00
Andy Wilkinson
682612efa3
Revert "Start building against Spring Framework 5.0.4 snapshots"
...
This reverts commit 9dd7b0689d
.
2018-02-13 16:24:26 +00:00
Andy Wilkinson
e1ab62668f
Merge branch '1.5.x'
2018-02-13 15:05:28 +00:00
Andy Wilkinson
9dd7b0689d
Start building against Spring Framework 5.0.4 snapshots
...
This reverts commit f24c92c658
which is
no longer necessary as SPR-16456 has no been fixed.
See gh-11894
2018-02-13 13:43:47 +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
Andy Wilkinson
db4ffbbc4b
Expose constants for Spring application JSON property names
...
Closes gh-12012
2018-02-13 13:22:50 +00:00
Andy Wilkinson
ce9b2b8266
Auto-configure Micrometer’s Tomcat metrics
...
Closes gh-11916
2018-02-13 12:47:25 +00:00
Andy Wilkinson
01b1c1d947
Perform failure analysis of MissingRequiredConfigurationException
...
Closes gh-12010
2018-02-13 11:35:18 +00: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
Andy Wilkinson
a02fdc755e
Stop MeterRegistries when context is closed
...
Closes gh-12006
2018-02-13 09:34:11 +00: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
Stephane Nicoll
31da4cc35d
Polish "Remove redundant casts"
...
Closes gh-12011
2018-02-13 09:34:08 +01:00
igor-suhorukov
71351de694
Remove redundant casts
...
See gh-12011
2018-02-13 09:33:49 +01:00
Phillip Webb
74cede5cdc
Migrate integration tests to context runner
...
Migrate `IntegrationAutoConfigurationTests` to use the
`ApplicationContextRunner`.
2018-02-12 17:49:54 -08:00
Phillip Webb
728b522307
Include scope support on ApplicationContextAssert
...
Update `ApplicationContextAssert` with support for scopes. Allows
tests to consider the all ancestors, or limit assertions to just the
current context.
Fixes gh-12015
2018-02-12 17:49:54 -08:00
Phillip Webb
d6858ae162
Fix ConfigurationPropertySources parent attach
...
Update `ConfigurationPropertySources` so that the underlying sources
are checked when attaching. Prior to this commit, in a parent/child
setup the `ConfigurationPropertySources` adapter may already present
on the parent. This means the attaching is skipped but the managed
sources are incorrect.
Fixes gh-12013
2018-02-12 17:49:53 -08:00
Phillip Webb
7ab587a067
Add initializer support
...
Add `ApplicationContextInitializer` support to
`ApplicationContextRunner`.
2018-02-12 17:49:53 -08:00
Phillip Webb
3bec55e16c
Formatting
2018-02-12 17:49:53 -08:00
Madhura Bhave
3880bdb908
Add example for customizing webflux security
...
Closes gh-11928
2018-02-12 16:26:30 -08:00
Madhura Bhave
16a499b2fa
Cloud Foundry health should always show details
...
Fixes gh-12014
2018-02-12 15:28:06 -08:00
Phillip Webb
f34aa6f4d8
Migrate to Spring Integration Micrometer support
...
Remove custom `SpringIntegrationMetrics` and instead provide
auto-configuration to the direct Micrometer support added in Spring
Integration 5.0.2.
Closes gh-11985
2018-02-12 13:24:29 -08:00
Andy Wilkinson
b0e86bd7ac
Align New Relic and Signal FX tests with those for other exporters
...
Closes gh-11970
2018-02-12 20:43:56 +00:00
Andy Wilkinson
384a4ed6a9
Use metrics export.*.enabled properties to control auto-configuration
...
Closes gh-11978
2018-02-12 20:18:11 +00:00
Phillip Webb
0348889fd7
Polish
2018-02-12 10:03:06 -08:00
Andy Wilkinson
e49d50fe9d
Improve testing of metrics auto-configuration
...
Closes gh-11970
2018-02-12 17:05:05 +00:00
Johnny Lim
5a9865dabb
Polish
...
Closes gh-12004
2018-02-12 17:10:43 +01:00
Stephane Nicoll
c97a9a0cb2
Merge branch '1.5.x'
2018-02-12 17:08:09 +01:00
Brian Clozel
2be0c46562
Remove TestRestTemplate constructors taking template args
...
As discussed in gh-11872, `TestRestTemplate` constructor variants taking
a `RestTemplate` argument are confusing since the main goal of that
class is to mutate `RestTemplate`.
This commit removes all those constructor variants and replaces them
with `RestTemplateBuilder` arguments when possible.
Closes gh-11872
2018-02-12 16:57:15 +01:00
Stephane Nicoll
eec3eed5f5
Mention how to configure the web application type in tests
...
Closes gh-11025
2018-02-12 14:32:46 +01:00
Stephane Nicoll
51de8ae6be
Polish doc
...
See gh-11803
2018-02-12 14:15:44 +01:00
Stephane Nicoll
ce36529ef8
Fix javadoc generation
2018-02-12 14:09:57 +01:00
Stephane Nicoll
ca5ebea24b
Polish
2018-02-12 14:07:58 +01:00
Stephane Nicoll
9aa751a949
Make an explicit link to MongoDataAutoConfiguration
...
Closes gh-12001
2018-02-12 14:03:43 +01:00
Stephane Nicoll
7473642f58
Harmonize endpoints exclude property
...
Closes gh-11914
2018-02-12 14:00:40 +01:00
Andy Wilkinson
037b6d8ba2
Auto-configure Micrometer's New Relic and SignalFX support
...
Closes gh-11803
2018-02-12 12:00:38 +00:00
Andy Wilkinson
1b156fc2c3
Polish
2018-02-12 11:26:53 +00:00
Andy Wilkinson
6d1d9eb816
Polish
2018-02-12 10:53:30 +00:00
Andy Wilkinson
bc814d2039
Prevent authenticated principal from clashing with argument of same name
...
Closes gh-11988
2018-02-12 10:46:19 +00:00
Stephane Nicoll
1772a154d7
Make sure that failsafe uses target/classes
...
This commit configures the failsafe plugin to use the classes directory
rather than the produced jar file as the latter can be a repackaged jar
by default.
Closes gh-11974
2018-02-12 11:35:39 +01:00
Stephane Nicoll
2f13449b26
Polish "Improve FailureAnalyzer for embedded datasource"
...
Closes gh-11953
2018-02-12 11:11:36 +01:00
Patryk Kostrzewa
e66745a98a
Improve FailureAnalyzer for embedded datasource
...
See gh-11953
2018-02-12 11:11:36 +01:00
Andy Wilkinson
2b9006b3fd
Accumulate config classes across register calls
...
Closes gh-11998
2018-02-12 09:59:31 +00:00
Stephane Nicoll
5e0df39c66
Merge branch '1.5.x'
2018-02-10 15:06:16 +01:00
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