Commit Graph

21208 Commits

Author SHA1 Message Date
Andy Wilkinson
ef157d3649 Fix Checkstyle violations 2018-02-28 19:59:39 +00:00
Phillip Webb
7bc535e4fa Polish 2018-02-28 10:59:26 -08:00
Phillip Webb
67998e983f Revert "Include WebSecurityConfigurer beans in @WebMvcTest"
This reverts commit eef6fdb066.
2018-02-28 10:59:26 -08:00
Andy Wilkinson
6f06422d2d Merge pull request #12287 from Gary Russell
* gh-12287:
  Polish "Remove redundant auto-configuration of SI Micrometer metrics"
  Remove redundant auto-configuration of SI Micrometer metrics
2018-02-28 17:46:00 +00:00
Andy Wilkinson
01304959fa Polish "Remove redundant auto-configuration of SI Micrometer metrics"
Closes gh-12287
2018-02-28 17:45:32 +00:00
Gary Russell
ddd820af9a Remove redundant auto-configuration of SI Micrometer metrics
Spring Integration no longer requires a `MicrometerMetricsFactory` to
support Micrometer metrics so there's nothing for Boot to
auto-configure.

See gh-12287
2018-02-28 17:33:05 +00:00
Andy Wilkinson
c4c50b7c49 Only auto-configure LogbackMetrics when Logback is actually being used
Closes gh-12286
2018-02-28 17:20:04 +00:00
Madhura Bhave
96ae1607c6 Merge branch '1.5.x' 2018-02-28 09:04:19 -08:00
Madhura Bhave
c2f7dd86dc Revert default for CRSF enabled to false
Fixes gh-12267
2018-02-28 08:54:43 -08:00
Andy Wilkinson
9b46221345 Escape backslashes so they are preserved during Properties parsing
Closes gh-12285
2018-02-28 16:34:05 +00:00
Andy Wilkinson
75ed406f47 Upgrade to Spring Security 5.0.3
Closes gh-12247
2018-02-28 15:50:28 +00:00
Andy Wilkinson
1a7b57d849 Merge branch '1.5.x' 2018-02-28 14:51:08 +00:00
Andy Wilkinson
452492183d Polish
Closes gh-11991
2018-02-28 14:48:11 +00:00
Stephane Nicoll
b25656f6c6 Merge pull request #12284 from izeye:unnecessary-method
* pr/12284:
  Remove an unnecessary method in EndpointDiscoverer
2018-02-28 15:45:58 +01:00
Johnny Lim
f12c7ab38a Remove an unnecessary method in EndpointDiscoverer
Closes gh-12284
2018-02-28 15:45:25 +01:00
Stephane Nicoll
0f652cdf4f Fix injection point with proxied DataSource
Prior to this commit, the `ApplicationContext` couldn't start with a
JDK-proxied `HikariDataSource` as the JMX auto-configuration was
attempting to inject a (too narrowed) `HikariDataSource`.

This commit rather injects a regular `DataSource` and attempt to unwrap
it as a `HikariDataSource`.

Closes gh-12271
2018-02-28 15:37:07 +01:00
Stephane Nicoll
5fa71a1f94 Switch test to ApplicationContextRunner 2018-02-28 14:13:45 +01:00
Andy Wilkinson
299eca084c Upgrade to Spring Data Kay SR5
Closes gh-12234
2018-02-28 11:28:03 +00:00
Andy Wilkinson
35b7a16917 Merge branch '1.5.x' 2018-02-28 11:24:08 +00:00
Andy Wilkinson
3cc0055d3b Merge pull request #11991 from Rupert Madden-Abbott
* gh-11991:
  Polish "Fix handling of static resource jars with spaces in their paths"
  Fix handling of static resource jars with spaces in their paths
2018-02-28 10:40:59 +00:00
Andy Wilkinson
88423c504b Polish "Fix handling of static resource jars with spaces in their paths"
Closes gh-11991
2018-02-28 10:40:43 +00:00
Rupert Madden-Abbott
9cd1a4b07a Fix handling of static resource jars with spaces in their paths
See gh-11991
2018-02-28 09:46:29 +00:00
Brian Clozel
52b40ee4ad Merge pull request #12269 from smaldini:addNettyCompressionOptions
* pr/12269:
  Polish
  Add Netty Compression support
2018-02-28 09:37:13 +01:00
Brian Clozel
14d36c9ad8 Polish
Closes gh-12268
2018-02-28 09:36:21 +01:00
Stephane Maldini
7866b946f7 Add Netty Compression support
Reactor Netty 0.7.5 now supports all Compression options.
Unlike previous Reactor Netty versions, the minimum compression
threshold is now based on the content-length instead of
accumulating for a while the data.

