Commit Graph

7415 Commits (d2f256abe8c5b42af8be81ae20a86bb64706fa79)

Author SHA1 Message Date
Stephane Nicoll f56b32b0c9 Upgrade to Neo4j Ogm 3.2.2
Closes gh-18824
5 years ago
Stephane Nicoll 434224aca7 Upgrade to Flyway 6.0.8
Closes gh-18823
5 years ago
Stephane Nicoll b5e08b54ac Upgrade to Lettuce 5.2.1.RELEASE
Closes gh-18822
5 years ago
Stephane Nicoll 99d0002f28 Upgrade to Hazelcast 3.12.4
Closes gh-18821
5 years ago
Phillip Webb ae5ae72889 Add and adapt reactive health contributors
Update `HealthEndpointConfiguration` to also include adapted reactive
health contributors when project reactor is on the classpath. Prior to
this commit, reactive contributors were only exposed in WebFlux
applications. This was a regression from Spring Boot 2.1 that we didn't
catch because all our own reactive contributors all have non-reactive
equivalents.

Closes gh-18805
5 years ago
Phillip Webb b3e9a06476 Polish 5 years ago
Stephane Nicoll 7f509bf84e Make sure Web infrastructure uses qualified beans
This commit is a follow-up of a change in Spring Framework[1] to make
sure injection points that are expecting a specific bean by name use
a qualifier.

As a result of this change, MVC uses the dedicated MVC validator again
rather than the general one auto-configured by Spring Boot.

[1] https://github.com/spring-projects/spring-framework/issues/23887

Closes gh-18672
5 years ago
Stephane Nicoll 3236dfd7d9 Upgrade to Jooq 3.12.2
Closes gh-18802
5 years ago
Stephane Nicoll b12acccc96 Upgrade to Hibernate Validator 6.0.18.Final
Closes gh-18801
5 years ago
Stephane Nicoll 906d3a122e Upgrade to Hibernate 5.4.8.Final
Closes gh-18800
5 years ago
Stephane Nicoll 241df7cebe Upgrade to Flyway 6.0.7
Closes gh-18799
5 years ago
Stephane Nicoll 40ee1a7942 Upgrade to Jetty 9.4.22.v20191022
Closes gh-18797
5 years ago
Stephane Nicoll 57dff85a46 Upgrade to Kafka 2.3.1
Closes gh-18796
5 years ago
Stephane Nicoll b7d32ee3f8 Upgrade to Byte Buddy 1.10.2
Closes gh-18795
5 years ago
Stephane Nicoll 83d2ef2c96 Upgrade to Joda Time 2.10.5
Closes gh-18794
5 years ago
Stephane Nicoll 8e66c3baad Upgrade to Dropwizard Metrics 4.1.1
Closes gh-18793
5 years ago
Stephane Nicoll 007b5708be Upgrade to Classmate 1.5.1
Closes gh-18792
5 years ago
Stephane Nicoll 436f03ec17 Upgrade to Neo4j Ogm 3.1.15
Closes gh-18791
5 years ago
Stephane Nicoll a31cda5cde Upgrade to Mimepull 1.9.12
Closes gh-18790
5 years ago
Stephane Nicoll 71d78ec9a3 Upgrade to Hibernate Validator 6.0.18.Final
Closes gh-18789
5 years ago
Stephane Nicoll cd702a59f0 Upgrade to Hibernate 5.3.13.Final
Closes gh-18788
5 years ago
Stephane Nicoll 004fd06e38 Upgrade to Jetty 9.4.22.v20191022
Closes gh-18787
5 years ago
Stephane Nicoll bddb5f3e2c Upgrade to Tomcat 9.0.27
Closes gh-18786
5 years ago
Stephane Nicoll 1ba2a491fe Upgrade to Mysql 8.0.18
Closes gh-18785
5 years ago
Stephane Nicoll a751e6540c Upgrade to Joda Time 2.10.5
Closes gh-18784
5 years ago
Stephane Nicoll dc2b610c44 Upgrade to Undertow 2.0.27.Final
Closes gh-18783
5 years ago
Stephane Nicoll 362c885557 Upgrade to Rxjava2 2.2.13
Closes gh-18782
5 years ago
Stephane Nicoll 1b32436813 Upgrade to Dropwizard Metrics 4.0.7
Closes gh-18781
5 years ago
Stephane Nicoll 4bd980868d Upgrade to Unboundid Ldapsdk 4.0.12
Closes gh-18780
5 years ago
Stephane Nicoll df0c5beb47 Upgrade to Gson 2.8.6
Closes gh-18779
5 years ago
Stephane Nicoll 97d8754730 Upgrade to Jackson 2.9.10.20191020
Closes gh-18778
5 years ago
Stephane Nicoll 2ceffcee14 Start building against Spring Data Moore-SR1 snapshots
See gh-18744
5 years ago
Stephane Nicoll a315d4229d Start building against Spring Data Lovelace-SR12 snapshots
See gh-18743
5 years ago
Stephane Nicoll a83852b7cc Consistently clean actuator endpoint ids
Closes gh-18649
5 years ago
Stephane Nicoll d6d32ec01d Polish 5 years ago
Stephane Nicoll 11e0045ec6 Polish contribution
See gh-18736
5 years ago
mattisonchao f61da8b723 Polish
See gh-18736
5 years ago
Stephane Nicoll 7827d1261e Start building against Spring Kafka 2.3.2 snapshots
See gh-18766
5 years ago
Stephane Nicoll 58e67adf46 Start building against Spring Integration 5.2.1 snapshots
See gh-18764
5 years ago
Stephane Nicoll c86655a24e Start building against Spring AMQP 2.2.1 snapshots
See gh-18762
5 years ago
Stephane Nicoll 217c07a701 Start building against Spring Kafka 2.2.11 snapshots
See gh-18765
5 years ago
Stephane Nicoll 72f63fad5c Start building against Spring Integration 5.1.9 snapshots
See gh-18763
5 years ago
Stephane Nicoll d4c4a4c584 Start building against Spring AMQP 2.1.12 snapshots
See gh-18761
5 years ago
Andy Wilkinson 0b1966d086 Upgrade to Reactor Dysprosium-SR1
Closes gh-18741
5 years ago
Andy Wilkinson b450116cce Upgrade to Reactor Californium-SR13
Closes gh-18739
5 years ago
Stephane Nicoll d7652e8f14 Make sure Reactive health indicators take precedence
This commit restores the highest precedence of reactive
HealthContributor over imperative one. Previously, both would be
registered, leading to duplicate entries in health output.

