Commit Graph

23924 Commits

Author SHA1 Message Date
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
Stephane Nicoll 8eecc911fb Merge branch '2.1.x'
Closes gh-18713
2019-10-23 18:18:08 +02:00
Stephane Nicoll b06c9f4458 Merge pull request #18705 from nkjackzhang
* pr/18705:
  Fix typos

Closes gh-18705
2019-10-23 18:17:26 +02:00
nkjackzhang 6ef39d6b91 Fix typos
See gh-18705
2019-10-23 18:16:24 +02:00
Stephane Nicoll 31a7ace38f Merge pull request #18697 from izeye
* pr/18697:
  Polish

Closes gh-18697
2019-10-23 10:10:18 +02:00
Johnny Lim 8c2d6b28f8 Polish
See gh-18697
2019-10-23 10:09:56 +02:00
Stephane Nicoll ce8360dc95 Merge pull request #18689 from dreis2211
* pr/18689:
  Fix Mockito deprecations

Closes gh-18689
2019-10-23 09:49:46 +02:00
dreis2211 8ecdf919f8 Fix Mockito deprecations
See gh-18689
2019-10-23 09:49:33 +02:00
Phillip Webb 511a2a073f Merge branch '2.1.x'
Closes gh-18695
2019-10-22 16:20:05 -07:00
Phillip Webb b61b7b078a Merge pull request #18566 from rhamedy
* pr/18566:
  Rename `max-http-post-size` server property

Closes gh-18566
2019-10-22 16:04:16 -07:00
Rafiullah Hamedy 81dc6e02e6 Rename `max-http-post-size` server property
Rename `max-http-post-size` to `max-http-form-post-size` for Jetty and
Tomcat to make it clearer that they only apply to POSTed form content.

See gh-18566
2019-10-22 16:00:43 -07:00
Phillip Webb 83d4d94e8b Cache ModifiedClassPathClassLoaders
Closes gh-18694
2019-10-22 15:25:31 -07:00
Phillip Webb 8d08d654d1 Merge branch '2.1.x'
Closes gh-18693
2019-10-22 15:18:32 -07:00
Phillip Webb 63f60fc5d9 Merge pull request #18536 from dreis2211
* pr/18536:
  Polish "Upgrade to Jetty 9.4.21.v20190926"
  Upgrade to Jetty 9.4.21.v20190926

Closes gh-18536
2019-10-22 14:57:13 -07:00
Phillip Webb d0d55d3c0a Polish "Upgrade to Jetty 9.4.21.v20190926"
See gh-18536
2019-10-22 14:54:43 -07:00
dreis2211 eae2cf170d Upgrade to Jetty 9.4.21.v20190926
See gh-18536
2019-10-22 14:53:41 -07:00
Phillip Webb 374a8cadad Merge branch '2.1.x'
Closes gh-18691
2019-10-22 13:20:42 -07:00
Phillip Webb 867c4a14cb Clarify Javadoc for ServletContextInitializer
Closes gh-18660
2019-10-22 13:16:02 -07:00
Phillip Webb 714c9b9804 Polish 2019-10-22 13:12:09 -07:00
Stephane Nicoll 89d903d89a Fix typo in devtools example
Closes gh-18679
2019-10-22 17:51:30 +02:00
Stephane Nicoll 7a8088d7a2 Merge pull request #18673 from nosan
* pr/18673:
  Polish "Apply dependsOn semantic between Liquibase and JPA"
  Apply dependsOn semantic between Liquibase and JPA

Closes gh-18673
2019-10-22 17:47:43 +02:00
Stephane Nicoll dccb842286 Polish "Apply dependsOn semantic between Liquibase and JPA"
See gh-18673
2019-10-22 17:44:04 +02:00
Dmytro Nosan bacd36f0cf Apply dependsOn semantic between Liquibase and JPA
This commits restores the dependency between Liquibase and the JPA
EntityManager even if a custom `SpringLiquibase` is configured.

See gh-18673
2019-10-22 17:43:28 +02:00