Commit Graph

23809 Commits (008a6fa7c11610e94a0eea2291a4f3cf57eef864)
 

Author SHA1 Message Date
wycm 240b1f9e29 Optimize logger calls
Guard logger calls to ensure that they are only made when the
level is set.

See gh-18710
5 years ago
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
5 years ago
Phillip Webb 985220608a Merge branch '2.1.x'
Closes gh-18720
5 years ago
Phillip Webb eda4a212fe Upgrade CI to JDK 8u232-b09
Closes gh-18715
5 years ago
Phillip Webb c5eefef90d Merge branch '2.1.x'
Closes gh-18719
5 years ago
Phillip Webb f07e01686d Upgrade CI to use JDK 11.0.5
Closes gh-18717
5 years ago
Phillip Webb 1d3b42ed30 Merge pull request #18718 from pdeneve
* pr/18718:
  Polish documentation

Closes gh-18718
5 years ago
Philippe De Neve 8f990d97ab Polish documentation
* Remove double occurrence of InfluxDbHealthIndicator.
* Fix JUnit 5 `@ExtendWith` references
* Use consistent casing of HtmlUnit.

See gh-18718
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
Stephane Nicoll 6378863771 Merge pull request #18702 from AlexFalappa
* pr/18702:
  Make optimizedLaunch property name more consistent

Closes gh-18702
5 years ago
Alessandro Falappa 2c199b1296 Make optimizedLaunch property name more consistent
See gh-18702
5 years ago
Stephane Nicoll 8eecc911fb Merge branch '2.1.x'
Closes gh-18713
5 years ago
Stephane Nicoll b06c9f4458 Merge pull request #18705 from nkjackzhang
* pr/18705:
  Fix typos

Closes gh-18705
5 years ago
nkjackzhang 6ef39d6b91 Fix typos
See gh-18705
5 years ago
Stephane Nicoll 31a7ace38f Merge pull request #18697 from izeye
* pr/18697:
  Polish

Closes gh-18697
5 years ago
Johnny Lim 8c2d6b28f8 Polish
See gh-18697
5 years ago
Stephane Nicoll ce8360dc95 Merge pull request #18689 from dreis2211
* pr/18689:
  Fix Mockito deprecations

Closes gh-18689
5 years ago
dreis2211 8ecdf919f8 Fix Mockito deprecations
See gh-18689
5 years ago
Phillip Webb 511a2a073f Merge branch '2.1.x'
Closes gh-18695
5 years ago
Phillip Webb b61b7b078a Merge pull request #18566 from rhamedy
* pr/18566:
  Rename `max-http-post-size` server property

Closes gh-18566
5 years ago
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
5 years ago
Phillip Webb 83d4d94e8b Cache ModifiedClassPathClassLoaders
Closes gh-18694
5 years ago
Phillip Webb 8d08d654d1 Merge branch '2.1.x'
Closes gh-18693
5 years ago
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
5 years ago
Phillip Webb d0d55d3c0a Polish "Upgrade to Jetty 9.4.21.v20190926"
See gh-18536
5 years ago
dreis2211 eae2cf170d Upgrade to Jetty 9.4.21.v20190926
See gh-18536
5 years ago
Phillip Webb 374a8cadad Merge branch '2.1.x'
Closes gh-18691
5 years ago
Phillip Webb 867c4a14cb Clarify Javadoc for ServletContextInitializer
Closes gh-18660
5 years ago
Phillip Webb 714c9b9804 Polish 5 years ago
Stephane Nicoll 89d903d89a Fix typo in devtools example
Closes gh-18679
5 years ago
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
5 years ago
Stephane Nicoll dccb842286 Polish "Apply dependsOn semantic between Liquibase and JPA"
See gh-18673
5 years ago
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
5 years ago
Stephane Nicoll d254c62712 Polish tests 5 years ago
Stephane Nicoll 6e6f4f763c Remove useless attribute override
This commit removes the override proxyBeanMethods as the aliased
attribute is taking precedence.
5 years ago
Stephane Nicoll 4d5d90847e Merge branch '2.1.x'
Closes gh-18682
5 years ago
Stephane Nicoll 429eec0bcf Merge pull request #18604 from wycm
* pr/18604:
  Optimize debug level logs

Closes gh-18604
5 years ago
wycm 681a94b0d5 Optimize debug level logs
See gh-18604
5 years ago
Stephane Nicoll ab2d06c0eb Merge pull request #18632 from polarbear567
* pr/18632:
  Polish "Add missing package-info files"
  Add missing package-info files

Closes gh-18632
5 years ago
Stephane Nicoll c05f88bf78 Polish "Add missing package-info files"
See gh-18632
5 years ago
Leo Li af114c93ee Add missing package-info files
See gh-18632
5 years ago
Stephane Nicoll 5b5280b0a2 Merge pull request #18637 from AlexFalappa
* pr/18637:
  Narrow type for Tomcat 'locale' and 'encoding' properties

Closes gh-18637
5 years ago
Alessandro Falappa f28af3db9f Narrow type for Tomcat 'locale' and 'encoding' properties
See gh-18637
5 years ago
Stephane Nicoll afc87b74ef Merge pull request #18675 from nosan
* pr/18675:
  Polish "Restore proxying of @Bean methods in @TestConfiguration"
  Restore proxying of @Bean methods in @TestConfiguration

Closes gh-18675
5 years ago
Stephane Nicoll fd94608f73 Polish "Restore proxying of @Bean methods in @TestConfiguration"
See gh-18675
5 years ago
Dmytro Nosan 7faa606920 Restore proxying of @Bean methods in @TestConfiguration
See gh-18675
5 years ago
Stephane Nicoll bd4dc1ef2a Merge branch '2.1.x'
Closes gh-18669
5 years ago
Stephane Nicoll 91f4300fee Merge pull request #18665 from xiaokeliu666
* pr/18665:
  Polish

Closes gh-18665
5 years ago