See gh-12268
2018-02-28 09:36:21 +01:00
Andy Wilkinson
0abe62e181 Upgrade to Jetty El 8.5.24.2
Closes gh-12279
2018-02-28 08:21:52 +00:00
Andy Wilkinson
85b63f3d38 Upgrade to Hibernate 5.2.14.Final
Closes gh-12278
2018-02-28 08:21:52 +00:00
Stephane Nicoll
0bbdcfde30 Merge pull request #12236 from igor-suhorukov:master
* pr/12236:
  Polish contribution
  Polish
2018-02-28 09:02:16 +01:00
Stephane Nicoll
4180762d6d Polish contribution
Closes gh-12236
2018-02-28 09:01:59 +01:00
igor-suhorukov
56cbc65e7b Polish
See gh-12236
2018-02-28 08:58:46 +01:00
Stephane Nicoll
a93052f380 Upgrade to Reactor Bismuth-SR7
Closes gh-12233
2018-02-28 08:37:02 +01:00
Phillip Webb
7f8bb4e8eb Allow EndpointRequest matching without path bean
Update `EndpointRequest` to that the `PathMappedEndpoints` bean is
optional. A missing bean is treated as if there are no path mapped
endpoints.

Fixes gh-12238
2018-02-27 21:05:35 -08:00
Phillip Webb
eef6fdb066 Include WebSecurityConfigurer beans in @WebMvcTest
Update `WebMvcTypeExcludeFilter` to include `WebSecurityConfigurer`
beans.

Fixes gh-12275
2018-02-27 21:05:35 -08:00
Madhura Bhave
00218dbfea Remove duplicate curl parameter 2018-02-27 18:56:06 -08:00
Phillip Webb
c23b0e99f1 Fix failing PathRequestTests
Fix test failing due to commit d66496787d.

See gh-12238
2018-02-27 17:06:21 -08:00
Phillip Webb
d66496787d Propagate exceptions in security matchers
Update `ApplicationContextRequestMatcher` and
`ApplicationContextServerWebExchangeMatcher` to use a supplier for
the context, rather than the context itself.

This allow exceptions to be propagated to subclasses which may choose
to deal with them.

See gh-12238
2018-02-27 16:29:14 -08:00
Phillip Webb
802cd856aa Remove test-autoconfigure dependency
Update `spring-boot-actuator-autoconfigure` so that it no longer has
a dependency on `spring-boot-test-autoconfigure`. This will allow us to
add test support for actuator concerns in the future if we need to.

Fixed gh-12270
2018-02-27 16:29:03 -08:00
Brian Clozel
438004efe5 Simplify HTTP compression support for Reactor Netty
This commit simplifies the HTTP compression configuration for Reactor
Netty servers.

Also, this commit removes a test for the
`server.compression.min-response-size` support, as this is only
supported when the HTTP response contains a `Content-Length` header.
Since most Spring WebFlux responses are using
`Transfer-Encoding: chunked`, we should not test for that case.

See gh-12268
2018-02-27 23:47:35 +01:00
Madhura Bhave
7f85322ddd Fix checkstyle 2018-02-27 13:38:54 -08:00
Andy Wilkinson
dc36360155 Polish 2018-02-27 21:25:48 +00:00
Andy Wilkinson
9640881f38 Fix BuildInfo up-to-date check when group, name, or version changes
Previously, if the project's group, name, or version changed the
BuildInfo task would still be considered up-to-date as the values of
the project's properties were not reflected in the fields of the
BuildInfo instance.

This commit updates BuildInfo to copy the value of the project's
property to the corresponding BuildInfo field when the property is
read using its getter method on BuildInfo.

Closes gh-12266
2018-02-27 21:21:16 +00:00
Phillip Webb
3e4da3cc37 Polish 2018-02-27 12:53:01 -08:00
Andy Wilkinson
c7ed5c3d4a Upgrade to EhCache 3.5.0
Closes gh-12256
2018-02-27 20:45:54 +00:00
Andy Wilkinson
fe7927900e Upgrade to Spring Kafka 2.1.4.RELEASE
Closes gh-12246
2018-02-27 20:15:21 +00:00
Andy Wilkinson
21f2492d09 Upgrade to Micrometer 1.0.1
Closes gh-12245
2018-02-27 20:14:38 +00:00
Andy Wilkinson
fdb9a1ea8f Consider time in BuildInfo up-to-date checks and allow it to be set
Closes gh-12111
Closes gh-12266
2018-02-27 20:09:07 +00:00
Madhura Bhave
6b3b7909f3 Update CI docker image with latest scripts tag 2018-02-27 11:26:21 -08:00
Madhura Bhave
589d4f9cdf Fix concourse scripts to get next release version
Fixes gh-12239
2018-02-27 11:06:00 -08:00
Andy Wilkinson
ec36d00998 Merge branch '1.5.x' 2018-02-27 17:44:10 +00:00
Andy Wilkinson
25a0031e10 Upgrade to Narayana 5.8.0.Final
Closes gh-12259
2018-02-27 17:43:36 +00:00