Commit Graph

15024 Commits

Author SHA1 Message Date
Eddú Meléndez
633aefa844 Move tests to use ApplicationContextRunner 2018-01-24 09:58:35 +01:00
Brian Clozel
145d46e093 Polish 2018-01-23 15:52:44 +01:00
Stephane Nicoll
1f4a32f0ad Add a way to signal that an endpoint request is invalid
This commit adds InvalidEndpointRequestException as a technology
agnostic way to signal that an endpoint request is invalid. When such
exception is thrown, the web layer translates that to a 400.

Rather than overriding the reason, this commit makes sure to reuse the
error infrastructure.

Closes gh-10618
2018-01-23 14:57:13 +01:00
Madhura Bhave
55c8ceb440 Polish 2018-01-23 17:01:46 +05:30
Brian Clozel
be7c0a15f7 Move reactive ErrorAttributes into spring-boot
Closes gh-11714
2018-01-23 11:55:34 +01:00
Stephane Nicoll
674be06874 Upgrade to Spring Framework 5.0.3.RELEASE
Closes gh-11503
2018-01-23 11:35:55 +01:00
Andy Wilkinson
e928a4a19d Merge branch '1.5.x' 2018-01-23 10:09:41 +00:00
Andy Wilkinson
1d58e7a7c2 Upgrade to GemFire 8.2.8
Closes gh-11746
2018-01-23 10:09:00 +00:00
Stephane Nicoll
29cfa4878d Merge branch '1.5.x' 2018-01-23 10:54:36 +01:00
Stephane Nicoll
64b0633a41 Upgrade to Spring Framework 4.3.14.RELEASE
Closes gh-11520
2018-01-23 10:53:33 +01:00
Stephane Nicoll
81b275fa2a Upgrade to Reactor Bismuth-SR5
Closes gh-11572
2018-01-23 09:29:33 +01:00
Phillip Webb
96f1fa296b Merge pull request #11680 from andrey916
* pr/11680:
  Replace string arguments with char
2018-01-22 16:38:08 -08:00
andrey.onufreyko
b19dcb13e2 Replace string arguments with char
Optimize method calls by replacing single character String arguments
with char.

Closes gh-11680
2018-01-22 16:35:06 -08:00
Phillip Webb
2735f57b0d Merge pull request #11720 from izeye
* pr/11720:
  Polish
2018-01-22 16:07:04 -08:00
Johnny Lim
768e7c07e6 Polish
Closes gh-11720
2018-01-22 16:06:45 -08:00
Phillip Webb
55f44dc510 Merge pull request #11743 from dreis2211
* pr/11743:
  Narrow scope of some variables
2018-01-22 16:03:27 -08:00
dreis2211
5f66c09844 Narrow scope of some variables
Closes gh-11743
2018-01-22 16:01:02 -08:00
Phillip Webb
8903f04990 Merge pull request #11724 from dreis2211
* pr/11724:
  Polish
2018-01-22 16:00:40 -08:00
dreis2211
b7e663e820 Polish
Closes gh-11724
2018-01-22 15:59:20 -08:00
Phillip Webb
66d5c03c39 Add checkstyle to prevent reactor Assert import 2018-01-22 15:57:02 -08:00
Phillip Webb
d0ca1a3eea Rename configuration-analyzer
Rename `spring-boot-configuration-analyzer` to
`spring-boot-deprecated-properties-support`.

Also renamed classes to match and polished some of the code.

