Commit Graph

5480 Commits

Author SHA1 Message Date
Stephane Nicoll 2241837d75 Merge branch '2.1.x' 2019-02-13 09:20:48 +01:00
Stephane Nicoll 46bf82ca82 Upgrade to Spring Framework 5.1.5
Closes gh-15862
2019-02-13 09:18:46 +01:00
Stephane Nicoll 3b3d9f8e90 Merge branch '2.1.x' 2019-02-13 06:46:50 +01:00
Stephane Nicoll e38bd28271 Upgrade to Reactor Bom Californium-SR5
Closes gh-15878
2019-02-13 06:44:22 +01:00
Andy Wilkinson b339c92871 Merge branch '2.1.x' 2019-02-12 17:34:44 +00:00
Andy Wilkinson a0cf4ec017 Add dependency now needed for javadoc generation on Java 11
See gh-15775
2019-02-12 17:33:32 +00:00
Andy Wilkinson 0adea5a905 Merge branch '2.1.x' 2019-02-12 16:42:15 +00:00
Andy Wilkinson 948bafa4d8 Repackage kotlin-module metadata beneath BOOT-INF/classes
Closes gh-15890
2019-02-12 16:41:15 +00:00
Andy Wilkinson 5045c3b8b8 Merge branch '2.1.x' 2019-02-12 16:34:43 +00:00
Andy Wilkinson 3a6d15acf6 Caution against using component scanning in an auto-configuration
Closes gh-15348
2019-02-12 16:34:05 +00:00
Andy Wilkinson 1aa7b30b70 Merge branch '2.1.x' 2019-02-12 16:26:46 +00:00
Andy Wilkinson 8e6b4629d4 Tolerate AuthenticationSwitchUserEvent with null target user
When Spring Security is misconfigured it's possible to switch from an anonymous user
to a normal user. When switching back again, the corresponding
AuthenticationSwitchUserEvent will have a null target user. Previously, Actuator's
AuthenticationAuditListener would throw a NullPointerException when it received such an
event.

This commit updates the audit listener to defensively handled events with a null target
user.

Closes gh-15767
2019-02-12 16:26:19 +00:00
Stephane Nicoll 738da8ffca Merge branch '2.1.x' 2019-02-12 17:18:17 +01:00
Stephane Nicoll a1fbfbe6be Polish contribution
Closes gh-15859
2019-02-12 17:17:29 +01:00
Matthias Stock 3c761cfc96 Polish 'Database Initialization' section
See gh-15859
2019-02-12 17:17:06 +01:00
Stephane Nicoll f6f6d97269 Update copyright year 2019-02-12 17:14:59 +01:00
Stephane Nicoll b91f613ca0 Polish "Change "Colophon" to "Legal""
Closes gh-15580
2019-02-12 17:01:13 +01:00
Chintan Pandya 781e055256 Change "Colophon" to "Legal"
See gh-15580
2019-02-12 17:01:13 +01:00
Andy Wilkinson c41924f7d4 Merge branch '2.1.x' 2019-02-12 15:45:55 +00:00
Andy Wilkinson ab8fcf0d71 Polish "Use class for @ConditionalOnClass"
See gh-15775
2019-02-12 15:45:05 +00:00
Johnny Lim b423962c89 Use class for @ConditionalOnClass
See gh-15775
2019-02-12 15:45:00 +00:00
Stephane Nicoll f42cec9eac Polish "Support for capping archived log files"
Closes gh-15325
2019-02-12 16:31:58 +01:00
Robert Thornton 999780f342 Support for capping archived log files
See gh-15325
2019-02-12 16:31:58 +01:00
Andy Wilkinson c04eba7ebc Polish "Add TestNG support in TestTypeExcludeFilter"
See gh-7630
2019-02-12 15:28:19 +00:00
Eddú Meléndez b005008cac Add TestNG support in TestTypeExcludeFilter
See gh-7630
2019-02-12 15:27:51 +00:00
Andy Wilkinson 4d9513404a Merge branch '2.1.x' 2019-02-12 15:27:08 +00:00
Andy Wilkinson 5ae7aeff21 Revert "Upgrade to Saaj Impl 1.5.1"
This reverts commit 1f47bd9717.

See gh-15915
2019-02-12 15:26:45 +00:00
Andy Wilkinson 22192c2b5c Polish "Make auto-config of RestTemplate metrics back off with no builder bean"
Closes gh-15842
2019-02-12 14:35:38 +00:00
Raheela 8f3c4dbc64 Make auto-config of RestTemplate metrics back off with no builder bean
See gh-15842
2019-02-12 14:28:48 +00:00
Andy Wilkinson 48e781181e Merge branch '2.1.x' 2019-02-12 14:15:20 +00:00
Andy Wilkinson 799ac24da1 Reinstate auto-config of RequestContextFilter with Jersey
Previously, the auto-configuration for both Jersey and WebMvc would auto-configure
a RequestContextFilter bean. In 2.1.0, this led to a startup failure due to the latter
attempting to override the bean defined by the former. In addition to the override there
were also problems with the order of the filter as Jersey uses -1 and MVC uses -105.

To avoid the above-described problems, the auto-configuration of the RequestContextFilter
was removed from JerseyAutoConfiguration in 2.1.1. Unfortunately, the broke
request-scoped beans for those using only Jersey.

This commit attempts to strike a better balance by reintroducing the auto-configuration
of RequestContextFilter in JerseyAutoConfiguration. It will back off if the user defines
their own filter or filter registration. WebMvcAutoConfiguration has been updated to
back off in the same manner. This leaves the potential for ordering problems, but they
are no worse than they were before. Furthermore, the user has the means to correct any
problems by using the various filter ordering properties that are provided for Jersey,
Spring Session, Spring Security, etc.

Closes gh-15376
2019-02-12 14:05:36 +00:00
Andy Wilkinson 2e66fc1d76 Merge branch '2.1.x' 2019-02-12 13:54:31 +00:00
Andy Wilkinson cc64398800 Revert "Upgrade to Couchbase Client 2.7.3"
This reverts commit 06feb728b8.

See gh-15914
2019-02-12 13:53:43 +00:00
Stephane Nicoll 6905edc649 Merge branch '2.1.x' 2019-02-12 13:35:37 +01:00
Stephane Nicoll 4469c46b0a Polish "Document internationalization support"
Closes gh-15881
2019-02-12 13:34:53 +01:00
Kedar Joshi 989ac08f34 Document internationalization support
See gh-15881
2019-02-12 13:03:50 +01:00
Andy Wilkinson 5967a3b81d Merge branch '2.1.x' 2019-02-12 11:58:50 +00:00
Andy Wilkinson ef10eed83f Upgrade to Lombok 1.18.6
Closes gh-15928
2019-02-12 11:57:37 +00:00
Andy Wilkinson 3ec19362d6 Upgrade to Pooled Jms Version 1.0.4
Closes gh-15927
2019-02-12 11:57:37 +00:00
Andy Wilkinson 2ea9037aef Upgrade to Liquibase 3.6.3
Closes gh-15926
2019-02-12 11:57:37 +00:00
Andy Wilkinson 4cd1e68660 Upgrade to Mimepull 1.9.11
Closes gh-15925
2019-02-12 11:57:37 +00:00
Andy Wilkinson ba786048e0 Upgrade to Infinispan 9.4.6.Final
Closes gh-15924
2019-02-12 11:57:37 +00:00
Andy Wilkinson 8076dbc277 Upgrade to Groovy 2.5.6
Closes gh-15923
2019-02-12 11:57:37 +00:00
Andy Wilkinson 8b9b162675 Upgrade to Tomcat 9.0.16
Closes gh-15922
2019-02-12 11:57:37 +00:00
Andy Wilkinson 6dcf0ebb9b Upgrade to Log4j2 2.11.2
Closes gh-15921
2019-02-12 11:30:46 +00:00
Andy Wilkinson f8548d10b4 Upgrade to Artemis 2.6.4
Closes gh-15920
2019-02-12 11:30:45 +00:00
Andy Wilkinson 14212e9e22 Upgrade to Byte Buddy 1.9.10
Closes gh-15919
2019-02-12 11:30:44 +00:00
Andy Wilkinson ec9fe4bed5 Upgrade to Mysql 8.0.15
Closes gh-15918
2019-02-12 11:30:43 +00:00
Andy Wilkinson 59e9396c7d Upgrade to Undertow 2.0.17.Final
Closes gh-15917
2019-02-12 11:30:43 +00:00
Andy Wilkinson c2b5d9655d Upgrade to Rxjava2 2.2.6
Closes gh-15916
2019-02-12 11:30:42 +00:00
Andy Wilkinson 1f47bd9717 Upgrade to Saaj Impl 1.5.1
Closes gh-15915
2019-02-12 11:30:41 +00:00
Andy Wilkinson 06feb728b8 Upgrade to Couchbase Client 2.7.3
Closes gh-15914
2019-02-12 11:30:40 +00:00
Andy Wilkinson 0f2e13e707 Merge branch '2.0.x' into 2.1.x 2019-02-12 11:28:06 +00:00
Andy Wilkinson 103e072836 Upgrade to Thymeleaf Extras Java8time 3.0.3.RELEASE
Closes gh-15913
2019-02-12 11:17:54 +00:00
Andy Wilkinson 776e6bd47b Upgrade to Neo4j Ogm 3.1.7
Closes gh-15912
2019-02-12 11:17:53 +00:00
Andy Wilkinson 4bc40f9c47 Upgrade to Hibernate 5.2.18.Final
Closes gh-15911
2019-02-12 11:17:52 +00:00
Andy Wilkinson bb0d948f66 Upgrade to Janino 3.0.12
Closes gh-15910
2019-02-12 11:17:51 +00:00
Andy Wilkinson 33c32e8cb4 Upgrade to Reactor Bom Bismuth-SR16
Closes gh-15909
2019-02-12 11:17:50 +00:00
Andy Wilkinson 8ddf4a5a52 Upgrade to Netty 4.1.33.Final
Closes gh-15908
2019-02-12 11:17:49 +00:00
Andy Wilkinson b16aa6b21c Merge branch '1.5.x' into 2.0.x 2019-02-12 11:08:12 +00:00
Andy Wilkinson db31e42751 Merge branch '2.1.x' 2019-02-12 09:58:21 +00:00
Andy Wilkinson a975c0ad16 Use Testcontainers’ CassandraContainer rather than our own
Closes gh-15901
2019-02-12 09:58:05 +00:00
Andy Wilkinson 1c90a89acd Merge branch '2.1.x' 2019-02-12 09:47:42 +00:00
Andy Wilkinson 8426d8854f Import Testcontainers' bom rather than managing modules individually
Closes gh-15900
2019-02-12 09:46:20 +00:00
Andy Wilkinson 2884d99a5d Complete move to Testcontainers' Neo4j container
Closes gh-15638
2019-02-12 09:46:11 +00:00
Stephane Nicoll 82f33adba5 Polish "Add support for jdbc:firebird: url prefix"
Closes gh-15841
2019-02-12 10:32:44 +01:00
Mark Rotteveel 2ab7ece36d Add support for jdbc:firebird: url prefix
See gh-15841
2019-02-12 10:32:44 +01:00
Andy Wilkinson 7e51e1a076 Merge branch '2.1.x' 2019-02-12 09:26:59 +00:00
Andy Wilkinson 01b8e2c834 Polish “Replace custom Neo4j container with Testcontainers version”
See gh-15638
2019-02-12 09:25:07 +00:00
Michael Simons 316126e8f0 Replace custom Neo4j container with Testcontainers version
See gh-15638
2019-02-12 09:24:44 +00:00
Andy Wilkinson 8e0cc278b2 Merge branch '2.1.x' 2019-02-11 20:00:09 +00:00
Andy Wilkinson a5aceb35d7 Upgrade to Testcontainers 1.10.6
Closes gh-15893
2019-02-11 19:59:32 +00:00
Andy Wilkinson 6fe226d781 Merge branch '2.1.x' 2019-02-11 17:38:24 +00:00
Andy Wilkinson 20f26c4d30 Polish "Fix stopping of Embedded Mongo before context is closed"
See gh-15692
2019-02-11 17:34:40 +00:00
Eugene 750246f021 Fix stopping of Embedded Mongo before context is closed
See gh-15692
2019-02-11 17:33:59 +00:00
Johnny Lim 9f6c5e4e39 Polish 2019-02-11 17:19:19 +00:00
Andy Wilkinson b5c9afc055 Merge branch '2.1.x' 2019-02-11 17:12:51 +00:00
Andy Wilkinson 295a660e35 Polish "Set NO_REQUEST_TIMEOUT as a server option not a socket option"
See gh-15822
2019-02-11 17:11:20 +00:00
ayudovin dbce3731a4 Set NO_REQUEST_TIMEOUT as a server option not a socket option
See gh-15822
2019-02-11 17:08:16 +00:00
dreis2211 3fb87a4506 Clean up SpringPropertyAction.getValue()
See gh-15885
2019-02-11 16:58:40 +00:00
Andy Wilkinson 648cbaaceb Merge pull request #15854 from Camille Vienot
* gh-15854:
  Polish "Remove dependency management for xml-apis"
  Remove dependency management for xml-apis

Closes gh-15854
2019-02-11 16:54:13 +00:00
Andy Wilkinson c2c971e755 Polish "Remove dependency management for xml-apis"
See gh-15854
2019-02-11 16:53:05 +00:00
Camille Vienot c7dba26812 Remove dependency management for xml-apis
See gh-15854
2019-02-11 16:52:44 +00:00
Andy Wilkinson c6a1df6cd4 Merge branch '2.1.x' 2019-02-11 16:42:29 +00:00
Jeffrey van der Laan 4f86233ca7 Do not auto-configure OEMIV filter when user defines registration bean
See gh-15889
2019-02-11 16:33:06 +00:00
Andy Wilkinson d9ec48ef12 Merge branch '2.1.x' 2019-02-11 16:13:52 +00:00
Andy Wilkinson 3f32fbd0de Polish "Remove unwanted @Nullable annotations"
See gh-15876
2019-02-11 16:11:40 +00:00
wonwoo 2855321074 Remove unwanted @Nullable annotations
See gh-15876
2019-02-11 16:07:29 +00:00
Andy Wilkinson 2cda30988e Merge branch '2.1.x' 2019-02-11 16:00:55 +00:00
Andy Wilkinson 6fe9e3a0e1 Test the Gradle plugin against Gradle 5.2.1
Closes gh-15892
2019-02-11 15:51:14 +00:00
Andy Wilkinson 4faa0f51b7 Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
Closes gh-15791
2019-02-11 15:49:59 +00:00
dreis2211 1de372d896 Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
See gh-15791
2019-02-11 15:35:06 +00:00
dreis2211 1c50e7cf87 Polish
Closes gh-15823
2019-02-10 10:36:37 +01:00
Kedar Joshi 4a253ff87c Polish
1. Removed unnecessary null checks
2. Combined collection initialization and modification
3. Minor collections related optimizations

Closes gh-15837
2019-02-10 10:35:36 +01:00
tim-toady 4acebf45be Fix broken link to Appendix
Closes gh-15883
2019-02-09 09:34:49 +01:00
Madhura Bhave 4d69e127c8 Merge branch '2.1.x' 2019-02-08 18:38:21 -08:00
Madhura Bhave 26da45aa9a Configure a JerseyApplicationPath bean for the actuators
This commit also ensures that Jersey-based actuator endpoints are
available before the user has configured a `ResourceConfig` bean

Fixes gh-15625
Fixes gh-15877
2019-02-08 18:38:01 -08:00
Brian Clozel 8bcbcf6c27 Merge branch '2.1.x' 2019-02-08 19:48:49 +01:00
Brian Clozel c24f02696f Upgrade to Californium-BUILD-SNAPSHOT
See gh-15878
2019-02-08 19:45:24 +01:00
Madhura Bhave 8528f7c140 Make spring.profiles.include behave consistently
Previously, if profiles were included via a property source with higher
precedence than config files, profiles activated via config files would
not be taken into account. This commit makes spring.profiles.include
behave consistently where it adds to active profiles rather than replacing
them, regardless of property source.

