Commit Graph

12038 Commits

Author SHA1 Message Date
Andy Wilkinson
a3f3740725 Remove Tomcat 8.0-based SSL sample
We now require Tomcat 8.5
2017-05-12 17:55:19 +01:00
Andy Wilkinson
61d89ef207 Remove misleading use of legacy from simple container's description
Closes gh-9173
2017-05-12 17:30:17 +01:00
Madhura Bhave
53493fdd86 Make detection of nested config more lenient
Closes gh-3454
2017-05-12 08:58:17 -07:00
Andy Wilkinson
2a4ba89f8e Remove logic accommodating Tomcat 8.0.x from TomcatServletWebServerFactory
We now require Tomcat 8.5.
2017-05-12 16:51:10 +01:00
Andy Wilkinson
445344211d Remove use of deprecated API in TomcatServletWebServerFactory 2017-05-12 16:44:38 +01:00
Stephane Nicoll
e007f20725 Merge branch '1.5.x' 2017-05-12 17:27:46 +02:00
Stephane Nicoll
a22b3d9515 Merge branch '1.4.x' into 1.5.x 2017-05-12 17:27:28 +02:00
Stephane Nicoll
4056542bd4 Merge pull request #9212 from sslavic:patch-1
* pr/9212:
  Fix typo in javadoc
2017-05-12 17:27:00 +02:00
Stevo Slavić
6e1d99aa10 Fix typo in javadoc
Closes gh-9212
2017-05-12 17:26:26 +02:00
Stephane Nicoll
cf88508e1d Avoid exposing spring.resources.favicon-locations as a property
Closes gh-9214
2017-05-12 17:25:35 +02:00
Brian Clozel
d7ba7ecc48 Allow RouterFunction parameterized with different types
This commit allows *any* type of `RouterFunction` to be injected in the
WebFlux.fn auto-configuration; previously the `RouterFunction<T>` would
restrict injected beans to a single parameterized type.

Doing requires using the `RouterFunction.andOther` method to collect
them.

Fixes gh-9181
2017-05-12 17:18:14 +02:00
Brian Clozel
c84204bc81 Remove Netty4 auto-configuration in RestTemplate
This commit removes the automatic configuration of the Netty  request
factory in RestTemplateBuilder, for the following reasons:

* as of Spring 5, `Netty4ClientHttpRequestFactory` is now deprecated
* there are quite a few issues logged in Spring Framework (duplicate
headers, such as SPR-15446 and SPR-15476)
* by default, the `Netty4ClientHttpRequestFactory` is adding a
"Connection: close" request header to all outgoing requests, which
means that the underlying HTTP connection won't be reused between
requests (which is a performance problem)

In that case, using any other request factory is a better choice for
Spring Boot 2.0+.

Note that the `RestTemplateBuilder` still allows to provide it manually
with the request factory to use. Developers can still choose this option
and will be aware of its deprecation status.

Fixes gh-9150
2017-05-12 17:18:01 +02:00
Brian Clozel
4a47c1eff8 Keep default Thymeleaf media types in reactive support
This commit removes the default configuration value previously set
for `spring.thymeleaf.reactive.media-types` since this value overrides
the defaults provided by Thymeleaf.

This value does not drive the default media type used by views, but
rather all media types that the templating engine should support.

Fixes gh-9134
2017-05-12 17:17:49 +02:00
Brian Clozel
89c284cb13 Add reactive websocket auto-configuration for Tomcat
This commit adds a `TomcatWebSocketReactiveWebServerCustomizer`
that customizes the Tomcat context to accept WebSockets connections.
Since reactive servers don't use the JSR 356 for that support,
only Tomcat customization is required for now.

This commit also reorders the server auto-configuration
so that undertow has a chance to be auto-configured before
reactor-netty, which should be a popular dependency thanks to
its HTTP client library.

The existing WebSocket infrastructure for Serlvet based containers
has been moved to a dedicated package and renamed accordingly.

Fixes gh-9113
2017-05-12 17:17:35 +02:00
Stephane Nicoll
1835dd7b94 Merge branch '1.5.x' 2017-05-12 16:50:26 +02:00
Stephane Nicoll
643dea18ee Accommodate with Lombok generation ordering
Previously, if lombok was running before the configuration metadata
annotation processor, duplicated keys were created as both the
getter/setter and the special lombok handling applied.

This commit makes sure to be lenient by removing duplicate metadata
entries. This commit also makes sure to identify the getter of a
nested group if present. That way, the sourceMethod is set consistently
and avoid the creation of a duplicate group.

