Commit Graph

5090 Commits (878a635bfb6c28ee135b4f84e12fc09a42d1a3a9)

Author SHA1 Message Date
Madhura Bhave 4a230fdec9 Document AssertJ's satisfies with extractingJsonPathNumberValue
Closes gh-16229
6 years ago
Andy Wilkinson b828b398b5 Merge branch '2.1.x' 6 years ago
Spring Operator b32c0080c3 Update build and setup configuration to use HTTPS
See gh-16247
6 years ago
Andy Wilkinson a36aa67b52 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator 3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
6 years ago
Andy Wilkinson daba01ab94 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 716b4e8acf Test the Gradle plugin against Gradle 5.3-rc-3
Closes gh-16211
6 years ago
Madhura Bhave 0611eb49c8 Merge branch '2.1.x' 6 years ago
Madhura Bhave 7ea8770524 Polish "Fix request factory used with withBasicAuth"
Fixes gh-15982
6 years ago
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
6 years ago
Mohamed Rifni e3269a7e9b Switch FaviconRequestHandler visibility to package private
Closes gh-16250
6 years ago
Stephane Nicoll 09ad80b3d9 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 372802a203 Polish "Order the search locations in javadoc by precedence order"
Closes gh-16099
6 years ago
Muhammad Hewedy 4bac6c6688 Order the search locations in javadoc by precedence order
See gh-16099
6 years ago
Stephane Nicoll d625025051 Polish "Add default no-op method to SpringApplicationRunListener"
Closes gh-16104
6 years ago
ayudovin 997f07d13f Add default no-op method to SpringApplicationRunListener
See gh-16104
6 years ago
Madhura Bhave 3d0219c315 Merge branch '2.1.x' 6 years ago
Johnny Lim c5b5f752ed Polish
Closes gh-16219
6 years ago
Madhura Bhave 1893eeef4f Merge branch '2.1.x' 6 years ago
Dmytro Nosan 2f3e5d65be Test server port shouldn't affect management port when random
Closes gh-16108
6 years ago
Stephane Nicoll adaa49c0df Polish
See gh-8762
6 years ago
Stephane Nicoll 19cc584530 Polish "Update Kotlin documentation"
Closes gh-16235
6 years ago
Sebastien Deleuze e8ed128850 Update Kotlin documentation
This commit updates Kotlin reference documentation according to
latest features like immutable `@ConfigurationProperties` and
Kotlin BOM support.

See gh-16235
6 years ago
Stephane Nicoll c115ee1550 Fix build failure 6 years ago
Stephane Nicoll 0e0ea7f00a Fix checkstyle violation 6 years ago
Stephane Nicoll d2164a1ca3 Document constructor binding
Closes gh-8762
6 years ago
Stephane Nicoll de21d71e20 Remove support of `@Autowired` for configuration properties bean
See gh-8762
6 years ago
Stephane Nicoll fcdc414646 Remove use of `@Autowired` for configuration properties bean
See gh-8762
6 years ago
dreis2211 b39b990a72 Use isEmpty() where possible
Closes gh-16225
6 years ago
Madhura Bhave 223f2be7d2 Inject InfoContributors instead of exposing them on InfoEndpoint
Closes gh-13586
6 years ago
Madhura Bhave 2cdc93cf19 Make TestRestTemplate withBasicAuth fault tolerant
It's part of TestRestTemplate's contract that it's fault tolerant. This
commit aligns the behavior of `withBasicAuth` with that expectation.

