Commit Graph

21208 Commits

Author SHA1 Message Date
Andy Wilkinson
fb38b04089 Merge branch '1.5.x' 2018-02-14 09:25:10 +00:00
Andy Wilkinson
f3989b1b95 Upgrade to Spring Session 1.3.2.RELEASE
Closes gh-12038
2018-02-14 08:08:54 +00:00
Andy Wilkinson
f8b4b10cdc Upgrade to Liquibase 3.5.4
Closes gh-12037
2018-02-14 08:08:54 +00:00
Andy Wilkinson
1fa45b2890 Upgrade to Tomcat 8.5.28
Closes gh-12036
2018-02-14 08:08:53 +00:00
Phillip Webb
45347af62e Allow lifecycleTimeout to be set for Netty
Update `NettyReactiveWebServerFactory` and `NettyWebServer` to allow
the lifecycle (start/stop) timeout to be configured.

Fixes gh-10977
2018-02-13 15:16:29 -08:00
Phillip Webb
5c80d6dc00 Merge pull request #12029 from dreis2211
* pr/12029:
  Polish BannerTests
2018-02-13 14:56:00 -08:00
dreis2211
cd0c5ba4d5 Polish BannerTests
Closes gh-12029
2018-02-13 14:55:40 -08:00
Phillip Webb
a9eefaedcf Merge pull request #12032 from igor-suhorukov
* pr/12032:
  Polish static final usage for constants
2018-02-13 14:54:29 -08:00
igor-suhorukov
e98b93844a Polish static final usage for constants
Closes gh-12032
2018-02-13 14:53:26 -08:00
Phillip Webb
94bbaa74e6 Merge pull request #12030 from jkschneider
* pr/12030:
  Fix upstream micrometer renames
2018-02-13 14:51:43 -08:00
Jon Schneider
d70594a2b1 Fix upstream micrometer renames
Fix for the rename of `HistogramConfig` to `DistributionStatisticConfig`

Closes gh-12030
2018-02-13 14:50:20 -08:00
Phillip Webb
6771cc9674 Polish 2018-02-13 14:41:12 -08:00
Andy Wilkinson
d238a31d3d Polish 2018-02-13 17:50:40 +00:00
Andy Wilkinson
214c7ebdd5 Start building against Spring Framework 5.0.4 snapshots again
This reverts commit 682612efa3.
2018-02-13 17:42:16 +00:00
Brian Clozel
45b63cb1b0 Merge pull request #11909 from sdeleuze:improved-error-logging
* pr/11909:
  Polish
  Improve WebFlux error logging
2018-02-13 18:22:34 +01:00
Brian Clozel
8d22a79eb6 Polish 2018-02-13 18:21:31 +01:00
sdeleuze
e399cf6918 Improve WebFlux error logging
This commit avoids printing the stacktrace for ResponseStatusException
in order to be consistent with WebFlux ResponseStatusExceptionHandler
and because this stacktrace is usually not very useful in Reactive
world and mainly pollutes the logs, only the message is logged in that
case.

It also logs a WARN message for Bad Request (400) HTTP responses in
order to have a feedback when an exception is thrown due to client error
(unable to deserialize request body for example).

See related SPR-15083 issue on Spring Framework side.
2018-02-13 18:21:31 +01:00
Andy Wilkinson
a19b1946d3 Clarify that both Java 8 and 9 are supported
Closes gh-12027
2018-02-13 17:11:54 +00:00
Andy Wilkinson
42896823a2 Merge pull request #12022 from Tommy Ludwig
* gh-12022:
  Polish “Auto-configure FileDescriptorMetrics”
  Auto-configure FileDescriptorMetrics
  Auto-configure ClassLoaderMetrics
2018-02-13 16:40:27 +00:00
Andy Wilkinson
25520a9e32 Polish “Auto-configure FileDescriptorMetrics”
Closes gh-12022
2018-02-13 16:40:18 +00:00
Tommy Ludwig
a51fcd071e Auto-configure FileDescriptorMetrics
See gh-12022
2018-02-13 16:40:18 +00:00
Tommy Ludwig
149963bc61 Auto-configure ClassLoaderMetrics
Auto-configure ClassLoaderMetrics as part of the JVM metrics from
Micrometer.

See gh-12022
2018-02-13 16:40:18 +00:00
Stephane Nicoll
83e0978a03 Polish 2018-02-13 17:37:56 +01:00
Andy Wilkinson
682612efa3 Revert "Start building against Spring Framework 5.0.4 snapshots"
This reverts commit 9dd7b0689d.
2018-02-13 16:24:26 +00:00
Andy Wilkinson
e1ab62668f Merge branch '1.5.x' 2018-02-13 15:05:28 +00:00
Andy Wilkinson
d59000ceb1 Change ownership when log file is created by launch script
Closes gh-11951
2018-02-13 14:54:35 +00:00
Andy Wilkinson
9dd7b0689d Start building against Spring Framework 5.0.4 snapshots
This reverts commit f24c92c658 which is
no longer necessary as SPR-16456 has no been fixed.

