Commit Graph

23746 Commits

Author SHA1 Message Date
Cosmin Humeniuc d8d24e75e3 Delete Javadoc references to removed code
See gh-18755
2019-10-27 08:36:02 +01:00
Stephane Nicoll 95270db7ab Merge pull request #18754 from dreis2211
* pr/18754:
  Remove redundant explicit types

Closes gh-18754
2019-10-27 08:33:24 +01:00
dreis2211 9ece2e277f Remove redundant explicit types
See gh-18754
2019-10-27 08:33:01 +01:00
Stephane Nicoll ee0a66a2af Merge pull request #18727 from wonwoo
* pr/18727:
  Polish OnBeanCondition message

Closes gh-18727
2019-10-26 11:56:14 +02:00
wonwoo 3369d80f3f Polish OnBeanCondition message
See gh-18727
2019-10-26 11:55:34 +02:00
Stephane Nicoll 7de861b224 Merge pull request #18750 from dreis2211
* pr/18750:
  Fix JsonParser deprecation

Closes gh-18750
2019-10-26 11:53:31 +02:00
dreis2211 911b12f28d Fix JsonParser deprecation
See gh-18750
2019-10-26 11:53:17 +02:00
Madhura Bhave 4058f99383 Fix import 2019-10-25 16:29:23 -07:00
Madhura Bhave dec6ee20d4 Fix error message when constructor binding fails to create bean
The configuration property is always cleared before bean instantiation
because the problem with bean instantiation might not necessarily be the
last bound property.

Fixes gh-18704
2019-10-25 16:07:33 -07:00
Andy Wilkinson 533ca0624f Merge branch '2.1.x'
Closes gh-18749
2019-10-25 14:38:16 +01:00
Andy Wilkinson 65ef03a5bf Remove nulls from description for bean defs with no res description
Previously, if a bean definition had no resource description, the
failure analysis description would state that the been had been
defined in null which was of no use to the user.

This commit updates the failure analysis to omit information about
where the bean was definied when the definition has no resource
description.

Fixes gh-18721
2019-10-25 14:26:55 +01:00
Stephane Nicoll 3885c6a448 Start building against Reactor Dysprosium-SR1 snapshots
See gh-18741
2019-10-25 10:17:01 +02:00
Stephane Nicoll 4aa3c8d2fd Upgrade to Netty 4.1.43.Final
Closes gh-18742
2019-10-25 10:16:25 +02:00
Stephane Nicoll 703eca62b9 Merge branch '2.1.x' 2019-10-25 10:15:09 +02:00
Stephane Nicoll 8d4aeb1a55 Start building against Californium-SR13 snapshots
See gh-18739
2019-10-25 10:02:38 +02:00
Stephane Nicoll cff570f65c Upgrade to Netty 4.1.43.Final
Closes gh-18740
2019-10-25 10:01:47 +02:00
Stephane Nicoll e5d3f6cb5f Merge branch '2.1.x' 2019-10-25 08:21:24 +02:00
Stephane Nicoll 7b7f0abd56 Remove Netty restriction as the related issue is fixed 2019-10-25 08:17:47 +02:00
Stephane Nicoll ff878ca6a6 Start building against Spring Framework 5.1.11 snapshots
See gh-18737
2019-10-25 08:15:34 +02:00
Madhura Bhave 25077de0b3 Merge branch '2.1.x'
Closes gh-18735
2019-10-24 17:02:33 -07:00
Madhura Bhave 593eca7998 Emphasize need for quotes around YAML bracket notation
Closes gh-18690
2019-10-24 17:00:54 -07:00
Madhura Bhave bc3c3232c2 Merge branch '2.1.x'
Closes gh-18734
2019-10-24 16:06:27 -07:00
Madhura Bhave e59a643e20 Emphasize the need of @Valid on nested configuration properties
Closes gh-18198
2019-10-24 16:02:59 -07:00
Phillip Webb d73a579dde Move to Spring Framework 5.2.1 SNAPSHOT
See gh-18733
2019-10-24 11:52:07 -07:00
Phillip Webb 138ab39f90 Merge branch '2.1.x' 2019-10-24 08:15:13 -07:00
Phillip Webb eaec7c3623 Remove Jetty BOMR restriction
See gh-18536
2019-10-24 08:12:14 -07:00
Stephane Nicoll 3d253854e9 Handle constructor bound configuration properties in /configprops
This commit updates the configprops actuator endpoint to detect
configuration properties that are bound using a constructor.