Fixes gh-15344
2019-02-08 10:28:52 -08:00
Brian Clozel 99656b9dd8 Merge branch '2.1.x' 2019-02-08 18:35:12 +01:00
Brian Clozel 72c8e5d366 Collect HTTP trace at commit time for WebFlux
Prior to this commit, the `HttpTraceWebFilter` would collect the
response information (status and headers) for tracing purposes, after
the handling chain is done with the exchange - inside a
`doAfterSuccessOrError`.

Once the handler has processed the exchange, there is no strong
guarantee about the HTTP resources being still present. Depending on the
web server implementation, HTTP resources (including HTTP header maps)
might be recycled, because pooled in the first place.

This commit moves the collection and processing of the HTTP trace right
before the response is committed. This removes the need to handle
special cases with exceptions, since by that time all exception handlers
have processed the response and the information that we extract is the
information that's about to be written to the network.

Fixes gh-15819
2019-02-08 18:16:39 +01:00
Brian Clozel e8fef97335 Merge branch '2.1.x' 2019-02-08 12:29:39 +01:00
Brian Clozel cba6079b7b Log unhandled server exceptions in WebFlux
Prior to this commit, errors unhandled by custom `WebExceptionHandler`
and resulting in an HTTP 500 status would not be logged at ERROR level,
giving no information to developers about the actual exception.

This commit ensures that such exceptions are logged at the ERROR level
with their exception. By the time the exception hits the
`DefaultErrorWebExceptionHandler`, if the response is already committed
or if the exception is due to a client disconnecting, the error is
delegated to Framework support as Spring Boot won't be able to render an
error page as expected.

Fixes gh-15769
2019-02-08 12:25:05 +01:00
Stephane Nicoll 380d7ec01c Merge branch '2.1.x' 2019-02-08 09:21:06 +01:00
Johnny Lim 885c28891b Polish
Closes gh-15873
2019-02-08 09:20:15 +01:00
Stephane Nicoll 9eccf6c367 Merge branch '2.1.x' 2019-02-08 08:45:43 +01:00
dreis2211 48295e16fc Fix assertion
Closes gh-15871
2019-02-08 08:45:12 +01:00
Madhura Bhave e3fad4e973 Merge branch '2.1.x' 2019-02-07 16:42:10 -08:00
Madhura Bhave dc31f617b3 Document limitations of YAML documents & profile-specific files
Fixes gh-15790
2019-02-07 16:40:53 -08:00
Andy Wilkinson 88f563ab4f Merge branch '2.1.x' 2019-02-07 14:36:19 +00:00
Andy Wilkinson 688eb894d0 Start building against Micrometer 1.1.3 snapshots
See gh-15869
2019-02-07 12:44:10 +00:00
Andy Wilkinson 4efca4a455 Start building against Spring Session Bean-SR3 snapshots
See gh-15868
2019-02-07 12:43:26 +00:00
Andy Wilkinson 01693bb1fd Start building against Spring Kafka 2.2.4 snapshots
See gh-15867
2019-02-07 12:42:45 +00:00
Andy Wilkinson 474a706cc3 Start building against Spring Integration 5.1.3 snapshots
See gh-15866
2019-02-07 12:42:09 +00:00
Andy Wilkinson 245d3cf9f4 Start building against Spring AMQP 2.1.4 snapshots
See gh-15865
2019-02-07 12:41:28 +00:00
Andy Wilkinson 96cf7b1e64 Start building against Spring Data Lovelace-SR5 snapshots
See gh-15864
2019-02-07 12:40:49 +00:00
Andy Wilkinson 333fe77f58 Start building against Spring Security 5.1.4 snapshots
See gh-15863
2019-02-07 12:40:11 +00:00
Andy Wilkinson 1f4927b65d Start building against Spring Framework 5.1.5 snapshots
See gh-15862
2019-02-07 12:39:33 +00:00
Stephane Nicoll b169406bbe Polish contribution
Closes gh-15853
2019-02-06 09:14:06 +01:00
Kedar Joshi b43718c360 Polish
See gh-15853
2019-02-06 09:13:53 +01:00
Andy Wilkinson ecb7e240eb Merge branch '2.1.x' 2019-02-05 12:33:19 +00:00
Andy Wilkinson 59c66eaf41 Correct documented path for locked synchronizer's identity hashcode
Closes gh-15847
2019-02-05 12:30:46 +00:00
Andy Wilkinson ebcc53a9b7 Include tasks with custom triggers in scheduledtasks endpoint output
Closes gh-15815
2019-02-05 12:12:07 +00:00
Andy Wilkinson 89bf486d0c Merge branch '2.1.x' 2019-02-05 11:39:37 +00:00
Andy Wilkinson 1f67707509 Fix cast in TestRestTemplateContextCustomizer
Closes gh-15843
2019-02-05 11:39:25 +00:00
Andy Wilkinson b3abd25e22 Merge branch '2.1.x' 2019-02-05 11:11:07 +00:00
Andy Wilkinson 8a7958ef55 Do not use reflection to fall back to JDKs jar URLStreamHandler
Closes gh-15844
2019-02-05 10:59:32 +00:00
Andy Wilkinson 45cc649c7d Merge branch '2.1.x' 2019-02-04 12:36:33 +00:00
Andy Wilkinson 82bc87560c Use AssertJ’s exception assertions rather than fail
Closes gh-15761
2019-02-04 11:48:26 +00:00
Stephane Nicoll a84a6c34ba Merge branch '2.1.x' 2019-02-02 20:22:22 +01:00
Stephane Nicoll 9357a92503 Add reference to Codecentric's SOAP Web Services starter 2019-02-02 20:21:57 +01:00
Andy Wilkinson 342bced125 Merge branch '2.1.x' 2019-02-01 13:48:02 +00:00
Andy Wilkinson 2650a07dc9 Leave module-info.class in root of archive when repackaging
Closes gh-15810
2019-02-01 13:47:42 +00:00
Stephane Nicoll 5269ea5536 Polish contribution
Closes gh-15754
2019-01-31 16:33:38 +01:00
Johnny Lim 6603033bbc Polish SessionConfigurationImportSelector.selectImports()
See gh-15754
2019-01-31 16:33:02 +01:00
Stephane Nicoll 002fa405a8 Merge branch '2.1.x' 2019-01-31 16:26:37 +01:00
Stephane Nicoll ede23caace Polish "Inject Map directly rather than via ObjectProvider"
Closes gh-15798
2019-01-31 16:25:18 +01:00
ayudovin 3a2e85ce75 Inject Map directly rather than via ObjectProvider
See gh-15798
2019-01-31 16:24:18 +01:00
Stephane Nicoll c5675de666 Polish "Handle AccessControlException in JspTemplateAvailabilityProvider"
Closes gh-15778
2019-01-31 16:21:48 +01:00
ayudovin 81273bdf9a Handle AccessControlException in JspTemplateAvailabilityProvider
See gh-15778
2019-01-31 16:20:19 +01:00
Stephane Nicoll 5e2d5959f3 Polish 2019-01-29 15:56:48 +01:00
dreis2211 5b3e1aa21a Optimize ConfigurationPropertyName
This commit changes the iteration order when checking for element
equality. This is based on the educated guess that child elements
will likely differ while parents will probably be the same.

E.g. comparing "spring.banner.charset" with "spring.banner.location"
will now first check "charset" against "location" and thus saves some
cycles for elements that will be the same.

See gh-15782
2019-01-28 11:39:40 +00:00
Andy Wilkinson 0e77445a9a Polish "Optimize BeanPropertyName.toDashedForm()"
See gh-15779
2019-01-28 11:37:55 +00:00
dreis2211 3c8d9d00e5 Optimize BeanPropertyName.toDashedForm()
See gh-15779
2019-01-28 11:37:49 +00:00
Andy Wilkinson 47b378e373 Derive StringBuilder's size from number of elements
Previously, when ConfigurationPropertyName was building the String
returned from toString() it would use a StringBuilder with the
default initial capacity of 16. For properties with several
elements this was likely to be too small resulting in the builder's
buffer being resized.

This commit sizes the StringBuilder as a multiple of the number of
elements in the name, attempting to strike a balance between
allocating a StringBuilder with an initial capacity that's too
large and wastes memory and an initial capacity that's too small
and requires resizing.

See gh-15760
2019-01-28 11:34:28 +00:00
Andy Wilkinson 39e2aaa41c Size the ElementsParser based on expected number of elements
Previously, the ElementsParser would be created using its default
capacity of 6 even when parsing a String that is expected to
produce a single element.

This commit updates ConfigurationPropertyName to create an
ElementsParser with a capacity of 1 when parsing a String that should
contain only a single element.

See gh-15760
2019-01-28 11:34:28 +00:00
Andy Wilkinson 8ec6c372e4 Do not expand ElementsParser until size equals storage length
Previously, ElementsParser would expand its internal storage when the
size of the storage was <= the end index of the element being parsed,
irrespective of how many elements had been stored. This led to
expansion of the storage, even for a source that contains a single
element, if the end of the element was at an index greater than the
size of the storage.

This commit updates ElementsParser to resize its storage when the size
(the number of elements that have been stored) is equal to the size of
the storage.

See gh-15760
2019-01-28 11:34:28 +00:00
Andy Wilkinson 2956b86035 Avoid creating ConfigurationPropertyName just to get its Elements
See gh-15760
2019-01-28 11:34:28 +00:00
dreis2211 d4ab101223 Use Assertions.contentOf() where possible
Closes gh-15793
2019-01-28 10:08:57 +01:00
Stephane Nicoll 342212b8dc Merge branch '2.1.x' 2019-01-28 10:08:02 +01:00
Stephane Nicoll 6f86a84301 Polish "Alias auto-configured `TaskExecutor` to make async tasks use it"
Closes gh-15748
2019-01-28 10:04:30 +01:00
Camille Vienot d0859f1569 Alias auto-configured `TaskExecutor` to make async tasks use it
See gh-15748
2019-01-28 09:59:55 +01:00
Stephane Nicoll a6815bb2c9 Merge branch '2.1.x' 2019-01-25 10:45:26 +01:00
Vedran Pavic d7550d73a3 Remove duplicate code from HealthWebEndpointResponseMapper
Closes gh-15784
2019-01-25 10:38:16 +01:00
Andy Wilkinson babe98f064 Merge branch '2.1.x' 2019-01-22 11:54:05 +00:00
Andy Wilkinson a172e146de Polish "Always fail fast when SSL is enabled without a key store"
Closes gh-15709
2019-01-22 11:51:29 +00:00
Raheela 62c8ac6ee8 Always fail fast when SSL is enabled without a key store
See gh-15709
2019-01-22 11:50:19 +00:00
Andy Wilkinson 2cb147af7c Merge branch '2.1.x' 2019-01-22 09:22:17 +00:00
Andy Wilkinson e15e140f8c Polish "Fix typos in JsonContentAssert failure messages"
See gh-15752
2019-01-22 09:19:41 +00:00
Johnny Lim 3744082996 Fix typos in JsonContentAssert failure messages
Closes gh-15752
2019-01-22 09:19:25 +00:00
Andy Wilkinson f23a0a5969 Inject InfoContributorProperties more precisely
Closes gh-15750
2019-01-21 16:56:39 +00:00
Andy Wilkinson 530c7bee71 Do not auto-configure HttpMessageConverters in reactive web apps
Closes gh-15712
2019-01-18 14:57:14 -05:00
Andy Wilkinson 6abd18ae96 Do not auto-configure RestTemplateBuilder in reactive web apps
Closes gh-15718
2019-01-18 14:50:24 -05:00
Andy Wilkinson 5d60d6bd62 Use ApplicationContextRunner to test RestTemplateAutoConfiguration 2019-01-18 14:36:18 -05:00
Andy Wilkinson 7dd65074e8 Only perform background pre-init with multiple processors
Closes gh-15722
2019-01-18 11:50:17 -05:00
Stephane Nicoll 32b14f3098 Merge branch '2.1.x' 2019-01-17 16:15:32 -05:00
Stephane Nicoll f0a20b1821 Polish contribution
Closes gh-15733
2019-01-17 16:14:15 -05:00
NAIT BELKACEM 6a0053c8bc Fix typo
See gh-15733
2019-01-17 16:11:11 -05:00
Michael McFadyen 9eeeebcd53 Update 'HTTP Client Metrics' reference documentation
Since gh-#5594, the 'outcome' tag has been introduced for
HTTP clients. This commit updates the reference documentation
accordingly.

Closes gh-15725
2019-01-17 12:14:42 -05:00
Stephane Nicoll cea6a79e49 Merge branch '2.1.x' 2019-01-17 10:58:55 -05:00
Stephane Nicoll 708ca0636f Clarify that Spring Boot uses the platform MBeanServer by default
Closes gh-15728
2019-01-17 10:58:08 -05:00
Stephane Nicoll 33f2bd4d61 Merge branch '2.1.x' 2019-01-14 08:13:37 -05:00
Stephane Nicoll 485bdc9901 Polish "Remove redundant interface modifiers"
Closes gh-15694
2019-01-14 08:13:08 -05:00
igor-suhorukov 2d873c78fe Remove redundant interface modifiers
See gh-15694
2019-01-14 08:12:41 -05:00
Stephane Nicoll 6baa6b291e Polish contribution
Closes gh-15695
2019-01-14 08:11:20 -05:00
Johnny Lim af3ed9ff9f Polish
See gh-15695
2019-01-14 08:09:32 -05:00
Phillip Webb 2f77ef7722 Merge branch '2.1.x' 2019-01-11 16:45:05 -08:00
Phillip Webb 72400d3a96 Upgrade to Spring Batch 4.1.1
Closes gh-15659
2019-01-11 16:43:35 -08:00
Phillip Webb 9e58942698 Update copyright year for changed files 2019-01-11 16:42:02 -08:00
Phillip Webb 6a901199f5 Polish 2019-01-11 16:42:02 -08:00
Andy Wilkinson 023c7159ac Upgrade to Spring Batch 4.0.2.RELEASE
Closes gh-15658
2019-01-11 16:21:35 +00:00
Andy Wilkinson d22e43aefb Merge branch '2.1.x' 2019-01-11 16:07:18 +00:00
Andy Wilkinson f0141dadab Revert "Upgrade to Glassfish Jaxb 2.3.2"
This reverts commit 6b952f5b65.