Closes gh-15780
6 years ago
Andy Wilkinson 0872eb0dd9 Remove use of ReflectionUtils.doWithMethods from ConfigurationBeanFactoryMetadata
Closes gh-16220
6 years ago
Stephane Nicoll 4d73211c3a Polish "Check for multiple processors in OnClassCondition"
Closes gh-16115
6 years ago
Jan Thewes a96a79ea45 Check for multiple processors in OnClassCondition
See gh-16115
6 years ago
Stephane Nicoll 9da20b7e52 Merge branch '2.1.x' 6 years ago
Ruslan Stelmachenko fcde648c50 Fix typo in logging.group property description
Closes gh-16224
6 years ago
Andy Wilkinson ae3ea186e2 Align test with change to exception in latest Framework snapshots 6 years ago
Brian Clozel 5a66dc8c6e Merge branch '2.1.x' 6 years ago
Brian Clozel 9906ef2400 Merge branch '2.0.x' into 2.1.x 6 years ago
Brian Clozel 8866a25ef7 Polish Undertow tests 6 years ago
Brian Clozel 6138041578 Polish
Fixes gh-16014
6 years ago
Johnny Lim a6ccdbe19f Handle missing exceptions in WebMvcMetricsFilter
Prior to this commit, exceptions nested in
`NestedServletExceptions` would not be recorded by the
`WebMvcMetricsFilter`. This commit ensures that exceptions
happening downstream (e.g. happening while writing the response
body itself) are properly recorded.

See https://github.com/micrometer-metrics/micrometer/issues/1190
See gh-16014
6 years ago
Stephane Nicoll 2b4845b335 Add dependency needed by javadoc generation on JDK 11 6 years ago
Stephane Nicoll 81def1f21d Polish 6 years ago
Madhura Bhave e8cb75bba8 Enable git remote linking automatically on CF
Closes gh-13586
6 years ago
Stephane Nicoll b2290107db Polish "Trim trailing whitespace from spring.server.servlet.context-path"
Closes gh-16165
6 years ago
Mohamed Rifni bde2f850b2 Trim trailing whitespace from spring.server.servlet.context-path
See gh-16165
6 years ago
Stephane Nicoll 347daf69fb Merge branch '2.1.x' 6 years ago
Stephane Nicoll 765801983b Polish "Fix typo in spring-boot-features.adoc"
Closes gh-16213
6 years ago
Orangeroad0922 47169436ed Fix typo in spring-boot-features.adoc
See gh-16213
6 years ago
Andy Wilkinson 39971bbbd3 Add dependency needed by javadoc generation on JDK 11 6 years ago
Andy Wilkinson 68bfb020aa Reduce need for bean method proxying and disable where not needed
Closes gh-9068
6 years ago
Stephane Nicoll 0f71f22f3c Polish 6 years ago
Stephane Nicoll 628e44187f Merge branch '2.1.x' 6 years ago
Stephane Nicoll f07de1bbe2 Polish "Update ambiguous documentation about ConfigurationProperties"
Closes gh-16166
6 years ago
Viktoriya Kutsarova 6b6ac28430 Update ambiguous documentation about ConfigurationProperties
See gh-16166
6 years ago
Stephane Nicoll a44a55e948 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 161c0b9fad Polish contribution
Closes gh-16170
6 years ago
ayudovin 51013421f2 Add support for Mustache, FreeMarker and Thymeleaf in WebFluxTest
See gh-16170
6 years ago
Stephane Nicoll 078bd890a6 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 28cf63354a Merge pull request #16106 from Spring Operator
* gh-16106:
  Drop AnyEdit from Eclipse setup as it is not available over HTTPS
  Update build and setup configuration to use HTTPS

Closes gh-16106
6 years ago
Stephane Nicoll 50d0b4df46 Polish 6 years ago
Spring Operator c9c554b834 Update build and setup configuration to use HTTPS
See gh-16106
6 years ago
Stephane Nicoll 3831aeeb39 Merge branch '2.1.x' 6 years ago
Johnny Lim 00bda4dc2a Add dependency management for micrometer-registry-stackdriver
Closes gh-16178
6 years ago
Stephane Nicoll 8ff0a9c5a9 Merge branch '2.1.x' 6 years ago
Johnny Lim bcfbabe6cd Polish
Closes gh-16193
6 years ago
Andy Wilkinson 4b98fa7d94 Alias proxyBeanMethods on annotations meta-annotated with @Configuration
Closes gh-16201
6 years ago
Phillip Webb 50425bd441 Rollback to Maven Invoker 3.1.0
Closes gh-16205
6 years ago
Phillip Webb 64a2e8d67f Update copyright year for changed files 6 years ago
Phillip Webb dd3e8154d9 Merge branch '2.1.x' 6 years ago
Phillip Webb fc3aa43cc2 Update copyright year for changed files 6 years ago
Phillip Webb f02887b6c6 Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 9c3af103e0 Fix ScheduledTasksEndpointAutoConfigurationTests
Update the `CustomEndpointConfiguration` class in
`ScheduledTasksEndpointAutoConfigurationTests` to be package private
so that it can be enhanced by cglib.