See gh-11894
2018-02-13 13:43:47 +00:00
Stephane Nicoll
fd13202b69 Merge pull request #12017 from jkschneider:micrometer-config
* pr/12017:
  Polish "Remove unnecessary config options for metrics"
  Remove unnecessary config options for JDBC, Rabbit, and Cache metrics
2018-02-13 14:42:46 +01:00
Stephane Nicoll
b28cabdb12 Polish "Remove unnecessary config options for metrics"
Closes gh-12017"
2018-02-13 14:36:52 +01:00
Jon Schneider
49f21a2264 Remove unnecessary config options for JDBC, Rabbit, and Cache metrics
See gh-12017
2018-02-13 14:36:52 +01:00
Andy Wilkinson
db4ffbbc4b Expose constants for Spring application JSON property names
Closes gh-12012
2018-02-13 13:22:50 +00:00
Andy Wilkinson
ce9b2b8266 Auto-configure Micrometer’s Tomcat metrics
Closes gh-11916
2018-02-13 12:47:25 +00:00
Andy Wilkinson
01b1c1d947 Perform failure analysis of MissingRequiredConfigurationException
Closes gh-12010
2018-02-13 11:35:18 +00:00
Stephane Nicoll
718bc72fb8 Merge pull request #11997 from qinnnyul:add-health-indicator-for-reactive-mongo
* pr/11997:
  Polish "Add health indicator for reactive MongoDB"
  Add health indicator for reactive MongoDB
2018-02-13 11:33:03 +01:00
Stephane Nicoll
28f5392787 Polish "Add health indicator for reactive MongoDB"
Closes gh-11997
2018-02-13 11:22:04 +01:00
Yulin Qin
eee2694648 Add health indicator for reactive MongoDB
See gh-11997
2018-02-13 11:22:04 +01:00
Andy Wilkinson
a02fdc755e Stop MeterRegistries when context is closed
Closes gh-12006
2018-02-13 09:34:11 +00:00
Stephane Nicoll
9696737dce Merge pull request #12019 from izeye:polish-modifier-order
* pr/12019:
  Polish "Polish modifier order"
  Polish modifier order
2018-02-13 09:50:36 +01:00
Stephane Nicoll
d468a0714e Polish "Polish modifier order"
Closes gh-12019
2018-02-13 09:50:20 +01:00
Johnny Lim
87bf0b26df Polish modifier order
See gh-12019
2018-02-13 09:49:59 +01:00
Stephane Nicoll
114ece56b8 Merge pull request #12011 from igor-suhorukov:master
* pr/12011:
  Polish "Remove redundant casts"
  Remove redundant casts
2018-02-13 09:34:19 +01:00
Stephane Nicoll
31da4cc35d Polish "Remove redundant casts"
Closes gh-12011
2018-02-13 09:34:08 +01:00
igor-suhorukov
71351de694 Remove redundant casts
See gh-12011
2018-02-13 09:33:49 +01:00
Phillip Webb
74cede5cdc Migrate integration tests to context runner
Migrate `IntegrationAutoConfigurationTests` to use the
`ApplicationContextRunner`.
2018-02-12 17:49:54 -08:00
Phillip Webb
728b522307 Include scope support on ApplicationContextAssert
Update `ApplicationContextAssert` with support for scopes. Allows
tests to consider the all ancestors, or limit assertions to just the
current context.

Fixes gh-12015
2018-02-12 17:49:54 -08:00
Phillip Webb
d6858ae162 Fix ConfigurationPropertySources parent attach
Update `ConfigurationPropertySources` so that the underlying sources
are checked when attaching. Prior to this commit, in a parent/child
setup the `ConfigurationPropertySources` adapter may already present
on the parent. This means the attaching is skipped but the managed
sources are incorrect.

Fixes gh-12013
2018-02-12 17:49:53 -08:00
Phillip Webb
7ab587a067 Add initializer support
Add `ApplicationContextInitializer` support to
`ApplicationContextRunner`.
2018-02-12 17:49:53 -08:00
Phillip Webb
3bec55e16c Formatting 2018-02-12 17:49:53 -08:00
Madhura Bhave
3880bdb908 Add example for customizing webflux security
Closes gh-11928
2018-02-12 16:26:30 -08:00
Madhura Bhave
16a499b2fa Cloud Foundry health should always show details
Fixes gh-12014
2018-02-12 15:28:06 -08:00