See gh-15689
2019-01-11 16:07:03 +00:00
Andy Wilkinson f8de67e6e9 Merge branch '2.1.x' 2019-01-11 14:35:14 +00:00
Andy Wilkinson 6b952f5b65 Upgrade to Glassfish Jaxb 2.3.2
Closes gh-15689
2019-01-11 14:32:38 +00:00
Andy Wilkinson 48b485161e Upgrade to Byte Buddy 1.9.7
Closes gh-15688
2019-01-11 14:32:37 +00:00
Andy Wilkinson eb96cdffd2 Upgrade to Reactor Bom Californium-SR4
Closes gh-15687
2019-01-11 14:32:36 +00:00
Andy Wilkinson c5e14afcd1 Upgrade to Micrometer 1.1.2
Closes gh-15686
2019-01-11 14:32:35 +00:00
Andy Wilkinson 1bd030c17a Upgrade to Spring Kafka 2.1.12.RELEASE
Closes gh-15685
2019-01-11 14:29:28 +00:00
Andy Wilkinson 6c81eb0591 Merge branch '2.1.x' 2019-01-11 13:26:54 +00:00
Andy Wilkinson 99df485268 Merge branch '2.0.x' into 2.1.x 2019-01-11 13:26:47 +00:00
Andy Wilkinson 2af133084a Merge branch '1.5.x' into 2.0.x 2019-01-11 13:25:54 +00:00
Andy Wilkinson 784f192cf3 Merge branch '2.1.x' 2019-01-11 10:34:48 +00:00
Andy Wilkinson 6307cb5943 Disable Tomcat’s reference clearing
Closes gh-15101
2019-01-11 10:34:14 +00:00
Johnny Lim 498eef5abb Add starter entry for Azure Application Insights
Closes gh-15628
2019-01-11 08:36:44 +01:00
Stephane Nicoll 8d1d3fb087 Polish "Avoid string concatenation inside StringBuilder append()"
Closes gh-15589
2019-01-11 08:30:12 +01:00
igor-suhorukov 59ac85d371 Avoid string concatenation inside StringBuilder append()
See gh-15589
2019-01-11 08:28:19 +01:00
Stephane Nicoll 29a45a7b7b Merge branch '2.1.x' 2019-01-11 08:20:48 +01:00
Stephane Nicoll e95a6e8c5c Upgrade to Spring Kafka 2.2.3
Closes gh-15414
2019-01-11 08:19:16 +01:00
Stephane Nicoll c18a0756ac Upgrade to Spring Session Bean-SR2
Closes gh-15531
2019-01-11 08:18:11 +01:00
Stephane Nicoll def5c15a14 Upgrade to Spring Security 5.1.3
Closes gh-15417
2019-01-11 08:17:27 +01:00
Stephane Nicoll 211d7aee5d Upgrade to Spring Integration 5.1.2
Closes gh-15413
2019-01-11 08:16:48 +01:00
Stephane Nicoll 3fe3ff7be6 Upgrade to Spring AMQP 2.1.3
Closes gh-15407
2019-01-11 08:16:04 +01:00
Stephane Nicoll 89fcb8b381 Upgrade to Spring Session Apple-SR8
Closes gh-15530
2019-01-11 08:13:39 +01:00
Stephane Nicoll aaadc620da Upgrade to Spring Security 5.0.11
Closes gh-15416
2019-01-11 08:12:47 +01:00
Stephane Nicoll 3c917bc80f Upgrade to Spring Integration 5.0.11
Closes gh-15412
2019-01-11 08:11:25 +01:00
Stephane Nicoll e1c2eb04e0 Upgrade to Spring AMQP 2.0.11
Closes gh-15406
2019-01-11 08:10:03 +01:00
Madhura Bhave 2ab0925222 Merge branch '2.1.x' 2019-01-10 13:04:42 -08:00
Madhura Bhave b345fc8574 Fix validation when key matching the prefix is set
Fixes gh-15597
2019-01-10 13:04:12 -08:00
Andy Wilkinson b9d2fab70c Upgrade to Reactor Bom Bismuth-SR15
Closes gh-15676
2019-01-10 15:42:10 +00:00
Stephane Nicoll da96c122ad Merge branch '2.1.x' 2019-01-10 14:24:17 +01:00
Stephane Nicoll 7529179d39 Upgrade to Spring Data Lovelace SR4
Closes gh-15410
2019-01-10 14:22:59 +01:00
Stephane Nicoll f562806744 Merge branch '2.1.x' 2019-01-10 13:39:07 +01:00
Stephane Nicoll 8722d02c1e Merge branch '2.0.x' into 2.1.x 2019-01-10 13:38:34 +01:00
Stephane Nicoll c8c047d3d8 Upgrade to Spring Data Kay SR13
Closes gh-15409
2019-01-10 13:32:28 +01:00
Stephane Nicoll a697d641e7 Upgrade to Neo4j Ogm 3.1.6
Closes gh-15671
2019-01-10 13:30:36 +01:00
Stephane Nicoll dca6879d4e Polish "Remove an unused interface in RestarterTests"
Closes gh-15666
2019-01-10 13:25:34 +01:00
Johnny Lim d7f0c1d63c Remove an unused interface in RestarterTests
See gh-15666
2019-01-10 13:25:14 +01:00
Stephane Nicoll badccc083e Merge branch '2.1.x' 2019-01-10 10:29:18 +01:00
Stephane Nicoll cdf76e34a9 Merge branch '2.0.x' into 2.1.x 2019-01-10 10:26:40 +01:00
Stephane Nicoll 44dc29901b Upgrade to Micrometer 1.0.9
Closes gh-15669
2019-01-10 10:21:15 +01:00
Stephane Nicoll 9a35a037a9 Upgrade to Spring Web Services 3.0.6.RELEASE
Closes gh-15667
2019-01-10 10:20:17 +01:00
Stephane Nicoll 28f89773ce Merge branch '2.1.x' 2019-01-09 15:09:58 +01:00
Stephane Nicoll 5a5367591a Upgrade to Spring Framework 5.1.4.RELEASE
Closes gh-15493
2019-01-09 14:41:05 +01:00
Stephane Nicoll e28b802775 Upgrade to Spring Framework 5.0.12.RELEASE
Closes gh-15528
2019-01-09 14:39:59 +01:00
Brian Clozel a3737cd76d Merge branch '2.1.x' 2019-01-08 21:45:54 +01:00
Brian Clozel 958e08c413 Merge branch '2.0.x' into 2.1.x 2019-01-08 21:45:41 +01:00
dreis2211 95e26ffcb9 Avoid uri tag explosion when use of path variable is undetected
This commit aligns the Spring WebFlux instrumentation on Spring MVC
since gh-12447.
From now on, if the best matching path pattern is not found,
the recorded uri tag will be "UNKNOWN".

Note that for WebFlux.fn, the pattern information is properly
recorded as of SPR-17395.

Closes gh-15609
2019-01-08 21:45:06 +01:00
Brian Clozel d5ae59dad7 Polish
Closes gh-15594
2019-01-08 18:58:48 +01:00
Nishant Raut 21df40b6c7 Add an outcome tag to web client metrics
Similar to what's ben done in gh-15420 for Spring MVC and Spring
WebFlux, this commit adds an outcome tag for the client side on both
`RestTemplate` and `WebClient`.

See gh-15594
2019-01-08 18:57:05 +01:00
Brian Clozel a83d9635af Merge branch '2.1.x' 2019-01-08 16:13:35 +01:00
Brian Clozel 6200a319f2 Polish
Closes gh-15385
2019-01-08 16:13:18 +01:00
ayudovin e9588ca04b Support server.connection-timeout for Netty server 2019-01-08 16:03:08 +01:00
Brian Clozel ead9b51c9b Merge branch '2.1.x' 2019-01-08 14:26:37 +01:00
Brian Clozel c40e61c117 Merge branch '2.0.x' into 2.1.x 2019-01-08 14:26:03 +01:00
Brian Clozel 0e13fd039d Configure HTTP compression for HTTP/2 with Tomcat
This commit ensures that the compression options are also applied on the
`Http2Protocol` when http/2 is enabled with Tomcat.

Closes gh-15591
2019-01-08 14:14:10 +01:00
Stephane Nicoll 2b304e3d69 Merge branch '2.1.x' 2019-01-08 11:31:17 +01:00
Stephane Nicoll ca7f338a39 Polish "Remove redundant throws Exception"
Closes gh-15647
2019-01-08 11:27:28 +01:00
Stephane Nicoll 5ea9ac0ac6 Merge branch '2.1.x' 2019-01-08 11:14:32 +01:00
Stephane Nicoll 02581c005a Polish "Fix typo"
Closes gh-15642
2019-01-08 11:12:05 +01:00
Michael Simons 7a2313892c Fix typo
See gh-15642
2019-01-08 11:11:34 +01:00
Stephane Nicoll 5fdcb219bb Merge branch '2.1.x' 2019-01-08 10:42:48 +01:00
小呆 e5b2aeb5da Remove redundant throws Exception
Closes gh-15645
2019-01-08 10:42:11 +01:00
Brian Clozel 06bdb422b5 Upgrade to Reactor Californium-BUILD-SNAPSHOT 2019-01-07 18:42:27 +01:00
Stephane Nicoll 2dd3171b89 Merge branch '2.1.x' 2019-01-07 17:19:27 +01:00
Stephane Nicoll 4670770da9 Merge branch '2.0.x' into 2.1.x 2019-01-07 17:18:47 +01:00
Stephane Nicoll 7330b8b16f Upgrade to Hibernate Validator 6.0.14.Final
Closes gh-15639
2019-01-07 17:16:01 +01:00
Stephane Nicoll 448f1626f9 Merge branch '2.1.x' 2019-01-07 14:56:18 +01:00
Stephane Nicoll 830da28b8c Fix JPA bootstrap executor detection with multiple candidates
Spring Boot provides two separate auto-configurations that can
potentially expose an `AsyncTaskExecutor` implementation so relying on
the presence of a single instance is too weak.

This commit fixes the detection of the AsyncTaskExecutor that can be
used to bootstrap JPA so that a single instance is used and, in the case
more than one exists, the one named `applicationTaskExecutor`.

Closes gh-15447
2019-01-07 14:54:59 +01:00
Stephane Nicoll 8136db69b6 Merge branch '2.1.x' 2019-01-07 13:59:55 +01:00
Stephane Nicoll d4992777b9 Improve TaskExecution documentation with custom Executor and Spring MVC
Closes gh-15447
2019-01-07 13:59:42 +01:00
Stephane Nicoll 5e736c0d1f Merge branch '2.1.x' 2019-01-07 13:46:23 +01:00
Stephane Nicoll 6ad01a6dfc Optimize ConditionalOnEnabledEndpoint usage
Closes gh-15451
2019-01-07 13:45:53 +01:00
Stephane Nicoll 2d2aa96c05 Allow ConditionalOnEnabledEndpoint to be set at class level
See gh-15451
2019-01-07 13:45:35 +01:00
Stephane Nicoll 2153a7529d Add missing dependency management for hazelcast-hibernate53
Closes gh-15618
2019-01-06 11:49:09 +01:00
Stephane Nicoll 5535d4d9b2 Upgrade to Flatten Maven Plugin 1.1.0
Closes gh-15622
2019-01-04 14:01:36 +01:00
Stephane Nicoll 8efddf57a5 Upgrade to Hibernate 5.4.0.Final
Closes gh-15621
2019-01-04 14:01:35 +01:00
Stephane Nicoll fea30962dd Upgrade to Hikaricp 3.3.0
Closes gh-15620
2019-01-04 14:01:34 +01:00
Stephane Nicoll 99cd74519d Upgrade to Rabbit Amqp Client 5.5.2
Closes gh-15619
2019-01-04 14:01:34 +01:00
Stephane Nicoll e91776a7a8 Upgrade to Hazelcast Hibernate5 1.3.1
Closes gh-15618
2019-01-04 14:01:33 +01:00
Stephane Nicoll 5b0a5b319e Merge branch '2.1.x' 2019-01-04 13:55:41 +01:00
Stephane Nicoll 580c73a026 Upgrade to Jooq 3.11.9
Closes gh-15617
2019-01-04 13:49:21 +01:00
Stephane Nicoll b0dbe09b8c Upgrade to Ehcache3 3.6.3
Closes gh-15616
2019-01-04 13:49:20 +01:00
Stephane Nicoll 232f0fe894 Upgrade to Groovy 2.5.5
Closes gh-15615
2019-01-04 13:49:20 +01:00
Stephane Nicoll 383da2183e Upgrade to Rxjava2 2.2.5
Closes gh-15614
2019-01-04 13:49:19 +01:00
Stephane Nicoll a713e598e7 Upgrade to Dropwizard Metrics 4.0.5
Closes gh-15613
2019-01-04 13:49:19 +01:00
Stephane Nicoll 8024c2c543 Merge branch '2.0.x' into 2.1.x 2019-01-04 13:44:38 +01:00
Stephane Nicoll d909b722f6 Upgrade to Maven Assembly Plugin 3.1.1
Closes gh-15612
2019-01-04 13:37:48 +01:00
Stephane Nicoll 1132ad411d Upgrade to Johnzon Jsonb 1.1.11
Closes gh-15611
2019-01-04 13:37:47 +01:00
Stephane Nicoll f4c7441cc1 Merge branch '2.1.x' 2019-01-04 13:14:47 +01:00
Johnny Lim c41dc4e0cb Fix the anchor for the Micrometer Elasticsearch section
Closes gh-15610
2019-01-04 13:13:53 +01:00
Stephane Nicoll 442225bbf1 Merge branch '2.1.x' 2019-01-03 10:27:13 +01:00
Stephane Nicoll 4729d170a8 Polish "Ensure checking customizer ordering"
Closes gh-15603
2019-01-03 10:26:09 +01:00
Tadaya Tsuyukubo b34e752db6 Ensure checking customizer ordering
See gh-15603
2019-01-03 10:25:49 +01:00
Madhura Bhave 2dc7a89bd4 Merge branch '2.1.x' 2019-01-02 14:00:10 -08:00
Madhura Bhave 5b990605dc Polish "Order actuator security config after resource-server config"
Closes gh-15472
2019-01-02 13:57:49 -08:00
Stephen Doxsee 4597e7cc82 Order actuator security config after resource-server config
See gh-15472
2019-01-02 13:57:40 -08:00
Madhura Bhave aee65441a7 Merge branch '2.1.x' 2019-01-02 10:54:43 -08:00
Madhura Bhave d1e1a82b32 Support binding to collection with EnumSet values
Fixes gh-15539
2019-01-02 10:52:31 -08:00
Stephane Nicoll 6ba1f40e59 Polish "Allow easy customization of EmbeddedMongo DownloadConfig"
Closes gh-15496
2019-01-02 10:33:17 +01:00
michael b5b6889601 Allow easy customization of EmbeddedMongo DownloadConfig
See gh-15496
2019-01-02 10:30:33 +01:00
dreis2211 46e59503ec Use JSONObject.putOpt in JsonConverter
Closes gh-15595
2019-01-02 09:48:35 +01:00
Madhura Bhave 19caff6776 Merge branch '2.1.x' 2018-12-31 13:24:52 -08:00
Oleksii Bondar b52dddf784 Refactor OAuth2ClientPropertiesRegistrationAdapterTests
Closes gh-15586
2018-12-31 13:18:00 -08:00
Stephane Nicoll d0811b48df Polish "Disable Hibernate entity scanning for default JPA setup"
Closes gh-15565
2018-12-31 16:51:43 +01:00
ayudovin 510a8e2ec1 Disable Hibernate entity scanning for default JPA setup
See gh-15565
2018-12-31 16:51:31 +01:00
Stephane Nicoll 33547569db Merge branch '2.1.x' 2018-12-31 10:36:41 +01:00
Stephane Nicoll c6202b57e0 Merge branch '2.0.x' into 2.1.x 2018-12-31 10:36:24 +01:00
Stephane Nicoll be161b23cb Polish class conditions documentation
Closes gh-15578
2018-12-31 10:36:02 +01:00
Stephane Nicoll 1e98c78ab9 Fix typo 2018-12-31 09:59:00 +01:00
Camille Vienot ff8edf8d98 Use assertJ to generate AssertionError and filter its stacktrace
Closes gh-15569
2018-12-31 09:58:13 +01:00
Stephane Nicoll 51936e1a5c Rename "agent" to "agents" to properly indicate its type
Closes gh-15455
2018-12-31 09:50:35 +01:00
Stephane Nicoll 960d375f57 Merge branch '2.1.x' 2018-12-30 10:04:01 +01:00
Stephane Nicoll a8efcadc90 Merge branch '2.0.x' into 2.1.x 2018-12-30 10:02:53 +01:00
Stephane Nicoll 4509164789 Polish "Add unit test for cassandra health checker"
Closes gh-15583
2018-12-30 10:01:37 +01:00
Oleksii Bondar db22a81742 Add unit test for cassandra health checker
See gh-15583
2018-12-30 10:00:59 +01:00
igor-suhorukov 3eb2f5e476 Replace Collections sort with list sort() method
Closes gh-15585
2018-12-30 09:52:05 +01:00
dreis2211 0f5f6f15dc Use hasFieldOrPropertyWithValue where possible
Closes gh-15582
2018-12-30 09:48:27 +01:00
Stephane Nicoll d57f831f50 Polish "Use Optional value in more functional style"
Closes gh-15575
2018-12-29 11:26:56 +01:00
igor-suhorukov 8ced867e95 Use Optional value in more functional style
See gh-15575
2018-12-29 11:26:27 +01:00
Stephane Nicoll 7946bec11f Merge branch '2.1.x' 2018-12-28 18:22:59 +01:00
Stephane Nicoll 8e8910b2ff Merge branch '2.0.x' into 2.1.x 2018-12-28 18:20:43 +01:00
Stephane Nicoll 4cae2c9c94 Polish "Avoid NPE when replacement property does not exist"
Closes gh-15394
2018-12-28 18:19:12 +01:00
hdeadman a1b71ef910 Avoid NPE when replacement property does not exist
See gh-15394
2018-12-28 15:34:23 +01:00
Stephane Nicoll b578dc05df Polish 2018-12-26 09:16:27 +01:00
Stephane Nicoll 1223355fe6 Polish "Simplify code by using for-each loop"
Closes gh-15563
2018-12-25 09:59:41 +01:00
igor-suhorukov dfb3cd51bc Simplify code by using for-each loop
See gh-15563
2018-12-25 09:58:42 +01:00
Stephane Nicoll cc5624efc4 Merge branch '2.1.x' 2018-12-25 09:56:03 +01:00
Stephane Nicoll 27a611f635 Restore reference to nutz third party starter
Closes gh-15564
2018-12-25 09:55:38 +01:00
Stephane Nicoll fbef9700bf Merge branch '2.1.x' 2018-12-24 16:39:47 +01:00
Erik Mulder 00763af335 Fix system properties override example
Closes gh-15562
2018-12-24 16:39:20 +01:00
Stephane Nicoll 805ff6000a Polish "Replace indexOf() with a call to the contains()"
Closes gh-15559
2018-12-24 09:52:29 +01:00
igor-suhorukov b370b1f03a Replace indexOf() with a call to the contains()
See gh-15559
2018-12-24 09:52:15 +01:00
Stephane Nicoll fd12e696b0 Polish "Replace redundant call to class isInstance() with instanceof"
Closes gh-15554
2018-12-23 15:51:39 +01:00
igor-suhorukov 7424f48803 Replace redundant call to class isInstance() with instanceof
See gh-15554
2018-12-23 15:50:22 +01:00
Andy Wilkinson 372b6605b3 Merge branch '2.1.x' 2018-12-21 15:32:31 +00:00
Andy Wilkinson 83ce5dcee8 Add missing task output annotations to BootJar and BootWar
Closes gh-15488
2018-12-21 15:32:04 +00:00
Andy Wilkinson ddf64802c0 Merge branch '2.1.x' 2018-12-21 15:13:10 +00:00
Andy Wilkinson bfd63ab085 Polish "Stop JtaAutoConfiguration from enabling JtaProperties when not used"
Closes gh-15550
2018-12-21 15:12:29 +00:00
Nishant Raut 0b29da14b3 Stop JtaAutoConfiguration from enabling JtaProperties when not used
See gh-15550
2018-12-21 15:12:29 +00:00
igor-suhorukov cbf6b330ba Simplify code by using Map computeIfAbsent
Closes gh-15543
2018-12-21 11:12:56 +01:00
dreis2211 3544ed045b Drop ContentContainingCondition in favor of Assertions.contentOf
Closes gh-15429
2018-12-20 18:05:56 +01:00
Stephane Nicoll 0d67f7ae9a Merge branch '2.1.x' 2018-12-20 18:02:46 +01:00
Stephane Nicoll b039982273 Merge branch '2.0.x' into 2.1.x 2018-12-20 18:02:38 +01:00
dreis2211 9ffb4f69cd Polish javadoc of ConfigurableUndertowWebServerFactory method
Closes gh-15536
2018-12-20 18:01:38 +01:00
Stephane Nicoll c948bdd14d Merge branch '2.1.x' 2018-12-20 17:59:46 +01:00
Stephane Nicoll 51d3626c3b Merge branch '2.0.x' into 2.1.x 2018-12-20 17:59:33 +01:00
dreis2211 27e89bbb8a Optimize StringSequence
Closes gh-15473
2018-12-20 17:55:30 +01:00
Stephane Nicoll 9d67400afa Merge branch '2.1.x' 2018-12-20 17:54:08 +01:00
Stephane Nicoll 06989d884b Polish "Fix StringSequence.equals() for different lengths"
Closes gh-15438
2018-12-20 17:52:18 +01:00
igor-suhorukov e578d30722 Replace anonymous inner class with lambda
See gh-15438
2018-12-20 17:47:29 +01:00
Andy Wilkinson 3a7406fe3a Merge branch '2.0.x' into 2.1.x 2018-12-20 15:58:03 +00:00
Andy Wilkinson 0741c90489 Avoid blocking on a Mono indefinitely
Closes gh-15535
2018-12-20 15:31:39 +00:00
Andy Wilkinson 9d2d6d5812 Merge branch '2.1.x' 2018-12-20 15:30:51 +00:00
Andy Wilkinson 9a33d1a2f9 Merge branch '2.0.x' into 2.1.x 2018-12-20 15:30:42 +00:00
Andy Wilkinson 8c68da0882 Avoid blocking on a Mono indefinitely
Closes gh-15535
2018-12-20 15:24:53 +00:00
Andy Wilkinson d8b487f127 Merge branch '2.1.x' 2018-12-20 11:52:03 +00:00
Andy Wilkinson 84a064a7dc Merge branch '2.0.x' into 2.1.x 2018-12-20 11:51:53 +00:00
Andy Wilkinson 6403ec6e1b Revert "Upgrade to Netty 4.1.32.Final"
This reverts commit f9ce6c9dc2.

