Commit Graph

23481 Commits

Author SHA1 Message Date
Madhura Bhave
f908e3ae52 Merge pull request #16584 from SergeyHydra
* pr/16584:
  Polish "Apply server customizer beans automatically"
  Apply server customizer beans automatically
2019-04-22 15:20:48 -07:00
Madhura Bhave
23cf8565b1 Polish "Apply server customizer beans automatically"
Closes gh-16584
2019-04-22 15:19:42 -07:00
Sergey Serdyuk
8ff78ed4c3 Apply server customizer beans automatically
See gh-16584
2019-04-22 15:19:34 -07:00
Stephane Nicoll
fd14cd0bd0 Merge branch '2.1.x' 2019-04-22 10:00:28 +02:00
Stephane Nicoll
09acbc1a4f Merge pull request #16613 from liaozan
* pr/16613:
  Polish "Fix UndertowWebServer's logger name"
  Fix UndertowWebServer's logger name
2019-04-22 10:00:02 +02:00
Stephane Nicoll
1f656e75fc Polish "Fix UndertowWebServer's logger name"
Closes gh-16613
2019-04-22 09:59:24 +02:00
liaozan
360da66333 Fix UndertowWebServer's logger name
See gh-16613
2019-04-22 09:58:59 +02:00
Stephane Nicoll
b0d3b3b409 Merge pull request #16616 from foreverhex
* pr/16616:
  Fix checkstyle violation
2019-04-21 20:29:19 +02:00
ForeverHex
124d969b2d Fix checkstyle violation
Closes gh-16616
2019-04-21 20:28:16 +02:00
Phillip Webb
1f893d9376 Log warning on slow host resolution
Update `StartupInfoLogger` so that if the `InetAddress` call takes
more than 200ms a warning is logged.

Closes gh-7087
2019-04-19 15:11:22 -07:00
Phillip Webb
405135d5a8 Polish StartupInfoLogger message creation
Rework some of the internals of `StartupInfoLogger` so that fewer
strings are created.
2019-04-19 15:11:22 -07:00
Madhura Bhave
ba196b47ac Fix failure analyzer message
See gh-16581
2019-04-19 09:37:31 -07:00
Stephane Nicoll
e9447b0dbf Merge branch '2.1.x' 2019-04-19 16:31:34 +02:00
Stephane Nicoll
6774cc5119 Merge pull request #16507 from aftersss
* pr/16507:
  Polish "Cache MimeTypes to improve performance"
  Cache MimeTypes to improve performance
2019-04-19 16:31:20 +02:00
Stephane Nicoll
2448efc028 Polish "Cache MimeTypes to improve performance"
Closes gh-16507
2019-04-19 16:30:54 +02:00
wenqi.huang
b3f94c47d9 Cache MimeTypes to improve performance
See gh-16507
2019-04-19 16:29:32 +02:00
Stephane Nicoll
d55d6b35d9 Merge branch '2.1.x' 2019-04-19 16:02:10 +02:00
Stephane Nicoll
0875a07fe5 Merge pull request #16513 from vpavic
* pr/16513:
  Polish "Improve DefaultCookieSerializer auto-configuration"
  Improve DefaultCookieSerializer auto-configuration
2019-04-19 15:55:45 +02:00
Stephane Nicoll
7b9471836b Polish "Improve DefaultCookieSerializer auto-configuration"
Closes gh-16513
2019-04-19 15:55:13 +02:00
Vedran Pavic
5e02541195 Improve DefaultCookieSerializer auto-configuration
Spring Session's own configuration support (i.e.
SpringHttpSessionConfiguration) will configure the default
DefaultCookieSerializer with rememberMeRequestAttribute if
SpringSessionRememberMeServices bean has been detected in the
application context.

In contrast, Spring Boot's auto-configured DefaultCookieSerializer does
not do this which results in a different out-of-the-box experience for
users that rely on Spring Session's remember-me integration.

This commit improves Spring Session DefaultCookieSerializer
auto-configuration to match Spring Session's behavior and make the
auto-configured DefaultCookieSerializer aware of
SpringSessionRememberMeServices bean.

See gh-16513
2019-04-19 15:54:26 +02:00
Stephane Nicoll
cd3f4213c6 Merge pull request #16597 from izeye
* pr/16597:
  Polish
2019-04-19 10:02:56 +02:00
Johnny Lim
62549ffb49 Polish
Closes gh-16597
2019-04-19 10:02:46 +02:00
Phillip Webb
b879972d0d Migrate to MergedAnnotations API
Migrate away from `AnnotationUtils` and `AnnotatedElementUtils`
when possible to the new `MergedAnnotations` API.

Closes gh-16551
2019-04-18 15:40:02 -07:00
Madhura Bhave
3ecefdbcdc Add dependency management for okhttp3
Closes gh-6385
2019-04-18 14:14:14 -07:00
Madhura Bhave
eda14fb0f6 Analyze failure if configprop scanning results in two beans
Closes gh-16581
2019-04-18 11:43:53 -07:00
Andy Wilkinson
3a6fe989af Merge pull request #16182 from Hendrig Sellik
* gh-16182:
  Polish "Determine Spring Boot version correctly when using module path"
  Determine Spring Boot version correctly when using module path

