Commit Graph

46984 Commits

Author SHA1 Message Date
Phillip Webb
90ce0f01bd Merge branch '3.2.x'
Closes gh-39151
2024-01-16 10:49:18 -08:00
Phillip Webb
89874d351a Ensure containers are started before binding datasource properties
Update `TestcontainersLifecycleBeanPostProcessor` so that containers
are now initialized either on the first `postProcessAfterInitialization`
call with a frozen configuration or just before a test container
property is supplied.

Prior to this commit, it was assumed that the first post-process call
after the configuration was frozen was suitably early to initialize
the containers. This turns out to not be no always the case.

Specifically, in the `finishBeanFactoryInitialization` method of
`AbstractApplicationContext` we see that `LoadTimeWeaverAware` beans
are obtained before the configuration is frozen. One such bean is
`DefaultPersistenceUnitManager` which is likely to need datasource
properties that will require a started container.

To fix the problem, the `TestcontainersPropertySource` now publishes
a `BeforeTestcontainersPropertySuppliedEvent` to the ApplicationContext
just before any value is supplied. By listening for this event, we can
ensure that containers are initialized and started before any dynamic
property is read.

Fixes gh-38913
2024-01-16 10:36:54 -08:00
Andy Wilkinson
22b7525ccd Merge branch '3.2.x'
Closes gh-39150
2024-01-16 16:07:53 +00:00
Andy Wilkinson
f59fa2e3f7 Merge branch '3.1.x' into 3.2.x
Closes gh-39149
2024-01-16 16:07:37 +00:00
Andy Wilkinson
dee709e5ba Merge pull request #39114 from tobias-lippert
* gh-39114:
  Polish "Update links to Micrometer reference docs"
  Update links to Micrometer reference docs

Closes gh-39114
2024-01-16 16:05:46 +00:00
Andy Wilkinson
ea727f056a Polish "Update links to Micrometer reference docs"
See gh-39114
2024-01-16 16:05:09 +00:00
Brian Clozel
50c89ff803 Upgrade to MySQL 8.3.0
Closes gh-39147
2024-01-16 16:55:17 +01:00
Tobias Lippert
6c5fea7341 Update links to Micrometer reference docs
See gh-39114
2024-01-16 15:51:08 +00:00
Andy Wilkinson
b54567f5f3 Upgrade to Spring Authorization Server 1.3.0-M1
Closes gh-38987
2024-01-16 15:40:41 +00:00
Brian Clozel
4b01023967 Merge branch '3.2.x' 2024-01-16 16:33:51 +01:00
Brian Clozel
00f69c4ee8 Upgrade to MySQL 8.3.0
Closes gh-39081
2024-01-16 16:33:29 +01:00
Brian Clozel
7e39f7f505 Merge branch '3.2.x'
Closes gh-39146
2024-01-16 16:32:40 +01:00
Brian Clozel
de2aee9816 Upgrade to MariaDB 3.3.2
Closes gh-38901
2024-01-16 16:31:19 +01:00
Andy Wilkinson
18c083d619 Upgrade to Spring Session 3.3.0-M1
Closes gh-38991
2024-01-16 13:44:15 +00:00
Andy Wilkinson
c48ff13cee Upgrade to Spring Pulsar 1.0.2
Closes gh-38995
2024-01-16 13:03:25 +00:00
Andy Wilkinson
9b87cf56bd Merge branch '3.2.x' 2024-01-16 13:03:00 +00:00
Andy Wilkinson
a575807078 Upgrade to Spring Pulsar 1.0.2
Closes gh-38994
2024-01-16 13:02:46 +00:00
Andy Wilkinson
dacf20533e Merge branch '3.2.x'
Closes gh-39143
2024-01-16 12:23:57 +00:00
Andy Wilkinson
75fa963f72 Merge branch '3.1.x' into 3.2.x
Closes gh-39142
2024-01-16 12:23:43 +00:00
Andy Wilkinson
38f078fc9d Upgrade Gradle Enterprise Plugins
Closes gh-39141
2024-01-16 12:23:08 +00:00
Andy Wilkinson
4fa47aa501 Merge branch '3.2.x'
Closes gh-39140
2024-01-15 19:45:38 +00:00
Andy Wilkinson
17819c02b7 Merge branch '3.1.x' into 3.2.x
Closes gh-39139
2024-01-15 19:45:20 +00:00
Andy Wilkinson
c8a7a04da4 Retry JDK downloads
Closes gh-39138
2024-01-15 19:45:06 +00:00
Brian Clozel
e58f65366c Auto-configure TypeDefinitionConfigurer beans
Prior to this commit, the GraphQL auto-configuration would consider many
bean types like `DataFetcherExceptionResolver` and
`SubscriptionExceptionResolver` to configure the `GraphQlSource`.
It would also configure a default `ConnectionTypeDefinitionConfigurer`.

