Commit Graph

14800 Commits

Author SHA1 Message Date
ioann
ba552f1d24 Allow GSON customization via properties or beans
Update GSON support to allow customization with either properties or
customize beans.

See gh-11498
2018-01-08 22:37:55 -08:00
Phillip Webb
9cb5f3da89 Create DynamicRegistrationBean
Extract functionality from the `RegistrationBean` into a new class
designed to work with dynamic registration. Servet and Filter
registration beans now extend from `DynaimcRegistrationBean`, where as
`ServletListenerRegistrationBean` extends directly from
`RegistrationBean`.

This refactor allows the removal of `ServletListenerRegistrationBean`
deprecated methods.

Fixes gh-11344
2018-01-08 22:05:00 -08:00
Phillip Webb
85d3f5a180 Fix NPE in test containers
Fix NPE accidentally introduced during refinement.
2018-01-08 22:04:59 -08:00
Phillip Webb
fb614c64da Revert "Build against Spring Security 5.0.1 SNAPSHOT"
This reverts commit 2c52b9e87a
since the SNAPSHOT BOM doesn't appear to be published.

See gh-11573
2018-01-08 18:09:07 -08:00
Phillip Webb
2d76aad03e Further refine test containers 2018-01-08 17:24:42 -08:00
Phillip Webb
201da97774 Further refine test containers 2018-01-08 16:32:39 -08:00
Phillip Webb
2c52b9e87a Build against Spring Security 5.0.1 SNAPSHOT
See gh-11573
2018-01-08 15:19:06 -08:00
Phillip Webb
cae02ce0b8 Make WebMvcMetricsFilter lazy
Update `WebMvcMetricsFilter` so that it no longer causes early
initialization of Spring MVC concerns.

Fixes gh-11571
2018-01-08 15:19:06 -08:00
Phillip Webb
19ce0aa4f0 Refine BackgroundPreinitializer
Update `BackgroundPreinitializer` to start initialization earlier. Also
refine the startup order and initialize Charsets.

Fixes gh-11570
See gh-11412
2018-01-08 15:19:06 -08:00
Phillip Webb
79fc8838fd Propagate Map conversion failures
Align `MapBinder` with `IndexedBinder` so that if a value is specified
any converter exception are propagated.

See gh-11493
2018-01-08 15:19:06 -08:00
Phillip Webb
25609c060e Polish 2018-01-08 15:19:06 -08:00
Phillip Webb
a62a27e686 Polish InvalidConfigurationPropertyValueException 2018-01-08 15:05:52 -08:00
Phillip Webb
937a62e0b8 Polish ConfigurationPropertiesBinder
Remove unused code and polish implementation so that the binder is not
created on each invocation.
2018-01-08 15:05:52 -08:00
Phillip Webb
df277fb1b8 Update copyright header used in Eclipse template 2018-01-08 15:05:52 -08:00
Madhura Bhave
9a6c339243 Use TestContainers util from spring-boot-test-support
See gh-10516
2018-01-08 14:05:15 -08:00
Andy Wilkinson
996b3ef7f2 Refine test containers 2018-01-08 14:05:05 -08:00
Phillip Webb
87bccb96f1 Merge branch '1.5.x' 2018-01-08 13:17:51 -08:00
Phillip Webb
700d3c3907 Relocate shaded JSON API in annotation-processor
Move the 'shade' copy of the JSON API to a separate src folder to make
it clearer that we don't own the code. Also polished some formatting
and suppressed a few warnings.

Closes gh-10307
2018-01-08 12:24:19 -08:00
Madhura Bhave
41c02b307b Try to convert value in MapBinder
Fixes gh-11493
2018-01-08 10:17:55 -08:00
Andy Wilkinson
47acf8acdc Start building against Reactor Bismuth snapshots
See gh-11572
2018-01-08 17:47:53 +00:00
Stephane Nicoll
0822fcf0c5 Merge branch '1.5.x' 2018-01-08 17:48:46 +01:00
Stephane Nicoll
ad9cf39805 Merge pull request #11528 from izeye:missing-selenium
* pr/11528:
  Add missing dependency management for org.seleniumhq.selenium
2018-01-08 17:48:35 +01:00
Johnny Lim
85b1ab9e32 Add missing dependency management for org.seleniumhq.selenium
Closes gh-11528
2018-01-08 17:48:08 +01:00
Stephane Nicoll
66d58294d5 Merge branch '1.5.x' 2018-01-08 17:46:16 +01:00
Stephane Nicoll
b9f4fd0b65 Fix exclude filter to not exclude MediaType
This commit removes MediaType from the list of exclude types as it looks
like an error: MediaType has a constructor taking a `String` and binding
works fine with it.

