3229 Commits

Author SHA1 Message Date
Stephane Nicoll
47c8b5731a polish 2017-12-13 14:41:39 +01:00
dreis2211
a93a4e8715 Use String.equalsIgnoreCase() where possible
Closes gh-11330
2017-12-13 09:02:45 +01:00
Thiago Hirata
f3055f2685 UserNameAttribute for custom OAuth2 provider
The UserNameAttribute field for a custom OAuth2 provider was
ignored when building the ClientRegistration.

Closes gh-10672
2017-12-12 12:40:33 -08:00
Stephane Nicoll
23218add90 Polish 2017-12-12 11:57:30 +01:00
Stephane Nicoll
68c8f7bae6 Add support for useRelativeRedirects customization
Closes gh-10597
2017-12-12 10:32:58 +01:00
Stephane Nicoll
6a4a0e3f29 Polish "Make RabbitTemplate exchange and routingKey configurable"
Closes gh-10978
2017-12-12 09:09:08 +01:00
Arlo O'Keeffe
4e31d2041a Make RabbitTemplate exchange and routingKey configurable
See gh-10978
2017-12-12 08:52:48 +01:00
Stephane Nicoll
408368a1f9 Polish "Allow graceful shutdown of Atomikos"
Closes gh-11237
2017-12-12 08:30:24 +01:00
nklmish
46d94aba4f Allow graceful shutdown of Atomikos
See gh-11237
2017-12-12 08:18:42 +01:00
Stephane Nicoll
2da6675c42 Polish
See gh-10963
2017-12-12 08:16:00 +01:00
Madhura Bhave
47ed096981 Make default username and password configurable
Closes gh-10963
2017-12-11 15:15:47 -08:00
Stephane Nicoll
5ef9364085 Polish 2017-12-11 17:55:12 +01:00
Johnny Lim
96250743b5 Add missing "abstract" keywords
Closes gh-11303
2017-12-09 15:29:15 -08:00
Madhura Bhave
954cf72de4 Fix javadoc 2017-12-08 15:32:40 -08:00
Johnny Lim
6d54072e04 Remove "final" keywords
Closes gh-11294
2017-12-08 11:13:07 -08:00
Andy Wilkinson
c0e3ae9042 Polish 2017-12-07 18:27:52 +00:00
Andy Wilkinson
996a7cf013 Upgrade to Flyway 5.0.0
Closes gh-11287
2017-12-07 18:21:55 +00:00
Johnny Lim
2c204f2154 Polish
Closes gh-11242
2017-12-02 09:03:59 +01:00
Stephane Nicoll
5dc28ec446 Merge branch '1.5.x' 2017-11-30 18:01:36 +01:00
Phillip Webb
d7251f52a4 Polish 2017-11-29 09:09:53 -08:00
Andy Wilkinson
80543250a2 Rework properties for enabling Spring Data repositories
Rather than using two properties to enable or disable reactive and
imperative repositories for a particular store, this commit introduces
a new repository type condition that's backed by a single
spring.data.<store>.repositories.type property. The type can be
auto (automatically enables whatever's available), imperative (enables
imperative repositories), none (enables nothing), or reactive (enables
reactive repositories). The default is auto.

Repositories do not have a reactive option (such as JPA) continue to
have a spring.data.<store>.repositories.enabled property that takes a
boolean value.

Closes gh-11134
2017-11-29 13:02:45 +00:00
Brian Clozel
8b98db401c Polish
Closes gh-11090
2017-11-29 12:00:00 +01:00
Brian Clozel
de208cd372 Do not handle WebFlux errors if response is committed
If the WebFlux handler commits the response but still sends an error
signal in the reactive pipeline, Spring Boot error handling should not
try to handle that error: once committed, it is impossible to change the
response status or the response headers. Writing to the body might also
lead to invalid responses.

This commit skips error handling if the response is committed and
delegates to Spring Framework's `HttpWebHandlerAdapter` which will log
the error.