This commit will detect all `TypeDefinitionConfigurer` beans defined in
the application and configure them in addition to the
`ConnectionTypeDefinitionConfigurer`.

Closes gh-39118
2024-01-15 18:22:37 +01:00
Andy Wilkinson
b79d1cef7d Merge branch '3.2.x' 2024-01-15 17:07:22 +00:00
Andy Wilkinson
7b6b3a581e Merge branch '3.1.x' into 3.2.x 2024-01-15 17:07:14 +00:00
Andy Wilkinson
9874363fbe Don't offer aligned version when it's already the current version
See gh-34114
2024-01-15 17:06:53 +00:00
Andy Wilkinson
12d390d564 Upgrade to Spring Security 6.3.0-M1
Closes gh-38990
2024-01-15 17:04:13 +00:00
Andy Wilkinson
be5628761c Merge branch '3.2.x' 2024-01-15 15:26:33 +00:00
Andy Wilkinson
0f23feffaf Upgrade to Neo4j Java Driver 5.15.0
Closes gh-39136
2024-01-15 15:26:16 +00:00
Andy Wilkinson
cf5effddbe Merge branch '3.1.x' into 3.2.x 2024-01-15 15:25:05 +00:00
Andy Wilkinson
d06c1db259 Upgrade to Neo4j Java Driver 5.15.0
Closes gh-39135
2024-01-15 15:24:55 +00:00
Andy Wilkinson
b0f06338b9 Merge branch '3.2.x'
Closes gh-39134
2024-01-15 15:24:06 +00:00
Andy Wilkinson
c0fedc8f74 Merge branch '3.1.x' into 3.2.x
Closes gh-39133
2024-01-15 15:21:31 +00:00
Andy Wilkinson
c8e9a2a32c Add support to Bomr for aligning dependency versions
Closes gh-34114
2024-01-15 15:20:29 +00:00
Brian Clozel
bc37a94b76 Merge branch '3.2.x'
Closes gh-39132
2024-01-15 14:15:15 +01:00
Brian Clozel
46b7bd2f23 Add configuration property to enable micrometer annotations
Prior to this commit, the Micrometer annotations support (`@Timed`,
`@Counted`...) was guarded by the presence of both Micrometer and
AspectJ on the classpath.

This signal is too weak, considering the startup performance impact and
the fact that the AspectJ dependency can be brought transitively in many
cases.

This commit adds a new `micrometer.observations.annotations.enabled`
property that is set to `false` by default to only process the
annotations support when this property is enabled.

Fixes gh-39128
2024-01-15 13:51:15 +01:00
Andy Wilkinson
fdd34a5639 Upgrade to Spring WS 4.0.10
Closes gh-39131
2024-01-15 10:20:23 +00:00
Andy Wilkinson
bd14cf6a85 Upgrade to Spring Data Bom 2023.1.2
Closes gh-38988
2024-01-15 10:20:19 +00:00
Andy Wilkinson
a5e1d831e0 Merge branch '3.2.x' 2024-01-15 10:15:18 +00:00
Andy Wilkinson
8bdaae37b0 Upgrade to Spring WS 4.0.10
Closes gh-39130
2024-01-15 10:14:54 +00:00
Andy Wilkinson
84bb060312 Upgrade to Spring Data Bom 2023.1.2
Closes gh-38981
2024-01-15 10:14:50 +00:00
Andy Wilkinson
199ea36146 Merge branch '3.2.x' 2024-01-15 10:12:02 +00:00
Andy Wilkinson
f585381bc2 Merge branch '3.1.x' into 3.2.x 2024-01-15 10:11:45 +00:00
Andy Wilkinson
5f4d347ea6 Upgrade to Spring WS 4.0.10
Closes gh-39129
2024-01-15 10:11:25 +00:00
Andy Wilkinson
abba215498 Upgrade to Spring Data Bom 2023.0.8
Closes gh-38977
2024-01-15 10:11:20 +00:00
Scott Frederick
7851c2362e Remove APIs that were deprecated for removal in 3.3.0
See gh-39039
2024-01-12 16:09:36 -06:00
Andy Wilkinson
7e382e7bf6 Merge branch '3.2.x'
Closes gh-39123
2024-01-12 17:08:36 +00:00
Andy Wilkinson
145fe15daf Merge branch '3.1.x' into 3.2.x
Closes gh-39122
2024-01-12 17:08:23 +00:00
Andy Wilkinson
3df77c67ec Fix request mapping of endpoint path-mapped to /
Closes gh-35426
2024-01-12 17:07:48 +00:00