Commit Graph

20503 Commits (cd91dbe62be5cd779154a85df70b651fcfa15cdb)

Author SHA1 Message Date
Andy Wilkinson b2bc114d6f Update javadoc to link to non-deprecated ConstructorBinding
Closes gh-36045
1 year ago
Andy Wilkinson ffbef7bb80 Test server.max-http-request-header-size with Undertow
Closes gh-36047
1 year ago
Scott Frederick 4a3abdd7c3 Merge branch '2.7.x' into 3.0.x
Closes gh-36053
1 year ago
Johnny Lim 59d4bf97a1 Add Javadoc since to ImageReference.inTaglessForm()
See gh-36048
1 year ago
Scott Frederick eeeb2ad72a Merge branch '2.7.x' into 3.0.x
Closes gh-36049
1 year ago
Johnny Lim 4a2c9d99dc Remove redundant Files.delete() calls in tests
See gh-35986
1 year ago
Andy Wilkinson 2fae5de245 Merge branch '2.7.x' into 3.0.x
Closes gh-36043
1 year ago
Andy Wilkinson d2966e1cbf Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
See gh-35915
1 year ago
ThomazPassarelli f9da30faf1 Replace calls to verifyComplete() to avoid indefinite blocking
See gh-35915
1 year ago
Phillip Webb 9db3c5a2f7 Polish 1 year ago
Phillip Webb f7af1bab5b Upgrade to Spring WS 4.0.5
Closes gh-36010
1 year ago
Phillip Webb 5c8ed944ca Start building against Spring WS 4.0.5 snapshots
See gh-36010
1 year ago
Andy Wilkinson f6841c3c16 Revert "Start building against Spring WS 3.1.7 snapshots"
This reverts commit 5e963b02a7.

See gh-35732
1 year ago
Andy Wilkinson 39c382713b Initialize WebSocket infrastructure when using WebFlux and Jetty
In Spring Framework 5.x with Jetty 9, the reactive
JettyRequestUpgradeStrategy was able to initialize Jetty's WebSocket
infrastructure itself. With Jetty 10 this is no longer possible and
Boot must perform the initialization as part of preparing the
reactive JettyWebServer.

This commit updates the reactive WebSocket auto-configuration to
initialize Jetty's WebSocket infrastructure as part of creating the
reactive JettyWebServer.

Fixes gh-33347
1 year ago
Andy Wilkinson 641f00f24c Disable test when Java version is too high
Gradle 7.3.3 does not support Java 20 so the test that verifies that
the plugin fails fast when running on a version of Gradle that it
does not support needs to be disabled on Java 20 and later.

See gh-35931
1 year ago
Andy Wilkinson f584d6dbd9 Replace `@EnableBatchProcessing` in slice test examples
Using `@EnableBatchProcessing` is no longer necessary to enable
Batch's auto-configuration so it's no longer a good example when
discussing sliced tests and user configuration.

This commit replaces `@EnableBatchProcessing` with an alternative
annotation, `@EnableMongoAuditing` and updates the accompanying
text.

Closes gh-33435
1 year ago
Andy Wilkinson 35ee52275e Upgrade to Spring Integration 6.0.6
Closes gh-35740
1 year ago
Andy Wilkinson 2fd5319eda Merge branch '2.7.x' into 3.0.x
Closes gh-36002
1 year ago
Andy Wilkinson 0fb4c9a095 Prohibit upgrades to RSocket 1.1.4
Closes gh-35798
1 year ago
Stephane Nicoll 4c06dc49b3 Upgrade to Spring Session 3.0.2
Closes gh-35744
1 year ago
Stephane Nicoll cf955671d8 Upgrade to Spring Security 6.0.4
Closes gh-35743
1 year ago
Stephane Nicoll 6066fb53ed Upgrade to Spring Kafka 3.0.8
Closes gh-35993
1 year ago
Stephane Nicoll 0b582651b3 Upgrade to Spring GraphQL 1.1.5
Closes gh-35775
1 year ago
Stephane Nicoll 1940d876c3 Upgrade to Spring AMQP 3.0.5
Closes gh-35737
1 year ago
Stephane Nicoll a7d71a3921 Upgrade to Netty 4.1.94.Final
Closes gh-35992
1 year ago
Stephane Nicoll 3e3428af95 Upgrade to Infinispan 14.0.11.Final
Closes gh-35990
1 year ago
Stephane Nicoll e7f6faf6ae Upgrade to Hazelcast 5.1.7
Closes gh-35989
1 year ago
Stephane Nicoll cb5330fd11 Upgrade to Spring Session Bom 2021.2.2
Closes gh-35731
1 year ago
Stephane Nicoll b0af370038 Upgrade to Spring Security 5.7.9
Closes gh-35730
1 year ago
Stephane Nicoll f206f1807f Upgrade to Netty 4.1.94.Final
Closes gh-35988
1 year ago
Stephane Nicoll 0dd93de05d Upgrade to Hazelcast 5.1.7
Closes gh-35987
1 year ago
Moritz Halbritter 975e2d110c Polish CompositePropagationFactory
Remove shaded Guava import
1 year ago
Stephane Nicoll 607c155d4c Upgrade to Spring Retry 2.0.2
Closes gh-35742
1 year ago
Stephane Nicoll 3194edefbd Upgrade to Spring LDAP 3.0.4
Closes gh-35741
1 year ago
Stephane Nicoll 381857b3d3 Upgrade to Spring Data Bom 2022.0.7
Closes gh-35738
1 year ago
Stephane Nicoll 33341f241d Upgrade to Spring Data Bom 2021.2.13
Closes gh-35728
1 year ago
Stephane Nicoll b4b6477899 Upgrade to Spring AMQP 2.4.13
Closes gh-35727
1 year ago
Phillip Webb af846da69b Merge branch '2.7.x' into 3.0.x
Closes gh-35933
1 year ago
Phillip Webb efa072204a Don't migrate properties that cause a circular reference
Update `PropertiesMigrationReporter` so that properties are only
migrated automatically when they don't cause a circular reference.