See gh-15505
2018-12-20 11:49:33 +00:00
Andy Wilkinson f3794d66e4 Merge branch '2.1.x' 2018-12-20 10:49:39 +00:00
Andy Wilkinson f89682eae7 Add dependency management for xmlunit-assertj and xmlunit-placeholders
Closes gh-15532
2018-12-20 10:49:04 +00:00
Andy Wilkinson b36bb78575 Merge branch '2.1.x' 2018-12-20 10:44:09 +00:00
Andy Wilkinson 974c4bfdb3 Polish 2018-12-20 10:44:01 +00:00
Andy Wilkinson 8cd387aea9 Merge branch '2.1.x' 2018-12-20 10:23:20 +00:00
Andy Wilkinson cedcf157ab Start building against Spring Session Bean-SR2 snapshots
See gh-15531
2018-12-20 10:22:44 +00:00
Andy Wilkinson 0a1add7116 Start building against Spring Session Apple-SR8 snapshots
See gh-15530
2018-12-20 10:20:52 +00:00
Andy Wilkinson c09a76d4c4 Merge branch '2.1.x' 2018-12-20 10:06:43 +00:00
Andy Wilkinson ad489baaa3 Merge branch '2.0.x' into 2.1.x 2018-12-20 10:06:32 +00:00
Andy Wilkinson 658930acea Start building against Spring Framework 5.0.12 snapshots
See gh-15528
2018-12-20 10:03:35 +00:00
Andy Wilkinson d5c8caab59 Merge branch '1.5.x' into 2.0.x 2018-12-20 10:00:35 +00:00
Andy Wilkinson f9591307d3 Upgrade to Webjars Locator Core 0.36
Closes gh-15527
2018-12-20 09:50:22 +00:00
Andy Wilkinson c823817a7e Upgrade to Selenium 3.141.59
Closes gh-15526
2018-12-20 09:50:22 +00:00
Andy Wilkinson 5b101a8a81 Upgrade to Selenium Htmlunit 2.33.3
Closes gh-15525
2018-12-20 09:50:19 +00:00
Andy Wilkinson 47698e1812 Upgrade to Kafka 2.1.0
Closes gh-15524
2018-12-20 09:50:18 +00:00
Andy Wilkinson 9c84f9fc57 Upgrade to Rest Assured 3.2.0
Closes gh-15523
2018-12-20 09:50:17 +00:00
Andy Wilkinson 8aef2e50ea Upgrade to Prometheus Pushgateway 0.6.0
Closes gh-15522
2018-12-20 09:50:16 +00:00
Andy Wilkinson dcf8c42f6f Upgrade to Embedded Mongo 2.2.0
Closes gh-15521
2018-12-20 09:50:15 +00:00
Andy Wilkinson 5d42d976e7 Upgrade to Rabbit Amqp Client 5.5.1
Closes gh-15520
2018-12-20 09:50:14 +00:00
Andy Wilkinson 754b42fd88 Upgrade to Hazelcast Hibernate5 1.3.0
Closes gh-15519
2018-12-20 09:50:13 +00:00
Andy Wilkinson d00d7201c3 Merge branch '2.1.x' 2018-12-20 09:47:29 +00:00
Andy Wilkinson 7b58f9a79e Upgrade to Maven Jar Plugin 3.1.1
Closes gh-15518
2018-12-20 09:47:03 +00:00
Andy Wilkinson 7f80bae0d9 Upgrade to Maven Help Plugin 3.1.1
Closes gh-15517
2018-12-20 09:47:02 +00:00
Andy Wilkinson 525c6970eb Upgrade to Jedis 2.9.1
Closes gh-15516
2018-12-20 09:47:02 +00:00
Andy Wilkinson 6d0e357613 Upgrade to Infinispan 9.4.5.Final
Closes gh-15515
2018-12-20 09:47:01 +00:00
Andy Wilkinson f364439825 Upgrade to Flyway 5.2.4
Closes gh-15514
2018-12-20 09:47:00 +00:00
Andy Wilkinson 4d6e8ca205 Upgrade to Tomcat 9.0.14
Closes gh-15513
2018-12-20 09:46:59 +00:00
Andy Wilkinson 8abcf22f6a Upgrade to Byte Buddy 1.9.6
Closes gh-15512
2018-12-20 09:46:58 +00:00
Andy Wilkinson 2c0eddd28a Upgrade to Embedded Mongo 2.1.2
Closes gh-15511
2018-12-20 09:46:57 +00:00
Andy Wilkinson 2b0976a45f Upgrade to Hazelcast 3.11.1
Closes gh-15510
2018-12-20 09:46:56 +00:00
Andy Wilkinson bec7257508 Upgrade to Couchbase Client 2.7.2
Closes gh-15509
2018-12-20 09:46:55 +00:00
Andy Wilkinson a6a7c95d65 Merge branch '2.0.x' into 2.1.x 2018-12-20 09:43:05 +00:00
Andy Wilkinson 86280f1db2 Upgrade to Jedis 2.9.1
Closes gh-15508
2018-12-20 09:40:46 +00:00
Andy Wilkinson 172a930e31 Upgrade to Jetty El 8.5.35.1
Closes gh-15507
2018-12-20 09:40:45 +00:00
Andy Wilkinson 5ede23226b Upgrade to Elasticsearch 5.6.14
Closes gh-15506
2018-12-20 09:40:44 +00:00
Andy Wilkinson f9ce6c9dc2 Upgrade to Netty 4.1.32.Final
Closes gh-15505
2018-12-20 09:40:43 +00:00
Andy Wilkinson e2433280c2 Upgrade to Jackson 2.9.8
Closes gh-15504
2018-12-20 09:40:41 +00:00
Andy Wilkinson 0a23f3b286 Merge branch '1.5.x' into 2.0.x 2018-12-20 09:36:57 +00:00
Andy Wilkinson 5a07c44a4f Merge branch '2.1.x' 2018-12-19 17:55:51 +00:00
Andy Wilkinson 43d64ba580 Add dependency management for groovy-jaxb introduced in 2.5.1
Closes gh-15468
2018-12-19 17:55:19 +00:00
Andy Wilkinson 524067cd32 Merge branch '2.1.x' 2018-12-19 17:34:25 +00:00
Andy Wilkinson 4101e15421 Add dependency management for missing Groovy 2.5 modules
Closes gh-15468
2018-12-19 17:30:57 +00:00
Andy Wilkinson 70f4d5e5a8 Polish "Apply context and connector customizer beans to Tomcat factories"
Closes gh-15492
2018-12-19 17:09:21 +00:00
Raheela 90c489048f Apply context and connector customizer beans to Tomcat factories
See gh-15492
2018-12-19 17:01:02 +00:00
Andy Wilkinson de599819ae Merge branch '2.1.x' 2018-12-19 16:57:19 +00:00
Andy Wilkinson 33fb1fa9a3 Avoid creating meter binders before registry has been customized
Previously, MeterRegistryPostProcessor would trigger the creation of all
meter binders and meter registry customizers before applying the
customizers and calling the binders. In some situations with complex
dependency graphs where the creation of a binder and the injection of
its dependencies inadvertently triggered some meter binding, this
could result in meters being bound before the registry had been
customized.

This commit reworks MeterRegistryPostProcessor and MeterRegistryConfigurer
to defer the retrieval of registry customizers and meter binders until
just before they are needed. As a result, customizers are now retrieved
and applied before the binders are retrieved.

Closes gh-15483
2018-12-19 16:47:30 +00:00
Andy Wilkinson 903d940dd5 Merge branch '2.1.x' 2018-12-19 12:55:34 +00:00
Andy Wilkinson 007916f1ce Start building against Spring Framework 5.1.4 snapshots
See gh-15493
2018-12-19 12:52:13 +00:00
Andy Wilkinson 0ad72d5b5e Remove reliance on mavenLocal from Gradle plugin’s tests
See gh-15471
2018-12-18 11:41:51 +00:00
Andy Wilkinson 4edc32844a Remove use of execute method inherited from internal class
Closes gh-15484
2018-12-17 17:33:20 +00:00
Stephane Nicoll 317c4c2c38 Merge branch '2.1.x' 2018-12-17 18:26:56 +01:00
Stephane Nicoll 7dbe70dc61 Merge branch '2.0.x' into 2.1.x 2018-12-17 18:26:36 +01:00
Stephane Nicoll c0b07a9429 Polish "Fix StringSequence.equals() for different lengths"
Closes gh-15465
2018-12-17 18:24:08 +01:00
dreis2211 2a0680c2ba Fix StringSequence.equals() for different lengths
See gh-15465
2018-12-17 18:20:09 +01:00
Andy Wilkinson c8a0c99a21 Remove D…S…Init…InvokerTests' assumptions about classpath structure
See gh-15471
2018-12-17 16:35:22 +00:00
Stephane Nicoll 6d251a83dd Merge branch '2.1.x' 2018-12-17 17:15:48 +01:00
Stephane Nicoll af3fada396 Polish "Add missing dependency management entry for hibernate-vibur"
Closes gh-15467
2018-12-17 17:13:30 +01:00
vasili pispanen c955906c3e Add missing dependency management entry for hibernate-vibur
See gh-15467
2018-12-17 17:13:18 +01:00
Stephane Nicoll 6207b46bc6 Merge branch '2.1.x' 2018-12-17 17:07:58 +01:00
dreis2211 948902f090 Avoid unnecessary usage of ReflectionTestUtils
Closes gh-15482
2018-12-17 17:07:23 +01:00
Andy Wilkinson ca13385534 Remove remaining assumption about File separator from LogFileTests
See gh-15471
2018-12-17 14:21:28 +00:00
Andy Wilkinson 3d7e4e99c5 Remove assumption about File separator from LogFileTests
See gh-15471
2018-12-17 14:14:57 +00:00
Andy Wilkinson 6adccbfd30 Make LoggingApplicationListener and tests more robust on Windows
Previously, LoggingApplicationListener its tests, and LogFile made some
assumptions that do not hold true on Windows. Specifically,
LoggingApplicationListenerTests used TestPropertySourceUtils to add
properties to the environment. This uses Java's standard Properties
parsing which does a poor job of handling Windows file paths (Strings
with backslashes in them). Secondly, LogFile made assumptions about
the use of forward clashes for the file separator.

This commit replaces the use of TestPropertySourceUtils and removes
the assumption about the OS's file separator.

