Commit Graph

12146 Commits

Author SHA1 Message Date
Andy Wilkinson
b5174bed5d Merge pull request #9291 from Mark Paluch
* gh-9291:
  Polish "Adapt to relocated packages in Spring Data Cassandra"
  Adapt to relocated packages in Spring Data Cassandra
2017-05-24 11:12:29 +01:00
Andy Wilkinson
48fb0f4ad5 Polish "Adapt to relocated packages in Spring Data Cassandra"
Closes gh-9291
2017-05-24 11:11:53 +01:00
Mark Paluch
7e8e2c486e Adapt to relocated packages in Spring Data Cassandra
See gh-9291
2017-05-24 11:11:36 +01:00
Phillip Webb
6531423519 Fix following upstream API change
Update implementations of `WebFluxConfigurer` to no longer return an
`Optional` validator.
2017-05-23 17:04:44 -07:00
Phillip Webb
05111a17b8 Polish 2017-05-23 17:04:44 -07:00
Madhura Bhave
6c629369d3 Add support for binding to immutable collection
Fixes gh-9290
2017-05-23 15:40:36 -07:00
Andy Wilkinson
db9ec87b14 Merge branch '1.5.x' 2017-05-23 22:18:35 +01:00
Andy Wilkinson
7f6081318f Avoid limitation of javac's type inferencing 2017-05-23 22:10:57 +01:00
Madhura Bhave
233ef67a04 Allow nested square brackets in map key when binding
Fixes gh-3202
2017-05-23 14:06:06 -07:00
Andy Wilkinson
e8170cf00d Merge branch '1.5.x' 2017-05-23 22:03:17 +01:00
Andy Wilkinson
19a61c6591 Polish 2017-05-23 22:03:09 +01:00
Andy Wilkinson
bbc82cb621 Merge branch '1.5.x' 2017-05-23 21:58:00 +01:00
Andy Wilkinson
5f3088ed31 Ensure that Jetty fails to start when its thread pool is misconfigured
Previously, if Jetty's thread pool was misconfigured, the Server would
still start successfully.

When it is started, the Server examines its Connectors to determine
how many threads are required. If its thread pool does not meet the
Connectors' requirements, an IllegalStateException is thrown and the
Server fails to start. However, JettyEmbeddedServletContainer
temporarily removes the Server's Connectors while it is being started
so that requests will not be accepted until the application is ready.
This has the unwanted side-effect of causing a misconfigured thread
pool to go undetected as the Connectors' thread requirements are not
taken into consideration.

The verification of the thread pool configuration and the starting of
the Connectors is done in the Server's doStart() method which has
three steps that are of interest:

1. Verify the Server's thread pool configuration
2. Start any managed beans that have been added to the Server
3. Start the Server's Connectors.

To allow the thread pool configuration to be verified while still
preventing the Connectors from being started, the Connectors need to
be removed in step 2. This is achieved by registering a managed bean
with the Server that nulls out the Server's Connectors as part of its
doStart() method.

Closes gh-8917
2017-05-23 21:52:14 +01:00
Andy Wilkinson
6c3a27dadf Merge branch '1.5.x' 2017-05-23 20:44:46 +01:00
Andy Wilkinson
f7127e5522 Ensure that closing a JarFile closes all underlying resources
Closes gh-8871
2017-05-23 20:42:59 +01:00
Andy Wilkinson
68b79da71b Merge pull request #8045 from Raja Kolli
* gh-8045:
  Polish "Use try-with-resources to close resources automatically"
  Use try-with-resources to close resources automatically
2017-05-23 19:39:44 +01:00
Andy Wilkinson
d5438c299c Polish "Use try-with-resources to close resources automatically"
- Apply code formatting
- Use try-with-resources in many other places that were missed in the
  pull request

Closes gh-8045
2017-05-23 19:38:48 +01:00
rajadilipkolli
3e797c326a Use try-with-resources to close resources automatically
See gh-8045
2017-05-23 17:34:35 +01:00
Mark Paluch
291f44f5ab Remove spring-cql dependency from Reactive Cassandra starter
The spring-cql module has been merged into the spring-data-cassandra
module.

See gh-9291
2017-05-23 17:32:24 +01:00
Andy Wilkinson
9192db692b Use WebRequest rather than RequestAttributes in ErrorAttributes
This change aligns ErrorAttributes with ResponseEntityExceptionHandler
which takes a WebRequest as a parameter of its handleException method.
WebRequest extends RequestAttributes and provides access to much more
than just the request's attributes. For example request headers and
parameters are available from WebRequest.