Fixes gh-35919
1 year ago
Phillip Webb 2f39ebfe89 Polish 1 year ago
Phillip Webb 48e13af8c4 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb b8d2c279ee Update copyright year of changed files 1 year ago
Scott Frederick fbba2df7bf Enable Gradle plugin tests on Java 20
Closes gh-35931
1 year ago
Phillip Webb 0fd1c89889 Polish 1 year ago
Phillip Webb 9b72cc41ab Polish 'Add support for multiple tracing propagation formats'
See gh-35611
1 year ago
Phillip Webb 691b549e36 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb f3f8610539 Polish 1 year ago
Phillip Webb 4c8b93b37d Merge branch '2.7.x' into 3.0.x
Closes gh-35920
1 year ago
Phillip Webb 137f4ee451 Support reporting of custom Log4J2 log levels from the LoggersEndpoint
Support custom Log4J2 log levels by changing `LoggerConfiguration` so
that it can now report levels using a `LevelConfiguration` object
rather than the limited `LogLevel` enum.

The `Log4J2LoggingSystem` class now uses `LevelConfiguration.ofCustom`
for custom logging levels, rather than throwing an exception.

The `LoggersEndpoint` has also been updated so that it can return the
custom logger name.

Fixes gh-35227
1 year ago
Andy Wilkinson eeea065595 Merge branch '2.7.x' into 3.0.x
Closes gh-35912
1 year ago
Andy Wilkinson e779fb0bc4 Validate constructor bound config props that implement Validator
Closes gh-33669
1 year ago
Andy Wilkinson 7bb3caf914 Merge branch '2.7.x' into 3.0.x
Closes gh-35910
1 year ago
Andy Wilkinson ee606db34a Update Data REST starter description to mention Spring MVC
Closes gh-35678
1 year ago
Andy Wilkinson a5981a4dac Merge branch '2.7.x' into 3.0.x
Closes gh-35908
1 year ago
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
1 year ago
Moritz Halbritter 8cd8d21720 Add support for multiple tracing propagation formats
See gh-35611
1 year ago
Andy Wilkinson 6def7252d6 Merge branch '2.7.x' into 3.0.x
Closes gh-35904
1 year ago
Andy Wilkinson 088006ff60 Use ephemeral port for Hazelcast
When Hazelcast is started on a fixed port and that port is already in
use, it does not fail to start which makes the problem hard to
detect. A symptom of the problem is that clients will not be able to
connect and will either retry indefinitely or will timeout depending
on their configuration.

This commit updates the Hazelcast client tests to start the Hazelcast
instance on an ephemeral port and to customize the client
configuration with the instance's address before use. This should
allow the client tests to work reliably in an environment where
Hazelcast's default port is already in use.

Closes gh-35903
1 year ago
Andy Wilkinson 4694e20628 Merge branch '2.7.x' into 3.0.x 1 year ago
Andy Wilkinson 7d07c0d09c Polish configuration related to predictive test selection
Most notably, this commit splits the tests that use Spring REST Docs
out into a separate task for which predictive test selection is
disabled. This allows it to be cached and use Gradle's built-in
up-to-date checking, thereby avoiding the generation of new snippets
and the need to then run the asciidoctor and asciidoctorPdf tasks.