This has the effect of properly generating the metadata for the only key
that Spring Boot exposes with a MediaType type:
spring.data.rest.default-media-type.

Closes gh-11568
2018-01-08 17:44:32 +01:00
Andy Wilkinson
12e1fcbfab Do not pass null credential from ConnectionString to Mongo builder 2018-01-08 15:21:14 +00:00
Stephane Nicoll
f2d3f51f3f Merge branch '1.5.x' 2018-01-08 16:04:19 +01:00
Stephane Nicoll
4568f14c71 Fix javadoc warnings 2018-01-08 15:55:24 +01:00
Andy Wilkinson
c7f5f0735d Stop reusing the Cluster when waiting for Cassandra to start
See gh-10516
2018-01-08 14:13:21 +00:00
Andy Wilkinson
927003e0b7 Polish 2018-01-08 13:59:14 +00:00
Stephane Nicoll
8941dc746e Polish 2018-01-08 14:38:10 +01:00
Stephane Nicoll
b98c7ed9f8 Add InvalidConfigurationPropertyValueException
This commit adds a new exception type that denotes the value of a
configuration key is invalid, alongside a FailureAnalyzer that reports
a human-readable report when such exception is thrown on startup.

ResourceNotFoundException being a (useless) specialization of this new
exception, its usage has been refactored to use the more general
exception type.

Closes gh-10794
2018-01-08 14:24:57 +01:00
Stephane Nicoll
6daad1f562 Allow to inject the Environment in FailureAnalyzer
Closes gh-11569
2018-01-08 14:24:23 +01:00
Andy Wilkinson
6a0dbc5ce0 Upgrade to Sqlite Jdbc 3.21.0.1
Closes gh-11567
2018-01-08 12:36:42 +00:00
Andy Wilkinson
3f8c99d1b6 Upgrade to Selenium 3.8.1
Closes gh-11566
2018-01-08 12:36:42 +00:00
Andy Wilkinson
b5ee0031b4 Upgrade to Selenium Htmlunit 2.29.0
Closes gh-11565
2018-01-08 12:36:42 +00:00
Andy Wilkinson
b1371a703f Upgrade to Reactive Streams 1.0.2
Closes gh-11564
2018-01-08 12:36:42 +00:00
Andy Wilkinson
750265ee39 Upgrade to Jetty El 8.5.24
Closes gh-11563
2018-01-08 12:36:42 +00:00
Andy Wilkinson
2a9ab811bc Upgrade to Mongo Driver Reactivestreams 1.7.0
Closes gh-11562
2018-01-08 12:36:42 +00:00
Andy Wilkinson
461ab35249 Upgrade to Mongodb 3.6.1
Closes gh-11561
2018-01-08 12:36:42 +00:00
Andy Wilkinson
bdced553f1 Upgrade to Mariadb 2.2.1
Closes gh-11560
2018-01-08 12:36:42 +00:00
Andy Wilkinson
f051eb5858 Upgrade to Jooq 3.10.3
Closes gh-11559
2018-01-08 12:36:42 +00:00
Andy Wilkinson
a7296fb8c0 Upgrade to Influxdb Java 2.8
Closes gh-11558
2018-01-08 12:36:42 +00:00
Andy Wilkinson
51026183c6 Upgrade to Infinispan 9.1.4.Final
Closes gh-11557
2018-01-08 12:36:42 +00:00
Andy Wilkinson
91e64c6a60 Upgrade to Hibernate Validator 6.0.7.Final
Closes gh-11556
2018-01-08 12:36:42 +00:00
Andy Wilkinson
dbd05c57ec Upgrade to Flyway 5.0.5
Closes gh-11555
2018-01-08 12:36:42 +00:00
Andy Wilkinson
9918916181 Upgrade to Jaybird 3.0.3
Closes gh-11554
2018-01-08 12:36:42 +00:00
Andy Wilkinson
a88ddca754 Upgrade to Janino 3.0.8
Closes gh-11553
2018-01-08 12:36:42 +00:00
Andy Wilkinson
b91baa5d12 Upgrade to Assertj 3.9.0
Closes gh-11552
2018-01-08 12:36:42 +00:00
Andy Wilkinson
2487d8878a Upgrade to Commons Pool2 2.5.0
Closes gh-11551
2018-01-08 12:36:42 +00:00