Commit Graph

42052 Commits

Author SHA1 Message Date
Andy Wilkinson
da92ba49a3 Merge branch '2.7.x' into 3.0.x 2023-06-05 15:53:40 +01:00
Andy Wilkinson
c115ffb02e Start building against Spring Framework 5.3.28 snapshots
See gh-35729
2023-06-05 13:29:45 +01:00
Andy Wilkinson
37fdac88a7 Merge branch '2.7.x' into 3.0.x 2023-06-05 13:28:06 +01:00
Andy Wilkinson
5e963b02a7 Start building against Spring WS 3.1.7 snapshots
See gh-35732
2023-06-05 12:36:14 +01:00
Andy Wilkinson
adc2077be3 Start building against Spring Session Bom 2021.2.2 snapshots
See gh-35731
2023-06-05 12:36:13 +01:00
Andy Wilkinson
a47112bbeb Start building against Spring Security 5.7.9 snapshots
See gh-35730
2023-06-05 12:36:11 +01:00
Andy Wilkinson
c680a892fe Start building against Spring Data Bom 2021.2.13 snapshots
See gh-35728
2023-06-05 11:21:40 +01:00
Andy Wilkinson
a04f6b3b02 Start building against Spring AMQP 2.4.13 snapshots
See gh-35727
2023-06-05 11:21:36 +01:00
Andy Wilkinson
163f5052c1 Start building against Reactor Bom 2020.0.33 snapshots
See gh-35726
2023-06-05 11:21:31 +01:00
Andy Wilkinson
d92012b82f Start building against Micrometer 1.9.12 snapshots
See gh-35725
2023-06-05 11:21:26 +01:00
Andy Wilkinson
5a793a6d49 Merge branch '2.7.x' into 3.0.x
Closes gh-35707
2023-06-02 15:17:35 +01:00
Andy Wilkinson
5623fe3b94 Test Gradle plugin against Gradle 8.2-rc-1
Closes gh-35699
2023-06-02 13:23:36 +01:00
Stephane Nicoll
c0a6bf830b Merge branch '2.7.x' into 3.0.x
Closes gh-35688
2023-06-01 14:53:10 +02:00
Stephane Nicoll
db03dc7743 Upgrade CI to Docker 24.0.2
Closes gh-35687
2023-06-01 14:52:41 +02:00
Scott Frederick
6a763f9be4 Merge branch '2.7.x' into 3.0.x
Closes gh-35689
2023-05-31 17:11:41 -05:00
Scott Frederick
c847db77e6 Correct precedence in description of MongoDB properties
Closes gh-35686
2023-05-31 17:09:45 -05:00
Andy Wilkinson
a58e98af05 Fix binding to constructor bound lateinit properties
Closes gh-35603
2023-05-26 18:12:21 +01:00
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
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
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
Phillip Webb
581a32b107 Polish ConfigurationPropertiesBean
Closes gh-35640
2023-05-26 08:51:21 +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
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
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
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
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
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
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
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
72fd94f2b5 Align bean name with Spring Data Elasticsearch requirements
Fixes gh-33651
2023-05-23 14:36:02 -05: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
ca8ebbf4ab Merge pull request #35576 from izeye
* pr/35576:
  Polish

Closes gh-35576
2023-05-22 16:22:26 +02:00
Johnny Lim
1b5fc89b43 Polish
See gh-35576
2023-05-22 16:17:05 +02:00
Scott Frederick
f0ed2a8e4c Set LATEST_GA to false in CI pipeline
Closes gh-35556
2023-05-18 15:24:08 -05:00
Phillip Webb
f5703778ca Merge branch '2.7.x' into 3.0.x 2023-05-18 13:08:03 -07:00