Brian Clozel
5e1d0d7bdd
Merge branch '2.0.x'
2018-04-12 18:02:04 +02:00
Brian Clozel
b7695fabab
Switch to Reactor Bismuth SNAPSHOTs
2018-04-12 18:01:33 +02:00
Vedran Pavic
7b9c5a3dc3
Use Jersey BOM in dependency management
...
Closes gh-12847
2018-04-12 15:58:32 +02:00
Vedran Pavic
ec4f054497
Upgrade to Jersey 2.27
...
Closes gh-12847
2018-04-12 15:56:19 +02:00
Stephane Nicoll
ed19f20ca0
Merge branch '2.0.x'
2018-04-12 15:48:57 +02:00
Stephane Nicoll
38bd4bd58c
Stop associating an Executor bean to Quartz
...
This commits make sure that the Quartz auto-configuration no longer
associates an `Executor` bean if present in the context as Quartz offers
properties to tune it, which would mutate and lead to unexpected
results.
Closes gh-12823
2018-04-12 15:48:20 +02:00
Stephane Nicoll
e4e56bbcc3
Migrate to ApplicationContextRunner
2018-04-12 15:48:20 +02:00
Brian Clozel
70826f5478
Merge branch '2.0.x'
2018-04-12 14:51:34 +02:00
Brian Clozel
3fa8fe85af
Deprecate RouterFunctionMetrics
...
Spring Boot now deploys both annotation-based and functional endpoints
under the same `HttpHandler`; this means the currently auto-configured
`MetricsWebFilter` is instrumenting all endpoints to produce metrics.
There is no need for a WebFlux functional specific support.
This commit removes mentions of `RouterFunctionMetrics` in the docs and
deprecates that class.
Closes gh-12833
2018-04-12 12:08:44 +02:00
Brian Clozel
efd4245785
Merge branch '2.0.x'
2018-04-12 11:44:45 +02:00
Brian Clozel
77be10e7bc
Fix "status" metrics tag for error responses
...
Prior to this commit, the metrics `WebFilter` would handle exceptions
flowing through the pipeline and extract tag information right away.
Since error handling turns the exception information into error HTTP
responses later in the chain, the information extracted from the
response earlier is invalid.
In this case, the "status" information could be "200" whereas error
handlers would later set that status to "500".
This commit delays the tags extraction later in the process, right
before the response is comitted. The happy path is not changed, as
handlers signal that the response is fully taken care of at that point.
Fixes gh-11514
2018-04-12 11:30:43 +02:00
Stephane Nicoll
7198b038aa
Merge branch '2.0.x'
2018-04-12 09:44:49 +02:00
DK Lee
1f91ae541f
Fix WebClient example constructor name
...
Closes gh-12842
2018-04-12 09:44:03 +02:00
Madhura Bhave
d27ad41a88
Merge branch '2.0.x'
2018-04-11 10:42:22 -07:00
Madhura Bhave
4fab679829
Upgrade testcontainers to 1.7.0
...
Closes gh-12821
2018-04-11 10:40:54 -07:00
Stephane Nicoll
8944fa503b
Upgrade to AspectJ 1.9.0
...
Closes gh-12834
2018-04-11 18:28:10 +02:00
Stephane Nicoll
f55753c1dc
Add reference to Axon Framework
2018-04-11 17:43:33 +02:00
Stephane Nicoll
5cba7400e1
Add reference to Flowable
2018-04-11 11:53:33 +02:00
Stephane Nicoll
3c169b4e0a
Fix bean name of EnvironmentEndpointWebExtension
...
Closes gh-12827
2018-04-11 11:34:44 +02:00
Ken Kwon
16ad34aa19
Fix typo
...
Closes gh-12825
2018-04-11 10:51:20 +02:00
Stephane Nicoll
e8fac7d9c4
Properly discover endpoints that are proxied
...
Previously to this commit, if a `@ControllerEndpoint`,
`@RestControllerEndpoint` or `@ServletEndpoint` annotated bean was
proxied, the endpoint wasn't properly detected.
This commit makes sure that annotation retrieval works on the user class
while preserving the get (vs. find) retrieval semantic
Closes gh-12441
2018-04-10 20:23:55 +02:00
Stephane Nicoll
86b96254a1
Migrate to ApplicationContextRunner
2018-04-10 20:23:54 +02:00
Stephane Nicoll
f83934e192
Polish contribution
...
Closes gh-12812
2018-04-10 11:46:16 +02:00
Johnny Lim
f03849d502
Polish
...
See gh-12812
2018-04-10 11:46:16 +02:00
Andy Wilkinson
4fbe0b1283
Add dependency management for Kafka
...
Closes gh-12815
2018-04-10 09:07:19 +01:00
Phillip Webb
ba85cefce3
Polish
2018-04-09 14:50:03 -07:00
Andy Wilkinson
8d5b9f37d5
Merge branch '1.5.x'
2018-04-09 17:59:53 +01:00
Andy Wilkinson
8b1a101cb6
Merge branch '1.5.x'
2018-04-09 17:39:26 +01:00
Stephane Nicoll
6692301d51
Polish "Replace Couchbase's deprecated methods"
...
Closes gh-12655
2018-04-09 16:17:46 +02:00
Yulin Qin
3236306e53
Replace Couchbase's deprecated methods
...
See gh-12655
2018-04-09 13:22:22 +02:00
Stephane Nicoll
92d9479765
Gracefully handle exclusion of DataSourceAutoConfiguration
...
This commit makes sure that an auto-configuration that requires
`DataSourceProperties` will not break if `DataSourceAutoConfiguration`
has been explicitly excluded.
Closes gh-12512
2018-04-09 10:34:23 +02:00
Madhura Bhave
2f5ab50367
Add @QuartzDataSource for quartz auto-configuration
...
Closes gh-12755
2018-04-05 16:49:04 -07:00
Andy Wilkinson
c3bf8541d7
Do not rely on findAvailableTcpPort finding an available port
...
Closes gh-12779
2018-04-05 11:35:58 +01:00
Jichun Liu
34986ed12f
Add docker-api starter to 3rd party list
...
See https://github.com/jliu666/docker-api-spring-boot
Closes gh-12605
2018-04-05 11:12:29 +02:00
Andy Wilkinson
f335ec00bf
Polish
2018-04-05 09:31:17 +01:00
Andy Wilkinson
71df9c8618
Upgrade to Spring Kafka 2.1.5.RELEASE
...
Closes gh-12775
2018-04-05 07:51:52 +01:00
Andy Wilkinson
b42325f388
Upgrade to Spring Amqp 2.0.3.RELEASE
...
Closes gh-12774
2018-04-05 07:51:51 +01:00
Andy Wilkinson
0c6a09201d
Upgrade to Couchbase Client 2.5.7
...
Closes gh-12773
2018-04-05 07:51:50 +01:00
Andy Wilkinson
87aef1c379
Merge branch '1.5.x'
2018-04-05 07:50:17 +01:00
Andy Wilkinson
a8bbf7120e
Merge branch '1.5.x'
2018-04-05 07:11:34 +01:00
Phillip Webb
0c98d0e7d3
Polish "Allow validation api without implementation"
...
Closes gh-12669
2018-04-04 21:24:25 -07:00
geo_m
a74dc74ec3
Allow validation api without implementation
...
Allow validation api in the classpath without
a validator, as long as no bean is annotated `@Validated`
See gh-12669
2018-04-04 21:24:20 -07:00
Phillip Webb
41dc70146a
Polish "Prevent warnings when running embedded Artemis"
...
Closes gh-12680
2018-04-04 21:10:35 -07:00
Benjamin Graf
19818b752c
Prevent warnings when running embedded Artemis
...
Configure AddressSettings for DLQ and ExpiryQueue for the embedded
Artemis broker to prevent warnings from being logged.
Closes gh-12680
2018-04-04 21:03:04 -07:00
Phillip Webb
68dc9fed3b
Upgrade to Spring Integration 5.0.4
...
Closes gh-12693
2018-04-04 20:47:51 -07:00
Phillip Webb
ec419fca8b
Upgrade to Spring Security 5.0.4
...
Closes gh-12694
2018-04-04 20:46:36 -07:00
Phillip Webb
0c0b60bfa4
Upgrade to Spring Data Kay SR6
...
Closes gh-12696
2018-04-04 20:43:47 -07:00
Jon Schneider
03158e2fd5
Upgrade to Micrometer 1.0.3
...
Closes gh-12767
2018-04-04 20:42:23 -07:00
Phillip Webb
685babc829
Polish "Use lambdas for map entry iteration where possible"
...
Closes gh-12626
2018-04-04 19:36:18 -07:00
igor-suhorukov
69bc19e0ca
Use lambdas for map entry iteration where possible
...
See gh-12626
2018-04-04 19:36:10 -07:00
Clement Stoquart
276037cd56
Add missing managed JUnit Jupiter dependencies
...
Add managed dependencies for `junit-jupiter-params` and
`junit-vintage-engine`.
Closes gh-12635
2018-04-04 18:12:46 -07:00
dreis2211
cc66de28d0
Populate cache in ConfigFileApplicationListener
...
Fix `ConfigFileApplicationListener` so that the loadDocumentsCache is
populated when documents are loaded.
Closes gh-12732
2018-04-04 18:09:08 -07:00
dreis2211
35b4cd01ab
Polish
2018-04-04 18:08:38 -07:00
Phillip Webb
bc15f9ee9b
Upgrade Maven failsafe plugin to 2.21.0
...
See gh-12721
2018-04-04 18:06:45 -07:00
Stephan Köninger
373f5e7682
Upgrade Maven surefire plugin to 2.21.0
...
Closes gh-12721
2018-04-04 18:05:10 -07:00
Phillip Webb
598e9bb842
Polish
2018-04-04 18:01:25 -07:00
Phillip Webb
ce9ca6ae70
Polish "Apply MeterRegistryCustomizer to composites"
...
Closes gh-12762
2018-04-04 16:00:53 -07:00
Jon Schneider
1fce462944
Apply MeterRegistryCustomizer to composites
...
Update `MeterRegistryConfigurer` to also apply customizers to
composite meter registries. Prior to this commit composites were
skipped due to the incorrect assumption that did not contain
their own state.
Closes gh-12762
2018-04-04 15:58:16 -07:00
Phillip Webb
d49a1024bd
Merge branch '1.5.x'
2018-04-04 15:35:20 -07:00
Phillip Webb
696aedaef8
Merge branch '1.5.x'
2018-04-04 14:51:16 -07:00
Brian Clozel
799e1ba077
Upgrade to Netty 4.1.23.Final
...
Closes gh-12764
2018-04-04 23:07:46 +02:00
Phillip Webb
6fb4fba43a
Merge branch '1.5.x'
2018-04-04 12:17:57 -07:00
Andy Wilkinson
aa27334671
Run deployment tests on JDK 9 and 10 where possible
...
Closes gh-10414
2018-04-04 14:48:58 +01:00
Andy Wilkinson
e44bfbea4a
Merge branch '1.5.x'
2018-04-04 14:15:52 +01:00
Andy Wilkinson
7b39cdd5c4
Merge branch '1.5.x'
2018-04-04 13:49:18 +01:00
Andy Wilkinson
b951397a7c
Upgrade to Spring REST Docs 2.0.1.RELEASE
...
Closes gh-12681
2018-04-04 12:50:37 +01:00
Brian Clozel
f6d16c8b99
Align WebFluxTags uri support on WebMvcTags
...
This commit ensures that `WebFluxTags` not only relies on
`BEST_MATCHING_PATTERN_ATTRIBUTE` or request URI to provide the "uri"
tag information.
To avoid cardinality explosion, HTTP not found and redirects are
assigned fixed uri tags.
Closes gh-12685
2018-04-04 11:46:10 +02:00
Stephane Nicoll
ad6a888e47
Polish
2018-04-04 11:29:37 +02:00
Stephane Nicoll
f99752283f
Fix relaxed binding examples
...
Closes gh-12750
2018-04-04 11:29:18 +02:00
Stephane Nicoll
bf06854218
Merge branch '1.5.x'
2018-04-04 11:24:20 +02:00
Madhura Bhave
30e3cf4c01
Make sure property mapping exception are swallowed
2018-04-03 16:12:24 -07:00
Madhura Bhave
e5f8078749
Support dots in System environment properties
...
Fixes gh-12728
2018-04-03 14:37:06 -07:00
Stephane Nicoll
d14cd2cbae
Upgrade to Spring Framework 5.0.5.RELEASE
...
Closes gh-12340
2018-04-03 23:00:25 +02:00
Stephane Nicoll
f424297fef
Upgrade to Reactor Bismuth SR8
...
Closes gh-12698
2018-04-03 22:59:43 +02:00
Andy Wilkinson
195a66f009
Upgrade to Hibernate Validator 6.0.9.Final
...
Closes gh-12746
2018-04-03 16:05:11 +01:00
Andy Wilkinson
d5caddf4ca
Upgrade to Rxjava 1.3.8
...
Closes gh-12745
2018-04-03 16:05:10 +01:00
Andy Wilkinson
16f5f8d53c
Upgrade to Lettuce 5.0.3.RELEASE
...
Closes gh-12744
2018-04-03 16:05:09 +01:00
Andy Wilkinson
e20fcf0e17
Merge branch '1.5.x'
2018-04-03 16:01:29 +01:00
Rui Figueira
958aa5db55
Remove outdated reference to `EnvironmentTestUtils`
...
Documentation still refers to the now deprecated `EnvironmentTestUtils`
class instead of `TestPropertyValues` for setting environment values in
tests.
This commit replaces it with `TestPropertyValues` and provides an
equivalent code example.
Closes gh-12711
2018-04-03 14:10:35 +02:00
Andy Wilkinson
72cf471e83
Merge branch '1.5.x'
2018-04-03 10:55:06 +01:00
Stephane Nicoll
b6f9b46be8
Only create a WebTestClient with WebFlux
...
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.
Closes gh-12318
2018-04-03 11:31:37 +02:00
Stephane Nicoll
7dbeaaa932
Polish "Remove HierarchicalNameMapper as a configured @Bean"
...
Closes gh-12683
2018-04-03 11:23:05 +02:00
Jon Schneider
8572a091b8
Remove HierarchicalNameMapper as a configured @Bean
...
HierarchicalNameMapper is not a component that can be shared amongst
multiple monitoring systems.
See gh-12683
2018-04-03 11:14:43 +02:00
Stephane Nicoll
7c36c00331
Fix default HierarchicalNameMapper implementation for Graphite
...
Closes gh-12557
2018-04-03 10:39:14 +02:00
Johnny Lim
4ab439856c
Remove destroyMethod attribute in @Bean for MeterRegistry
...
Closes gh-12725
2018-04-03 10:14:13 +02:00
Andy Wilkinson
3568019118
Merge branch '1.5.x'
2018-04-03 09:07:38 +01:00
Attila Pápai
95385cecba
Add space between right parentheses and next word
...
Closes gh-12722
2018-04-03 10:05:32 +02:00
Benjamin Graf
101a42c572
Fix outdated import statements
...
Closes gh-12697
2018-04-03 09:58:15 +02:00
Madhura Bhave
8e81f0c23d
Fix conditions report message for same short name
...
If two auto-configuration classes with the same name are present,
the conditions report message now uses the fully qualified name for
both instead of the short name.
Fixes gh-11710
2018-04-02 12:57:28 -07:00
Madhura Bhave
270ee6dd2c
Configure RequestContextFilter in mgmt context
...
Closes gh-12546
2018-04-02 11:16:46 -07:00
Phillip Webb
a657a28f58
Fix properties unicode value decoding
...
Fix a range error when checking for unicode hex chars.
Fixes gh-12716
2018-04-02 10:12:42 -07:00
Phillip Webb
47a56616ae
Merge branch '1.5.x'
2018-04-02 09:51:03 -07:00
Stephane Nicoll
c90806477c
Fix outdated reference to DurationUnit
...
Closes gh-12708
2018-04-02 16:06:03 +02:00
Madhura Bhave
821af30277
Add missing javadoc for Bindable
...
Closes gh-12643
2018-03-30 12:48:15 -07:00
Andy Wilkinson
f108224b22
Start building against Spring Data Kay SR6 snapshots
...
See gh-12696
2018-03-30 08:38:22 +01:00
Andy Wilkinson
24da1dc97e
Start building against Spring Security 5.0.4 snapshots
...
See gh-12694
2018-03-30 08:34:13 +01:00
Andy Wilkinson
29c03da7df
Start building against Spring Integration 5.0.4 snapshots
...
See gh-12693
2018-03-30 08:30:45 +01:00
Phillip Webb
7649eb6230
Allow auto-configure sort with incomplete chain
...
Update `AutoConfigurationSorter` so that all `@AutoConfigureBefore` and
`@AutoConfigureAfter` classes are considered even if they are ultimately
not part of the requested set.
Prior to this commit, given classes ordered with annotations such that
A -> B -> C a call to sort only [A, B] could return the incorrect order.
Fixes gh-12660
2018-03-29 18:00:38 -07:00
Stephane Nicoll
4b4a8acb9d
Group auto-configuration import selectors together
...
This commit updates Spring Boot's DeferredImportSelector implementations
to group imports in a consistent set. This makes sure ordering is
applied consistently.
Closes gh-12366
2018-03-29 17:41:35 -07:00
Phillip Webb
9a64d3bf3f
Fix AsciiBytes unicode decoding
...
Fix the decoding logic in the AsciiBytes `hashCode` and `matches` to
correctly deal with multi-byte encodings.
Fixes gh-12504
2018-03-29 14:00:13 -07:00
Phillip Webb
98a2a91d16
Polish
2018-03-29 14:00:13 -07:00
Brian Clozel
ebb2f70e0b
Make WebMvgTags use matched patterns for HTTP 404
...
Prior to this commit, `WebMvcTags' would always mark as "NOT_FOUND" or
"REDIRECTION" *any* exchange with responses of 404 and 3xx status, even
if those responses are actually returned by Controller handlers.
This commit checks inverts those checks and first considers if the
"BEST_MATCHING_PATTERN_ATTRIBUTE" request attribute is present and uses
it - then falls back to "NOT_FOUND" and "REDIRECTION" to avoid
cardinality explosion.
Fixes gh-12577
2018-03-29 20:33:07 +02:00
Andy Wilkinson
cca5c0d2ee
Start building against Spring REST Docs 2.0.1 snapshots
...
See gh-12681
2018-03-29 14:22:55 +01:00
Andy Wilkinson
14b8e759c9
Upgrade to Jackson 2.9.5
...
Closes gh-12639
2018-03-29 12:19:28 +01:00
Andy Wilkinson
247910a28d
Merge branch '1.5.x'
2018-03-29 12:16:38 +01:00
Stephane Nicoll
703f33f175
Add reference to Sprout Platform starter
...
Closes gh-12599
2018-03-29 11:13:50 +02:00
Kazuki YAMAMOTO
aac716cb8c
Fix typo
...
Closes gh-12666
2018-03-29 08:56:55 +02:00
Stephane Nicoll
d456e1de49
Polish contribution
...
Closes gh-12590
2018-03-29 08:53:17 +02:00
Johnny Lim
74f9a84ea9
Make intermediate classes in type hierarchy of public class public
...
See gh-12590
2018-03-29 08:51:46 +02:00
Stephane Nicoll
da77cbaf7e
Complete dependency management for Quartz
...
Closes gh-12663
2018-03-29 08:49:02 +02:00
Stephane Nicoll
1e2eec5bcd
Close context if an ApplicationReadyEvent listener fails
...
This commit makes sure that the `ApplicationContext` is closed properly
if an `ApplicationReadyListener` throws an exception.
Closes gh-12549
2018-03-28 17:42:01 +02:00
Madhura Bhave
8b29823885
Prevent StackOverFlowException in metadata processor
...
Fixes gh-11037
2018-03-28 07:58:13 -07:00
Stephane Nicoll
13f45e6434
Remove misleading Jersey configuration property
...
This commit removes an override of a `ResourceConfig` property that was
set as an init parameter property (and therefore ignored).
Closes gh-3557
2018-03-28 13:53:26 +02:00
Stephane Nicoll
ccbfcbedf0
Add support for org.jooq.RecordUnmapperProvider
...
Closes gh-12560
2018-03-28 13:42:54 +02:00
Andy Wilkinson
1f35abacd6
Polish “Configure Kotlin compiler to use -java-parameters by default”
...
Closes gh-12641
2018-03-28 12:24:21 +01:00
Rui Figueira
5e2726f896
Configure Kotlin compiler to use -java-parameters by default
...
See gh-12641
2018-03-28 12:24:17 +01:00
Stephane Nicoll
404f22e5f9
Polish "Document @WebFluxTest limitation with RouterFunction"
...
See gh-10683
2018-03-28 09:51:54 +02:00
Madhura Bhave
db7d47704a
Document @WebFluxTest limitation with RouterFunction
...
Fixes gh-10683
2018-03-27 13:27:01 -07:00
Madhura Bhave
a6a523bc51
Fix typos
2018-03-27 13:27:01 -07:00
Stephane Nicoll
42e81e987b
Fix @EnableIntegrationManagement
...
Restore proper use of `defaultCountsEnabled` that was inadvertently
changed to `countsEnabled`
Closes gh-12594
2018-03-27 18:57:41 +02:00
Stephane Nicoll
d9beafa45f
Merge branch '1.5.x'
2018-03-27 16:15:11 +02:00
Stephane Nicoll
006decea2a
Merge branch '1.5.x'
2018-03-27 15:47:56 +02:00
Madhura Bhave
88faabaa63
Fix space
2018-03-26 12:30:26 -07:00
Madhura Bhave
fa6ee8e34d
Clarify h2-console requires a servlet-based web app
...
Fixes gh-12603
2018-03-26 10:29:00 -07:00
Stephane Nicoll
553b184248
Polish "Use Supplier variants of Assert methods"
...
Closes gh-12630
2018-03-26 17:59:35 +02:00
dreis2211
3b0f6e7168
Use Supplier variants of Assert methods
...
See gh-12630
2018-03-26 17:58:17 +02:00
Stephane Nicoll
62cc4e9552
Polish "Remove value in @ConditionalOnMissingBean if possible"
...
Closes gh-12604
2018-03-26 17:47:00 +02:00
Johnny Lim
c100510222
Remove value in @ConditionalOnMissingBean if possible
...
See gh-12604
2018-03-26 17:38:46 +02:00
Stephane Nicoll
47307dbc7e
Polish contribution
...
Closes gh-12584
2018-03-26 17:33:39 +02:00
Johnny Lim
625bf93598
Polish
...
See gh-12584
2018-03-26 17:33:25 +02:00
Stephane Nicoll
64a4f70564
Avoid use of `foo` and `bar` in doc
2018-03-26 12:58:30 +02:00
sdeleuze
561c24b328
Fix Kotlin @ConfigurationProperties example
...
Closes gh-12633
2018-03-26 12:45:24 +02:00
Stephane Nicoll
9cac45d514
Polish "Add Redis Sentinel database support"
...
Closes gh-12556
2018-03-26 12:37:37 +02:00
Alen Turkovic
1f80079c49
Add Redis Sentinel database support
...
See gh-12556
2018-03-26 12:33:16 +02:00
Stephane Nicoll
ed7618b097
Polish "Avoid string copies in SpringBootBanner"
...
Closes gh-12591
2018-03-24 18:33:05 +01:00
dreis2211
97c95d749e
Avoid string copies in SpringBootBanner
...
See gh-12591
2018-03-24 18:32:54 +01:00
Andy Wilkinson
9fccb0ae55
Upgrade to Spring Ws 3.0.1.RELEASE
...
Closes gh-12625
2018-03-23 20:32:06 -04:00
Andy Wilkinson
dcb1535eb1
Upgrade to Selenium Htmlunit 2.29.3
...
Closes gh-12624
2018-03-23 20:32:05 -04:00
Andy Wilkinson
49ee528d09
Upgrade to Postgresql 42.2.2
...
Closes gh-12623
2018-03-23 20:32:05 -04:00
Andy Wilkinson
de87e63503
Upgrade to Jooq 3.10.6
...
Closes gh-12622
2018-03-23 20:32:04 -04:00
Andy Wilkinson
1543d98cc5
Upgrade to Kotlin 1.2.31
...
Closes gh-12621
2018-03-23 20:32:03 -04:00
Andy Wilkinson
5453e77062
Upgrade to Infinispan 9.1.7.Final
...
Closes gh-12620
2018-03-23 20:32:03 -04:00
Andy Wilkinson
77c2232a63
Upgrade to Hibernate 5.2.16.Final
...
Closes gh-12619
2018-03-23 20:32:02 -04:00
Andy Wilkinson
4ebb5a942c
Upgrade to Ehcache3 3.5.2
...
Closes gh-12618
2018-03-23 20:32:01 -04:00
Andy Wilkinson
43e0c66783
Upgrade to Rxjava2 2.1.12
...
Closes gh-12617
2018-03-23 20:32:00 -04:00
Andy Wilkinson
5defc2ab57
Upgrade to Rxjava 1.3.7
...
Closes gh-12616
2018-03-23 20:32:00 -04:00
Andy Wilkinson
83d4b2e92e
Upgrade to Unboundid Ldapsdk 4.0.5
...
Closes gh-12615
2018-03-23 20:31:59 -04:00
Brian Clozel
728251c3bb
Upgrade to Reactor Bismuth SNAPSHOTs
2018-03-23 19:11:34 -04:00
Andy Wilkinson
95b0e874f9
Merge branch '1.5.x'
2018-03-23 17:15:19 -04:00
Andy Wilkinson
c12851a5b0
Merge branch '1.5.x'
2018-03-23 17:05:20 -04:00
Andy Wilkinson
1de77cde75
Unignore JUL logging test
...
Closes gh-1778
2018-03-23 14:10:45 -04:00
Johnny Lim
1e2e8b1d66
Rename expose to include
...
Closes gh-12555
2018-03-21 07:35:37 -04:00
igor-suhorukov
21628a9a59
Polish
...
Closes gh-12553
2018-03-20 09:08:21 -04:00
Denis Washington
a09ee17cbf
Add OAuth2 server implementation section to docs
...
As auto-configuration for Spring Security OAuth has been removed
from Spring Boot 2.0 and Spring Security 5 doesn't have OAuth
2.0 Authorization / Resource Server support yet, it has not
been obvious at all how to implement an OAUth 2.0 server with
Spring Boot 2.0.
For that reason, this new section briefly explains the current
temporary situation and points to the spring-security-oauth2-autoconfigure
module that restores the auto-configuration support for OAuth
2.0 Authorization and Resource Servers.
Closes gh-12491
2018-03-19 12:27:58 -04: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
a520056838
Make containsDescendantOf a default method
...
Change `ConfigurationPropertySource.containsDescendantOf` to have a
default implementation that return `UNKNOWN`.
Fixes gh-12539
2018-03-19 07:46:04 -04:00
Phillip Webb
63b8ccc7c3
Fix IterableConfigurationPropertySource javadoc
...
Fixes gh-12540
2018-03-19 07:46:01 -04:00
Phillip Webb
c66781a3d3
Set using collection copies when possible
...
Update `Map` and `Collection` binders to create a copy of the existing
collection whenever possible. Prior to this commit the binder would
always mutate the existing value and then call the setter with the
same instance. This could cause issues if the setter expected a
different instance.
Fixes gh-12322
2018-03-18 12:46:13 -07: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
72e36eadae
Polish
2018-03-17 15:28:05 +00:00
Andy Wilkinson
6c77b012f0
Polish "Follow project convention for lambda expression"
...
Csee gh-12527
2018-03-17 15:23:50 +00:00
igor-suhorukov
261264cef3
Follow project convention for lambda expression
...
Closes gh-12527
2018-03-17 15:22:37 +00:00
Stephane Nicoll
78571f50f8
Restore server.error.include-stacktrace default value
2018-03-17 07:00:09 -04:00
Stephane Nicoll
3e826c1a01
Fix typo in Micrometer examples
...
Closes gh-12529
2018-03-17 06:53:09 -04:00
Phillip Webb
79ad03b584
Merge branch '1.5.x'
2018-03-16 15:06:08 -07:00
Phillip Webb
620208a802
Polish
2018-03-16 13:39:50 -07:00
Phillip Webb
f80db03e75
Remove repositories section from published POM
...
Fixes gh-12378
2018-03-16 13:23:46 -07:00
Andy Wilkinson
217dbe4a6f
Merge pull request #12511 from Onur Kağan Özcan
...
* gh-12511:
Upgrade maven dependency plugin version to 3.0.2
2018-03-16 16:59:59 +00:00
Onur Kağan Özcan
dfe099b202
Upgrade maven dependency plugin version to 3.0.2
...
Closes gh-12511
2018-03-16 16:59:21 +00:00
Andy Wilkinson
36ea387a67
Close RandomAccessDataFile when direct JarFile is closed
...
Previously, the underlying RandomAccessDataFile was not closed when
the JarFile that was using it was closed. This causes a problem on
Windows as the open file handle prevents the file from being deleted.
This commit updates JarFile to close the underlying
RandomAccessDataFile when it is closed and has a JarFileType of
DIRECT.
Previously, when accessing the manifest of a jar file that maps to a
nested directory (BOOT-INF/classes) a new JarFile was created from the
root jar file, the manifest was retrieved, and the new JarFile was
closed. This could lead to the underlying RandomAccessDataFile being
closed while it was still in use.
This commit improves JarFile to retrieve the manifest from the
existing outer JarFile, thereby avoiding the need to create and close
a new JarFile.
Unfortunately, PropertiesLauncher creates a number of scenarios where
a JarFile with a type of direct is closed while it’s still being used.
To accommodate this behaviour, RandomAccessDataFile has been updated
so that it can re-open the underlying RandomAccessFile if it is used
after it has been closed.
Closes gh-12296
2018-03-16 15:58:50 +00:00
Brian Clozel
0162978c78
Support server.error.whitelabel.enabled in WebFlux
...
This commit disables the default HTML view in the WebFlux error handling
support when `server.error.whitelabel.enabled=false`.
In this case, the original exception will be forwarded down the stream
and handled by the default `WebExceptionHandler` provided by Spring
WebFlux (likely to respond a blank page and an error HTTP response
status).
Closes gh-12520
2018-03-16 16:54:34 +01:00
Brian Clozel
161ecc0575
Bind server.error.whitelabel.enabled to ErrorProperties
...
Closes gh-12516
2018-03-16 16:54:22 +01:00
Andy Wilkinson
2da4897aa8
Polish
2018-03-16 09:57:35 +00:00
Phillip Webb
522e3df394
Fix same name configuration properties adapting
...
Update `SpringConfigurationPropertySources` adapter logic so that and
exact instance match is used when checking if the cache can be used.
Prior to this commit if a property source was replaced with one that
had exactly the same name, the adapted version would not change.
Fixes gh-12451
2018-03-15 16:14:17 -07:00
Phillip Webb
c201c1dac1
Polish
2018-03-15 16:09:14 -07:00
Madhura Bhave
9384e5c3c1
Fix binding to bean with cloned arrays
...
Fixes gh-12478
2018-03-15 14:14:20 -07:00
Madhura Bhave
cb3da28bb9
Enforce length > 1 for H2 and WebServices path
...
Fixes gh-12485
2018-03-15 12:14:28 -07:00
Madhura Bhave
e6149fda1c
Assert endpoints basePath starts with '/' or is empty
...
Fixes gh-12489
2018-03-15 11:39:37 -07:00
Brian Clozel
b8e8647391
Fix Servlet requirements in reference docs
...
As of Spring Framework 5.0, only Servlet 3.1+ containers are supported.
See https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-5.x
This commit updates the reference documentation to reflect that and also
removes sections describing pre-Servlet 3.1 solutions, as those are not
supported anymore.
Fixes gh-12370
2018-03-15 17:25:48 +01:00
Brian Clozel
2561f320e8
War deployment is not supported for WebFlux apps
...
Even though War deployment is supported by Spring Framework itself for
WebFlux applications, this is not the case currently in Spring Boot.
Fixes gh-12455
2018-03-15 16:58:40 +01:00
Brian Clozel
a0b9974796
Polish Couchbase tests
2018-03-15 15:49:21 +01:00
dreis2211
ca30739bf9
Use ApplicationContextRunner in tests
...
Closes gh-12495
2018-03-15 14:28:56 +01:00
Andy Wilkinson
19b726854d
Upgrade to Mariadb 2.2.3
...
Closes gh-12503
2018-03-15 13:00:08 +00:00
Andy Wilkinson
6da049b7e3
Upgrade to Solr 6.6.3
...
Closes gh-12502
2018-03-15 13:00:08 +00:00
Andy Wilkinson
c940f49bb3
Upgrade to Johnzon Jsonb 1.1.7
...
Closes gh-12501
2018-03-15 13:00:07 +00:00
Andy Wilkinson
3aafbce4f8
Upgrade to Byte Buddy 1.7.11
...
Closes gh-12500
2018-03-15 13:00:06 +00:00
Andy Wilkinson
b948e32f12
Upgrade to Couchbase Client 2.5.6
...
Closes gh-12499
2018-03-15 13:00:05 +00:00
Andy Wilkinson
d5e588d50a
Merge branch '1.5.x'
2018-03-15 12:51:51 +00:00
Andy Wilkinson
53924de556
Merge branch '1.5.x'
2018-03-15 12:47:52 +00:00
Vladimir Tsanev
bf433e7f17
Fix Javadoc for ServiceLevelAgreementBoundary
...
Closes gh-12492
2018-03-15 13:40:13 +01:00
Brian Clozel
57147241cb
Make WebClientCustomizer optional for WebClient
...
This commit removes the required dependency on `WebClientCustomizer`
instances when creating `WebClient` beans, making it optional.
Closes gh-12458
2018-03-15 10:47:45 +01:00
Phillip Webb
d1e51d7f98
Explicitly set asyncSupported for reactive servers
...
Update `JettyReactiveWebServerFactory`/`TomcatReactiveWebServerFactory`
to explicitly set `asyncSupported` to `true`.
Fixes gh-12486
2018-03-14 16:09:45 -07:00
igor-suhorukov
4c61d8abfe
avoid check class by string name
2018-03-14 23:59:42 +01:00
Johnny Lim
2e6914ea88
Add missing super() calls
...
Closes gh-12459
2018-03-14 15:56:53 -07:00
Brian Clozel
a08deff0ce
Fix WelcomePageHandlerMapping order
...
This commit fixes 220f8cd
and moves the order for
`WelcomePageHandlerMapping` to `2` since the previous order was
conflicting with the resource mapping.
Closes gh-12335
2018-03-14 23:38:17 +01:00
Jon Schneider
0ce7c34036
Upgrade to Micrometer 1.0.2
...
Closes gh-12480
2018-03-14 15:27:06 -07:00
Phillip Webb
c3bc6f6dd6
Polish "Move test to ApplicationContextRunner"
...
Closes gh-12477
2018-03-14 15:20:56 -07:00
dreis2211
3246496e2c
Move test to ApplicationContextRunner
...
Move `DispatcherServletAutoConfigurationTests` to use the
`ApplicationContextRunner`
See gh-12477
2018-03-14 15:20:16 -07:00
dreis2211
8626daf135
Replace Mockito.times(0) with Mockito.never()
...
Closes gh-12475
2018-03-14 15:12:20 -07:00