It also updates spring-boot-smoke-test-junit-vintage to disable
predictive test selection so that we can continue to assert that
the some tests were executed.

See gh-35869
1 year ago
Stephane Nicoll d3ff04fa4b Upgrade to Reactor Bom 2022.0.8
Closes gh-35736
1 year ago
Stephane Nicoll 1900910008 Upgrade to Micrometer Tracing 1.0.7
Closes gh-35735
1 year ago
Stephane Nicoll 2d43f345de Upgrade to Micrometer 1.10.8
Closes gh-35734
1 year ago
Stephane Nicoll 7cf41e9e0a Upgrade to Logback 1.4.8
Closes gh-35881
1 year ago
Stephane Nicoll 10b66975dd Upgrade to Glassfish JAXB 4.0.3
Closes gh-35880
1 year ago
Stephane Nicoll 2dbfe54762 Upgrade to Couchbase Client 3.4.7
Closes gh-35879
1 year ago
Stephane Nicoll f2a44d7f06 Upgrade to Reactor Bom 2020.0.33
Closes gh-35726
1 year ago
Stephane Nicoll 7576117dd9 Upgrade to Micrometer 1.9.12
Closes gh-35725
1 year ago
Andy Wilkinson ac8ea1d841 Upgrade to Neo4j Java Driver 5.9.0
Closes gh-35867
1 year ago
Andy Wilkinson bdbbbc6470 Merge branch '2.7.x' into 3.0.x
Closes gh-35864
1 year ago
Andy Wilkinson 984dc1d58f Allow package-private main classes to be used with Devtools
Fixes gh-35858
1 year ago
Stephane Nicoll 02a601eae3 Fix checkstyle violation 1 year ago
Stephane Nicoll 261cb721e9 Fix checkstyle violation 1 year ago
Stephane Nicoll ddeee2bcbf Upgrade to Undertow 2.3.7.Final
Closes gh-35814
1 year ago
Stephane Nicoll a720f3aa59 Upgrade to UnboundID LDAPSDK 6.0.9
Closes gh-35813
1 year ago
Andy Wilkinson 39276f8302 Adapt to deprecation of rejectIllegalHeader
Closes gh-35442
1 year ago
Stephane Nicoll ad0ce41f8a Upgrade to Undertow 2.2.25.Final
Closes gh-35801
1 year ago
Stephane Nicoll 1201d8fa01 Upgrade to UnboundID LDAPSDK 6.0.9
Closes gh-35800
1 year ago
Stephane Nicoll 9f0a631700 Upgrade to Netty 4.1.93.Final
Closes gh-35811
1 year ago
Stephane Nicoll 00aaecbcdd Upgrade to Lombok 1.18.28
Closes gh-35810
1 year ago
Stephane Nicoll 496c0e709f Upgrade to JBoss Logging 3.5.1.Final
Closes gh-35809
1 year ago
Stephane Nicoll daebfb2885 Upgrade to Jakarta Mail 2.1.2
Closes gh-35808
1 year ago
Stephane Nicoll c2566ebffb Upgrade to Jakarta Json 2.1.2
Closes gh-35807
1 year ago
Stephane Nicoll 3ef975e596 Upgrade to Infinispan 14.0.10.Final
Closes gh-35806
1 year ago
Stephane Nicoll 5ea5f59328 Upgrade to HSQLDB 2.7.2
Closes gh-35805
1 year ago
Stephane Nicoll 30bd14e7c5 Upgrade to Git Commit ID Plugin 5.0.1
Closes gh-35804
1 year ago
Stephane Nicoll 766ac6343b Upgrade to Dropwizard Metrics 4.2.19
Closes gh-35803
1 year ago
Stephane Nicoll 0bd08a6233 Upgrade to Netty 4.1.93.Final
Closes gh-35797
1 year ago
Stephane Nicoll ef90c11a1a Upgrade to Lombok 1.18.28
Closes gh-35796
1 year ago
Stephane Nicoll 461f2fa054 Upgrade to Infinispan 13.0.18.Final
Closes gh-35795
1 year ago
Stephane Nicoll 9306d0868a Upgrade to Dropwizard Metrics 4.2.19
Closes gh-35794
1 year ago
Andy Wilkinson fba0aa805f Merge branch '2.7.x' into 3.0.x
Closes gh-35788
1 year ago
Andy Wilkinson 5e97f869d0 Remove unnecessary usage of Supplier
Closes gh-35787
1 year ago
Andy Wilkinson 443d9f9bd2 Start building against Spring GraphQL 1.1.5 snapshots
See gh-35775
1 year ago
Andy Wilkinson 51e980200a Merge branch '2.7.x' into 3.0.x
Closes gh-35772
1 year ago
Andy Wilkinson ca50cd8c8a Stop using an infinite timeout for connecting to Hazelcast
Closes gh-35771
1 year ago
Moritz Halbritter a9b4e9327c Merge branch '2.7.x' into 3.0.x
Closes gh-35768
1 year ago
twobiers 0dbc0fcf91 Move property notes up to external configuration section
See gh-35662
1 year ago
Steve Riesenberg ba9f92fa86 Improve OAuth2 Client section of docs
* Add an OpenID Connect login client example
* Update redirect-uri examples to match Security docs and not require
  any customization