Closes gh-15471
2018-12-17 14:02:10 +00:00
Andy Wilkinson ddabfe3fcc Deploy spring-boot-test-support so it's available downstream
Concourse builds spring-boot-tests separately from spring-boot-project
and relies on modules from the latter being available in the
distribution repository when building the former. This commit enables the
deployment of spring-boot-test-support from spring-boot-project so that it
is added to the distribution repository and is therefore available when
building spring-boot-tests. It is then excluded when putting to the
Artifactory resource as we do not want it to be published.

See gh-15471
2018-12-14 19:50:23 +00:00
Andy Wilkinson 61d04db0d7 Minimize and centralize assumptions about build output
Closes gh-15471
2018-12-14 17:50:20 +00:00
Stephane Nicoll 1f4be6ba37 Merge branch '2.1.x' 2018-12-14 08:45:22 +01:00
Stephane Nicoll 80cfff753a Merge branch '2.0.x' into 2.1.x 2018-12-14 08:45:05 +01:00
Stephane Nicoll a6ff7c786a Remove test starter from core module
Closes gh-15463
2018-12-14 08:44:43 +01:00
Andy Wilkinson db5ab1d14c Do not rely on test runner using static main method in RestarterTests
Closes gh-15461
2018-12-13 13:39:19 +00:00
Andy Wilkinson 62fbf48446 Start Elasticsearch with single-node discovery type
See gh-15441
2018-12-12 21:02:28 +00:00
Andy Wilkinson 47fc35105d Allow more time for the Elasticsearch container to start
See gh-15441
2018-12-12 19:41:30 +00:00
Andy Wilkinson ed52dab3b5 Revert upgrade to JUnit Jupiter 5.4 snapshots 2018-12-12 17:53:52 +00:00
Andy Wilkinson 064f6478df Move back to JUnit 4 until SUREFIRE-1614 has been resolved
See gh-14736
See gh-14737
See gh-14738
2018-12-12 16:49:30 +00:00
Andy Wilkinson 2b453bbb16 Minimise dependencies on Log4j2
Closes gh-15441
2018-12-12 08:19:34 +00:00
Madhura Bhave e16511279a Add junit-jupiter-engine for running Junit5 tests 2018-12-11 15:08:28 -08:00
Brian Clozel 9a6dbb5290 Merge branch '2.1.x' 2018-12-11 11:54:08 +01:00
Brian Clozel 036aace2cc Add details in Jest ElasticSearch HealthIndicator
This commit polishes the previous one and aligns the Jest
HealthIndicator with the changes made for the REST variant.

Closes gh-15366
2018-12-11 11:51:57 +01:00
Filip Hrisafov 1ec2bbf54f Include details in ElasticsearchRestHealthIndicator
This commit adds more information to the ElasticSearch REST
health indicator.

When the ES instance responds with an error HTTP status,
the health details now include the actual status code and reason phrase.
When the ES instance returns a HTTP 200 response, the entire response
map is used as health details.

See gh-15366
2018-12-11 11:51:49 +01:00
Andy Wilkinson 71b29684b3 Remove redundant field type configuration
See gh-15435
2018-12-11 08:30:24 +00:00
Stephane Nicoll dfd477aa74 Merge branch '2.1.x' 2018-12-11 08:53:37 +01:00
Stephane Nicoll 38e4d330b0 Merge branch '2.0.x' into 2.1.x 2018-12-11 08:52:58 +01:00
dreis2211 0f92b139f3 Remove Mockito 1 leftover
Closes gh-15422
2018-12-11 08:52:15 +01:00
Madhura Bhave f863ce32ee Merge branch '2.1.x' 2018-12-10 16:44:42 -08:00
Madhura Bhave 3cc441c83e Do not remove trailing slash from OAuth2 Issuer URI
Fixes gh-15324
2018-12-10 16:35:52 -08:00
Andy Wilkinson 55d7c19c06 Merge branch '2.1.x' 2018-12-10 17:59:50 +00:00
Andy Wilkinson d05ae40c99 Remove redundant field type and optional configuration
See gh-15435
2018-12-10 17:59:26 +00:00
Andy Wilkinson 393decff35 Merge branch '2.1.x' 2018-12-10 17:58:00 +00:00
Andy Wilkinson ef4ea591b3 Mark nested optional fields as optional
See gh-15435
2018-12-10 17:49:41 +00:00
Andy Wilkinson c9c5cd18a2 Merge branch '2.1.x' 2018-12-10 15:40:17 +00:00
Andy Wilkinson 6752be9333 Exclude logback-classic from liquibase-core
Closes gh-15436
2018-12-10 15:39:51 +00:00
Andy Wilkinson beffc4da9f Remove ordering dependence from tests that create embedded databases
Closes gh-15423
2018-12-10 14:57:39 +00:00
Andy Wilkinson 05cb4cb379 Merge branch '2.1.x' 2018-12-10 14:36:30 +00:00
Andy Wilkinson 9dc2116351 Merge branch '2.0.x' into 2.1.x 2018-12-10 14:36:21 +00:00
Andy Wilkinson 554e7061ce Upgrade to Spring Restdocs 2.0.3.RELEASE
Closes gh-15435
2018-12-10 14:36:03 +00:00
Brian Clozel b2c5fd84b9 Use spring-doc-resources 0.1.0.BUILD-SNAPSHOT 2018-12-10 12:53:24 +01:00
igor-suhorukov 2b1653d009 Simplify code by using try-with-resources statement
Closes gh-15427
2018-12-10 09:05:33 +01:00
Stephane Nicoll ba29788482 Polish "Replace explicit generic type with diamond operator"
Closes gh-15424
2018-12-09 11:43:28 +01:00
igor-suhorukov a2ebba8db1 Replace explicit generic type with diamond operator
See gh-15424
2018-12-09 11:42:27 +01:00
Madhura Bhave f040459ae5 Merge branch '2.1.x' 2018-12-07 14:32:07 -08:00
Madhura Bhave a11dea46d7 Use the right class in @ConditionalOnClass
See gh-15372
2018-12-07 14:15:59 -08:00
Madhura Bhave e0b55d36de Merge branch '2.1.x' 2018-12-07 13:51:11 -08:00
Madhura Bhave f13697b278 Make Resource Server auto-config conditional on JwtDecoder class
Fixes gh-15372
2018-12-07 13:48:32 -08:00
Andy Wilkinson d3e5c5688f Polish 2018-12-07 19:58:13 +00:00
Madhura Bhave e367b54928 Merge branch '2.1.x' 2018-12-07 11:57:19 -08:00
Madhura Bhave 31a5e85ab6 Perform placeholder resolution in test env post processor
Fixes gh-15354
2018-12-07 11:45:04 -08:00
Andy Wilkinson bbf0932f0f Exclude jcl-over-slf4j in favour of spring-jcl
Closes gh-15392
2018-12-07 15:37:24 +00:00
Andy Wilkinson 2cd3cff608 Merge branch '2.1.x' 2018-12-07 15:25:35 +00:00
Andy Wilkinson 4c6c07ddbb Start building against Spring AMQP 2.1.3 snapshots
See gh-15407
2018-12-07 15:22:35 +00:00
Andy Wilkinson f04f74870a Start building against Spring Data Lovelace SR4 snapshots
See gh-15410
2018-12-07 15:22:06 +00:00
Andy Wilkinson 96f1a394b8 Start building against Spring Integration 5.1.2 snapshots
See gh-15413
2018-12-07 15:21:28 +00:00
Andy Wilkinson e27d3d0d5e Start building against Spring Kafka 2.2.3
See gh-15414
2018-12-07 15:20:40 +00:00
Andy Wilkinson b01d5f62a4 Start building against Spring Security 5.1.3 snapshots
See gh-15417
2018-12-07 15:20:05 +00:00
Andy Wilkinson a5f5ead520 Start building against Spring AMQP 2.0.11 snapshots
See gh-15406
2018-12-07 15:15:01 +00:00
Andy Wilkinson 5e640877c9 Start building against Spring Data Kay SR13 snapshots
See gh-15409
2018-12-07 15:14:15 +00:00
Andy Wilkinson 12a844d7da Start building against Spring Integration 5.0.11 snapshots
See gh-15412
2018-12-07 15:13:36 +00:00
Andy Wilkinson 5336c8ccde Start building against Spring Security 5.0.11 snapshots
See gh-15416
2018-12-07 15:13:01 +00:00
Stephane Nicoll d5f90ffcfb Polish "Replace this lambda with a method reference"
Closes gh-15401
2018-12-07 11:10:10 +01:00
igor-suhorukov 5c1813aef8 Replace this lambda with a method reference
See gh-15401
2018-12-07 11:01:42 +01:00
Stephane Nicoll 71173f2db5 Merge branch '2.1.x' 2018-12-07 09:57:20 +01:00
Stephane Nicoll c84d199cb7 Upgrade to Flyway 5.2.4
Closes gh-15402
2018-12-07 09:56:18 +01:00
Andy Wilkinson 95a14e7ba5 Remove duplicate dependency management for spring-core
Closes gh-15380
2018-12-06 12:07:25 +00:00
Stephane Nicoll 6f6e712a7b Merge branch '2.1.x' 2018-12-06 09:08:12 +01:00
Stephane Nicoll bd21113e9f Fix indent of WebServiceTemplate section
Closes gh-15389
2018-12-06 09:06:02 +01:00
Madhura Bhave 5a18df2d69 Fix tests 2018-12-05 18:33:50 -08:00
Madhura Bhave 59d2b0a3fb Upgrade tests to Junit5
See gh-14737
2018-12-05 17:49:09 -08:00
Madhura Bhave 4c96c76f11 Include Junit5 dependencies in Spring Boot Starter Test
See gh-14736
2018-12-05 17:48:52 -08:00
Madhura Bhave 12e1d9a6a4 Add Junit5 OutputCapture Extension
See gh-14738
2018-12-05 17:48:27 -08:00
Stephane Nicoll fb1c7c82b4 Merge branch '2.1.x' 2018-12-05 15:56:18 +01:00
Stephane Nicoll ef40241bf6 Merge branch '2.0.x' into 2.1.x 2018-12-05 15:56:04 +01:00
dreis2211 d864b427eb Remove unused ByteArrayStartsWith matcher
Closes gh-15386
2018-12-05 15:52:42 +01:00
Brian Clozel ed3347f00d Configure Asciidoctor toolchain for ref docs
This commit replaces the Docbook+Asciidoctor documentation toolchain by
a single Asciidoctor generation process.

First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.

Closes gh-12611
2018-12-05 14:20:07 +01:00
Jay Bryant a7d22aaf4b Reorganize asciidoc content
This commit adds an index page for the multi-file HTML version, and
fixed a couple of casing issues (significant words starting with lower
case in headings).

While researching how to get the content from index-docinfo.xml into
the output, I came across the notion of a colophon, which is a good name
for the information in that file. I have consequently changed "Legal"
(which I never liked but couldn't think of a better term for at the
time) to "Colophon".

See gh-12611
2018-12-05 10:32:37 +01:00
Jay Bryant a60c575836 Cleanup asciidoctor build
Remove Guardfile for now; we might reintroduce it later, but it is
currently out of sync with the documentation changes.

Do not ignore html files in the asciidoc directory as those are needed
for docinfo parts.

See gh-12611
2018-12-05 10:32:36 +01:00
Jay Bryant 11f6a5ab70 Remove docbook toolchain
See gh-12611
2018-12-05 10:32:36 +01:00
Stephane Nicoll 096640de84 Merge branch '2.1.x' 2018-12-05 08:57:14 +01:00
Stephane Nicoll 185a49fb3b Add reference to JaVers starter 2018-12-05 08:56:50 +01:00
Stephane Nicoll 95b94c0158 Merge branch '2.1.x' 2018-12-04 10:53:41 +01:00
Stephane Nicoll c56c0ff433 Rename OAuth2ResourceServerJwkConfiguration
Closes gh-15375
2018-12-04 10:53:01 +01:00
Andy Wilkinson 5c986b5030 Merge branch '2.1.x' 2018-12-03 16:29:36 +00:00
Andy Wilkinson 42b58f6d27 Add JAXB API dependency that is no longer transitive via testcontainers
See gh-15371
2018-12-03 16:29:10 +00:00
Andy Wilkinson 8b21044902 Merge branch '2.1.x' 2018-12-03 15:07:54 +00:00
Andy Wilkinson 917108cce7 Merge branch '2.0.x' into 2.1.x 2018-12-03 15:07:30 +00:00
Andy Wilkinson 425a3aacf5 Add JAXB API dependency that is no longer transitive via testcontainers
See gh-15371
2018-12-03 15:06:32 +00:00
Stephane Nicoll a85e27c7cd Further replace magic number by HttpStatus
See gh-15130
2018-12-03 15:48:13 +01:00
Stephane Nicoll f2ca2533d5 Polish "Replace magic number by HttpStatus"
Closes gh-15130
2018-12-03 15:33:57 +01:00
holy12345 ffdc9f0ff3 Replace magic number by HttpStatus
See gh-15130
2018-12-03 15:33:35 +01:00
Stephane Nicoll 9483c91d58 Make sure to include validation query in case of failure
See gh-15055
2018-12-03 15:27:52 +01:00
Stephane Nicoll 9e84abc46b Polish "Add validation query to DataSourceHealthIndicator details"
Closes gh-15055
2018-12-03 15:10:59 +01:00
Erlend Haugsnes fc85c34dd8 Add validation query to DataSourceHealthIndicator details
See gh-15055
2018-12-03 14:33:52 +01:00
Stephane Nicoll bbad720e23 Polish contribution
Closes gh-15086
2018-12-03 14:23:16 +01:00
Razib Shahriar 9e571a2827 Fail fast if nested condition uses a phase inappropriate for its members
See gh-15086
2018-12-03 14:14:29 +01:00
Andy Wilkinson 0f474ec08f Merge branch '2.1.x' 2018-12-03 13:01:56 +00:00
Andy Wilkinson 07065532fe Replace accidental use of code shaded by Testcontainers
See gh-15371
2018-12-03 13:01:27 +00:00
Andy Wilkinson 910a0e57b8 Drop dependency management for DropWizard Metrics modules removed in v4
Closes gh-15370
2018-12-03 12:49:15 +00:00
Andy Wilkinson b05abe8ca0 Merge branch '2.1.x' 2018-12-03 12:16:18 +00:00
Andy Wilkinson 72ad0cc6be Merge branch '2.0.x' into 2.1.x 2018-12-03 12:15:36 +00:00
Andy Wilkinson 3fd0380359 Correct optional dependency declarations in spring-boot-test-support
Closes gh-15371
2018-12-03 12:14:18 +00:00
Stephane Nicoll 0df13baa0f Polish "Add configurable property for JWK encryption algorithm"
Closes gh-15145
2018-12-03 11:49:18 +01:00
artsiom 460fdaf52f Add configurable property for JWK encryption algorithm
See gh-15145
2018-12-03 11:35:10 +01:00
Stephane Nicoll ec678eaa3b Polish "Configure MessageSource if no "messageSource" bean defined"
Closes gh-15212
2018-12-03 11:28:26 +01:00
cac03 82d99da32a Configure MessageSource if no "messageSource" bean defined
Enable MessageSourceAutoConfiguration OnMissingBeanCondition by name
rather than class since AbstractApplicationContext expects MessageSource
to be defined only with "messageSource" name.