Closes gh-18748
5 years ago
Stephane Nicoll a664eadb9a Merge branch '2.1.x'
Closes gh-18756
5 years ago
wwjay9 bd77c170f2 Fix OAuth2 Client redirect-uri references
See gh-18752
5 years ago
Cosmin Humeniuc d8d24e75e3 Delete Javadoc references to removed code
See gh-18755
5 years ago
dreis2211 9ece2e277f Remove redundant explicit types
See gh-18754
5 years ago
wonwoo 3369d80f3f Polish OnBeanCondition message
See gh-18727
5 years ago
dreis2211 911b12f28d Fix JsonParser deprecation
See gh-18750
5 years ago
Madhura Bhave 4058f99383 Fix import 5 years ago
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
5 years ago
Andy Wilkinson 533ca0624f Merge branch '2.1.x'
Closes gh-18749
5 years ago
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
5 years ago
Stephane Nicoll 3885c6a448 Start building against Reactor Dysprosium-SR1 snapshots
See gh-18741
5 years ago
Stephane Nicoll 4aa3c8d2fd Upgrade to Netty 4.1.43.Final
Closes gh-18742
5 years ago
Stephane Nicoll 8d4aeb1a55 Start building against Californium-SR13 snapshots
See gh-18739
5 years ago
Stephane Nicoll cff570f65c Upgrade to Netty 4.1.43.Final
Closes gh-18740
5 years ago
Stephane Nicoll ff878ca6a6 Start building against Spring Framework 5.1.11 snapshots
See gh-18737
5 years ago
Madhura Bhave 25077de0b3 Merge branch '2.1.x'
Closes gh-18735
5 years ago
Madhura Bhave 593eca7998 Emphasize need for quotes around YAML bracket notation
Closes gh-18690
5 years ago
Madhura Bhave bc3c3232c2 Merge branch '2.1.x'
Closes gh-18734
5 years ago
Madhura Bhave e59a643e20 Emphasize the need of @Valid on nested configuration properties
Closes gh-18198
5 years ago
Phillip Webb d73a579dde Move to Spring Framework 5.2.1 SNAPSHOT
See gh-18733
5 years ago
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
5 years ago
Stephane Nicoll b60549d6ca Upgrade to H2 1.4.200
Closes gh-18724
5 years ago
Stephane Nicoll 6806c54110 Upgrade to Quartz 2.3.2
Closes gh-18725
5 years ago
Andy Wilkinson 9b039c491f Merge branch '2.1.x'
Closes gh-18726
5 years ago
Andy Wilkinson d4cd03ebd8 Document need for micrometer-jersey2 dependency to get Jersey metrics
Closes gh-18622
5 years ago
Andy Wilkinson 847ec3c0e1 Add missing %s to warning message format string
Closes gh-18710
5 years ago
Stephane Nicoll 5be562440c Upgrade to H2 1.4.200
Closes gh-18593
5 years ago
Stephane Nicoll c63630d94e Upgrade to Quartz 2.3.2
Closes gh-18723
5 years ago
Phillip Webb 597baf9774 Polish "Optimize logger calls"
See gh-18710
5 years ago
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
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
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
nkjackzhang 6ef39d6b91 Fix typos
See gh-18705
5 years ago
Johnny Lim 8c2d6b28f8 Polish
See gh-18697
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
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 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 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
wycm 681a94b0d5 Optimize debug level logs
See gh-18604
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
Alessandro Falappa f28af3db9f Narrow type for Tomcat 'locale' and 'encoding' properties
See gh-18637
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
xiaokeliu666 57c64eb3bc Polish
See gh-18665
5 years ago
Andy Wilkinson 03f5791860 Merge branch '2.1.x'
Closes gh-18650
5 years ago
dreis2211 d17f11dbe1 Test the Gradle Plugin against Gradle 5.6.3
See gh-18648
5 years ago
Andy Wilkinson 53dea36252 Upgrade to Undertow 2.0.27.Final
Closes gh-18626
5 years ago
Andy Wilkinson 62d78d0570 Upgrade to Spring Session Corn-RELEASE
Closes gh-18525
5 years ago
Andy Wilkinson 2cdf801e7f Add a note to the docs about combining multiple security components
Previously, the documentation did not describe how to combine
multiple security components when one component's
WebSecurityConfigurerAdapter or SecurityWebFilterChain would cause
the other components' beans of the same type to back off.

