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>
2023-05-26 10:28:49 +01:00
Andy Wilkinson
1d2a41fd1a
Merge branch '3.0.x'
...
Closes gh-35646
2023-05-26 09:41:55 +01:00
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
2023-05-26 09:41:09 +01:00
Andy Wilkinson
75f55cc35a
Merge branch '3.0.x'
...
Closes gh-35644
2023-05-26 09:15:05 +01:00
Andy Wilkinson
f03f062770
Move BindMethod to context.properties.bind and expose on Bindable
...
Closes gh-35642
Co-authored-by: Phillip Webb <pwebb@vmware.com>
2023-05-26 09:13:58 +01:00
Andy Wilkinson
604a1e9538
Merge branch '3.0.x'
...
Closes gh-35641
2023-05-26 08:51:57 +01:00
Phillip Webb
581a32b107
Polish ConfigurationPropertiesBean
...
Closes gh-35640
2023-05-26 08:51:21 +01:00
Andy Wilkinson
fa49e2b6c6
Merge branch '3.0.x'
...
Closes gh-35639
2023-05-26 08:42:59 +01:00
Phillip Webb
bfbae581d7
Extract BindMethodAttribute class
...
Create a `BindMethodAttribute` class to manage attribute logic.
Closes gh-35638
2023-05-26 08:33:47 +01:00
Andy Wilkinson
6a74f63143
Merge branch '3.0.x'
...
Closes gh-35634
2023-05-25 14:20:17 +01:00
Andy Wilkinson
a9f89a1e3c
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35633
2023-05-25 14:19:58 +01:00
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
2023-05-25 14:12:24 +01:00
Andy Wilkinson
f452a86175
Polish "Document audience support in Oauth2 resource server"
...
See gh-35286
2023-05-25 14:11:44 +01:00
Bikash Adhikari
13c5c6efb1
Document audience support in Oauth2 resource server
...
See gh-35286
2023-05-25 14:11:27 +01:00
Andy Wilkinson
ca1756ecf7
Merge branch '3.0.x'
2023-05-25 12:55:09 +01:00
Andy Wilkinson
bc6015c790
Merge branch '2.7.x' into 3.0.x
2023-05-25 12:54:58 +01:00
Andy Wilkinson
7c5fd06d77
Check out code and validate Gradle wrapper in PR workflow
2023-05-25 12:54:37 +01:00
Andy Wilkinson
74ae0de226
Merge branch '3.0.x'
2023-05-25 12:33:10 +01:00
Andy Wilkinson
8ebf5f2412
Merge branch '2.7.x' into 3.0.x
2023-05-25 12:32:13 +01:00
Andy Wilkinson
746f2aa77e
Add workflow for building pull requests
2023-05-25 12:30:46 +01:00
Phillip Webb
25a076178e
Merge branch '3.0.x'
2023-05-24 17:31:17 -07:00
Phillip Webb
02217d35d2
Merge branch '2.7.x' into 3.0.x
2023-05-24 17:31:07 -07:00
Phillip Webb
c88a768977
Merge branch '2.6.x' into 2.7.x
2023-05-24 17:30:52 -07:00
Phillip Webb
f8c9fee3b0
Merge branch '2.5.x' into 2.6.x
2023-05-24 17:30:39 -07:00
Phillip Webb
6c4781086f
Remove unused CI files
2023-05-24 17:30:12 -07:00
Phillip Webb
4d0ab5f1e9
Merge branch '3.0.x'
2023-05-24 17:28:41 -07:00
Phillip Webb
69fe1aa159
Merge branch '2.7.x' into 3.0.x
2023-05-24 17:28:13 -07:00
Phillip Webb
5d1fcfa472
Merge branch '2.6.x' into 2.7.x
2023-05-24 17:18:58 -07:00
Phillip Webb
12b09acc87
Merge branch '2.5.x' into 2.6.x
2023-05-24 17:18:14 -07:00
Phillip Webb
46c8b58eb5
Update CI pipeline
2023-05-24 17:17:35 -07:00
Scott Frederick
40f5d650f9
Merge pull request #35625 from KitBolourchi
...
* pr/35625:
Upgrade Kafka image used in integration tests
Closes gh-35625
2023-05-24 16:46:28 -05:00
kitbolourchi
1ac6e9ebe1
Upgrade Kafka image used in integration tests
...
See gh-35625
2023-05-24 16:12:08 -05:00
Scott Frederick
39d7dd283a
Merge branch '3.0.x'
...
Closes gh-35623
2023-05-24 15:28:18 -05:00
Scott Frederick
7f35edb72a
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35624
2023-05-24 15:27:05 -05:00
Scott Frederick
a5a5be37ec
Upgrade CI to Docker 24.0.1
...
Closes gh-35622
2023-05-24 15:26:08 -05:00
Stephane Nicoll
dcb97594c3
Merge branch '3.0.x'
...
Closes gh-35618
2023-05-24 13:30:54 +02:00
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
2023-05-24 13:30:14 +02:00
Stephane Nicoll
44c2090092
Polish "Fix description of build-image[-no-fork] Maven plugin goals"
...
See gh-35609
2023-05-24 13:28:01 +02:00
Thomas Kåsene
e84025b1b8
Fix description of build-image[-no-fork] Maven plugin goals
...
See gh-35609
2023-05-24 13:24:37 +02:00
Scott Frederick
703883d302
Merge branch '3.0.x'
...
Closes gh-35610
2023-05-23 14:36:46 -05:00
Scott Frederick
72fd94f2b5
Align bean name with Spring Data Elasticsearch requirements
...
Fixes gh-33651
2023-05-23 14:36:02 -05:00
Moritz Halbritter
157b71b333
Add missing defaults for docker compose properties
...
Closes gh-35598
2023-05-23 10:53:15 +02:00
Moritz Halbritter
b82e7a72b1
Move @Testcontainers before @SpringBootTest in documentation
...
Closes gh-35572
2023-05-23 09:33:25 +02:00
Moritz Halbritter
d841490f5f
Enable ZipkinProperties in ZipkinAutoConfiguration
...
Closes gh-35592
2023-05-23 09:22:39 +02:00
Moritz Halbritter
ad108952c8
Fix JavaDoc in ServiceConnection
...
Closes gh-35594
2023-05-23 09:10:51 +02:00
Stephane Nicoll
9643dbeed2
Merge branch '3.0.x'
...
Closes gh-35590
2023-05-22 16:31:55 +02:00
Stephane Nicoll
bf91ec18c1
Merge pull request #35568 from dreis2211
...
* pr/35568:
Remove unnecessary exclude from spring-restdocs-mockmvc
Closes gh-35568
2023-05-22 16:31:43 +02:00
Christoph Dreis
b2b5728995
Remove unnecessary exclude from spring-restdocs-mockmvc
...
See gh-35568
2023-05-22 16:31:22 +02:00
Stephane Nicoll
7a9bb55fdf
Merge branch '3.0.x'
...
Closes gh-35589
2023-05-22 16:24:56 +02:00
Stephane Nicoll
ca8ebbf4ab
Merge pull request #35576 from izeye
...
* pr/35576:
Polish
Closes gh-35576
2023-05-22 16:22:26 +02:00