Phillip Webb
5917a58bf1
Add Automatic-Module-Name to manifest file
...
Update build to add `Automatic-Module-Name` entry to the manifest file.
Also refined a few of the other entries that appear.
Fixes gh-11994
2018-02-21 16:03:13 -08:00
Johnny Lim
50c07d0772
Polish
...
Closes gh-12156
2018-02-21 17:46:57 +01:00
Stephane Nicoll
75505c78f5
Polish
2018-02-21 17:41:19 +01:00
Andy Wilkinson
e7176c63f5
Stop DataSource initialization from preventing Hikari instrumentation
...
Closes gh-12129
2018-02-21 10:32:41 +00:00
Madhura Bhave
33be78a91e
Add additional profile negation tests
...
Closes gh-8011
2018-02-21 01:57:03 -08:00
Phillip Webb
4bde6b80ee
Refactor YAML profile to deal with "!" profiles
...
Drop `SpringProfileDocumentMatcher` and replace it with two new
implementations that restrict when YAML documents are loaded. YAML
sections are now restricted both on the specific profile that is being
loaded, and the profiles that are currently accepted.
The `PropertySourceLoader` interface has been refined to include a
predicate that determines when a profile is accepted. The
`ConfigFileApplicationListener` simply delegates the predicate logic to
the `Environment`.
Fixes gh-8011
2018-02-21 01:57:03 -08:00
Stephane Nicoll
b03fd99209
Polish
2018-02-21 10:20:32 +01:00
Stephane Nicoll
d7e000da53
Add missing JMX section
2018-02-21 10:19:41 +01:00
Johnny Lim
1bd94b3499
Remove an obsolete warning in doc
...
Closes gh-12150
2018-02-21 09:27:14 +01:00
Stephane Nicoll
e7db69be7a
Polish
...
See gh-11869
2018-02-21 07:39:40 +01: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
349987d9be
Switch show details default to ShowDetails.NEVER
...
Closes gh-11869
2018-02-20 16:43:11 -08:00
Phillip Webb
46021928ba
Rework common server customization
...
Update the configurable embedded web server factory interfaces to
extend `ConfigurableWebServerFactory` so that the can be used in a
`WebServerFactoryCustomizer`.
Extract server specific customization to their own auto-configuration
and align reactive/servlet server auto-configuration.
Closes gh-8573
2018-02-20 16:27:15 -08:00
Phillip Webb
aafa1e9615
Rename MetricsIntegrationAutoConfiguration
...
Rename `MetricsIntegrationAutoConfiguration` to
`IntegrationMetricsAutoConfiguration`.
Closes gh-12147
2018-02-20 16:25:51 -08:00
Phillip Webb
0925a0957e
Polish
2018-02-20 16:24:35 -08:00
Phillip Webb
8f5f0bda50
Upgrade to Spring Session Apple-SR1
...
Closes gh-12092
2018-02-20 16:08:13 -08:00
Phillip Webb
fe1f0cf90e
Upgrade to Micrometer 1.0.0
...
Closes gh-11877
2018-02-20 16:02:46 -08:00
Phillip Webb
3ec5f70c52
Upgrade to Spring Integration 5.0.2.RELEASE
...
Closes gh-12130
2018-02-20 15:55:40 -08:00
Phillip Webb
05faac2b09
Polish
2018-02-20 15:53:25 -08:00
Phillip Webb
cdb5677375
Polish Binder constructor
...
Reinstate constructor signature used by Spring Cloud and improve
javadoc.
Closes gh-12095
2018-02-20 15:36:43 -08:00
Andy Wilkinson
b5e2c5ec1c
Polish
2018-02-20 19:58:39 +00:00
Stephane Nicoll
a7cccac0d0
Remove deprecation note for property that was renamed in 2.0
2018-02-20 18:57:25 +01:00
Stephane Nicoll
ce01a9145b
Polish
2018-02-20 18:45:36 +01: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
Stephane Nicoll
20f104766b
Add missing default values for enums
2018-02-20 17:33:32 +01:00
Andy Wilkinson
daa280faff
Drop AuthorityReactiveAuthorizationManager and avoid need to block
...
See gh-11869
2018-02-20 16:29:28 +00:00
Stephane Nicoll
45476961c1
Polish
...
See gh-12129
2018-02-20 17:02:03 +01:00
Andy Wilkinson
5e61b646fa
Upgrade to Neo4j Ogm 3.1.0
...
Closes gh-12145
2018-02-20 15:52:56 +00:00
Andy Wilkinson
024a42a830
Upgrade to Mariadb 2.2.2
...
Closes gh-12144
2018-02-20 15:52:56 +00:00
Andy Wilkinson
feb82b49f2
Upgrade to Johnzon Jsonb 1.1.6
...
Closes gh-12143
2018-02-20 15:52:56 +00:00
Andy Wilkinson
ac69ec1f1b
Upgrade to Junit Jupiter 5.1.0
...
Closes gh-12142
2018-02-20 15:52:56 +00:00
Stephane Nicoll
0492d53117
Polish
2018-02-20 16:52:15 +01:00
Andy Wilkinson
e2315658e6
Merge branch '1.5.x'
2018-02-20 15:47:43 +00:00
Stephane Nicoll
6f59dd6b17
Polish "Update documentation to reference webjars-locator-core"
...
Closes gh-12135
2018-02-20 16:37:34 +01:00
Nikola Kološnjaji
4da4a4d385
Update documentation to reference webjars-locator-core
...
See gh-12135
2018-02-20 16:33:19 +01:00
Stephane Nicoll
0f75a9a9fe
Rework Hikari metrics registration
...
This commits move the Hikari metrics registration to a BeanPostProcessor
as the Hikari datasource cannot be modified once its configuration has
been sealed (usually happens when `getConnection` is invoked on the
pool).
Closes gh-12129
2018-02-20 16:25:51 +01:00
Stephane Nicoll
1b8f0d06a7
Test that custom `ProtocolResolver` is invoked
...
See gh-11659
2018-02-20 14:45:51 +01: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
Stephane Nicoll
0a795b005e
Add missing documentation
...
See gh-12129
2018-02-20 13:29:28 +01:00
Stephane Nicoll
784372e6b3
Polish "Auto-configure metrics for Hikari"
...
Closes gh-12129
2018-02-20 13:24:45 +01:00
Tommy Ludwig
05e1f22824
Auto-configure metrics for Hikari
...
HikariCP has metrics integration with Micrometer. This configures all
`HikariDataSource` beans with the `MicrometerMetricsTrackerFactory` if a
`MeterRegistry` is available.
See gh-12129
2018-02-20 13:22:42 +01: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
Stephane Nicoll
a5960bc0c3
Polish
2018-02-20 11:47:20 +01:00
Stephane Nicoll
44b7673ee6
Polish
2018-02-20 11:04:52 +01:00
Stephane Nicoll
f19b43bacc
Polish "Consistent prefix for datasource pool metrics"
...
Closes gh-12127
2018-02-20 10:07:00 +01:00
Jon Schneider
16867f866c
Consistent prefix for datasource pool metrics
...
See gh-12127
2018-02-20 09:35:43 +01:00
Andy Wilkinson
8ffa146660
Upgrade to Spring Security 5.0.2.RELEASE
...
Closes gh-11870
2018-02-20 07:34:26 +00: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
Phillip Webb
61f44179cb
Relocate XA wrapper types
...
Move `XADataSourceWrapper` to `jdb` and `XAConnectionFactoryWrapper` to
`jms` so that they are packaged in a similar way to the underlying XA
types.
Fixes gh-12061
2018-02-19 20:22:03 -08:00
igor-suhorukov
fe023817c7
Polish static finals
...
Closes gh-12083
2018-02-19 20:10:58 -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
Phillip Webb
adf22d6e4a
Polish
2018-02-19 19:54:10 -08:00
Andy Wilkinson
482ecc606c
Polish
2018-02-19 22:46:31 +00:00
Andy Wilkinson
22bac1b54e
Polish "Bind StatsD queue gauges"
...
Closes gh-12124
2018-02-19 21:24:24 +00:00
Jon Schneider
53e872bf4c
Bind StatsD queue gauges
...
See gh-12124
2018-02-19 21:21:58 +00:00
Andy Wilkinson
c7fafacb8d
Upgrade to Spring Data Kay SR4
...
Closes gh-11884
2018-02-19 21:08:44 +00:00
Andy Wilkinson
ce64f212b4
Upgrade to Reactor Bismuth SR 6
...
Closes gh-12085
2018-02-19 19:48:07 +00:00
Jon Schneider
9934285bca
Remove destroy methods from auto-configured MeterRegistry beans
...
Closes gh-12121
2018-02-19 17:44:38 +00:00
Andy Wilkinson
73460a5b25
Use auto-configuration to create composite, not a BFPP
...
Closes gh-12122
2018-02-19 17:41:23 +00:00
Stephane Nicoll
1e932860c4
Specify default micrometer values
...
This commit adds micrometer's default values for each monitoring
system with tests that validate those defaults are consistent. This
makes sure that those defaults are part of the metadata and any tooling
support that uses it.
Closes gh-12089
2018-02-19 16:41:28 +01:00
Stephane Nicoll
202ed7b72b
Polish
2018-02-19 16:20:56 +01:00
Andy Wilkinson
23905490d9
Upgrade to Mongo Driver Reactivestreams 1.7.1
...
Closes gh-12116
2018-02-19 14:59:46 +00:00
Andy Wilkinson
359ba0e96a
Upgrade to Jooq 3.10.5
...
Closes gh-12115
2018-02-19 14:59:46 +00:00
Andy Wilkinson
4e2dc26d4c
Upgrade to Infinispan 9.1.6.Final
...
Closes gh-12114
2018-02-19 14:59:46 +00:00
Andy Wilkinson
66a6181f18
Upgrade to Rxjava 1.3.6
...
Closes gh-12113
2018-02-19 14:59:46 +00:00
Stephane Nicoll
cd0c81fe39
Restore prefix in ConditionalOnProperty
2018-02-19 15:46:39 +01:00
Andy Wilkinson
c3a31fafe2
Remove tangle between actuate.endpoint and actuate.endpoint.invoke
...
See gh-11854
2018-02-19 13:04:23 +00:00
Stephane Nicoll
24e7a11222
Upgrade to Spring Framework 5.0.4
...
Closes gh-11894
2018-02-19 13:27:41 +01:00
Andy Wilkinson
990a0965f7
Upgrade to Lettuce 5.0.2
...
Closes gh-11870
2018-02-19 12:21:45 +00:00
Andy Wilkinson
39ece9a16f
Merge branch '1.5.x'
2018-02-19 10:37:54 +00:00
Stephane Nicoll
6c85ed70e4
Polish "Add SignalFxConfig source property"
...
Closes gh-12066
2018-02-19 10:53:25 +01:00
Jon Schneider
a732053afd
Add SignalFxConfig source property
...
See gh-12066
2018-02-19 10:49:43 +01:00
Stephane Nicoll
1dab83adaa
Polish "Restore behavior of management.metrics.export.simple.enabled"
...
Closes gh-12106
2018-02-19 10:44:09 +01:00
Jon Schneider
da759f29d0
Restore behavior of management.metrics.export.simple.enabled
...
See gh-12106
2018-02-19 10:08:22 +01: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
Andy Wilkinson
da5bebf574
Revert "Use Jersey BOM in dependency management"
...
This reverts commit da7bf05c87
.
Closes gh-12103
2018-02-18 09:52:19 +00:00
Simon Braconnier
1a238bae29
Add JODConverter support
...
Closes gh-12098
2018-02-17 10:34:23 +01:00
Phillip Webb
1d83e87bcd
Validate @ConfigurationProperties on @Bean methods
...
Refactor `ConfigurationPropertiesBindingPostProcessor` to allow JSR-303
validation on `@ConfigurationProperties` defined at the `@Bean` method
level.
JSR-303 validation is now applied when a JSR-303 implementation is
available and `@Validated` is present on either the configuration
properties class itself or the `@Bean` method that creates it.
Standard Spring validation is also supported using a validator bean
named `configurationPropertiesValidator`, or by having the configuration
properties implement `Validator`.
The commit also consolidates tests into a single location.
Fixes gh-10803
2018-02-16 18:11:54 -08:00
Phillip Webb
9e75680e6f
Polish
2018-02-16 18:11:54 -08:00
Brian Clozel
db7268b841
Fix TestRestTemplate request factory management
...
This commit fixes two issues in `TestRestTemplate`:
* it improves the detection of the underlying request factory, using
reflection to look inside the intercepting request factory if
interceptors were configured
* it avoids reusing the same request factory when creating a new
`TestRestTemplate` with `withBasicAuth`. Sharing the same instance would
result in sharing authentication state (HTTP cookies). Since the
original request factory can't be detected consistently, a new one is
selected automatically
See gh-8697
2018-02-16 22:36:20 +01:00
Madhura Bhave
51de220b55
Enable CSRF protection by default
...
Fixes gh-11758
2018-02-16 13:31:51 -08:00
Andy Wilkinson
d1714a5c2a
Upgrade to Hazelcast 3.9.3
...
Closes gh-12094
2018-02-16 20:32:14 +00:00
Andy Wilkinson
c1c162ab0c
Polish "Add auto-configuraton for exporting metrics to Wavefront"
...
Closes gh-12068
2018-02-16 20:30:31 +00:00
Jon Schneider
142dbb2213
Add auto-configuration for exporting metrics to Wavefront
...
See gh-12068
2018-02-16 20:00:45 +00:00
Andy Wilkinson
46eb88c299
Use Spring Session's bom for its dependency management
...
Closes gh-11853
2018-02-16 17:40:40 +00: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
Brian Clozel
7ed4273fc3
Fix Redis Cache tests after key prefix changes
...
Update Redis Cache tests after changes in DATAREDIS-715.
2018-02-16 14:43:45 +01:00
Stephane Nicoll
99466e7fa6
Polish
2018-02-16 14:04:44 +01:00
Stephane Nicoll
e2cb5349ba
Merge micrometer docs
...
Closes gh-11930
2018-02-16 13:53:53 +01:00
Brian Clozel
03a6f97e76
TestRestTemplate should not override request factory
...
Previously `TestRestTemplate` would override the configured
`ClientHttpRequestFactory` if the Apache HTTP client library was on
classpath.
This commit fixes two issues:
1. The existing `ClientHttpRequestFactory` is overridden *only* if it is
using the Apache HTTP client variant, in order to wrap it with the
`TestRestTemplate` custom support
2. Calling `withBasicAuth` will no longer directly use the request
factory returned by the internal `RestTemplate`; if client interceptors
are configured, the request factory is wrapped with an
`InterceptingClientHttpRequestFactory`. If we don't unwrap it,
interceptors are copied/applied twice in the newly created
`TestRestTemplate` instance. For that, we need to use reflection as the
underlying request factory is not accessible directly.
Closes gh-8697
2018-02-16 12:29:47 +01:00
Andy Wilkinson
7872cda8c1
Try building against Spring Security 5.0.2 snapshots again
...
See gh-11870
2018-02-16 10:03:57 +00:00
Andy Wilkinson
fe4c8f95ed
Rename ReactiveWebServerAutoConfiguration
...
Closes gh-12086
2018-02-16 10:02:35 +00:00
Andy Wilkinson
e72506c353
Protect TomcatMetrics auto-config against early MeterBinder init
...
Closes gh-11916
2018-02-16 09:07:12 +00:00
Andy Wilkinson
72740f6b59
Merge pull request #12082 from Vedran Pavic
...
* gh-12082:
Use Jersey BOM in dependency management
2018-02-16 08:26:17 +00:00
Vedran Pavic
da7bf05c87
Use Jersey BOM in dependency management
...
Closes gh-12082
2018-02-16 08:25:20 +00:00
Brian Clozel
7a97764539
Update to Reactor Bismuth SNAPSHOTs
2018-02-16 08:45:47 +01:00
Andy Wilkinson
a8899feea3
Merge branch '1.5.x'
2018-02-15 16:23:17 +00:00
Andy Wilkinson
87953b32b1
Merge pull request #12073 from Sébastien Deleuze
...
* gh-12073:
Polish "Add Kotlin support reference documentation"
Add Kotlin support reference documentation
2018-02-15 15:56:46 +00:00
Andy Wilkinson
d96c570664
Polish "Add Kotlin support reference documentation"
...
Closes gh-12073
2018-02-15 15:55:48 +00:00
sdeleuze
889a06b65b
Add Kotlin support reference documentation
...
See gh-12073
2018-02-15 15:55:42 +00:00
Brian Clozel
0c1aac14a0
Move server.display-name configuration property
...
The `server.display-name` configuration property is used to configure
the application display name for Servlet-based applications.
This commit moves that property to:
`server.servlet.application-display-name` and keeps the same defaults.
Closes gh-8624
2018-02-15 15:28:28 +01:00
Andy Wilkinson
83626c7c12
Polish metrics export auto-configuration tests
2018-02-15 10:46:11 +00:00
Andy Wilkinson
b3c1b25274
Revert "Start building against Spring Security 5.0.2 snapshots"
...
This reverts commit 4179ed5a35
.
See gh-11870
2018-02-15 08:49:38 +00:00
Andy Wilkinson
a1ba2de06b
Merge branch '1.5.x'
2018-02-14 17:22:52 +00:00
Andy Wilkinson
c587549a68
Switch from webjars-locator to webjars-locator-core
...
Closes gh-12060
2018-02-14 16:16:55 +00:00
Brian Clozel
1f8d489e5a
Improve reference doc for WebTestClient
...
Closes gh-11203
2018-02-14 15:39:48 +01:00
Andy Wilkinson
17258eeea3
Upgrade to Selenium 3.9.1
...
Closes gh-12057
2018-02-14 09:27:42 +00:00
Andy Wilkinson
3963303034
Upgrade to Selenium Htmlunit 2.29.2
...
Closes gh-12056
2018-02-14 09:27:41 +00:00
Andy Wilkinson
78130c16f1
Upgrade to Mongodb 3.6.3
...
Closes gh-12055
2018-02-14 09:27:40 +00:00
Andy Wilkinson
3def6d6c57
Upgrade to Mockito 2.15.0
...
Closes gh-12054
2018-02-14 09:27:40 +00:00
Andy Wilkinson
3221896b17
Upgrade to Jolokia 1.5.0
...
Closes gh-12053
2018-02-14 09:27:39 +00:00
Andy Wilkinson
3fd67880ac
Upgrade to Kotlin 1.2.21
...
Closes gh-12052
2018-02-14 09:27:39 +00:00
Andy Wilkinson
08c08b9403
Upgrade to Infinispan 9.1.5.Final
...
Closes gh-12051
2018-02-14 09:27:38 +00:00
Andy Wilkinson
26560ef091
Upgrade to Elasticsearch 5.6.7
...
Closes gh-12050
2018-02-14 09:27:37 +00:00
Andy Wilkinson
9dccb01ca8
Upgrade to Activemq 5.15.3
...
Closes gh-12049
2018-02-14 09:27:37 +00:00
Andy Wilkinson
2204de4493
Upgrade to Thymeleaf Layout Dialect 2.3.0
...
Closes gh-12048
2018-02-14 09:27:36 +00:00
Andy Wilkinson
86d34bea0c
Upgrade to Byte Buddy 1.7.10
...
Closes gh-12047
2018-02-14 09:27:36 +00:00
Andy Wilkinson
479d3a08f2
Upgrade to Rest Assured 3.0.7
...
Closes gh-12046
2018-02-14 09:27:35 +00:00
Andy Wilkinson
da36323530
Upgrade to Netty 4.1.21.Final
...
Closes gh-12045
2018-02-14 09:27:34 +00:00
Andy Wilkinson
acfacbd5d2
Upgrade to Embedded Mongo 2.0.3
...
Closes gh-12044
2018-02-14 09:27:34 +00:00
Andy Wilkinson
32c9847426
Upgrade to Hikaricp 2.7.7
...
Closes gh-12043
2018-02-14 09:27:33 +00:00
Andy Wilkinson
9e6068a3e4
Upgrade to Javax Mail 1.6.1
...
Closes gh-12042
2018-02-14 09:27:33 +00:00
Andy Wilkinson
69e0ee7799
Upgrade to Hazelcast Hibernate5 1.2.3
...
Closes gh-12041
2018-02-14 09:27:32 +00:00
Andy Wilkinson
2129218c4e
Upgrade to Couchbase Client 2.5.5
...
Closes gh-12040
2018-02-14 09:27:32 +00:00
Andy Wilkinson
fb38b04089
Merge branch '1.5.x'
2018-02-14 09:25:10 +00:00
Phillip Webb
45347af62e
Allow lifecycleTimeout to be set for Netty
...
Update `NettyReactiveWebServerFactory` and `NettyWebServer` to allow
the lifecycle (start/stop) timeout to be configured.
Fixes gh-10977
2018-02-13 15:16:29 -08:00
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