This commit adds a note that such cases should be handled by the user
defining their own WebSecurityConfigurerAdapter or
SecurityWebFilterChain that configures the use of all of the
components as required.

Closes gh-18507
5 years ago
Brian Clozel 1529ba14c8 Rename server.jetty.idle-timeout
This commit renames the `server.jetty.idle-timeout` property to
`server.jetty.thread-idle-timeout`, since there are other timeout
properties that are not tied to the threadpool configuration (e.g. the
connection idle timeout).

We might regroup thread-related properties in a dedicated group in the
future, see gh-18620.

Fixes gh-18615
5 years ago
Andy Wilkinson 49a6131a98 Merge pull request #18619 from izeye
* gh-18619:
  Remove accidental JavaVersion.current() call in BootRun

Closes gh-18619
5 years ago
Johnny Lim 137538f415 Remove accidental JavaVersion.current() call in BootRun
It was added accidentally in d2b28ceb.

See gh-18619
5 years ago
Andy Wilkinson fd1d653c34 Rename socket factory processor methods on NettyRSocketServerFactory
Previously, the methods were named addServerProcessors and
setServerProcessors which wasn't aligned with them taking
socket factory processors (ServerRSocketFactoryProcessor) as an
argument.

This commit renames the methods to align them more closely with the
type of their arguments.