Closes gh-16182
2019-04-18 15:15:17 +01:00
Andy Wilkinson
15f28dcc68 Polish "Determine Spring Boot version correctly when using module path"
See gh-16182
2019-04-18 15:09:17 +01:00
Hendrig Sellik
ec8fb614f7 Determine Spring Boot version correctly when using module path
In Java 9, a package may return null for its implementation version
even when the manifest attribute specifying the version is present
in the jar from which the package was loaded.

This commit updates SpringBootVersion to fall back to
accessing the jar and its manifest attributes directly when the
implementation version of its package is null.

See gh-16182
2019-04-18 15:09:11 +01:00
Andy Wilkinson
47d42cbc35 Merge pull request #16278 from Rafiullah Hamedy
* gh-16278:
  Polish "Add support for configuring remaining Undertow server options"
  Add support for configuring remaining Undertow server options

Closes gh-16278
2019-04-18 12:22:56 +01:00
Andy Wilkinson
ca1a666f58 Polish "Add support for configuring remaining Undertow server options"
See gh-16278
2019-04-18 12:21:28 +01:00
Rafiullah Hamedy
186b1fae6d Add support for configuring remaining Undertow server options
This commit adds support for configuring Undertow's server options that were previously
not configurable via application properties. The additions are the following:

- allow-encoded-slash
- always-set-keep-alive
- decode-url
- max-cookies
- max-headers
- max-parameters,
- url-charset

See gh-16278
2019-04-18 12:19:12 +01:00
Andy Wilkinson
13b356af82 Merge pull request #16593 from Patryk Kostrzewa
* gh-16593:
  Update WebFlux starter to depend on validation starter

Closes gh-16593
2019-04-18 10:29:55 +01:00
Patryk Kostrzewa
ff7cf2dc96 Update WebFlux starter to depend on validation starter
Previously, the WebFlux starter declared direct dependencies on Hibernate Validator
and the Jakarta EE validation API. This meant that it required two exclusions to
exclude validation from a reactive web application that did not need it.

This commit updates the WebFlux starter to get its validation dependencies via a
dependency on the validation starter. This allows validation to be excluded
using a single exclusion. The EL dependency from the validation starter has
been excluded to allow the EL implementation from the underlying container
starter to continue to be used instead.

See gh-16593
2019-04-18 10:29:42 +01:00
Stephane Nicoll
f1510f8d67 Merge pull request #15965 from nosan
* pr/15965:
  Polish "Allow to configure the Elasticsearch rest client timeouts"
  Allow to configure the Elasticsearch rest client timeouts
2019-04-18 11:17:56 +02:00
Stephane Nicoll
2cfcd2690e Polish "Allow to configure the Elasticsearch rest client timeouts"
Closes gh-15965
2019-04-18 11:17:44 +02:00
Dmytro Nosan
5bacb32557 Allow to configure the Elasticsearch rest client timeouts
See gh-15965
2019-04-18 11:17:44 +02:00
Andy Wilkinson
af4ce2d537 Merge branch '2.1.x'
Closes gh-16600
2019-04-18 10:15:10 +01:00
Andy Wilkinson
50bcfd25fd Make EL available to reactive web apps as it already is to servlet web apps
Closes gh-16596
2019-04-18 10:10:49 +01:00
Stephane Nicoll
9b7bc690ae Merge pull request #16467 from ayudovin
* pr/16467:
  Polish "Add auto-configuration support for ReactiveGridFsTemplate"
  Add auto-configuration support for ReactiveGridFsTemplate
2019-04-17 15:38:25 +02:00
Stephane Nicoll
e24c17d524 Polish "Add auto-configuration support for ReactiveGridFsTemplate"
Closes gh-16467
2019-04-17 15:36:58 +02:00
ayudovin
d9c9ed1d52 Add auto-configuration support for ReactiveGridFsTemplate
See gh-16467
2019-04-17 15:32:07 +02:00
Stephane Nicoll
1a05851fe2 Merge pull request #16080 from nhomble
* pr/16080:
  Polish "Complete Jetty Access Log configuration properties support"
  Complete Jetty Access Log configuration properties support
2019-04-17 15:28:50 +02:00
Stephane Nicoll
0f60555031 Polish "Complete Jetty Access Log configuration properties support"
Closes gh-16080
2019-04-17 15:25:54 +02:00
nicolas
55a5a26b95 Complete Jetty Access Log configuration properties support
See gh-16080
2019-04-17 15:25:54 +02:00
Andy Wilkinson
a0b65a00b9 Allow Flyway tests to import internal exception
Closes gh-14989
2019-04-17 14:20:12 +01:00
Andy Wilkinson
1eac4d6046 Support configuration of Flyway's Pro properties
Closes gh-14989
2019-04-17 12:12:05 +01:00
Andy Wilkinson
d3541fa672 Upgrade to Tomcat 9.0.19
Closes gh-16591
2019-04-17 11:38:47 +01:00
Andy Wilkinson
41197acafc Merge branch '2.1.x' 2019-04-17 11:38:40 +01:00
Andy Wilkinson
853b4952a0 Upgrade to Tomcat 9.0.19
Closes gh-16591
2019-04-17 11:36:04 +01:00
Stephane Nicoll
81f41b607a Merge pull request #16575 from izeye
* pr/16575:
  Polish
2019-04-17 11:57:59 +02:00