Commit Graph

20198 Commits

Author SHA1 Message Date
Madhura Bhave
91c1fc3d97 Ignore unbound collection properties if collection bound
As of Spring Boot 2.0, if Collection properties are specified in
multiple property sources, only the elements from the property source
with the highest precedence are used for binding. This caused an
`UnboundConfigurationPropertiesException` if the size of the collection
from the higher order property source was smaller and `ignoreUnknownFields`
was set to true.

This commit ignores unbound collection properties if the
collection was properly bound.

Fixes gh-16290
2019-03-25 16:03:33 -07:00
Madhura Bhave
0c2e71cd08 Prevent early initialization of factory beans in text context customizers
Until Spring Framework 5.1.15, a FactoryBean with a non-default constructor
defined via component scanning would cause an error. This behavior has changed
as of https://github.com/spring-projects/spring-framework/issues/22409.
Regardless of this change we want to ensure that we avoid triggering eager
initialisation. `SimpleFactoryBean` has been written this way so that the tests
fail if early initialization is triggered regardless of the Spring Framework version.

Fixes gh-15898
2019-03-25 10:55:41 -07:00
Stephane Nicoll
274e9ede81 Set up CI for JDK 12
Closes gh-16212
2019-03-25 16:13:44 +01:00
Stephane Nicoll
567a82f4ba Update multi release test jar to include Java 12
See gh-16212
2019-03-25 16:13:24 +01:00
Stephane Nicoll
bd2cc6f48b Add missing condition on LogFile endpoint
See gh-16298
2019-03-25 11:30:45 +01:00
Stephane Nicoll
0bd2e40da0 Merge pull request #16294 from dreis2211
* pr/16294:
  Test against Gradle 5.3
2019-03-25 10:20:38 +01:00
dreis2211
c2335e130c Test against Gradle 5.3
Closes gh-16294
2019-03-25 10:19:57 +01:00
Madhura Bhave
1ad52b651a Document using the same port for the management server on CF
Closes gh-15640
2019-03-22 15:17:34 -07:00
Madhura Bhave
10f0bcf992 Merge branch '2.0.x' into 2.1.x 2019-03-22 14:25:00 -07:00
Madhura Bhave
3e82e7aa7e Publish release notes after central sync for releases
Closes gh-15713
2019-03-22 14:23:13 -07:00
Madhura Bhave
0a54fb73fa Remove redundant include from WebFluxTypeExcludeFilter
For webflux, security configuration is configured via a bean of type
`SecurityWebFilterChain` and not `ServerHttpSecurity`. We would have changed
the include to be `SecurityWebFilterChain` but the filter only applies to
beans registered via component scanning and not those registered in
`@Configuration` classes, making the includes redundant.

See gh-16088
2019-03-20 17:54:04 -07:00
Madhura Bhave
6bd6279eff Document slice test behavior with @Configuration classes
Closes gh-16274
2019-03-20 17:48:14 -07:00
Andy Wilkinson
10e726ead2 Merge branch '2.0.x' into 2.1.x 2019-03-20 17:31:40 +00:00
Andy Wilkinson
5f4fa9d52a Merge branch '1.5.x' into 2.0.x 2019-03-20 17:31:31 +00:00
Andy Wilkinson
91726f3162 Update the samples to use Spring Java Format 0.0.7 2019-03-20 17:30:25 +00:00
Andy Wilkinson
ce145a833c Merge branch '2.0.x' into 2.1.x 2019-03-20 17:17:13 +00:00
Andy Wilkinson
70d883a8ee Correct the location to which Java 8 is extracted
Closes gh-15813
2019-03-20 17:16:20 +00:00
Andy Wilkinson
e23f72c8b0 Merge branch '2.0.x' into 2.1.x 2019-03-20 16:53:48 +00:00
Andy Wilkinson
9fbd38ab3c Merge branch '1.5.x' into 2.0.x 2019-03-20 16:45:26 +00:00
Andy Wilkinson
4b6bddd476 Merge branch '1.4.x' into 1.5.x 2019-03-20 16:30:04 +00:00
Stephane Nicoll
82c434d581 Upgrade to Solr 7.7.1
Closes gh-16273
2019-03-20 17:23:52 +01:00
Andy Wilkinson
6920c39349 Merge branch '1.3.x' into 1.4.x 2019-03-20 15:06:50 +00:00
Andy Wilkinson
0e009ef047 Use HTTPS to link to the Apache license 2019-03-20 15:00:10 +00:00
Stephane Nicoll
34f1674f83 Merge pull request #16269 from izeye
* pr/16269:
  Use the latest DTD declaration for Checkstyle