Closes gh-18617
5 years ago
Brian Clozel 7104b8385f Merge branch '2.1.x' 5 years ago
Brian Clozel 9c5ee1126f Polish
See gh-18473
5 years ago
Brian Clozel 7113d41a80 Merge branch '2.1.x'
Closes gh-18618
5 years ago
Brian Clozel e4fa9ce8c6 Deprecate server.connection-timeout property
Prior to this commit, all supported servers would share the same
configuration property `server.connection-timeout`. Unfortunately, in
many cases the behavior of this timeout changes depending on the server.
From actual connection setup timeout, to detecting and closing idle
connections, this property cannot be properly translated from one server
implementation to another.

This commit deprecates this configuration property and introduces server
specific properties:

* `server.jetty.connection-idle-timeout`
(Time that the connection can be idle before it is closed.)
* `server.netty.connection-timeout`
(Connection timeout of the Netty channel.)
* `server.tomcat.connection-timeout`
(Amount of time the connector will wait, after accepting a connection,
for the request URI line to be presented.)
* `server.undertow.no-request-timeout`
(Amount of time a connection can sit idle without processing a request,
before it is closed by the server.)

`server.connection-timeout` is now deprecated and will be removed in a
future release.

Fixes gh-18473
5 years ago
Stephane Nicoll 64401216b0 Merge branch '2.1.x'
Closes gh-18614
5 years ago
contextshuffling a8c6540191 Use LinkedHashSet for deterministic order in test assertion
See gh-18612
5 years ago
Andy Wilkinson 6af56a8f07 Upgrade to Netty 4.1.42.Final
Closes gh-18609
5 years ago
Andy Wilkinson 4b4b39853b Merge branch '2.1.x'
Closes gh-18608
5 years ago
Andy Wilkinson 00d4b44cbb Remove trailing commas from test SQL scripts
Closes gh-18607
5 years ago
Andy Wilkinson 15db8d8b0c Upgrade to Spring Kafka 2.3.1.RELEASE
Closes gh-18526
5 years ago
Andy Wilkinson 6e84ae6474 Make SAML 2 login configuration back off with user provider config adapter
Previously, a WebSecurityConfigurerAdapter would be configured
irrespective of whether or not the user had provided their own
WebSecurityConfigurerAdapter. This then required them to use ordering
to diambiguate the configuration and made it harder to take complete
control of security configuration.

This commit updates the configuration of the SAML 2 login configurer
adapter to be conditional on missing bean, aligning it with other
security configuration such as the equivalent OAuth 2 configurer
adapter.

Closes gh-18530
5 years ago
Andy Wilkinson 07d0794827 Consider possibility of missing @ConstructorBinding in failure analysis
Previously, when a NoSuchBeanDefinitionException was being analyzed,
the possibility of a missing @ConstructorBinding annotation on a
@ConfigurationProperties class was not considered.

This commit updates the failure analysis for failed constructor
injection of an instance of a @ConfigurationProperties-annotated
class. When such a failure occurs, adding @ConstructorBinding is
now suggested as an action.

Closes gh-18545
5 years ago
Andy Wilkinson 04e035caff Upgrade to Mongodb 3.11.1
Closes gh-18602
5 years ago
Andy Wilkinson e7ea1f32f7 Upgrade to Mimepull 1.9.12
Closes gh-18601
5 years ago
Andy Wilkinson e542cedc49 Upgrade to Flyway 6.0.6
Closes gh-18600
5 years ago
Andy Wilkinson bbae38c0fa Upgrade to Tomcat 9.0.27
Closes gh-18599
5 years ago
Andy Wilkinson 76651f28e5 Upgrade to Johnzon Jsonb 1.2.1
Closes gh-18598
5 years ago
Andy Wilkinson f7a87be1fe Upgrade to Mysql 8.0.18
Closes gh-18597
5 years ago
Andy Wilkinson 92b4e60ecd Upgrade to Rxjava2 2.2.13
Closes gh-18596
5 years ago
Andy Wilkinson 608f02f060 Upgrade to Unboundid Ldapsdk 4.0.12
Closes gh-18595
5 years ago
Andy Wilkinson 8091183c1f Upgrade to Hazelcast 3.12.3
Closes gh-18594
5 years ago
Andy Wilkinson eafa595ed3 Upgrade to Gson 2.8.6
Closes gh-18592
5 years ago
Stephane Nicoll 0bc5803e34 Merge branch '2.1.x'
Closes gh-18603
5 years ago
Stephane Nicoll e4ba6049ff Clarify scope of "@SpringBootTest#classes"
See gh-18229
5 years ago
Stephane Nicoll 2bf8073446 Polish
See gh-18440
5 years ago
Andy Wilkinson b240c810a8 Fix @ConfigurationProperties on @Bean methods without metadata caching
Due to a current limitation of Spring Framework, when bean metadata
caching is disabled, a merged bean definition may have a null
resolved factory method that would have been non-null if bean metadata
caching was enabled. Configuration property binding for @Bean methods
annotated with @ConfigurationProperties relied upon the resolved
factory method being enabled to find the @ConfigurationProperties
annotation and trigger property binding. As a result, when bean
metadata caching is disabled on the bean factory, such
@ConfigurationProperties beans would not be bound.

