Madhura Bhave
4a230fdec9
Document AssertJ's satisfies with extractingJsonPathNumberValue
...
Closes gh-16229
2019-03-19 17:11:28 -07:00
Andy Wilkinson
b828b398b5
Merge branch '2.1.x'
2019-03-19 17:11:45 +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
Spring Operator
3e2b6ac8ed
Update build and setup configuration to use HTTPS
...
See gh-16246
2019-03-19 16:58:31 +00:00
Andy Wilkinson
daba01ab94
Merge branch '2.1.x'
2019-03-19 12:37:04 +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
0611eb49c8
Merge branch '2.1.x'
2019-03-18 18:03:32 -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
Mohamed Rifni
e3269a7e9b
Switch FaviconRequestHandler visibility to package private
...
Closes gh-16250
2019-03-17 09:33:33 +01:00
Stephane Nicoll
09ad80b3d9
Merge branch '2.1.x'
2019-03-16 08:27:45 +01:00
Stephane Nicoll
372802a203
Polish "Order the search locations in javadoc by precedence order"
...
Closes gh-16099
2019-03-16 08:23:57 +01:00
Muhammad Hewedy
4bac6c6688
Order the search locations in javadoc by precedence order
...
See gh-16099
2019-03-16 08:23:01 +01:00
Stephane Nicoll
d625025051
Polish "Add default no-op method to SpringApplicationRunListener"
...
Closes gh-16104
2019-03-16 08:05:52 +01:00
ayudovin
997f07d13f
Add default no-op method to SpringApplicationRunListener
...
See gh-16104
2019-03-16 08:05:32 +01:00
Madhura Bhave
3d0219c315
Merge branch '2.1.x'
2019-03-15 18:09:47 -07:00
Johnny Lim
c5b5f752ed
Polish
...
Closes gh-16219
2019-03-15 17:54:48 -07:00
Madhura Bhave
1893eeef4f
Merge branch '2.1.x'
2019-03-15 17:27:10 -07:00
Dmytro Nosan
2f3e5d65be
Test server port shouldn't affect management port when random
...
Closes gh-16108
2019-03-15 17:21:29 -07:00
Stephane Nicoll
adaa49c0df
Polish
...
See gh-8762
2019-03-15 12:16:05 +01:00
Stephane Nicoll
19cc584530
Polish "Update Kotlin documentation"
...
Closes gh-16235
2019-03-15 12:09:35 +01:00
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
2019-03-15 12:01:16 +01:00
Stephane Nicoll
c115ee1550
Fix build failure
2019-03-14 19:34:19 +01:00
Stephane Nicoll
0e0ea7f00a
Fix checkstyle violation
2019-03-14 13:22:43 +01:00
Stephane Nicoll
d2164a1ca3
Document constructor binding
...
Closes gh-8762
2019-03-14 12:19:48 +01:00
Stephane Nicoll
de21d71e20
Remove support of `@Autowired` for configuration properties bean
...
See gh-8762
2019-03-14 11:16:22 +01:00
Stephane Nicoll
fcdc414646
Remove use of `@Autowired` for configuration properties bean
...
See gh-8762
2019-03-14 11:03:10 +01:00
dreis2211
b39b990a72
Use isEmpty() where possible
...
Closes gh-16225
2019-03-14 09:10:48 +01:00
Madhura Bhave
223f2be7d2
Inject InfoContributors instead of exposing them on InfoEndpoint
...
Closes gh-13586
2019-03-13 13:16:47 -07:00
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
2019-03-13 11:49:42 -07:00
Andy Wilkinson
0872eb0dd9
Remove use of ReflectionUtils.doWithMethods from ConfigurationBeanFactoryMetadata
...
Closes gh-16220
2019-03-13 18:34:45 +00:00
Stephane Nicoll
4d73211c3a
Polish "Check for multiple processors in OnClassCondition"
...
Closes gh-16115
2019-03-13 18:13:33 +01:00
Jan Thewes
a96a79ea45
Check for multiple processors in OnClassCondition
...
See gh-16115
2019-03-13 18:13:11 +01:00
Stephane Nicoll
9da20b7e52
Merge branch '2.1.x'
2019-03-13 17:51:38 +01:00
Ruslan Stelmachenko
fcde648c50
Fix typo in logging.group property description
...
Closes gh-16224
2019-03-13 17:47:51 +01:00
Andy Wilkinson
ae3ea186e2
Align test with change to exception in latest Framework snapshots
2019-03-13 14:22:40 +00:00
Brian Clozel
5a66dc8c6e
Merge branch '2.1.x'
2019-03-13 12:53:23 +01:00
Brian Clozel
9906ef2400
Merge branch '2.0.x' into 2.1.x
2019-03-13 12:52:47 +01:00
Brian Clozel
8866a25ef7
Polish Undertow tests
2019-03-13 11:55:53 +01:00
Brian Clozel
6138041578
Polish
...
Fixes gh-16014
2019-03-13 11:55:41 +01:00
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
2019-03-13 11:07:32 +01:00
Stephane Nicoll
2b4845b335
Add dependency needed by javadoc generation on JDK 11
2019-03-13 09:49:18 +01:00
Stephane Nicoll
81def1f21d
Polish
2019-03-13 08:25:39 +01:00
Madhura Bhave
e8cb75bba8
Enable git remote linking automatically on CF
...
Closes gh-13586
2019-03-12 17:30:00 -07:00
Stephane Nicoll
b2290107db
Polish "Trim trailing whitespace from spring.server.servlet.context-path"
...
Closes gh-16165
2019-03-12 17:46:17 +01:00
Mohamed Rifni
bde2f850b2
Trim trailing whitespace from spring.server.servlet.context-path
...
See gh-16165
2019-03-12 17:45:56 +01:00
Stephane Nicoll
347daf69fb
Merge branch '2.1.x'
2019-03-12 17:22:39 +01:00
Stephane Nicoll
765801983b
Polish "Fix typo in spring-boot-features.adoc"
...
Closes gh-16213
2019-03-12 17:21:18 +01:00
Orangeroad0922
47169436ed
Fix typo in spring-boot-features.adoc
...
See gh-16213
2019-03-12 17:20:43 +01:00
Andy Wilkinson
39971bbbd3
Add dependency needed by javadoc generation on JDK 11
2019-03-12 14:19:24 +00:00
Andy Wilkinson
68bfb020aa
Reduce need for bean method proxying and disable where not needed
...
Closes gh-9068
2019-03-12 13:18:42 +00:00
Stephane Nicoll
0f71f22f3c
Polish
2019-03-12 13:57:57 +01:00
Stephane Nicoll
628e44187f
Merge branch '2.1.x'
2019-03-12 11:13:25 +01:00
Stephane Nicoll
f07de1bbe2
Polish "Update ambiguous documentation about ConfigurationProperties"
...
Closes gh-16166
2019-03-12 11:12:45 +01:00
Viktoriya Kutsarova
6b6ac28430
Update ambiguous documentation about ConfigurationProperties
...
See gh-16166
2019-03-12 11:12:21 +01:00
Stephane Nicoll
a44a55e948
Merge branch '2.1.x'
2019-03-12 11:07:53 +01:00
Stephane Nicoll
161c0b9fad
Polish contribution
...
Closes gh-16170
2019-03-12 11:06:19 +01:00
ayudovin
51013421f2
Add support for Mustache, FreeMarker and Thymeleaf in WebFluxTest
...
See gh-16170
2019-03-12 11:06:18 +01:00
Stephane Nicoll
078bd890a6
Merge branch '2.0.x' into 2.1.x
2019-03-12 11:05:23 +01:00
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
2019-03-12 10:05:06 +00:00
Stephane Nicoll
50d0b4df46
Polish
2019-03-12 11:04:00 +01:00
Spring Operator
c9c554b834
Update build and setup configuration to use HTTPS
...
See gh-16106
2019-03-12 10:02:44 +00:00
Stephane Nicoll
3831aeeb39
Merge branch '2.1.x'
2019-03-12 10:52:31 +01:00
Johnny Lim
00bda4dc2a
Add dependency management for micrometer-registry-stackdriver
...
Closes gh-16178
2019-03-12 10:51:54 +01:00
Stephane Nicoll
8ff0a9c5a9
Merge branch '2.1.x'
2019-03-12 10:51:08 +01:00
Johnny Lim
bcfbabe6cd
Polish
...
Closes gh-16193
2019-03-12 10:50:32 +01:00
Andy Wilkinson
4b98fa7d94
Alias proxyBeanMethods on annotations meta-annotated with @Configuration
...
Closes gh-16201
2019-03-12 09:24:20 +00:00
Phillip Webb
50425bd441
Rollback to Maven Invoker 3.1.0
...
Closes gh-16205
2019-03-11 23:59:11 -07:00
Phillip Webb
64a2e8d67f
Update copyright year for changed files
2019-03-11 22:15:36 -07:00
Phillip Webb
dd3e8154d9
Merge branch '2.1.x'
2019-03-11 22:15:19 -07:00
Phillip Webb
fc3aa43cc2
Update copyright year for changed files
2019-03-11 22:14:53 -07:00
Phillip Webb
f02887b6c6
Merge branch '2.0.x' into 2.1.x
2019-03-11 22:14:21 -07:00
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.
2019-03-11 22:12:36 -07:00
Phillip Webb
ccfe20d3d3
Merge branch '2.1.x'
2019-03-11 21:10:22 -07:00
Phillip Webb
45ae97a4e9
Merge branch '2.0.x' into 2.1.x
2019-03-11 21:09:35 -07:00
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.
2019-03-11 21:07:20 -07:00
Madhura Bhave
d92c2f7023
DefaultProperties profiles shouldn't take precedence over config files
...
Fixes gh-15445
2019-03-11 16:17:46 -07:00
Andy Wilkinson
404f5d33f3
Align Gradle plugin's tests with Kotlin 1.3's restructuring
...
See gh-16195
2019-03-11 21:21:18 +00:00
Stephane Nicoll
fed145e195
Replace manual dependency management by Kotlin's bom
...
Closes gh-9486
2019-03-11 17:44:27 +01:00
Andy Wilkinson
aa2008bc5a
Merge branch '2.1.x'
2019-03-11 16:40:19 +00:00
Andy Wilkinson
f0ef693376
Merge branch '2.0.x' into 2.1.x
2019-03-11 16:28:29 +00:00
Andy Wilkinson
c2eeeb032c
Work around javac bug
2019-03-11 16:27:56 +00:00
Stephane Nicoll
09d51089ba
Polish
2019-03-11 17:24:52 +01:00
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
2019-03-11 17:23:45 +01:00
Andy Wilkinson
8c3cec8f13
Merge branch '2.0.x' into 2.1.x
2019-03-11 16:14:19 +00:00
Andy Wilkinson
361437f4e2
Merge branch '1.5.x' into 2.0.x
2019-03-11 15:53:34 +00:00
Stephane Nicoll
b34b217d1e
Upgrade to Kotlin 1.3.21
...
Closes gh-16195
2019-03-11 15:56:13 +01:00
Stephane Nicoll
341859b5fe
Start building against Spring Framework 5.2 snapshots
...
See gh-16173
2019-03-11 15:22:14 +01:00
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
2019-03-11 10:19:25 +01:00
Andy Wilkinson
7675802338
Merge branch '2.1.x'
2019-03-11 08:32:03 +00:00
Andy Wilkinson
f574213cc8
Mark log file endpoint as producing text/plain
...
Closes gh-16188
2019-03-11 08:30:31 +00:00
Andy Wilkinson
7d0317419d
Polish
2019-03-10 12:42:09 +00:00
Andy Wilkinson
89bb973745
Merge branch '2.1.x'
2019-03-09 20:02:05 +00:00
Andy Wilkinson
7153525ee2
Annotation @JsonTest with @ExtendWith(SpringExtension.class)
...
Closes gh-16183
2019-03-09 20:00:06 +00:00
Stephane Nicoll
d07a6ff0bb
Fix binding of bean with no bean definition
...
See gh-16180
2019-03-09 20:49:47 +01:00
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
2019-03-08 17:54:03 +00:00
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>
2019-03-08 15:50:44 +01:00
Madhura Bhave
7ca589d43c
Add constructor based binding support
...
See gh-8762
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-03-08 15:50:44 +01:00
Andy Wilkinson
2bd3d19bee
Ensure that DevTools' beans use eager init even when app is lazy
...
Closes gh-15870
2019-03-08 10:05:40 +00:00