Closes gh-7952
Closes gh-6555
2017-05-23 15:15:22 +01:00
Andy Wilkinson
d6a3238e7d Start building against Spring AMQP 2.0 snapshots
See gh-9289
2017-05-23 14:47:52 +01:00
Andy Wilkinson
30333ba24d Start building against Spring Security 5.0 snapshots
See gh-9288
2017-05-23 14:47:52 +01:00
Andy Wilkinson
93d38a261f Start building against Spring Integration 5.0 snapshots
See gh-9287
2017-05-23 14:47:52 +01:00
Andy Wilkinson
a57b07d8c4 Start building against Spring Data Kay snapshots
See gh-9286
2017-05-23 14:47:52 +01:00
Stephane Nicoll
4cae7eb3af Merge pull request #9227 from rokii:master
* pr/9227:
  Polish
  Display unconditional classes in auto-config endpoint
2017-05-23 15:29:22 +02:00
Stephane Nicoll
895f06fdfa Polish 2017-05-23 15:23:38 +02:00
Rocky Shang
51d4e88537 Display unconditional classes in auto-config endpoint
Closes gh-9227
2017-05-23 15:23:21 +02:00
Stephane Nicoll
9241f63d7a Merge pull request #9281 from kylinsoong:master
* pr/9281:
  Polish "Add reference to Teiid spring boot starter"
  Add reference to Teiid spring boot starter
2017-05-23 15:19:43 +02:00
Stephane Nicoll
d0875e76d4 Polish "Add reference to Teiid spring boot starter"
Closes gh-9281
2017-05-23 15:19:27 +02:00
kylin
eaaf1bf034 Add reference to Teiid spring boot starter
See gh-9281
2017-05-23 15:18:08 +02:00
Stephane Nicoll
8094a6409f Fix build
Spring Session's MongoDB store is no longer supported on master.
2017-05-23 14:14:12 +02:00
Stephane Nicoll
41a36b3f7a Merge branch '1.5.x' 2017-05-23 11:40:26 +02:00
Stephane Nicoll
50876382db Improve Spring Session validation message
Closes gh-9284
2017-05-23 11:37:26 +02:00
Stephane Nicoll
1a00692b27 Merge branch '1.5.x' 2017-05-23 10:52:31 +02:00
Stephane Nicoll
fea178a13c Merge pull request #9052 from strattonw:issue-3269
* pr/9052:
  Polish "Fix configuration properties output for actuator"
  Fix configuration properties output for actuator
2017-05-23 10:52:18 +02:00
Stephane Nicoll
d4a0fe5ff9 Polish "Fix configuration properties output for actuator"
Closes gh-9052
2017-05-23 10:48:45 +02:00
Wesley Stratton
7d6293f79d Fix configuration properties output for actuator
See gh-9052
2017-05-23 10:48:45 +02:00
Stephane Nicoll
419f5df9ae Merge branch '1.5.x' 2017-05-23 10:47:55 +02:00
Stephane Nicoll
2ca92e2a45 Add failure analyzer for BeanCreationException
Closes gh-9220
2017-05-23 10:46:34 +02:00
Andy Wilkinson
3def99ad7b Align with breaking API changes in latest Spring Framework snapshots 2017-05-23 09:40:14 +01:00
Andy Wilkinson
b60d3fb4cb Start building against Spring Framework 5.0 snapshots again
See gh-9285
2017-05-23 09:10:08 +01:00
Andy Wilkinson
d4140d6a69 Configure Undertow to eagerly initialize Filters by default
Closes gh-9232
2017-05-22 16:58:16 +01:00
Andy Wilkinson
6acf789264 Merge branch '1.5.x' 2017-05-22 16:50:19 +01:00
Andy Wilkinson
d058ed38a8 Merge pull request #9095 from hengyunabc
* gh-9095:
  Polish "Fail startup when Tomcat's context fails to start"
  Fail startup when Tomcat's context fails to start
2017-05-22 16:18:58 +01:00
hengyunabc
8c46644231 Polish "Fail startup when Tomcat's context fails to start"
Closes gh-9095
2017-05-22 16:18:29 +01:00
hengyunabc
217b237b37 Fail startup when Tomcat's context fails to start
See gh-9095
2017-05-22 16:18:29 +01:00
Stephane Nicoll
390be7a59d Merge branch '1.5.x' 2017-05-22 15:44:26 +02:00
Stephane Nicoll
b61b1f0e08 Make sure Atomikos default are applied consistently
This commit makes sure to apply Atomikos defaults also adds a test that
validates Atomikos defaults are consistent.

As a side effect of that, `threadedTwoPhaseCommit` is now `false` (which
is effectively what users got with no customization anyway since that
default was changed in Atomikos 3.7

Closes gh-9141
2017-05-22 15:43:12 +02:00
Andy Wilkinson
cef7e73725 Provide plugin management for Flyway's Maven plugin
Closes gh-9265
2017-05-22 14:10:47 +01:00
Stephane Nicoll
a1adcd9919 Merge branch '1.5.x' 2017-05-22 11:07:25 +02:00