This commit works around the limitation by adding a fallback that
performs a reflection-based search for the factory method when the
resolved factory method on the bean definition is null. This allows
the bean's factory method and any @ConfigurationProperties annotation
on it to be found, ensuring that propoerty binding is then performed.

Fixes gh-18440
5 years ago
Stephane Nicoll 4efb4d1dd3 Polish "Add some more notes on running exploded jar files"
See gh-18477
5 years ago
Dave Syer 3f2dd30808 Add some more notes on running exploded jar files
See gh-18477
5 years ago
Stephane Nicoll 391eb279df Merge branch '2.1.x'
Closes gh-18588
5 years ago
Stephane Nicoll 22f44917ca Polish "Add metadata entry for spring.main.register-shutdown-hook"
See gh-18581
5 years ago
leoli 9b781449cf Add metadata entry for spring.main.register-shutdown-hook
See gh-18581
5 years ago
Stephane Nicoll 75bd15650f Merge branch '2.1.x'
Closes gh-18587
5 years ago
Stephane Nicoll f05d7902e2 Polish "Clarify formatting recommendations for configuration property javadoc"
See gh-18578
5 years ago
Rafiullah Hamedy 1f9b68707f Clarify formatting recommendations for configuration property javadoc
This commit adds a note to spring-boot-features.adoc to clarify that
using javadoc tags to format configuration property descriptions is not
supported.

See gh-18578
5 years ago
Stephane Nicoll 98f676ca46 Merge branch '2.1.x'
Closes gh-18586
5 years ago
contextshuffling efedd80d4b Use LinkedHashSet for deterministic order in test assertions
See gh-18580
5 years ago
Stephane Nicoll 9c6e5f0904 Merge branch '2.1.x'
Closes gh-18585
5 years ago
dreis2211 abfb87d1a3 Rename tests to match Surefire expectations
See gh-18579
5 years ago
Phillip Webb e20aa7dc73 Clarify ConfigurationPropertiesBean Javadoc
Update the `ConfigurationPropertiesBean` Javadoc to clarify its purpose.