See gh-15212
2018-12-03 11:28:07 +01:00
Stephane Nicoll 1b40b0edf1 Polish contribution
Closes gh-15054
2018-12-03 11:16:54 +01:00
artsiom 3059f0e2e2 Add configuration property for configuring Tomcat's processor cache
See gh-15054
2018-12-03 11:13:19 +01:00
dreis2211 b528eb8a7e Remove unnecessary cast in LoggingSystemProperties
Closes gh-15297
2018-12-03 11:01:30 +01:00
dreis2211 f57f16c190 Avoid premature declaration of variables
Closes gh-15215
2018-12-03 10:59:20 +01:00
dreis2211 a1a8a8cef0 Avoid instantiation of BeanPropertyBinder in Binder
Closes gh-15181
2018-12-03 10:54:36 +01:00
artsiom e2d5dfad3a Use varargs for DefaultApplicationArguments
Closes gh-15142
2018-12-03 10:48:10 +01:00
Stephane Nicoll 7939b8b4da Polish "Rename logging.file to logging.file.name"
Closes gh-15089
2018-12-03 10:42:30 +01:00
TwinProduction 21da4a5d12 Rename logging.file to logging.file.name
See gh-15089
2018-12-03 10:42:30 +01:00
Andre Restolho d9586d94f6 Change DataSourceHealthIndicator details from "hello" to "result"
Closes gh-15136
2018-12-03 09:34:17 +01:00
Phillip Webb 9c426c63bf Polish 2018-11-29 22:57:04 -08:00
Phillip Webb ed9468a31a Update copyright year for changed files 2018-11-29 22:02:45 -08:00
Phillip Webb 81896e0222 Upgrade to Micrometer 1.1.1
Closes gh-15328
2018-11-29 21:29:25 -08:00
Phillip Webb 73d87ac112 Upgrade to Micrometer 1.0.8
Closes gh-15327
2018-11-29 15:33:19 -08:00
Phillip Webb ba1ef52e39 Merge branch '2.0.x' 2018-11-29 15:32:48 -08:00
Phillip Webb 893d5666be Update copyright year for changed files 2018-11-29 15:30:51 -08:00
Phillip Webb 74376aa023 Polish 2018-11-29 15:30:28 -08:00
Andy Wilkinson ac322a8e30 Polish 2018-11-29 14:45:20 +00:00
Andy Wilkinson 789f18259f Upgrade to Infinispan 9.4.3.Final
Closes gh-15338
2018-11-29 10:16:14 +00:00
Andy Wilkinson d6adda1ec9 Upgrade to Flyway 5.2.3
Closes gh-15337
2018-11-29 10:16:14 +00:00
Andy Wilkinson ebd6f4d0e5 Upgrade to Jetty Reactive Httpclient 1.0.2
Closes gh-15336
2018-11-29 10:16:13 +00:00
Andy Wilkinson a02c0c9881 Upgrade to Byte Buddy 1.9.5
Closes gh-15335
2018-11-29 10:16:12 +00:00
Andy Wilkinson 1ea3444e76 Upgrade to Undertow 2.0.16.Final
Closes gh-15334
2018-11-29 10:16:11 +00:00
Andy Wilkinson 9f4d55766b Upgrade to Rxjava2 2.2.4
Closes gh-15333
2018-11-29 10:16:10 +00:00
Andy Wilkinson 4feda19072 Upgrade to Netty Tcnative 2.0.20.Final
Closes gh-15332
2018-11-29 10:16:09 +00:00
Andy Wilkinson f29f73c295 Upgrade to Lettuce 5.1.3.RELEASE
Closes gh-15331
2018-11-29 10:16:08 +00:00
Andy Wilkinson d0fcbd106b Merge branch '2.0.x' 2018-11-29 10:14:46 +00:00
Andy Wilkinson 28cd017347 Upgrade to Thymeleaf Extras Java8time 3.0.2.RELEASE
Closes gh-15330
2018-11-29 10:11:19 +00:00
Andy Wilkinson b709f7afaa Upgrade to Netty 4.1.31.Final
Closes gh-15329
2018-11-29 10:11:18 +00:00
Andy Wilkinson 9a25c2ce7e Start building against Micrometer 1.1.1 snapshots
See gh-15328
2018-11-29 09:58:23 +00:00
Andy Wilkinson ca11e83857 Start building against Micrometer 1.0.8 snapshots
See gh-15327
2018-11-29 09:48:38 +00:00
Andy Wilkinson 321da6c578 Upgrade to Spring Session Apple SR-7
Closes gh-15254
2018-11-29 08:38:57 +00:00
Andy Wilkinson cdecd053c3 Upgrade to Spring Session Bean-SR1
Closes gh-15275
2018-11-29 08:37:46 +00:00
Andy Wilkinson 79102454b2 Upgrade to Spring Integration 5.1.1.RELEASE
Closes gh-15272
2018-11-29 08:37:06 +00:00
Andy Wilkinson 452028e347 Upgrade to Spring Integration 5.0.10.RELEASE
Closes gh-15251
2018-11-29 08:35:18 +00:00
Madhura Bhave 427d494d57 Merge branch '2.0.x' 2018-11-28 21:32:05 -08:00
Madhura Bhave 02a1c43587 Fix tests 2018-11-28 21:26:47 -08:00
Madhura Bhave fc6c07ad3c Merge branch '2.0.x' 2018-11-28 17:41:11 -08:00
Madhura Bhave decaacddce Account for application path for Jersey servlet endpoints
Closes gh-14895
2018-11-28 17:25:32 -08:00
Andy Wilkinson 8560010bd4 Upgrade to Spring Kafka 2.1.11.RELEASE
Closes gh-15315
2018-11-28 19:46:34 +00:00
Andy Wilkinson 5fab0aee43 Upgrade to Spring AMQP 2.0.10.RELEASE
Closes gh-15256
2018-11-28 19:45:52 +00:00
Andy Wilkinson edbca5f4c0 Upgrade to Spring Security 5.0.10.RELEASE
Closes gh-15253
2018-11-28 19:45:19 +00:00
Andy Wilkinson 33e67f5847 Upgrade to Spring Kafka 2.2.2.RELEASE
Closes gh-15273
2018-11-28 19:42:08 +00:00
Andy Wilkinson 524a68209a Upgrade to Spring AMQP 2.1.2.RELEASE
Closes gh-15271
2018-11-28 19:42:08 +00:00
Andy Wilkinson 3178e3f34b Upgrade to Spring Security 5.1.2.RELEASE
Closes gh-15274
2018-11-28 19:42:08 +00:00
Brian Clozel d12e42e8d5 Polish
Closes gh-15211
2018-11-28 19:48:35 +01:00
artsiom 0a4ba499df Add Actuator health checks for Elasticsearch REST clients
This commit adds `ElasticsearchRestHealthIndicator`, a new
`HealthIndicator` for Elasticsearch, using the Elasticsearch "low level
rest client" provided by the
`"org.elasticsearch.client:elasticsearch-rest-client"` dependency.

Note that Spring Boot will auto-configure both low and high level REST
clients, but since the high level one is using the former, a single
health indicator will cover both cases.

See gh-15211
2018-11-28 19:48:35 +01:00
Andy Wilkinson 6a766cf919 Start building against Spring Kafka 2.2.2 snapshots
See gh-15273
2018-11-28 17:40:33 +00:00
Stephane Nicoll 114347107e Polish key description 2018-11-28 11:31:48 +01:00
Stephane Nicoll 33000b6e8e Polish contribution
Closes gh-14985
2018-11-28 11:29:37 +01:00
Alon Bar-Lev 108f28417e Allow to disable SSL client authentication on the management port
When server and management are at different ports, and when server
requires TLS client authentication, then there is no simple method to
disable TLS client authentication for management port.

This commit adds an additional "none" option to ssl.client-auth.

Example:

    server.port=8080
    server.ssl.enabled=true
    server.ssl.client-auth=need
    management.server.port=8081
    management.server.ssl.enabled=true
    management.server.ssl.client-auth=none

See gh-14985
2018-11-28 11:29:21 +01:00
Stephane Nicoll 476fe6ed17 Stop configuring metrics if hibernate is not available
Closes gh-15317
2018-11-28 10:54:56 +01:00
Stephane Nicoll 5f145ac482 Merge branch '2.0.x' 2018-11-28 10:23:44 +01:00
Stephane Nicoll b103e0c869 Polish "Unwrap DataSource target rather than plain instanceof calls"
Closes gh-15227
2018-11-28 10:18:28 +01:00
Stephane Nicoll 98378e210d Start building against Spring Kafka 2.1.11 snapshots
See gh-15315
2018-11-28 09:09:28 +01:00
dreis2211 17f04b8b75 Replace DirectFieldAccessor usages by hasFieldOrPropertyWithValue
Closes gh-15312
2018-11-28 08:47:41 +01:00
Andy Wilkinson 2dc8f49f8a Polish 2018-11-27 20:54:41 +00:00
Andy Wilkinson dad6d4beca Merge branch '2.0.x' 2018-11-27 20:37:35 +00:00
Andy Wilkinson 2b22b23aad Polish 2018-11-27 20:35:30 +00:00
Andy Wilkinson cf7664c01a Cope with version not found in Embedded Mongo's Version enum
Closes gh-15311
2018-11-27 16:33:22 +00:00
Andy Wilkinson dee8085f20 Merge branch '2.0.x' 2018-11-27 16:09:02 +00:00
Johannes Zick 83cf348ec8 Warn about Quartz dropping tables on restart
Closes gh-15295
2018-11-27 16:05:11 +00:00
Andy Wilkinson 760003b9d7 Polish "Document that test slices should not be combined"
Closes gh-15310
2018-11-27 15:50:19 +00:00
dreis2211 29cd1cc762 Document that test slices should not be combined
See gh-15310
2018-11-27 15:50:19 +00:00
Andy Wilkinson b094e28081 Remove auto-configuration of RequestContextFilter when using Jersey
Closes gh-15048
2018-11-27 15:39:46 +00:00
Andy Wilkinson 643b0f84da Merge branch '2.0.x' 2018-11-27 15:32:14 +00:00
Andy Wilkinson ab39e50ece List Gradle's Shadow Plugin as an alternative to Boot's loader
Closes gh-1828
2018-11-27 15:31:26 +00:00
Andy Wilkinson e1ad5641d5 Polish "Trim whitespace when coercing to a LogLevel"
Closes gh-15143
2018-11-27 15:14:26 +00:00
Dileep Bapat dfe94a0abb Trim whitespace when coercing to a LogLevel
See gh-15143
2018-11-27 15:10:36 +00:00
Stephane Nicoll d6571c0157 Upgrade to Reactor Californium-SR3
Closes gh-15192
2018-11-27 15:21:36 +01:00
Stephane Nicoll bf88a7e466 Be more lenient when repackage is invoked several times
This commit makes the repackager more lenient when it is invoked several
times in the same lifecycle.

Closes gh-15034
2018-11-27 15:09:55 +01:00
Stephane Nicoll d7fe3c73a3 Provide better logging for RepackageMojo
Closes gh-15294
2018-11-27 15:06:51 +01:00
Andy Wilkinson 9331390079 Upgrade to Spring Data Lovelace-SR3
Closes gh-15191
2018-11-27 14:01:15 +00:00
Andy Wilkinson fb3deab89d Merge branch '2.0.x' 2018-11-27 13:55:33 +00:00
Andy Wilkinson e81abc3f11 Order jacksonCodecCustomizer so user-provided customizer can go after it
Closes gh-15167
2018-11-27 13:51:33 +00:00
Andy Wilkinson 971adfcd5b Merge branch '2.0.x' 2018-11-27 13:27:05 +00:00
Andy Wilkinson e6dd11254c Polish 2018-11-27 13:26:49 +00:00
Andy Wilkinson 51a5b841dd Merge branch '2.0.x' 2018-11-27 12:51:16 +00:00
Andy Wilkinson 4a385e89bd Mention fully executable jars in Jersey’s scanning limitations
Closes gh-3413
2018-11-27 12:51:05 +00:00
Andy Wilkinson 669eeef29b Merge branch '2.0.x' 2018-11-27 12:36:22 +00:00
Andy Wilkinson 1f994b70b5 Correct description of file generated by heapdump endpoint
Closes gh-15016
2018-11-27 12:35:35 +00:00
Andy Wilkinson 1d029a09e2 Start building against Spring Data Lovelace-$R3 snapshots
See gh-15191
2018-11-27 12:17:37 +00:00
Andy Wilkinson f9a3b79e97 Merge branch '2.0.x' 2018-11-27 12:12:07 +00:00
Andy Wilkinson ae5d5235f6 Upgrade to Spring Data Kay-SR12
Closes gh-14893
2018-11-27 12:11:14 +00:00
Andy Wilkinson 376e7fdfa1 Document profile activation limitation of .spring-boot-devtools.properties
Closes gh-15151
2018-11-27 12:09:56 +00:00
Andy Wilkinson 6729e56f6b Merge branch '2.0.x' 2018-11-27 12:00:36 +00:00
Andy Wilkinson e74b084c67 Auto-configure codec customizations and JSON when using @WebFluxTest
Closes gh-15070
2018-11-27 11:48:30 +00:00
Andy Wilkinson f6a22a05b8 Merge branch '2.0.x' 2018-11-27 11:21:22 +00:00
Andy Wilkinson 9553d4f64b Polish "Auto-configure Spring Session's cookie serializer"
Closes gh-15163
2018-11-27 11:08:15 +00:00
Vedran Pavic 0daf83efab Auto-configure Spring Session's cookie serializer
See gh-15163
2018-11-27 11:08:05 +00:00
Stephane Nicoll dfab0b4231 Upgrade to Spring Framework 5.1.3
Closes gh-15186
2018-11-27 11:40:06 +01:00
Stephane Nicoll e89d1a8ebe Upgrade to Spring Framework 5.0.11
Closes gh-15189
2018-11-27 11:06:57 +01:00
Stephane Nicoll 8928cd1982 Deprecate spring.rabbitmq.template.queue
Closes gh-15301
2018-11-27 09:55:45 +01:00
Stephane Nicoll a240e22593 Adapt to Rabbit internal change
See gh-15271
2018-11-27 08:31:46 +01:00
Andy Wilkinson cf525dabd2 Merge branch '2.0.x' 2018-11-26 17:53:53 +00:00
Andy Wilkinson 69edf8960f Correct stale reference to embeddedLaunchScriptProperties with Gradle
Closes gh-15094
2018-11-26 17:53:27 +00:00
Andy Wilkinson de8c353cec Merge branch '2.0.x' 2018-11-26 17:40:46 +00:00
Andy Wilkinson 898d9f80f3 Merge branch '1.5.x' into 2.0.x 2018-11-26 17:40:35 +00:00
Andy Wilkinson fa7be63fbb Merge branch '2.0.x' 2018-11-26 16:53:00 +00:00
Andy Wilkinson 7ddbb37bd5 Polish 2018-11-26 16:52:49 +00:00
Andy Wilkinson 073ac7bc99 Fix Thymeleaf security dialect tests on Windows 2018-11-26 16:15:15 +00:00
Andy Wilkinson a0d0ecf9d4 Test the Gradle plugin against Gradle 5.0
Closes gh-15171
2018-11-26 16:02:54 +00:00
Andy Wilkinson 5a9ff6a3cb Merge branch '2.0.x' 2018-11-26 15:51:52 +00:00
Andy Wilkinson 5201584c60 Upgrade to Neo4j Ogm 3.1.5
Closes gh-15293
2018-11-26 15:51:01 +00:00
Andy Wilkinson 55721f06df Upgrade to Kotlin 1.2.71
Closes gh-15292
2018-11-26 15:50:59 +00:00
Andy Wilkinson c73fdc4ce4 Merge branch '2.0.x' 2018-11-26 12:09:21 +00:00
Andy Wilkinson d2756319cb Polish 2018-11-26 12:09:14 +00:00
Andy Wilkinson 1c4a26557c Polish 2018-11-26 11:47:35 +00:00
Andy Wilkinson c1bbcb6908 Merge branch '2.0.x' 2018-11-26 11:41:55 +00:00
Andy Wilkinson 4bc32e6358 Use a HandlerInterceptor for timing long tasks
Closes gh-15204
2018-11-26 11:30:06 +00:00
Stephane Nicoll f43a83fa4f Upgrade to Junit Jupiter 5.3.2
Closes gh-15286
2018-11-26 10:41:08 +01:00
Stephane Nicoll ae1979f1ff Merge branch '2.0.x' 2018-11-26 10:35:37 +01:00
Stephane Nicoll 5f0ac46d78 Unwrap DataSource target rather than plain instanceof calls
Closes gh-15227
2018-11-26 10:35:10 +01:00
Stephane Nicoll e424dfbe15 Polish "Perform best effort to retrieve DataSourceProxy"
Closes gh-15206
2018-11-26 10:18:48 +01:00
Tadaya Tsuyukubo 26f9a92837 Perform best effort to retrieve DataSourceProxy
Prior to this commit, `DataSourceJmxConfiguration` with tomcat
`DataSource`, it can only find `DataSourceProxy` if the given
`DataSource` is a direct child of it.  Since it uses `instanceof`, it
could not find `DataSourceProxy` if the `DataSource` is
wrapped(delegated) or proxied.

