Commit Graph

1885 Commits

Author SHA1 Message Date
Paul Vorbach
04ca7f137d Identify and fix incomplete assertions
Several calls to assertThat lacked a following assertion most often due
to wrong use of parenthesis.

See gh-10084
2017-08-29 13:49:28 +02:00
Stephane Nicoll
83eee7e65d Fix XA DataSource class name for Firebird
Closes gh-10102
2017-08-29 13:48:57 +02:00
Stephane Nicoll
cabd798353 Polish NestedConfigurationProperty documentation
Closes gh-9895
2017-08-14 16:13:54 +02:00
Gytis Trikleris
4d42d89d71 Upgrade to Narayana 5.5.30.Final
Closes gh-10004
2017-08-14 15:44:46 +02:00
Johnny Lim
56f47e1a50 Polish
Closes gh-9938
2017-08-03 21:17:10 +01:00
Andy Wilkinson
2925f1b86a Polish "Simplify retrieval of Narayana XARecoveryModule"
Closes gh-9725
2017-07-28 07:32:10 +01:00
Gytis Trikleris
3874196efe Simplify retrieval of Narayana XARecoveryModule
See gh-9725
2017-07-28 07:32:01 +01:00
Spring Buildmaster
17a5bb0be4 Next development version 2017-07-27 08:00:21 +00:00
Johnny Lim
fe1eb8b5f3 Polish
See gh-9855
2017-07-26 13:39:00 +02:00
Spring Buildmaster
41c5c0e7c9 Next development version 2017-07-26 08:30:55 +00:00
Andy Wilkinson
8207852bcd Ensure that detected request factories are initialized
Closes gh-9797
2017-07-22 08:10:04 +01:00
Andy Wilkinson
f4f54047e0 Clarify behaviour of SpringApplicationBuilder.sibling(Object...)
Closes gh-8898
2017-07-21 19:50:39 +01:00
Stephane Nicoll
e2880ee2c3 Polish "Improve ExitCodeGenerator doc"
Closes gh-9740
2017-07-13 09:21:36 +02:00
Andy Wilkinson
76c21eab8c Polish spring-boot's pom 2017-07-10 07:27:41 +01:00
Phillip Webb
aa57ca7e18 Polish 2017-07-06 16:53:04 -07:00
Madhura Bhave
222a09cfd3 Make ROOT logger name case-insensitive when setting log level
Fixes gh-9693
2017-07-06 14:25:30 -07:00
Madhura Bhave
96b1a8547f Decorate KeyManager for Undertow only when an alias is configured
Fixes gh-9351
2017-07-05 18:40:09 -07:00
Stephane Nicoll
7f8a8ba115 Properly handle null package
Closes gh-9621
2017-06-29 09:59:50 +02:00
Stephane Nicoll
26b27d41e7 Polish "Narrow the event types ConfigFileApplicationListener supports"
Closes gh-9628
2017-06-29 09:57:41 +02:00
satamas
d26857289c Narrow the event types ConfigFileApplicationListener supports
See gh-9628
2017-06-29 09:29:44 +02:00
Andy Wilkinson
59122358d3 Clean up and format code 2017-06-16 08:58:14 +01:00
Stephane Nicoll
31ee45bf36 Polish 2017-06-15 13:35:33 +02:00
Stephane Nicoll
c5c6a526d3 Polish "Allow abstract serializers/deserializer in @JsonComponent"
Closes gh-9443
2017-06-15 13:30:25 +02:00
Vladimir Tsanev
6ba7849094 Allow abstract serializers/deserializer in @JsonComponent
Previously JsonComponentModule tried to instantiate all
inner classes and failed with InstantiationException when
the class is abstract and extends JsonSerializer/JsonDeserializer.
With this change is now possible to have common logic inner abstract classes.

See gh-9443
2017-06-15 13:27:26 +02:00
Andy Wilkinson
2e2fde0dcd Stop using URLResource API that was deprecated in Undertow 1.4.16
Closes gh-9464
2017-06-12 14:24:43 +01:00
Spring Buildmaster
05d4d0281c Next Development Version 2017-06-08 12:47:16 +00:00
Andy Wilkinson
a03ddd331c Polishing 2017-06-07 17:14:26 +01:00
Andy Wilkinson
5b30269ac9 Polish "Copy conversion service when performing environment conversion"
Closes gh-9246
2017-06-07 10:24:15 +01:00
Rubinson,Ethan(erubinson)
a424081803 Copy conversion service when performing environment conversion
Previously, when a web environment was converted to a
StandardEnvironment, any customizations of the source environment's
ConversionService were lost.

This commit updates the logic that performs the conversion to copy
the source's ConversionService to the converted environment, thereby
ensuring that any customizations are retained.

Closes gh-9259
See gh-9246
2017-06-07 10:21:56 +01:00
Andy Wilkinson
aa6dbdbae2 Ensure that listeners are called when application fails to run
Closes gh-9054
2017-06-06 14:53:05 +01:00
Andy Wilkinson
b9a09fcd64 Abandon failure analysis if start of cycle cannot be determined
Previously, BeanCurrentlyInCreationFailureAnalyzer would return
a FailureAnalysis for any BeanCurrentlyInCreationException even if
it could not determine where the cycle begins. This could lead to an
inaccurate diagram of the cycle being output.

This commit updates BeanCurrentlyInCreationFailureAnalyzer so that
it abandons its analysis and returns null if it is unable to determine
where the cycle begins.

Closes gh-8164
2017-06-02 11:08:29 +01:00
Stephane Nicoll
08a8bb0f8b Revert "Add failure analyzer for BeanCreationException"
Closes gh-9220
2017-05-30 14:23:47 +02:00
Stephane Nicoll
544d516563 Merge branch '1.4.x' into 1.5.x 2017-05-29 10:26:52 +02:00
Stephane Nicoll
250d5f9a52 Deprecate Atomikos console logs properties
Those properties are no longer honoured with Atomikos 3.8 and we're
using 3.9 by default.

Closes gh-9292
2017-05-29 10:18:35 +02: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
Stephane Nicoll
2ca92e2a45 Add failure analyzer for BeanCreationException
Closes gh-9220
2017-05-23 10:46:34 +02: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
5121b848e1 Making sure to stop embedded web servers in tests
Closes gh-9012
2017-05-03 11:33:42 +02:00
Spring Buildmaster
9768b0a8c2 Next Development Version 2017-04-21 08:32:01 +00:00
Spring Buildmaster
d719d2cbbc Next Development Version 2017-04-20 12:46:19 +00:00
Phillip Webb
f46d799f31 Polish 2017-04-17 22:08:51 -07:00
Stephane Nicoll
6567018b70 Merge branch '1.4.x' into 1.5.x 2017-04-12 14:36:48 +02:00
Stephane Nicoll
2579023035 Fix javadoc
Closes gh-8892
2017-04-12 14:36:02 +02:00
Andy Wilkinson
c74f0a70ca Merge branch '1.4.x' into 1.5.x 2017-04-07 12:14:47 +01:00
Andy Wilkinson
5dad7182db Address deprecation warnings 2017-04-07 12:01:01 +01:00
Phillip Webb
ad38776de3 Polish 2017-04-04 09:48:10 -07:00