Closes gh-18487
5 years ago
Andy Wilkinson 3fc51f8063 Isolate the effects of initializing Reactor's debug agent in the tests 5 years ago
Andy Wilkinson e7efe0cbfe Merge branch '2.1.x'
Closes gh-18576
5 years ago
王洋 152568521e Make the logger static final
See gh-18575
5 years ago
Andy Wilkinson 65818038fe Polish "Update Kotlin-related reference documentation"
See gh-18573
5 years ago
Sebastien Deleuze c6c9818285 Update Kotlin-related reference documentation
See gh-18573
5 years ago
Andy Wilkinson c75b06c76c Remove @ImmutableConfigurationProperties
Closes gh-18563
5 years ago
Andy Wilkinson cf62dc862b Polish "Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration"
See gh-18571
5 years ago
dreis2211 35dc4817dd Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration
See gh-18571
5 years ago
Stephane Nicoll 8108b556ad Fix resource cleanup in test
Closes gh-18569
5 years ago
Stephane Nicoll f7959bcd00 Merge branch '2.1.x'
Closes gh-18567
5 years ago
Ted M. Young f553784ebc Fix incorrect backslash escape in documentation sample
See gh-18546
5 years ago
dreis2211 d8de6fff53 Polish
See gh-18557
5 years ago
dreis2211 3174f06bf2 Remove usage of @InjectMocks
See gh-18557
5 years ago
Johnny Lim 887c3b71f3 Fix matchesNestedConfigurationClassWithoutTestMethodsIfItHasTestable()
See gh-18559
5 years ago
Andy Wilkinson 9a89039172 Provide a marker artifact for Boot's Gradle plugin
Closes gh-18514
5 years ago
Stephane Nicoll 61a914fa28 Polish 5 years ago
Stephane Nicoll 40bd98a3f4 Polish "Remove boxing"
See gh-18552
5 years ago
clove506 fe6da39e1b Remove boxing
See gh-18552
5 years ago
Johnny Lim d60d59434d Polish
See gh-18531
5 years ago
leoli 2b5f8f36a2 Fix ImmutableConfigurationProperties import statement in ref docs
See gh-18548
5 years ago
Andy Wilkinson e62ca778e9 Merge branch '2.1.x'
Closes gh-18554
5 years ago
dreis2211 ba46ab6a4f Remove accidental usage of UnsupportedOptionException
See gh-18539
5 years ago
dreis2211 09b9d18d88 Fix formatting issue
See gh-18544
5 years ago
dreis2211 e70a5686bf Fix checkstyle warning
See gh-18541
5 years ago
Stephane Nicoll 32a1cdf4d3 Polish "Use dedicated method to turn off authentication"
See gh-18538
5 years ago
Michael Simons 04a01a49c2 Use dedicated method to turn off authentication
See gh-18538
5 years ago
Andy Wilkinson b5243c5076 Polish "Polish"
See gh-18534
5 years ago
Kant Leung 2f73e196af Polish
See gh-18534
5 years ago
Johnny Lim e9e6c925e8 Remove a duplicate assertion
See gh-18524
5 years ago
Andy Wilkinson 002b2709d9 Document auditevent and httptrace endpoints' need for repositories
Closes gh-18352
5 years ago
Andy Wilkinson 8b9890eb5d Remove Woodstox dependency management after Jackson upgrade
The upgrade to Jackson 2.10.0 means that the possibility of getting
an incompatible combination of Woodstox and the StAX API when
building with Maven has gone. This commit removes the dependency
management as it was only added to work around the incompatibility
in Jackson's transitive dependencies.

Closes gh-18500
5 years ago
Andy Wilkinson 078536aded Merge branch '2.1.x'
Closes gh-18502
5 years ago
Andy Wilkinson f42b442ce2 Fix handling of encoded URLs in Class-Path manifest attribute
Fixes gh-18410
5 years ago
Andy Wilkinson bc8a88d734 Upgrade to Webjars Locator Core 0.41
Closes gh-18497
5 years ago
Andy Wilkinson b7e434d5f8 Upgrade to Mockito 3.1.0
Closes gh-18496
5 years ago
Andy Wilkinson 2d08842ad7 Upgrade to Hibernate 5.4.6.Final
Closes gh-18495
5 years ago
Andy Wilkinson a73f7829eb Upgrade to Johnzon Jsonb 1.2.0
Closes gh-18493
5 years ago
Andy Wilkinson a907519ff5 Upgrade to Okhttp3 3.14.4
Closes gh-18492
5 years ago
Phillip Webb be7a7bb2e9 Refine String to File conversion support
Refine the conversion support so that file URLs are support without
reintroducing gh-12163.

Closes gh-16931
5 years ago
Johnny Lim 701bd0dd46 Polish
See gh-18490
5 years ago
Phillip Webb 946202bd42 Polish 'Support 'New Relic' eventType properties'
See gh-18472
5 years ago
Neil Powell e73ae62621 Support 'New Relic' eventType properties
Update `NewRelicProperties` so that the event type sent with each
metric can be configured. An additional `boolean` property has
also been added if the previous behavior using the "meter-name"
is required.

NewRelic's own agents publish metrics to eventTypes aligned with broader
categories. To align with their recommendation the default behavior is
to publish metrics under a "SpringBootSample" category. When doing so,
additional context is provided by including "metricName" and
"metricType" attributes.

See gh-18472
5 years ago
Phillip Webb 3c7d3f9482 Add String to File conversion support
Add `String` -> `File` support to the `ApplicationConversionService`
that can support both simple filename as well as file URLs.