Prior to merge commit 361437f4 the class was a lite configuration so
it didn't matter that it was a private class.
6 years ago
Phillip Webb ccfe20d3d3 Merge branch '2.1.x' 6 years ago
Phillip Webb 45ae97a4e9 Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 03beed603c Fix ScheduledTasksEndpointTests BaseConfiguration
Update the `BaseConfiguration` class in `ScheduledTasksEndpointTests`
to be package private so that it can be enhanced by cglib.

Prior to merge commit 361437f4 the class was a lite configuration so
it didn't matter that it was a private class.
6 years ago
Madhura Bhave d92c2f7023 DefaultProperties profiles shouldn't take precedence over config files
Fixes gh-15445
6 years ago
Andy Wilkinson 404f5d33f3 Align Gradle plugin's tests with Kotlin 1.3's restructuring
See gh-16195
6 years ago
Stephane Nicoll fed145e195 Replace manual dependency management by Kotlin's bom
Closes gh-9486
6 years ago
Andy Wilkinson aa2008bc5a Merge branch '2.1.x' 6 years ago
Andy Wilkinson f0ef693376 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson c2eeeb032c Work around javac bug 6 years ago
Stephane Nicoll 09d51089ba Polish 6 years ago
Stephane Nicoll fd0a11b7a7 Reuse Kotlin parameter names if possible
This commit detects a Kotlin constructor so that it is not required to
transmit the parameter names information to the Java side.

See gh-8762
6 years ago
Andy Wilkinson 8c3cec8f13 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 361437f4e2 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll b34b217d1e Upgrade to Kotlin 1.3.21
Closes gh-16195
6 years ago
Stephane Nicoll 341859b5fe Start building against Spring Framework 5.2 snapshots
See gh-16173
6 years ago
Stephane Nicoll c30f9815c1 Fix detection of Autowired constructor with Kotlin
Previously, the import selector wrongly assumed that we should not
use constructor injection with Kotlin. Rather than looking up for the
primary constructor, we retrieve available constructors on the Java
counter-part.

This commit applies the same logic as in the constructor parameter
binder and checks for the primary constructor for Kotlin types.

See gh-8762
6 years ago
Andy Wilkinson 7675802338 Merge branch '2.1.x' 6 years ago
Andy Wilkinson f574213cc8 Mark log file endpoint as producing text/plain
Closes gh-16188
6 years ago
Andy Wilkinson 7d0317419d Polish 6 years ago
Andy Wilkinson 89bb973745 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 7153525ee2 Annotation @JsonTest with @ExtendWith(SpringExtension.class)
Closes gh-16183
6 years ago
Stephane Nicoll d07a6ff0bb Fix binding of bean with no bean definition
See gh-16180
6 years ago
Andy Wilkinson f5eb853f26 Update web starter to depend on validator starter
Previously, the web 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 web application that did not need it.

This commit updates the web 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 (Tomcat, Jetty, or Undertow) to continue to be used instead.

Closes gh-16176
6 years ago
Stephane Nicoll 430571b37b Perform binding at creation time if possible
Previously, environment binding always happened in a post processor once
the bean has been created. Constructor binding requires to perform the
binding at creating time so this commit performs binding at creation
time if possible.

When this happens, a special `ConfigurationPropertiesBeanDefinition` is
created with a supplier that invokes the binder. To avoid a case where
a bean is processed twice, the post-processor now ignores any bean that
has already been bound to the environment.

Closes gh-8762

Co-authored-by: Madhura Bhave <mbhave@pivotal.io>
6 years ago
Madhura Bhave 7ca589d43c Add constructor based binding support
See gh-8762

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Andy Wilkinson 2bd3d19bee Ensure that DevTools' beans use eager init even when app is lazy
Closes gh-15870
6 years ago