Commit Graph

43327 Commits (a94ac2fb4465d46db3dbb4e4014dd04c04738d52)
 

Author SHA1 Message Date
Moritz Halbritter eb9077df86 Document how to customize the JDBC parameters when using Docker Compose
Closes gh-35636
2 years ago
Andy Wilkinson 127004b4c5 Merge branch '3.0.x'
Closes gh-35647
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 1d2a41fd1a Merge branch '3.0.x'
Closes gh-35646
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 75f55cc35a Merge branch '3.0.x'
Closes gh-35644
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
Andy Wilkinson 604a1e9538 Merge branch '3.0.x'
Closes gh-35641
2 years ago
Phillip Webb 581a32b107 Polish ConfigurationPropertiesBean
Closes gh-35640
2 years ago
Andy Wilkinson fa49e2b6c6 Merge branch '3.0.x'
Closes gh-35639
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 6a74f63143 Merge branch '3.0.x'
Closes gh-35634
2 years ago
Andy Wilkinson a9f89a1e3c Merge branch '2.7.x' into 3.0.x
Closes gh-35633
2 years ago
Andy Wilkinson 812a48e877 Merge pull request #35286 from bikash30851
* gh-35286:
  Polish "Document audience support in Oauth2 resource server"
  Document audience support in Oauth2 resource server

Closes gh-35286
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
Andy Wilkinson ca1756ecf7 Merge branch '3.0.x' 2 years ago
Andy Wilkinson bc6015c790 Merge branch '2.7.x' into 3.0.x 2 years ago
Andy Wilkinson 7c5fd06d77 Check out code and validate Gradle wrapper in PR workflow 2 years ago
Andy Wilkinson 74ae0de226 Merge branch '3.0.x' 2 years ago
Andy Wilkinson 8ebf5f2412 Merge branch '2.7.x' into 3.0.x 2 years ago
Andy Wilkinson 746f2aa77e Add workflow for building pull requests 2 years ago
Phillip Webb 25a076178e Merge branch '3.0.x' 2 years ago
Phillip Webb 02217d35d2 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb c88a768977 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb f8c9fee3b0 Merge branch '2.5.x' into 2.6.x 2 years ago
Phillip Webb 6c4781086f Remove unused CI files 2 years ago
Phillip Webb 4d0ab5f1e9 Merge branch '3.0.x' 2 years ago
Phillip Webb 69fe1aa159 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 5d1fcfa472 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 12b09acc87 Merge branch '2.5.x' into 2.6.x 2 years ago
Phillip Webb 46c8b58eb5 Update CI pipeline 2 years ago
Scott Frederick 40f5d650f9 Merge pull request #35625 from KitBolourchi
* pr/35625:
  Upgrade Kafka image used in integration tests

Closes gh-35625
2 years ago
kitbolourchi 1ac6e9ebe1 Upgrade Kafka image used in integration tests
See gh-35625
2 years ago
Scott Frederick 39d7dd283a Merge branch '3.0.x'
Closes gh-35623
2 years ago
Scott Frederick 7f35edb72a Merge branch '2.7.x' into 3.0.x
Closes gh-35624
2 years ago
Scott Frederick a5a5be37ec Upgrade CI to Docker 24.0.1
Closes gh-35622
2 years ago
Stephane Nicoll dcb97594c3 Merge branch '3.0.x'
Closes gh-35618
2 years ago
Stephane Nicoll 52360755af Merge pull request #35609 from ThomasKasene
* pr/35609:
  Polish "Fix description of build-image[-no-fork] Maven plugin goals"
  Fix description of build-image[-no-fork] Maven plugin goals

Closes gh-35609
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 703883d302 Merge branch '3.0.x'
Closes gh-35610
2 years ago
Scott Frederick 72fd94f2b5 Align bean name with Spring Data Elasticsearch requirements
Fixes gh-33651
2 years ago
Moritz Halbritter 157b71b333 Add missing defaults for docker compose properties
Closes gh-35598
2 years ago
Moritz Halbritter b82e7a72b1 Move @Testcontainers before @SpringBootTest in documentation
Closes gh-35572
2 years ago
Moritz Halbritter d841490f5f Enable ZipkinProperties in ZipkinAutoConfiguration
Closes gh-35592
2 years ago
Moritz Halbritter ad108952c8 Fix JavaDoc in ServiceConnection
Closes gh-35594
2 years ago
Stephane Nicoll 9643dbeed2 Merge branch '3.0.x'
Closes gh-35590
2 years ago
Stephane Nicoll bf91ec18c1 Merge pull request #35568 from dreis2211
* pr/35568:
  Remove unnecessary exclude from spring-restdocs-mockmvc

Closes gh-35568
2 years ago
Christoph Dreis b2b5728995 Remove unnecessary exclude from spring-restdocs-mockmvc
See gh-35568
2 years ago