This allows Spring Boot application to work in a similar way to vanilla
Spring applications where Spring's `FileEditor` provides similar
support.

Closes gh-16931
5 years ago
Phillip Webb 61873fbf42 Don't generate @Configuration metadata
Update `AutoConfigureAnnotationProcessor` to no longer store
`@Configuration.value` in the meta-data JSON since we never actually
read it.

Closes gh-16608
5 years ago
Phillip Webb 795303d667 Replace depends-on post processor configurations
Replace `AbstractDependsOnBeanFactoryPostProcessor` `@Configuration`
classes with simple `@Import` component classes.

Closes gh-18382
5 years ago
Madhura Bhave fcbd4408c9 Fix @since tag 5 years ago
Phillip Webb 386c0a60a7 Relax @ConstructorBinding member class requirement
Update `@ConfigurationProperties` so that `@ConstructorBinding` classes
no longer need to repeat the annotation for their members.

Closes gh-18481
5 years ago
Madhura Bhave e6bb7a0a6f Add spring security rsocket dependency to docs 5 years ago
Phillip Webb 9582aa3f3c Remove accidentally committed debug sysout 5 years ago
Phillip Webb b1f23f54df Prevent ValueBinder from being incorrectly used
Fix a regression caused by e41c5a43 which incorrectly allowed the
`ValueObjectBinder` to be picked when the `JavaBeanBinder` should
have been used.

Closes gh-18485
5 years ago
Madhura Bhave 5547a8499f Polish 5 years ago
Madhura Bhave 58fc337315 Polish 5 years ago
Madhura Bhave fd721575f0 Add spring security saml dependency to docs 5 years ago
Madhura Bhave 40ac5b4ae2 Autoconfigure RSocket Security
Closes gh-18356
5 years ago
Madhura Bhave bc96e09965 Add additional test for reactive security auto-config 5 years ago
Stephane Nicoll 45f6668d03 Use @ConstructorBinding when generating meta-data
Update the configuration processor to use the newly introduced
`@ConstructorBinding` annotation to determine when meta data
should be generated from constructor parameters.

Prior to this commit, the processor had no good way to tell when
constructor parameters should be used instead of getters/setters.

Closes gh-17035
5 years ago
Phillip Webb 4208c93ba7 Validate @ConfigurationProperties bean definitions
Add a bean definition post-processor that throws a better exception
if @ConstructorBinding property beans are being instantiated as
regular Spring beans.

Prior to this commit, a constructor bound properties bean would fail
with an unsatisfied dependency exception which isn't all that helpful.

Closes gh-17831
5 years ago
Madhura Bhave 22ed56ac52 Add auto-config for Spring Security's SAML support
Closes gh-18260

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Phillip Webb 71f8347c81 Rename ServerRSocketFactoryCustomizer
Rename `ServerRSocketFactoryCustomizer` to
`ServerRSocketFactoryProcessor` to better reflect that it is not a
traditional customizer.

Closes gh-18390
5 years ago
Andy Wilkinson 96f85a40de Support customization of WebTestClient.Builder when using @SpringBootTest
Closes gh-15132
5 years ago
Andy Wilkinson 9e514ab7f9 Provide plugin release repository for Asciidoctor Extensions
See b5069a4f8a
5 years ago
Andy Wilkinson dab69cfbd2 Upgrade to Promethus Pushgateway 0.7.0
Closes gh-18418
5 years ago
Andy Wilkinson b5069a4f8a Upgrade to Spring Asciidoctor Extensions 0.3.0.RELEASE
Closes gh-18474
5 years ago
Andy Wilkinson 46c30d6bb0 Merge branch '2.1.x'
Closes gh-18476
5 years ago
Andy Wilkinson 3d4157ad6d Correct SCM URLs in published poms
Previously, Maven's default behaviour was relied up which resulted
in the artifact ID being appended to each URL as it was inherited.
This behaviour can only be disabled in Maven 3.6 and later, a version
that we cannot use due to an incompatibility with the Flatten Plugin.

This commit works around Maven's default behaviour by defining
properties for the SCM URL, connection, and developer connection and
then explicitly defining the settings in each pom using these
properties. The explicit definition of the properties in each pom
prevents them being inherited from the parent, thereby disabling the
unwanted appending of the artifact ID to the URL.