This is because `DataSourceProxy#unwrap()` always returns null; thus
cannot use this method to directly obtain `DataSourceProxy`.

In this commit, updated the check logic to perform the best effort to
retrieve `DataSourceProxy`. If given `DataSource` is wrapped or proxied
by spring, tries to unwrap or get target datasource recursively to find
`DataSourceProxy`.

See gh-15206
2018-11-26 10:18:48 +01:00
Andy Wilkinson ee2107c91b Merge branch '2.0.x' 2018-11-23 20:15:42 +00:00
Andy Wilkinson 44632ea55c Merge branch '1.5.x' into 2.0.x 2018-11-23 20:15:26 +00:00
Andy Wilkinson 548cc05bb6 Polish 2018-11-23 19:33:33 +00:00
Andy Wilkinson 5a246ce24d Merge branch '2.0.x' 2018-11-23 17:00:24 +00:00
Andy Wilkinson 8772f90e2f Polish 2018-11-23 17:00:16 +00:00
Andy Wilkinson 35cce76ae8 Merge branch '2.0.x' 2018-11-23 16:59:27 +00:00
Andy Wilkinson 3331fa2d02 Merge branch '1.5.x' into 2.0.x 2018-11-23 16:59:18 +00:00
Andy Wilkinson 1797040e1a Merge branch '2.0.x' 2018-11-23 16:42:13 +00:00
Andy Wilkinson a54de61e61 Polish
Revert change inadvertently committed as part of gh-15017
2018-11-23 16:41:25 +00:00
Andy Wilkinson 4f405ed97d Merge branch '2.0.x' 2018-11-23 15:45:13 +00:00
Andy Wilkinson 058428a14c Clarify how multiple attributes are treated by ConditionalOn(Missing)Bean
Closes gh-15177
2018-11-23 15:44:58 +00:00
Andy Wilkinson f25c32e8b9 Merge branch '2.0.x' 2018-11-23 15:26:08 +00:00
Andy Wilkinson d104205880 Update docs to reflect that @AutoConfigureRestDocs supports WebTestClient
Closes gh-15220
2018-11-23 15:26:01 +00:00
Andy Wilkinson deeb961c6e Merge branch '2.0.x' 2018-11-23 15:23:14 +00:00
Andy Wilkinson 1f39b5dd7a Align MeterRegistryConfigurer's javadoc with its implementation
Closes gh-15017
2018-11-23 15:22:09 +00:00
Andy Wilkinson 56519e5cbb Merge branch '2.0.x' 2018-11-23 15:12:13 +00:00
Andy Wilkinson 8ee57ac574 Remove redundant suggestion to add a dependency on Woodstox
It's now a transitive dependency of jackson-dataformat-xml so there is no
need to depend on it explicitly.

Closes gh-15092
2018-11-23 15:11:03 +00:00
Andy Wilkinson 7790876575 Merge branch '2.0.x' 2018-11-23 14:01:12 +00:00
Andy Wilkinson c0e286b96b Test the Gradle Plugin against Gradle 5.0-rc-3
Closes gh-15171
2018-11-23 13:47:19 +00:00
Andy Wilkinson ce0a3d0311 Add missing classpath setters to BootJar and BootWar
Closes gh-15087
2018-11-23 13:46:56 +00:00
Andy Wilkinson 3bda78a3d3 Fix tests after HandlerExceptionResolver logging changes
See gh-14936 and gh-15189
2018-11-22 20:27:19 +00:00
Andy Wilkinson b5433cd862 Revert "Upgrade to Selenium Htmlunit 2.33.3"
This reverts commit 3048b7a218.

See gh-15269
2018-11-22 20:10:13 +00:00
Andy Wilkinson 27ef03a2c1 Merge branch '2.0.x' 2018-11-22 17:31:32 +00:00
Andy Wilkinson 97f7984812 Merge branch '1.5.x' into 2.0.x 2018-11-22 17:31:03 +00:00
Andy Wilkinson ee8aca77eb Start building against Spring Session Bean-SR1 snapshots
See gh-15275
2018-11-22 15:55:35 +00:00
Andy Wilkinson fc6df83f56 Start building against Spring Security 5.1.2 snapshots
See gh-15274
2018-11-22 15:55:03 +00:00
Andy Wilkinson 449b40f6fc Start building against Spring Kafka 2.2.1 snapshots
See gh-15273
2018-11-22 15:54:31 +00:00
Andy Wilkinson 848121288c Start building against Spring Integration 5.1.1 snapshots
See gh-15272
2018-11-22 15:53:52 +00:00
Andy Wilkinson 3d4838c055 Start building against Spring AMQP 2.1.2 snapshots
See gh-15271
2018-11-22 15:53:21 +00:00
Andy Wilkinson df918bae5d Upgrade to Maven Shade Plugin 3.2.1
Closes gh-15270
2018-11-22 15:50:03 +00:00
Andy Wilkinson 3048b7a218 Upgrade to Selenium Htmlunit 2.33.3
Closes gh-15269
2018-11-22 15:50:03 +00:00
Andy Wilkinson a2ff9b7d35 Upgrade to Lombok 1.18.4
Closes gh-15268
2018-11-22 15:50:02 +00:00
Andy Wilkinson b73cf9f738 Upgrade to Mockito 2.23.4
Closes gh-15267
2018-11-22 15:50:02 +00:00
Andy Wilkinson 1a8ac57a2f Upgrade to Jooq 3.11.7
Closes gh-15266
2018-11-22 15:50:02 +00:00
Andy Wilkinson 88bec38961 Upgrade to Infinispan 9.4.2.Final
Closes gh-15265
2018-11-22 15:50:02 +00:00
Andy Wilkinson 58750624bc Upgrade to Elasticsearch 6.4.3
Closes gh-15264
2018-11-22 15:48:13 +00:00
Andy Wilkinson fa4de5eb78 Upgrade to Ehcache3 3.6.2
Closes gh-15263
2018-11-22 15:48:12 +00:00
Andy Wilkinson e0761b814d Upgrade to Groovy 2.5.4
Closes gh-15262
2018-11-22 15:48:11 +00:00
Andy Wilkinson 19a8fb56c7 Upgrade to Tomcat 9.0.13
Closes gh-15261
2018-11-22 15:48:10 +00:00
Andy Wilkinson 6753b247e1 Upgrade to Kafka 2.0.1
Closes gh-15260
2018-11-22 15:48:10 +00:00
Andy Wilkinson b028ac75a6 Upgrade to Byte Buddy 1.9.4
Closes gh-15259
2018-11-22 15:48:08 +00:00
Andy Wilkinson c4a0364a55 Upgrade to Undertow 2.0.15.Final
Closes gh-15258
2018-11-22 15:48:08 +00:00
Andy Wilkinson 2ea4852575 Upgrade to Couchbase Client 2.7.1
Closes gh-15257
2018-11-22 15:48:07 +00:00
Andy Wilkinson 0b5f52ef0b Merge branch '2.0.x' 2018-11-22 15:42:12 +00:00
Andy Wilkinson 9ca96cb751 Start building against Spring Framework 5.1.1 snapshots
See gh-15189
2018-11-22 15:33:10 +00:00
Andy Wilkinson 39bec2c50f Start building against Spring Integration 5.0.10 snapshots
See gh-15251
2018-11-22 15:32:21 +00:00
Andy Wilkinson 00f1e92350 Start building against Spring Session Apple-SR7 snapshots
See gh-15254
2018-11-22 15:30:40 +00:00
Andy Wilkinson 739de913d5 Start building against Spring AMQP 2.0.10 snapshots
See gh-15256
2018-11-22 15:29:55 +00:00
Andy Wilkinson de84a51f26 Upgrade to Spring Cloud Connectors 2.0.4.RELEASE
Closes gh-15250
2018-11-22 15:21:59 +00:00
Andy Wilkinson ff22df0475 Upgrade to Jetty El 8.5.33.1
Closes gh-15249
2018-11-22 15:21:58 +00:00
Andy Wilkinson d08edf7e14 Upgrade to Elasticsearch 5.6.13
Closes gh-15248
2018-11-22 15:21:57 +00:00
Andy Wilkinson 350e397d53 Upgrade to Janino 3.0.11
Closes gh-15247
2018-11-22 15:21:56 +00:00
Andy Wilkinson ec219b30d2 Upgrade to Activemq 5.15.8
Closes gh-15246
2018-11-22 15:21:56 +00:00
Andy Wilkinson 941d8744cb Upgrade to Javax Json 1.1.4
Closes gh-15245
2018-11-22 15:21:55 +00:00
Andy Wilkinson 6761747e39 Upgrade to Reactor Bom Bismuth-SR14
Closes gh-15244
2018-11-22 15:21:54 +00:00
Andy Wilkinson 40005c0e59 Upgrade to Unboundid Ldapsdk 4.0.9
Closes gh-15243
2018-11-22 15:21:53 +00:00
Andy Wilkinson fa26227ae8 Merge branch '2.0.x' 2018-11-22 15:12:05 +00:00
Andy Wilkinson ba4461a7a2 Merge branch '1.5.x' into 2.0.x 2018-11-22 15:09:38 +00:00
Brian Clozel 5bb7b24d7c Fix class cast in ServletContextInitializerBeans
See gh-15166
2018-11-21 11:50:41 +01:00
Brian Clozel d52b599eee Improve Servlet and Filter registration logging
Prior to this commit, the information logged at DEBUG level for the web
infrastructure was not consistent with the experience in Spring
Framework.

This commit moves some logging information about
`ServletContextInitializer` registrations from DEBUG to TRACE level and
gathers the Servlets and Filters registration logs into one-liners at
the DEBUG level.

Closes gh-15166
2018-11-21 10:29:55 +01:00
Andy Wilkinson 3fac0f0360 Polish multi-release jar support to avoid possible StackOverflowError
See gh-12523
2018-11-20 17:26:28 +00:00
Andy Wilkinson 56eebc9385 Update fat jar loader to support multi-release jar files
Closes gh-12523
2018-11-20 15:22:30 +00:00
Eddú Meléndez 5e09a2ee55 Add reference to sentry-spring-boot-starter
Closes gh-15205
2018-11-20 08:14:47 +01:00
Dave Syer b6aff10244 Temporarily make @Bean methods in Spring Data JDBC public
Closes gh-15097
2018-11-16 14:53:33 +01:00
Brian Clozel f4db1d3c9a Upgrade to Reactor Californium-BUILD-SNAPSHOT
See gh-15192
2018-11-16 14:33:09 +01:00
Brian Clozel 5aabcedb24 Upgrade to Spring Framework 5.1.3.BUILD-SNAPSHOT
See gh-15186
2018-11-16 10:55:35 +01:00
Phillip Webb bab111b37e Fix ConfigurationPropertyName.equals for uppercase
Commit 7f35f8a9 for gh-14665 was unfortunately incomplete as it didn't
account for uppercase values. The run-off while loop should have used
`Character.toLowerCase` in the same way as the main while loop.

Fixes gh-15152
2018-11-15 13:48:20 -08:00
Phillip Webb dbf09de203 Merge branch '2.0.x' 2018-11-15 13:29:09 -08:00
Phillip Webb e87664f295 Add JettyAccessLogCustomizer
Add a `JettyAccessLogCustomizer` to customize management access logs
when the management server is running on a different port.

Closes gh-15041
2018-11-15 13:28:51 -08:00
Phillip Webb c64a007e12 Format POM file 2018-11-15 13:22:50 -08:00
Phillip Webb 12a16dcfcf Merge branch '2.0.x' 2018-11-15 10:43:40 -08:00
Phillip Webb e4d5714d50 Polish "Skip scoped targets when determining endpoints"
See gh-15182
2018-11-15 10:41:14 -08:00
Rahul Ahuja 4853e6a7af Skip scoped targets when determining endpoints
Update `EndpointDiscoverer` to filter out scoped target beans when
finding endpoints.

Closes gh-15182
2018-11-15 10:38:05 -08:00
Andy Wilkinson fe9d9ec4e2 Test the Gradle plugin against Gradle 5.0-rc-3
Closes gh-15171
2018-11-15 10:32:34 +00:00
Stephane Nicoll c1b1f14f5a Fix default unit for multipart properties
This commit fixes a regression that wrongly changed the default unit of
multipart properties from bytes to megabytes.

Closes gh-15162
2018-11-15 09:17:26 +01:00
Stephane Nicoll 2f4325d00f Polish 2018-11-15 09:06:44 +01:00
Phillip Webb cccf5e6d2b Merge branch '2.0.x' 2018-11-14 18:27:28 -08:00
Phillip Webb 3baf782822 Merge branch '1.5.x' into 2.0.x 2018-11-14 18:24:32 -08:00
Brian Clozel d84421b7e1 Improve HttpMessageConverters javadoc
Closes gh-15027
2018-11-14 15:06:41 +01:00
Brian Clozel 8e86bcafc1 Improve actuator endpoint mapping debug logging
Closes gh-14292
2018-11-14 14:36:52 +01:00
Mark Vollmary 634b92001b Add reference to ArangoDB starter
Closes gh-15144
2018-11-13 18:31:19 +01:00
dreis2211 3b4b0641d9 Polish some Map operations
Closes gh-15153
2018-11-12 09:08:25 +01:00
Stephane Nicoll a222952a77 Polish contribution
Closes gh-15134
2018-11-11 11:03:29 +01:00
Johnny Lim fd5aa3ebf1 Polish
See gh-15134
2018-11-11 11:03:13 +01:00
Stephane Nicoll 2c3b455b8b Merge branch '2.0.x' 2018-11-11 10:58:44 +01:00
Johnny Lim 8470d649bc Polish
See gh-15134
2018-11-11 10:58:31 +01:00
Stephane Nicoll 089ef9085a Polish "Add HANA to the lookup of well-known databases"
Closes gh-15125
2018-11-10 18:02:01 +01:00
Jonathan Bregler 85754eaddd Add HANA to the lookup of well-known databases
See gh-15125
2018-11-10 17:59:29 +01:00
Jonathan Bregler e74348ee30 Fix HANA validation query
This commit updates the validation query for HANA. It should use the
fully qualified dummy table name (SYS.DUMMY) to avoid unexpected results
if there is a local table named DUMMY.

Closes gh-15124
2018-11-10 17:56:51 +01:00
sreeise 6454a8f4ca Remove redundant json starter from spring-boot-starter-data-rest
Closes gh-15137
2018-11-09 08:31:47 +01:00
Andy Wilkinson e7d921c216 Align test expectations with styling of stack trace div
Closes gh-15075
2018-11-08 12:31:21 +00:00
Andy Wilkinson bfb0886495 Tolerate Hibernate 5.2
Closes gh-15100
2018-11-08 12:24:22 +00:00
Brian Clozel 159f947870 Polish
Closes gh-15075
2018-11-07 09:40:11 +01:00
up-to-you ae4bc48481 Fix stack-trace line breaks in whitelabel error views
Since gh-12838, the WebFlux whitelabel error view also shows the
stacktrace information if it is available in the model.