* Update client-authentication-method for Spring Security 6 usage
* Update provider configuration example to align with Spring
  Authorization Server
* Format Java DSL according to Spring Security docs
* Use Kotlin DSL
* Update redirection endpoint base uri example to use ant pattern

See gh-35679
1 year ago
Moritz Halbritter 85720a5d90 Merge branch '2.7.x' into 3.0.x
Closes gh-35765
1 year ago
Bernardo Bulgarelli 51afaa79a7 Add @AliasFor annotation to EndpointCloudFoundryExtension
See gh-35716
1 year ago
Moritz Halbritter 9149fc3e77 Merge branch '2.7.x' into 3.0.x
Closes gh-35763
1 year ago
Moritz Halbritter 2927d50d18 Add JavaVersion.TWENTY
Closes gh-35758
1 year ago
Phillip Webb f641ce037d Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb 4eda5bd36f Polish 1 year ago
Andy Wilkinson d32c7c52b7 Start building against Spring Session 3.0.2 snapshots
See gh-35744
1 year ago
Andy Wilkinson b4fc9d6c50 Start building against Spring Security 6.0.4 snapshots
See gh-35743
1 year ago
Andy Wilkinson e670a091d7 Start building against Spring Retry 2.0.2 snapshots
See gh-35742
1 year ago
Andy Wilkinson 185ca73445 Start building against Spring LDAP 3.0.4 snapshots
See gh-35741
1 year ago
Andy Wilkinson 3960f8630d Start building against Spring Integration 6.0.6 snapshots
See gh-35740
1 year ago
Andy Wilkinson 22e8a41efa Start building against Spring Framework 6.0.10 snapshots
This reverts commit 9d56b419 as Framework's previous behavior has
been restored.

See gh-35739
1 year ago
Andy Wilkinson d8078f1c12 Start building against Spring Data Bom 2022.0.7 snapshots
See gh-35738
1 year ago
Andy Wilkinson 225fa6fbb5 Start building against Spring AMQP 3.0.5 snapshots
See gh-35737
1 year ago
Andy Wilkinson 31f0a69469 Start building against Reactor Bom 2022.0.8 snapshots
See gh-35736
1 year ago
Andy Wilkinson c07d8bef17 Start building against Micrometer Tracing 1.0.7 snapshots
See gh-35735
1 year ago
Andy Wilkinson 538aad723a Start building against Micrometer 1.10.8 snapshots
See gh-35734
1 year ago
Andy Wilkinson 5e963b02a7 Start building against Spring WS 3.1.7 snapshots
See gh-35732
1 year ago
Andy Wilkinson adc2077be3 Start building against Spring Session Bom 2021.2.2 snapshots
See gh-35731
1 year ago
Andy Wilkinson a47112bbeb Start building against Spring Security 5.7.9 snapshots
See gh-35730
1 year ago
Andy Wilkinson c680a892fe Start building against Spring Data Bom 2021.2.13 snapshots
See gh-35728
1 year ago
Andy Wilkinson a04f6b3b02 Start building against Spring AMQP 2.4.13 snapshots
See gh-35727
1 year ago
Andy Wilkinson 163f5052c1 Start building against Reactor Bom 2020.0.33 snapshots
See gh-35726
1 year ago
Andy Wilkinson d92012b82f Start building against Micrometer 1.9.12 snapshots
See gh-35725
1 year ago
Andy Wilkinson 5a793a6d49 Merge branch '2.7.x' into 3.0.x
Closes gh-35707
1 year ago
Andy Wilkinson 5623fe3b94 Test Gradle plugin against Gradle 8.2-rc-1
Closes gh-35699
1 year ago
Scott Frederick 6a763f9be4 Merge branch '2.7.x' into 3.0.x
Closes gh-35689
1 year ago
Scott Frederick c847db77e6 Correct precedence in description of MongoDB properties
Closes gh-35686
1 year ago
Andy Wilkinson a58e98af05 Fix binding to constructor bound lateinit properties
Closes gh-35603
2 years ago
Andy Wilkinson 5ad0d49ec1 Fix hints for `@Bean` config props that could be constructor bound
Previously, if a `@ConfigurationProperties`-annotated `@Bean` method
returned a type that looked like it could be constructor bound, the
registered runtime hints were incorrect. With only the bean's class
to work with, the hints registrar would incorrectly determine that
the type would be constructor bound and would not register the hints
required for Java bean binding.