Closes gh-18636
2019-10-24 14:32:40 +02:00
Stephane Nicoll b60549d6ca Upgrade to H2 1.4.200
Closes gh-18724
2019-10-24 11:50:19 +02:00
Stephane Nicoll 6806c54110 Upgrade to Quartz 2.3.2
Closes gh-18725
2019-10-24 11:49:39 +02:00
Andy Wilkinson 9b039c491f Merge branch '2.1.x'
Closes gh-18726
2019-10-24 10:48:48 +01:00
Andy Wilkinson d4cd03ebd8 Document need for micrometer-jersey2 dependency to get Jersey metrics
Closes gh-18622
2019-10-24 10:46:18 +01:00
Andy Wilkinson 847ec3c0e1 Add missing %s to warning message format string
Closes gh-18710
2019-10-24 10:37:24 +01:00
Stephane Nicoll 5038af961a Merge branch '2.1.x' 2019-10-24 11:07:26 +02:00
Stephane Nicoll 5be562440c Upgrade to H2 1.4.200
Closes gh-18593
2019-10-24 10:59:55 +02:00
Stephane Nicoll c63630d94e Upgrade to Quartz 2.3.2
Closes gh-18723
2019-10-24 10:59:11 +02:00
Phillip Webb f3dcf10917 Merge pull request #18710 from wycm
* pr/18710:
  Polish "Optimize logger calls"
  Optimize logger calls

Closes gh-18710
2019-10-23 21:06:05 -07:00
Phillip Webb 597baf9774 Polish "Optimize logger calls"
See gh-18710
2019-10-23 21:00:05 -07:00
wycm 240b1f9e29 Optimize logger calls
Guard logger calls to ensure that they are only made when the
level is set.

See gh-18710
2019-10-23 20:59:11 -07:00
Phillip Webb 744dcd9426 Limit ConfigurationPropertiesBean candidates
Update `ConfigurationPropertiesBean.getAll()` to limit the candidate
beans that will actually need a `getBean()` call. Prior to this commit
calling `getAll()` would trigger a get of every bean in the context,
some of which might fail.

Fixes gh-18714
2019-10-23 19:49:45 -07:00
Phillip Webb 985220608a Merge branch '2.1.x'
Closes gh-18720
2019-10-23 18:07:53 -07:00
Phillip Webb eda4a212fe Upgrade CI to JDK 8u232-b09
Closes gh-18715
2019-10-23 18:07:11 -07:00
Phillip Webb c5eefef90d Merge branch '2.1.x'
Closes gh-18719
2019-10-23 18:04:11 -07:00
Phillip Webb f07e01686d Upgrade CI to use JDK 11.0.5
Closes gh-18717
2019-10-23 18:03:24 -07:00
Phillip Webb 1d3b42ed30 Merge pull request #18718 from pdeneve
* pr/18718:
  Polish documentation

Closes gh-18718
2019-10-23 17:58:27 -07:00
Philippe De Neve 8f990d97ab Polish documentation
* Remove double occurrence of InfluxDbHealthIndicator.
* Fix JUnit 5 `@ExtendWith` references
* Use consistent casing of HtmlUnit.

See gh-18718
2019-10-23 17:56:00 -07:00
Phillip Webb c5138c56ff Restore AbstractRoutingDataSource health support
Update `DataSourceHealthContributorAutoConfiguration` so that any
`AbstractRoutingDataSource` beans are still included in the overall
health. Prior to this commit, a regression in Spring Boot 2.2 meant
that if a single routing bean was found an `IllegalArgumentException`
would be thrown.

In Spring Boot 2.1 all `AbstractRoutingDataSource` would be filtered
from the results, but if no results existed the following was returned:

  "details": {
    "db": {
      "status": "UNKNOWN"
    },

In Spring Boot 2.2 we now always include routing datasource beans, even
if other non-routing database beans are found. The health details
includes `"routing" : true` to help users disambiguate any results.

Fixes gh-18661
2019-10-23 15:14:51 -07:00
Phillip Webb ba30ee03df Improve health contributor null support
Update `NamedContributorsMapAdapter` to check for `null` keys or values
during construction. Also update `HealthEndpointSupport` to allow
null component entries.

See gh-18687
2019-10-23 15:14:51 -07:00
Phillip Webb 7c9ac03014 Filter empty health contributions
Update `HealthEndpointSupport` so that aggregate elements that don't
ultimately provide a contribution are filtered out. Prior to this
commit an NPE was returned when calculating the aggregate status.

Fixes gh-18687
2019-10-23 15:14:51 -07:00
Stephane Nicoll 6378863771 Merge pull request #18702 from AlexFalappa
* pr/18702:
  Make optimizedLaunch property name more consistent

Closes gh-18702
2019-10-23 18:25:31 +02:00
Alessandro Falappa 2c199b1296 Make optimizedLaunch property name more consistent
See gh-18702
2019-10-23 18:24:33 +02:00