Closes gh-8886
2017-05-12 16:48:31 +02:00
Andy Wilkinson
69864b9e69 Remove accidental deprecaton of EnableConfigurationPropertiesImportSelector
Closes gh-9111
2017-05-12 15:25:14 +01:00
Andy Wilkinson
4104566ca2 Remove restartWithKeepAlive as it appears to be testing the container
The restartWithKeepAlive test really appears to be testing
functionality in the container, rather than our configuration of
the container. It's also not clear what role, if any, keep-alive is
playing as it's not explicitly configured in the test.
2017-05-12 15:21:50 +01:00
Andy Wilkinson
9f55deeb95 Merge branch '1.5.x' 2017-05-12 15:01:06 +01:00
Andy Wilkinson
a2e749940e Merge branch '1.4.x' into 1.5.x 2017-05-12 15:00:58 +01:00
Andy Wilkinson
a3f5cbc4a2 Polishing 2017-05-12 15:00:44 +01:00
Andy Wilkinson
e4f80e68fc Do not run Gradle plugin's tests when built with -DskipTests
Closes gh-9169
2017-05-12 14:39:47 +01:00
Andy Wilkinson
47807b8925 Upgrade to SendGrid 3.2.0
Closes gh-9211
2017-05-12 14:22:45 +01:00
Andy Wilkinson
97a3a94042 Add dependency management for Netty modules missing from its bom
Closes gh-9210
2017-05-12 14:12:23 +01:00
Andy Wilkinson
2331f60cb7 Upgrade to Thymeleaf Spring5 3.0.6.M4
Closes gh-9208
2017-05-12 13:20:47 +01:00
Andy Wilkinson
f24b55a236 Upgrade to Thymeleaf 3.0.6.RELEASE
Closes gh-9207
2017-05-12 13:20:47 +01:00
Andy Wilkinson
ce3aa1d46e Upgrade to Sqlite Jdbc 3.16.1
Closes gh-9206
2017-05-12 13:20:47 +01:00
Andy Wilkinson
67befc68de Upgrade to Selenium 3.4.0
Closes gh-9205
2017-05-12 13:20:46 +01:00
Andy Wilkinson
b887c7b8cb Upgrade to Postgresql 42.1.1
Closes gh-9204
2017-05-12 11:24:00 +01:00
Andy Wilkinson
5d068ffd78 Upgrade to Jetty El 8.5.9.1
Closes gh-9203
2017-05-12 11:24:00 +01:00
Andy Wilkinson
733821fc6d Upgrade to Mariadb 2.0.1
Closes gh-9202
2017-05-12 11:23:59 +01:00
Andy Wilkinson
28d5d77a83 Upgrade to Flyway 4.2.0
Closes gh-9201
2017-05-12 11:23:59 +01:00
Andy Wilkinson
d7d55f4ad9 Upgrade to Jaybird 3.0.0
Closes gh-9200
2017-05-12 11:23:59 +01:00
Andy Wilkinson
8ee6c201e1 Upgrade to Ehcache3 3.3.1
Closes gh-9199
2017-05-12 10:55:15 +01:00
Andy Wilkinson
365c6056f9 Upgrade to Assertj 3.7.0
Closes gh-9198
2017-05-12 10:55:14 +01:00
Andy Wilkinson
df21db0353 Upgrade to Solr 6.5.1
Closes gh-9197
2017-05-12 10:55:13 +01:00
Andy Wilkinson
49b2838a24 Upgrade to Jna 4.4.0
Closes gh-9196
2017-05-12 10:55:13 +01:00
Andy Wilkinson
0bf7b0a5a4 Upgrade to Byte Buddy 1.6.14
Closes gh-9195
2017-05-12 10:55:12 +01:00
Andy Wilkinson
d62bf40cb1 Upgrade to Jest 2.4.0
Closes gh-9194
2017-05-12 10:55:12 +01:00
Andy Wilkinson
f3b7d4e43a Upgrade to Netty 4.1.11.Final
Closes gh-9193
2017-05-12 10:55:11 +01:00
Andy Wilkinson
abe625d351 Upgrade to Dropwizard Metrics 3.2.2
Closes gh-9192
2017-05-12 10:55:11 +01:00
Andy Wilkinson
5addd9a42e Upgrade to Hikaricp 2.6.1
Closes gh-9191
2017-05-12 10:55:10 +01:00
Andy Wilkinson
f206cc4a87 Upgrade to Hazelcast Hibernate5 1.2.1
Closes gh-9190
2017-05-12 10:55:10 +01:00
Andy Wilkinson
653947a38a Upgrade to Hazelcast 3.8.1
Closes gh-9189
2017-05-12 10:55:09 +01:00
Andy Wilkinson
af7879d390 Upgrade to Caffeine 2.5.0
Closes gh-9188
2017-05-12 10:55:08 +01:00
Andy Wilkinson
9947eadcfb Upgrade to Couchbase Client 2.4.5
Closes gh-9187
2017-05-12 10:55:08 +01:00
Andy Wilkinson
137d413196 Merge branch '1.5.x' 2017-05-12 10:38:14 +01:00
Andy Wilkinson
1c48e5aad7 Upgrade to Spring Session 1.3.1.RELEASE
Closes gh-9185
2017-05-12 10:33:58 +01:00
Andy Wilkinson
a79457ed1a Upgrade to Jooq 3.9.2
Closes gh-9184
2017-05-12 10:33:58 +01:00
Andy Wilkinson
245d63f5b8 Upgrade to Narayana 5.5.24.Final
Closes gh-9183
2017-05-12 10:33:57 +01:00