2019-03-20 10:15:30 +01:00
Johnny Lim
62cd4a1344 Use the latest DTD declaration for Checkstyle
Closes gh-16269
2019-03-20 10:15:22 +01:00
Madhura Bhave
0c52c3fc55 Clarify ambiguous documentation in default security section
Closes gh-16033
2019-03-19 17:25:47 -07:00
Madhura Bhave
4a230fdec9 Document AssertJ's satisfies with extractingJsonPathNumberValue
Closes gh-16229
2019-03-19 17:11:28 -07:00
Andy Wilkinson
c8ec621125 Merge pull request #16247 from Spring Operator
* gh-16247:
  Update build and setup configuration to use HTTPS

Closes gh-16247
2019-03-19 17:07:21 +00:00
Spring Operator
b32c0080c3 Update build and setup configuration to use HTTPS
See gh-16247
2019-03-19 17:06:45 +00:00
Andy Wilkinson
a36aa67b52 Merge branch '2.0.x' into 2.1.x 2019-03-19 17:04:41 +00:00
Andy Wilkinson
b1391a795e Merge pull request #16246 from Spring Operator
* gh-16246:
  Polish "Update build and setup configuration to use HTTPS"
  Update build and setup configuration to use HTTPS

Closes gh-16246
2019-03-19 16:59:08 +00:00
Andy Wilkinson
2c2fa9e821 Polish "Update build and setup configuration to use HTTPS"
See gh-16246
2019-03-19 16:58:45 +00:00
Spring Operator
3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
2019-03-19 16:58:31 +00:00
Andy Wilkinson
63284e0456 Merge branch '1.5.x' into 2.0.x 2019-03-19 16:56:40 +00:00
Andy Wilkinson
d8f8ae86c8 Merge pull request #16245 from Spring Operator
* gh-16245:
  Polish "Update build and setup configuration to use HTTPS"
  Update build and setup configuration to use HTTPS

Closes gh-16245
2019-03-19 16:49:20 +00:00
Andy Wilkinson
c2002e7160 Polish "Update build and setup configuration to use HTTPS"
See gh-16245
2019-03-19 16:48:48 +00:00
Spring Operator
991ba550d3 Update build and setup configuration to use HTTPS
See gh-16245
2019-03-19 16:48:30 +00:00
Andy Wilkinson
6f87975f84 Merge branch '1.4.x' into 1.5.x 2019-03-19 16:46:17 +00:00
Andy Wilkinson
6636a23930 Merge pull request #16244 from Spring Operator
* gh-16244:
  Polish "Update build and setup configuration to use HTTPS"
  Update build and setup configuration to use HTTPS

Closes gh-16244
2019-03-19 16:45:18 +00:00
Andy Wilkinson
04434676c3 Polish "Update build and setup configuration to use HTTPS"
See gh-16244
2019-03-19 16:44:50 +00:00
Spring Operator
e2837843e1 Update build and setup configuration to use HTTPS
See gh-16244
2019-03-19 16:44:10 +00:00
Andy Wilkinson
a662563c28 Merge branch '1.3.x' into 1.4.x 2019-03-19 16:41:00 +00:00
Andy Wilkinson
526d91dbce Merge pull request #16243 from Spring Operator
* gh-16243:
  Polish "Update build and setup configuration to use HTTPS"
  Update build and setup configuration to use HTTPS

Closes gh-16243
2019-03-19 16:40:44 +00:00
Andy Wilkinson
122b2a1b0b Polish "Update build and setup configuration to use HTTPS"
See gh-16243
2019-03-19 16:39:38 +00:00
Spring Operator
7c314122f7 Update build and setup configuration to use HTTPS
See gh-16243
2019-03-19 16:01:05 +00:00
Andy Wilkinson
716b4e8acf Test the Gradle plugin against Gradle 5.3-rc-3
Closes gh-16211
2019-03-19 12:36:14 +00:00
Madhura Bhave
85a476fa32 Merge pull request #15982 from nosan
* pr/15982:
  Polish "Fix request factory used with withBasicAuth"
  Fix request factory used with TestRestTemplate withBasicAuth
2019-03-18 18:00:38 -07:00
Madhura Bhave
7ea8770524 Polish "Fix request factory used with withBasicAuth"
Fixes gh-15982
2019-03-18 18:00:17 -07:00
Dmytro Nosan
756bd890eb Fix request factory used with TestRestTemplate withBasicAuth
This commit updates the behavior of withBasicAuth on TestRestTemplate
by trying to use the same request factory type as the underlying restTemplate.
If creation of a new instance of the configured request factory class fails,
it falls back to the `ClientHttpRequestFactorySupplier`.

See gh-15982
2019-03-18 18:00:08 -07:00
Madhura Bhave
988ba3ff78 Fix author tag 2019-03-18 14:10:28 -07:00