This commit adds a CSS directive that preserves white spaces and breaks
lines at newline characters.
2018-11-07 09:40:11 +01:00
dreis2211 6ac788df2f Add missing @Deprecated annotation
Closes gh-15113
2018-11-07 07:53:39 +01:00
Stephane Nicoll 3628c5b2dc Remove redundant declaration on spring-context
Closes gh-15107
2018-11-06 15:28:41 +01:00
dreis2211 3e95af2c85 Polish some Map operations
Closes gh-15103
2018-11-06 07:41:55 +01:00
dreis2211 5e35ac6ce5 Remove unused static methods in tests
Closes gh-15084
2018-11-05 07:38:49 +01:00
Stephane Nicoll 0bd69fded8 Fix detection of ScheduledExecutorService
`@EnableScheduling` detects primarily a suitable `TaskScheduler` in the
context and fallbacks to the presence of a `ScheduledExecutorService` if
that is not the case.

This commit improves the auto-configuration to back off when such
scheduled executor service is present, so that the framework
initialization code can pick it up as usual.

Closes gh-15032
2018-11-04 09:58:41 +01:00
Stephane Nicoll c7909318cd Merge branch '2.0.x' 2018-11-04 08:03:23 +01:00
Stephane Nicoll 69d9b7a813 Polish contribution
Closes gh-15081
2018-11-04 07:59:26 +01:00
Nishant Raut 08ddb59f92 Update documentation to remind how JobParameters should be specified
See gh-15081
2018-11-04 07:51:31 +01:00
Dmitry Zhikharev 226ccc2e84 Add reference to Hiatus starter
Closes gh-15082
2018-11-04 07:24:15 +01:00
Brian Clozel da53a0b8d5 Fix HTTP status error template rendering in WebFlux
Prior to this commit, a change in `HttpStatus.toString` since SPR-16898
prevented the default WebFlux `ErrorWebExceptionHandler` to render
template views for exact HTTP status (e.g. "404.html").
This issue does not affect the resolution of series, like "4xx.html".

This commit fixes `DefaultErrorWebExceptionHandler` to use
`HttpStatus.value()` when attempting to resolve error views.

Closes gh-15083
2018-11-03 21:28:48 +01:00
Stephane Nicoll f42a653604 Merge branch '2.0.x' 2018-11-03 16:38:16 +01:00
Stephane Nicoll f5ba9952db Make UndertowAccessLogCustomizer conditional on class
Closes gh-15065
2018-11-03 16:35:03 +01:00
Stephane Nicoll 7257572dbd Merge branch '2.0.x' 2018-11-02 14:00:30 +01:00
Stephane Nicoll 01091aab2a Polish "Update docs to Spock 1.2"
Closes gh-15060
2018-11-02 13:59:03 +01:00
Jeff Sheets 01b17af530 Update docs to Spock 1.2
See gh-15060
2018-11-02 13:58:47 +01:00
Stephane Nicoll 980d8ea0ad Merge branch '2.0.x' 2018-11-01 17:49:56 +09:00
Stephane Nicoll 2927195b02 Fix StaticResourceRequest javadoc examples
Closes gh-15050
2018-11-01 17:48:56 +09:00
Stephane Nicoll 26dc8b9fb5 Update system requirements in the reference docs
Closes gh-15026
2018-11-01 17:36:39 +09:00
Stephane Nicoll dc02616b78 Merge branch '2.0.x' 2018-11-01 17:15:31 +09:00
Nooheat 8380031039 Simplify ArrayList calling addAll() immediately
Closes gh-15033
2018-11-01 17:10:16 +09:00
Stephane Nicoll 8d6d1f4a57 Merge branch '2.0.x' 2018-11-01 10:15:26 +09:00
Misagh Moayyed e820f04926 Polish EnableConfigurationPropertiesImportSelector javadoc
Closes gh-15049
2018-11-01 10:13:35 +09:00
Andy Wilkinson 228e05487a Test Gradle Plugin against Gradle 5.0-rc-1
Closes gh-15028
2018-10-31 09:47:49 +00:00
Phillip Webb 5e50f762a3 Revert DevTools polish
It seems like we can't use constructor injection at the
moment.
2018-10-29 18:37:58 -07:00
Phillip Webb 8ded42ceb1 Use US spelling for "favor" 2018-10-29 18:37:58 -07:00
Madhura Bhave e41329b238 Upgrade to Spring Batch 4.1.0.RELEASE
Closes gh-14891
2018-10-29 18:05:05 -07:00
Phillip Webb 33d385cf7a Use US spelling for "favor" 2018-10-29 15:26:34 -07:00
Phillip Webb f3fa20b2d1 Polish 2018-10-29 14:25:45 -07:00
Andy Wilkinson 290e8886c9 Polish "Handle StepRegistry connect/read timeout deprecation"
Closes gh-14886
2018-10-29 21:11:11 +00:00
artsiom fe63342f52 Handle StepRegistry connect/read timeout deprecation
See gh-14886
2018-10-29 20:56:25 +00:00
Andy Wilkinson a984453363 Upgrade to Spring Session Bean-RELEASE
Closes gh-14733
2018-10-29 20:49:57 +00:00
Andy Wilkinson 53d0a63e8e Upgrade to Spring Kafka 2.2.0.RELEASE
Closes gh-14892
2018-10-29 20:16:57 +00:00
Andy Wilkinson 0c3d899d5d Upgrade to Spring Integration 5.1.0.RELEASE
Closes gh-14889
2018-10-29 20:03:56 +00:00
Brian Clozel 2232f7d82f Polish
Closes gh-14914
2018-10-29 18:10:10 +01:00
Julian Devia 3e6a4eb6e3 Use cluster endpoint in Jest HealthIndicator
This commit changes the requested endpoint for the Jest
HealthIndicator. The `"/_all/_stats"` was previously used, but
the response size can be quite large and costly.

This is now using the `"/_cluster/health"` endpoint.
2018-10-29 18:10:10 +01:00
Andy Wilkinson 1341789819 Merge branch '2.0.x' 2018-10-29 16:39:51 +00:00
Andy Wilkinson 9ea5c58e38 Remove stale mention of module layout from Maven plugin's docs
Closes gh-14854
2018-10-29 16:38:58 +00:00
Andy Wilkinson 743782de7e Revert reloadable message source support
Closes gh-14882
See gh-14699
See gh-13377
2018-10-29 16:24:59 +00:00
Andy Wilkinson 5ac9b972fe Test the Gradle Plugin against Gradle 5.0-milestone-1
Closes gh-15005
2018-10-29 15:15:00 +00:00
Andy Wilkinson b2d51db76a Upgrade to Spring Data Lovelace-SR2
Closes gh-14888
2018-10-29 14:28:16 +00:00
Andy Wilkinson 77f571aa45 Merge branch '2.0.x' 2018-10-29 13:12:53 +00:00
Andy Wilkinson 7eb1df1650 Test the Gradle Plugin against Gradle 4.10.2
Closes gh-15004
2018-10-29 13:11:41 +00:00
Andy Wilkinson 8ec9f23719 Polish "Add Log Output when DevTools restart is disabled"
Closes gh-14807
2018-10-29 12:38:43 +00:00
Marcus Eisele e76605ff75 Add Log Output when DevTools restart is disabled
This covers the cases when:
  * An Java agent based reloader (e.g. JRebel) is being used
  * The reloader was disabled by using a system property

See gh-14807
2018-10-29 12:38:21 +00:00
Andy Wilkinson f492285999 Polish "Make auto-configured applicationTaskExecutor bean lazy"
Closes gh-14934
2018-10-29 12:15:04 +00:00
artsiom 4f92e857e9 Make auto-configured applicationTaskExecutor bean lazy
See gh-14934
2018-10-29 12:14:03 +00:00
Andy Wilkinson de674db454 Merge branch '2.0.x' 2018-10-29 12:03:47 +00:00
dreis2211 62ca9e47b8 Use MeterRegistry.isClosed() for tests
Closes gh-14975
2018-10-29 11:57:16 +00:00
Andy Wilkinson 76757339ae Upgrade to Spring Framework 5.1.2.RELEASE
Closes gh-14887
2018-10-29 11:42:34 +00:00
Andy Wilkinson 0e08d379ae Polish "Add CachingMetadataReaderFactoryPostProcessor earlier in context lifecyle"
See gh-14907
2018-10-29 11:36:49 +00:00
Dave Syer c1022e74cd Add CachingMetadataReaderFactoryPostProcessor earlier in context lifecyle
An initializer that adds a BeanDefinitionRegistryPostProcessor which
in turn adds bean definitions has to be very careful to run early.
Otherwise, other initializers that want to influence the bean
definitions added never get a chance.

Closes gh-14907
2018-10-29 11:36:10 +00:00
Andy Wilkinson b2e1d14427 Upgrade to Thymeleaf Extras Springsecurity 3.0.4.RELEASE
Closes gh-15001
2018-10-29 10:46:56 +00:00
Andy Wilkinson 58b495800a Upgrade to Joda Time 2.10.1
Closes gh-15000
2018-10-29 10:46:55 +00:00
Andy Wilkinson afad5e3733 Upgrade to Lettuce 5.1.2.RELEASE
Closes gh-14999
2018-10-29 10:46:55 +00:00
Andy Wilkinson 4fc2e344b6 Merge branch '2.0.x' 2018-10-29 10:44:57 +00:00
Andy Wilkinson 0cd2b9262b Upgrade to Thymeleaf Extras Springsecurity4 3.0.4.RELEASE
Closes gh-14997
2018-10-29 10:43:29 +00:00
Andy Wilkinson a1b51f7647 Upgrade to Activemq 5.15.7
Closes gh-14996
2018-10-29 10:43:28 +00:00
Andy Wilkinson 30a9c0ee07 Upgrade to Reactor Bom Bismuth-SR13
Closes gh-14995
2018-10-29 10:43:27 +00:00
Andy Wilkinson 4a0552e945 Upgrade to Thymeleaf 3.0.11.RELEASE
Closes gh-14920
2018-10-29 10:37:15 +00:00
Brian Clozel 8f462d69df Upgrade to Reactor Californium-SR2
Closes gh-14992
2018-10-29 11:20:49 +01:00
Andy Wilkinson f20b22ce6c Upgrade to Micrometer 1.1.0
Closes gh-14890
2018-10-29 10:02:40 +00:00
Andy Wilkinson c82a13d18e Upgrade to Byte Buddy 1.9.3
Closes gh-14866
2018-10-29 10:01:41 +00:00
Phillip Webb 22c7546607 Polish 2018-10-28 21:05:54 -07:00
Phillip Webb 1451c0c069 Polish "Restore max-http-header-size default value support"
Fix Jetty and Undertow customizers to restore Spring Boot 2.0
behavior where a negative or zero `max-http-header-size` indicates
that the server default should be used.

Closes gh-14986
2018-10-28 21:04:17 -07:00
Bryan Turner 8b40ce14cb Restore max-http-header-size default value support
Fix `TomcatWebServerFactoryCustomizer` to restore Spring Boot 2.0
behavior where a negative or zero `max-http-header-size` indicates
that the server default should be used.

See gh-14986
2018-10-28 20:56:51 -07:00
Phillip Webb 807743b679 Merge branch '2.0.x' 2018-10-28 09:00:32 -07:00
Phillip Webb 43dd3cfa76 Polish "Improve Path Matching and Content Negotiation docs"
See gh-14977
2018-10-28 08:59:30 -07:00
Nishant Raut 113abbe6e6 Improve Path Matching and Content Negotiation docs
Add a note to the "Path Matching and Content Negotiation" section about
the `spring.mvc.pathmatch.use-suffix-pattern` property.

Closes gh-14977
2018-10-28 08:52:36 -07:00
Phillip Webb 1c18fd8bae Add managed mimepull dependency
Add a managed dependency for `org.jvnet.mimepull:mimepull` so that
`spring-boot-starter-web-services` works with Java 11.

Although we don't directly depend on mimepull ourselves, there is an
transitive dependency from `com.sun.xml.messaging.saaj:saaj-impl:1.5.0`
which unfortunately references a version that was never published to
Maven Central.

Closes gh-14924
2018-10-26 17:23:03 -07:00
dreis2211 fb03139c59 Fix MetricsAutoConfigurationTests
Closes gh-14972
2018-10-26 16:54:11 -07:00
dreis2211 3d2fbdf3bd Polish mocks with default answer
Closes gh-14971
2018-10-26 16:39:48 -07:00
Phillip Webb c393f6262e Merge branch '2.0.x' 2018-10-26 16:36:02 -07:00
Phillip Webb 33c7a74bee Update copyright year for changed files 2018-10-26 16:35:28 -07:00
Phillip Webb 997de53f20 Remove uncessary call in PropertiesMigrationReport
Closes gh-14974
2018-10-26 16:35:00 -07:00
Phillip Webb 5603d61909 Polish "Consider aliases when checking descendants"
See gh-14967
2018-10-26 16:24:23 -07:00
chang-chao 256ca681fd Consider aliases when checking descendants
Update `AliasedConfigurationPropertySource` to consider aliases in
`containsDescendantOf`.

Prior to this commit, given a source containing `example.name` with
a defined alias of `other.name -> example.name` calling
`containsDescendantOf("other")` would incorrectly return
`ConfigurationPropertyState.ABSENT`.

Closes gh-14967
2018-10-26 16:08:56 -07:00
Phillip Webb 1a0a8470e5 Merge branch '2.0.x' 2018-10-26 13:37:39 -07:00
Phillip Webb 62b9268cec Polish "Fix Spring Batch job restart parameters handling"
See gh-14933
2018-10-26 13:30:50 -07:00
Mahmoud Ben Hassine ad3c3ad361 Fix Spring Batch job restart parameters handling
Fix the `JobLauncherCommandLineRunner` to correctly deal with job
parameters when restarting a job.

Prior to this commit, we were was calling the `getNextJobParameters`
method of the `JobParametersBuilder` from batch. This method was getting
the previous parameters of the wrong job instance in a restart scenario.

This commit fixes the issue by first getting the right job instance with
the provided parameters, then restarting it.

Closes gh-14933
2018-10-26 13:24:02 -07:00
Phillip Webb 1a85e629d7 Stop using streams when working with sources
Replace `streamSources()` calls with `getSources()` in an attempt to
reduce the amount of garbage created.

Closes gh-13565
2018-10-26 11:30:28 -07:00
Vedran Pavic 6e967fe860 Upgrade to Hazelcast 3.11
Closes gh-14949
2018-10-25 15:57:59 -07:00
Phillip Webb acb5a90273 Log warning when using deprecated EndpointId chars
Update `EndpointId` to log a warning when `-` or `.` are used.

Closes gh-14840
2018-10-25 15:56:48 -07:00
Stephane Nicoll d1ce315602 Merge branch '1.5.x' into 2.0.x 2018-10-26 07:48:40 +09:00
Hanope 65e3b9ff5b Fix typos
Closes gh-14954
2018-10-26 07:34:58 +09:00
dreis2211 5b6e94d78a Polish javadoc of CachesEndpoint
Closes gh-14969
2018-10-26 07:31:49 +09:00
Brian Clozel b424fa6039 Upgrade to Maven Failsafe Plugin 2.22.1
Closes gh-14965
2018-10-25 12:53:14 +02:00
Brian Clozel b5ea9c1eb2 Upgrade to Flyway 5.2.1
Closes gh-14964
2018-10-25 12:53:14 +02:00
Brian Clozel 3c367d8a46 Upgrade to Aspectj 1.9.2
Closes gh-14963
2018-10-25 12:53:14 +02:00
Brian Clozel 0c00d1d482 Upgrade to Ehcache 2.10.6
Closes gh-14962
2018-10-25 12:53:14 +02:00
Brian Clozel 8c400c8522 Upgrade to Mysql 8.0.13
Closes gh-14960
2018-10-25 12:53:14 +02:00
Brian Clozel ecd2efd4e4 Upgrade to Undertow 2.0.14.Final
Closes gh-14959
2018-10-25 12:53:14 +02:00