Fixes gh-18328
5 years ago
Andy Wilkinson f029fa55da Upgrade to Spring Batch 4.2.0.RELEASE
Closes gh-18252
5 years ago
Andy Wilkinson e507d47571 Upgrade to Spring Session Corn-RC1
Closes gh-18257
5 years ago
Phillip Webb b65ba60980 Polish 'Simplify some code'
See gh-18438
5 years ago
kenneth e6b45de41e Simplify some code
See gh-18438
5 years ago
Phillip Webb e41c5a4327 Require annotation signal for constructor binding
Update `@ConfigurationProperties` constructor binding support to only
apply when a `@ConstructorBinding` annotation is present on either the
type or the specific constructor to use.

Prior to this commit we didn't have a good way to tell when constructor
binding should be used vs regular autowiring.

For convenience, an `@ImmutableConfigurationProperties` meta-annotation
has also been added which is composed of `@ConfigurationProperties` and
`@ConstructorBinding`.

Closes gh-18469
5 years ago
Phillip Webb ecf751e7eb Polish 5 years ago
Andy Wilkinson 557d187607 Revert "Upgrade to Spring Session Corn-RC1"
This reverts commit e7e69e2e16.

See gh-18257
5 years ago
Andy Wilkinson e7e69e2e16 Upgrade to Spring Session Corn-RC1
Closes gh-18257
5 years ago
Vedran Pavic 4808016560 Align with Spring Session MongoDB deprecations
See gh-18470
5 years ago
Andy Wilkinson 6a5f608f30 Upgrade to Spring Kafka 2.3.0.RELEASE
Closes gh-18255
5 years ago
Andy Wilkinson 9e1825ed42 Upgrade to Spring Integration 5.2.0.RELEASE
Closes gh-18254
5 years ago
Andy Wilkinson ead1304bb5 Upgrade to Spring AMQP 2.2.0.RELEASE
Closes gh-18251
5 years ago
Phillip Webb b262ebf5b4 Update copyright header of changed files 5 years ago
Phillip Webb a8139ba819 Merge branch '2.1.x' 5 years ago
Phillip Webb 40acbfc733 Update copyright header of changed files 5 years ago
Phillip Webb 262eb686d0 Merge branch '2.1.x'
Closes gh-18468
5 years ago
Madhura Bhave ecf393461e Skip management context ResourceConfigCustomizers
Update `JerseyManagementContextConfiguration` so that customizer beans
are not longer applied. The endpoint resource endpoints are now added
with a registrar bean `@PostConstruct` method.

Prior to this commit, when running the management server on a different
port a `Resource` added by a customizer could be added two different
`ResourceConfig` instance. This breaks the singleton contract expected
by Jersey.

Fixes gh-17801

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Stephane Nicoll 5f4ddd98d8 Upgrade to Spring Security 5.2.0.RELEASE
Closes gh-18256
5 years ago
Johnny Lim 3a63179d81 Fix a broken Asciidoctor syntax
Along the way, this commit also fixes a typo.

Closes gh-18325
5 years ago
Andy Wilkinson ed29eea365 Align Spring Asciidoctor Extension dependency with new module names 5 years ago
Stephane Nicoll b0d6169285 Upgrade to Spring Session Bom Bean-SR8
Closes gh-18466
5 years ago
Stephane Nicoll 9d40d192a0 Upgrade to Micrometer 1.1.7
Closes gh-18465
5 years ago
Stephane Nicoll 852b369ce1 Revert to fixed version 5 years ago
Stephane Nicoll 4237d9fc1a Merge branch '2.1.x'
See gh-18316
5 years ago
Stephane Nicoll 47365dc260 Revert to Spring Web Services 3.0.7.RELEASE
See gh-18315
5 years ago
Stephane Nicoll 91afd289bf Upgrade to Download Maven Plugin 1.4.2
Closes gh-18459
5 years ago
Stephane Nicoll fc7c0ba32e Upgrade to Commons FileUpload 1.4
Closes gh-18450
5 years ago
Stephane Nicoll b2334dd871 Upgrade to gmavenplus-plugin 1.8.0
Closes gh-18462
5 years ago