This commit updates the registrar to allow the caller to provide a
Bindable which knows both what should be bound and how it should be
bound, thereby allowing the registrar to generate the correct hints.
The tests for the AOT processor have also been updated to remove
duplication of the tests in BindableRuntimeHintsRegistrarTests and
to focus on the contribution creating Bindable instances with the
bind method that is required to produce the correct reflection hints.

Closes gh-35564

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson eb60cf4988 Remove duplication of BindableRuntimeHintsRegistrarTests
There were several tests in CPBFIAPT that were duplicating tests in
BindableRuntimeHintsRegistrarTests. To test the AOT processor, all
that is really necessary is to assert that the expected types are
found and passed to BindableRuntimeHintsRegistrar. The tests for
BindableRuntimeHintsRegistrar are then responsible for asserting
that the expected hints are generated for the various different
types.

Closes gh-35645
2 years ago
Andy Wilkinson f03f062770 Move BindMethod to context.properties.bind and expose on Bindable
Closes gh-35642

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Phillip Webb 581a32b107 Polish ConfigurationPropertiesBean
Closes gh-35640
2 years ago
Phillip Webb bfbae581d7 Extract BindMethodAttribute class
Create a `BindMethodAttribute` class to manage attribute logic.

Closes gh-35638
2 years ago
Andy Wilkinson a9f89a1e3c Merge branch '2.7.x' into 3.0.x
Closes gh-35633
2 years ago
Andy Wilkinson f452a86175 Polish "Document audience support in Oauth2 resource server"
See gh-35286
2 years ago
Bikash Adhikari 13c5c6efb1 Document audience support in Oauth2 resource server
See gh-35286
2 years ago
Stephane Nicoll 44c2090092 Polish "Fix description of build-image[-no-fork] Maven plugin goals"
See gh-35609
2 years ago
Thomas Kåsene e84025b1b8 Fix description of build-image[-no-fork] Maven plugin goals
See gh-35609
2 years ago
Scott Frederick 72fd94f2b5 Align bean name with Spring Data Elasticsearch requirements
Fixes gh-33651
2 years ago
Christoph Dreis b2b5728995 Remove unnecessary exclude from spring-restdocs-mockmvc
See gh-35568
2 years ago
Johnny Lim 1b5fc89b43 Polish
See gh-35576
2 years ago
Andy Wilkinson 54e769be3a Polish
See gh-35553
2 years ago
Andy Wilkinson af9cd8cf0b Merge branch '2.7.x' into 3.0.x
Closes gh-35553
2 years ago
Phillip Webb 418dd1ba5b Return 406 status code if welcome page is not accepted
Add `WelcomePageNotAcceptableHandlerMapping` which will return
an HTTP 406 status if a suitable welcome page is found but
cannot be accepted for the request.

An additional mapper is used so that we don't need to change
the order of the `WelcomePageHandlerMapping`. It's possible
that users may have additional root handler mappings
registered to run after the `WelcomePageHandlerMapping`
and we still need to respect those.

Fixes gh-35552
2 years ago
Andy Wilkinson b6e56c85a0 Upgrade to Json-smart 2.4.11
Closes gh-35551
2 years ago
Andy Wilkinson e6160fca8e Upgrade to Jersey 3.1.2
Closes gh-35550
2 years ago
Andy Wilkinson cc2bb7cade Upgrade to Json-smart 2.4.11
Closes gh-35549
2 years ago
Phillip Webb f88cc5eb94 Upgrade to Spring Batch 5.0.2
Closes gh-35300
2 years ago
Phillip Webb 4072588c29 Polish "Fix invalid Zipkin Reporter back-off behavior"
See gh-35455
2 years ago
ryosuke-hasebe 903e19854d Fix invalid Zipkin Reporter back-off behavior
Update `ReporterConfiguration` so that `spanReporter` back off
if a `Reporter` bean is defined. Prior to this commit, only
`AsyncReporter` beans would be considered.

See gh-35455
2 years ago