Commit Graph

10700 Commits

Author SHA1 Message Date
Stephane Nicoll
b5709fd618 Polish
See gh-9330
2017-05-28 17:44:58 +02:00
Andy Wilkinson
7254ae84ab Upgrade to Artemis 1.5.5
Closes gh-9303
2017-05-24 12:48:28 +01:00
Andy Wilkinson
d8bc4751c8 Upgrade to Undertow 1.4.15.Final
Closes gh-9302
2017-05-24 12:48:28 +01:00
Andy Wilkinson
7f6081318f Avoid limitation of javac's type inferencing 2017-05-23 22:10:57 +01:00
Andy Wilkinson
19a61c6591 Polish 2017-05-23 22:03:09 +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
f7127e5522 Ensure that closing a JarFile closes all underlying resources
Closes gh-8871
2017-05-23 20:42:59 +01:00
Stephane Nicoll
50876382db Improve Spring Session validation message
Closes gh-9284
2017-05-23 11:37:26 +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
2ca92e2a45 Add failure analyzer for BeanCreationException
Closes gh-9220
2017-05-23 10:46:34 +02: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
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
Stephane Nicoll
4cc515054e Merge branch '1.4.x' into 1.5.x 2017-05-22 11:06:40 +02:00
Stephane Nicoll
a59000354c Support for TransactionAwareCacheDecorator
This commit makes sure to unwrap any transaction aware cache before
collecting metrics for them.

Closes gh-8984
2017-05-22 11:05:39 +02:00
Stephane Nicoll
b73e1d46ae Start building against Spring Framework snapshots
See gh-9280
2017-05-22 10:07:44 +02:00
Madhura Bhave
57dfbd50a7 Fix documentation for health endpoint security
Fixes gh-9273
2017-05-19 16:22:25 -07:00
Stephane Nicoll
f8de022f0a Fix typo
Closes gh-9257
2017-05-18 13:27:43 +02:00
Stephane Nicoll
f707582570 Add missing custom status in example
Closes gh-9256
2017-05-18 13:26:39 +02:00
Phillip Webb
440d03bf9e Merge branch '1.4.x' into 1.5.x 2017-05-15 15:59:08 -07:00
Phillip Webb
74f411faed Formatting 2017-05-15 15:58:30 -07:00
Andy Wilkinson
5e35cdccce Merge pull request #9110 from Gytis Trikleris
* gh-9110:
  Log a warning if a health indicator throws an exception
2017-05-15 19:58:23 +01:00
Gytis Trikleris
00823d41a9 Log a warning if a health indicator throws an exception
Closes gh-9110
2017-05-15 19:53:55 +01:00
Andy Wilkinson
232e05c0c4 Merge pull request #9239 from Artem Bilan
* gh-9239:
  Upgrade to Spring Integration Java DSL 1.2.2
2017-05-15 19:49:59 +01:00
Artem Bilan
d82a23a201 Upgrade to Spring Integration Java DSL 1.2.2
Closes gh-9239
2017-05-15 19:49:34 +01:00
Phillip Webb
9a4a20537c Polish 2017-05-15 11:19:19 -07:00
Andy Wilkinson
fd2ab2fee0 Merge branch '1.4.x' into 1.5.x 2017-05-15 17:44:42 +01:00
Andy Wilkinson
198093c6a8 Fix violation reported by Checkstyle 2017-05-15 17:44:17 +01:00
Andy Wilkinson
5693acf558 Merge branch '1.4.x' into 1.5.x 2017-05-15 17:08:53 +01:00
Andy Wilkinson
a6f8351dd6 Close Liquibase-specific DataSource once database has been migrated
Previously, when the liquibase.url, .username, and .password
properties were used to configure a DataSource specifically for
Liquibase that DataSource would never be explicitly closed. As it is
created by DataSourceBuilder with no explicitly configured type it
will use whichever connection pool is available and, therefore, will
create and keep open the pool's minimum number of connections. This
is an unnecessary use of resources both in the application and in the
database.

This commit updates LiquibaseAutoConfiguration so that if it uses
DataSourceBuilder to create a DataSource then it will also close that
DataSource once the database has been migrated.

Closes gh-9218
2017-05-15 17:08:45 +01:00
Stephane Nicoll
cdf5f6e0ee Add support for deprecation level in manual metadata
This commit allows to specify a deprecation level to a manual metadata
entry. The purpose of that new attribute is to distinguish cases where
the property is still bound (default) from cases where the property no
longer exists and won't be bound.

This gives the opportunity to IDEs to still show the property as an
error and offer documentation and an action to rename it if a
replacement exists.

Closes gh-9074
2017-05-15 12:39:15 +03: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
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
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
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
Andy Wilkinson
eb834bbce8 Upgrade to Jboss Transaction Spi 7.6.0.Final
Closes gh-9182
2017-05-12 10:33:57 +01:00
Andy Wilkinson
2235d0c88a Merge branch '1.4.x' into 1.5.x 2017-05-12 10:16:42 +01:00
Andy Wilkinson
7a84a48739 Upgrade to Spring Cloud Connectors 1.2.4.RELEASE
Closes gh-9178
2017-05-12 08:27:01 +01:00
Andy Wilkinson
4eb0fe6bf2 Upgrade to Jetty 9.3.19.v20170502
Closes gh-9177
2017-05-12 08:27:00 +01:00
Andy Wilkinson
bb60e034ca Upgrade to Mysql 5.1.42
Closes gh-9176
2017-05-12 08:26:59 +01:00
Andy Wilkinson
0f35e7eb3d Upgrade to Appengine 1.9.53
Closes gh-9175
2017-05-12 08:26:58 +01:00
Stephane Nicoll
4e9731277a Merge pull request #9174 from helpermethod:master
* pr/9174:
  Update link for membrane-spring-boot-starter
2017-05-12 09:11:33 +02:00