Fixes gh-11168
2017-11-29 11:45:12 +01:00
Brian Clozel
e3c3bb0076 Rename spring.cache.control to spring.cache.cachecontrol
Closes #11090
2017-11-29 11:14:31 +01:00
Johnny Lim
952224ef56 Polish
Closes gh-11193
2017-11-29 10:50:42 +01:00
Stephane Nicoll
33bd7ccc91 Merge branch '1.5.x' 2017-11-29 10:47:52 +01:00
Brian Clozel
ee62633e33 Auto-Configure Freemarker in WebFlux
This commit adds support for basic auto-configuration for the Freemarker
template engine in WebFlux.

A few configuration properties in the `spring.freemarker.*` namespace
aren't supported yet, since they mostly apply to MVC (Servlet request
and session attributes).

Closes gh-10094
2017-11-29 10:37:39 +01:00
Phillip Webb
960083bd33 Polish 2017-11-28 16:21:09 -08:00
Craig Walls
64d02f8bb5 Remove Spring Social starters and auto-configuration
See gh-11117
2017-11-28 14:53:36 +00:00
Andy Wilkinson
22a426fe39 Polish 2017-11-28 10:50:28 +00:00
Andy Wilkinson
ecdbc52fc5 Make log4j-core available to Elasticsearch tests
Elasticsearch server requires log4j-core but we don't want the entire
module to have a test dependency on log4j-core as it already uses
Logback. This commit uses the modified class path runner to make
log4j-core available specifically to the Elasticsearch-related tests.

See gh-11166
2017-11-27 13:36:06 +00:00
Stephane Nicoll
89054d32fa Polish "Fix CouchbaseReactiveRepositoriesAutoConfigurationTests"
Closes gh-11151
2017-11-27 10:59:21 +01:00
Eddú Meléndez
ef3d44f680 Fix CouchbaseReactiveRepositoriesAutoConfigurationTests
See gh-11151
2017-11-27 10:56:35 +01:00
Stephane Nicoll
9543327406 Polish "Use BeanIds.SPRING_SECURITY_FILTER_CHAIN"
Closes gh-11162
2017-11-27 10:32:28 +01:00
Johnny Lim
70d92037bd Use BeanIds.SPRING_SECURITY_FILTER_CHAIN
See gh-11162
2017-11-27 10:31:32 +01:00
Johnny Lim
d9828a0aaa Polish
See gh-11143
2017-11-27 10:14:18 +01:00
Johnny Lim
dea95b2b67 Make CouchbaseReactiveRepositoriesAutoConfigureRegistrar package-private
Closes gh-11142
2017-11-26 11:30:17 +01:00
Johnny Lim
7d94695936 Harmonize CouchbaseReactiveRepositoriesAutoConfiguration conditions
Closes gh-11138
2017-11-24 16:51:29 +01:00
Andy Wilkinson
16b090c9bc Polish 2017-11-24 15:46:19 +00:00
Andy Wilkinson
7674841946 Log condition evaluation delta upon DevTools restart 2017-11-24 14:49:53 +00:00
Andy Wilkinson
b3c5a050ad Polish message for matching beans produced by OnBeanCondition 2017-11-24 12:01:20 +00:00
Andy Wilkinson
51b56782a3 Apply customizers to build when created embedded Mongo client
Closes gh-11132
2017-11-24 10:59:29 +00:00
Stephane Nicoll
5ebed451e0 Remove dead code 2017-11-23 17:55:58 +01:00
Johnny Lim
01a48412d2 Polish
Closes gh-11126
2017-11-23 16:00:55 +00:00
Stephane Nicoll
0a5f064d39 Improve error metadata for Autoconfigure module 2017-11-23 16:11:48 +01:00
Stephane Nicoll
877ed041e7 Polish 2017-11-23 13:38:11 +01:00
Stephane Nicoll
13ccf45008 Polish
See gh-10884
2017-11-23 13:28:44 +01:00
Andy Wilkinson
f12de333f5 Merge branch '1.5.x' 2017-11-23 11:46:42 +00:00
Andy Wilkinson
69fb433eb7 Merge branch '1.5.x' 2017-11-23 11:35:12 +00:00
Stephane Nicoll
59df2909b8 Format 2017-11-23 10:16:32 +01:00