See gh-11301
2018-01-22 15:57:01 -08:00
Phillip Webb
66f8279f65 Polish 2018-01-22 14:06:18 -08:00
Andy Wilkinson
77596fa8e6 Polish 2018-01-22 21:15:48 +00:00
Andy Wilkinson
a41e28eea2 Merge branch '1.5.x' 2018-01-22 21:00:26 +00:00
Andy Wilkinson
b6576fbe9c Test compression defaults against 8.5.24 as they changed in 8.5.27
See gh-11727
2018-01-22 21:00:13 +00:00
Andy Wilkinson
f5a8c2a705 Upgrade to Postgresql 42.2.0
Closes gh-11741
2018-01-22 20:35:37 +00:00
Andy Wilkinson
26ea4037a3 Upgrade to Neo4j Ogm 3.0.3
Closes gh-11740
2018-01-22 20:35:36 +00:00
Andy Wilkinson
d5b58a60e0 Upgrade to Jetty El 8.5.24.1
Closes gh-11739
2018-01-22 20:35:36 +00:00
Andy Wilkinson
89953f0d46 Upgrade to Jooq 3.10.4
Closes gh-11738
2018-01-22 20:35:35 +00:00
Andy Wilkinson
3b760d3620 Upgrade to Kotlin 1.2.20
Closes gh-11737
2018-01-22 20:35:34 +00:00
Andy Wilkinson
0ebff9aa80 Upgrade to Flyway 5.0.6
Closes gh-11736
2018-01-22 20:35:34 +00:00
Andy Wilkinson
37d3416627 Upgrade to Elasticsearch 5.6.6
Closes gh-11735
2018-01-22 20:35:33 +00:00
Andy Wilkinson
c825167ec7 Upgrade to Netty 4.1.20.Final
Closes gh-11734
2018-01-22 20:35:32 +00:00
Andy Wilkinson
67c74ff123 Upgrade to Embedded Mongo 2.0.1
Closes gh-11733
2018-01-22 20:35:31 +00:00
Andy Wilkinson
884486aba7 Upgrade to Hikaricp 2.7.6
Closes gh-11732
2018-01-22 20:35:31 +00:00
Andy Wilkinson
315d2b620e Upgrade to Unboundid Ldapsdk 4.0.4
Closes gh-11731
2018-01-22 20:35:30 +00:00
Andy Wilkinson
59e577d9ac Upgrade to Cassandra Driver 3.4.0
Closes gh-11730
2018-01-22 20:35:28 +00:00
Andy Wilkinson
1fdfcfd042 Upgrade to Couchbase Client 2.5.4
Closes gh-11729
2018-01-22 20:35:27 +00:00
Andy Wilkinson
61eb93f9b0 Upgrade to Atomikos 4.0.6
Closes gh-11728
2018-01-22 20:35:26 +00:00
Andy Wilkinson
b5444430ca Merge branch '1.5.x' 2018-01-22 20:33:36 +00:00
Andy Wilkinson
de6c406260 Upgrade to Tomcat 8.5.27
Closes gh-11727
2018-01-22 20:32:34 +00:00
Andy Wilkinson
a1a02a577a Upgrade to Httpclient 4.5.5
Closes gh-11726
2018-01-22 20:32:33 +00:00
Brian Clozel
a8baf42f2f Ensure that CharacterEncodingFilter is ordered first
This commit makes sure that `CharacterEncodingFilter` is ordered with
the `Ordered.HIGHEST_PRECEDENCE` and that other filters, potentially
reading the request body, are ordered after.

In this particular case, both `WebMvcMetricsFilter` and
`ErrorPageFilter` are now ordered at `Ordered.HIGHEST_PRECEDENCE + 1` to
avoid cases where the request body is read before the encoding
configuration is taken into account.

Closes gh-11607
2018-01-22 21:08:21 +01:00
Stephane Nicoll
6aa639253a Analyse the environment for properties that are no longer supported
This commit adds a new `spring-boot-configuration-analyzer` module that
can be added to any app to analyze its environment on startup.

Each configuration key that has a matching replacement is temporarily
transitioned to the new name with a `WARN` report that lists all of
them.

If the project defines configuration keys that don't have a replacement,
an `ERROR` report lists them with more information if it is available.

Closes gh-11301
2018-01-22 17:31:03 +01:00
Stephane Nicoll
93168ea0dd Merge pull request #11716 from sdeleuze:kotlin-stdlib-jdk
* pr/11716:
  Manage dependencies for kotlin-stdlib-jdk7/8
2018-01-22 17:04:12 +01:00
sdeleuze
d1b18b75d7 Manage dependencies for kotlin-stdlib-jdk7/8
As explained in the "Split package compatibility" section of
https://blog.jetbrains.com/kotlin/2017/09/kotlin-1-2-beta-is-out/
kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 are the recommended
dependencies to use with Kotlin 1.2 for Java 9+ compatibility.

Closes gh-11716
2018-01-22 17:03:22 +01:00
Stephane Nicoll
9fb4290579 Merge pull request #11674 from izeye:platform-specifc-line-separator
* pr/11674:
  Use the platform-specific line separator
2018-01-22 16:11:59 +01:00
Johnny Lim
a0f6abffb6 Use the platform-specific line separator
Closes gh-11674
2018-01-22 16:11:34 +01:00
Stephane Nicoll
34b19de68f Merge pull request #11692 from izeye:null-check
* pr/11692:
  Add missing null checks and volatile keyword
2018-01-22 16:06:19 +01:00
Johnny Lim
13a7c9df4b Add missing null checks and volatile keyword
Closes gh-11692
2018-01-22 16:05:11 +01:00