Commit Graph

23644 Commits

Author SHA1 Message Date
Phillip Webb 561c7f749b Don't start containers imported via @ImportTestcontainers
Remove early start of containers imported via `@ImportTestcontainers`
so that parallel startup can happen.

Fixes gh-38831
2023-12-17 15:22:28 -08:00
Phillip Webb 88429b6a66 Use file urls for unpacked jars
Update `JarFileArchive` so that unpacked jars use `file:` URLs rather
than `jar:file:`. This aligns with the behavior of Spring Boot 3.1 and
allows calls to `class.getSigners()` to work again.

Fixes gh-38833
2023-12-17 10:55:31 -08:00
Phillip Webb 2158f4cc43 Polish 'Use authParamString to configure Pulsar authentication'
See gh-38839
2023-12-16 22:23:37 -08:00
Chris Bono 4c0a19e8c0 Use authParamString to configure Pulsar authentication
Update `PulsarPropertiesMapper` to use JSON encoded parameters rather
than a `Map` since the `Map` method is deprecated in Pulsar. This
commit simply takes the auth params map and converts them to the
expected encoded JSON string of auth parameters.

See gh-38839
2023-12-16 22:19:45 -08:00
Phillip Webb 6ae113c18a Fix parallel startup of testcontainers
Update `TestcontainersLifecycleBeanPostProcessor` so that containers
can actually be started in parallel.

Prior to this commit, `initializeStartables` would collect beans
and in the process trigger the `postProcessAfterInitialization` method
on each bean. This would see that  `startablesInitialized` was `true`
and call `startableBean.start` directly. The result of this was that
beans were actually started sequentially and when the `start` method
was finally called it had nothing to do.

The updated code uses an enum rather than a boolean so that the
`postProcessAfterInitialization` method no longer attempts to start
beans unless `initializeStartables` has finished.

Fixes gh-38831
2023-12-16 21:57:16 -08:00
Phillip Webb 92a4a1194d Polish 2023-12-15 12:08:11 -08:00
Phillip Webb b08d441021 Merge branch '3.1.x'
Closes gh-38837
2023-12-15 11:43:47 -08:00
Phillip Webb 13fb450563 Don't call runners in parent ApplicationContext
Update `SpringApplication` so that `ApplicationRunner` and
`CommandLineRunner` beans are not considered from the parent
`ApplicationContext`.

The restores the behavior that applied before commit 7d6532cac4
whilst still retaining the correct run order.

Fixes gh-38647
2023-12-15 11:42:26 -08:00
Brian Clozel f2a74c9107 Upgrade to Spring Retry 2.0.5
Closes gh-38836
2023-12-15 18:26:21 +01:00
Brian Clozel 42830dc621 Upgrade to Spring Data Bom 2023.1.1
Closes gh-38697
2023-12-15 18:25:18 +01:00
Brian Clozel e63be1bf73 Upgrade to Spring Retry 2.0.5
Closes gh-38834
2023-12-15 17:33:42 +01:00
Brian Clozel e8546545a7 Upgrade to Spring Data Bom 2023.0.7
Closes gh-38679
2023-12-15 17:32:56 +01:00
Phillip Webb 26dc14031e Update `LoadedPemSslStore` to use lazy loading
Update `LoadedPemSslStore` so that it loads content lazily. This
restores the behavior of Spring Boot 3.1 and allows bundles to be
defined with files that don't exist as long as they are never accessed.

Fixes gh-38659
2023-12-14 22:03:07 -08:00
Phillip Webb 1d10e51755 Adapt to upstream Spring Security changes 2023-12-14 20:33:09 -08:00
Andy Wilkinson 5915db09e6 Merge branch '3.1.x' 2023-12-14 20:17:29 +00:00
Andy Wilkinson 85cfa4798c Close jar to allow it to be cleaned up after test execution
See gh-38766
2023-12-14 20:16:23 +00:00
Andy Wilkinson d7f4a8ca6a Upgrade to UnboundID LDAPSDK 6.0.11
Closes gh-38816
2023-12-14 17:08:52 +00:00
Andy Wilkinson 25b109167c Upgrade to R2DBC Proxy 1.1.3.RELEASE
Closes gh-38813
2023-12-14 17:08:38 +00:00
Andy Wilkinson 7f064bc456 Upgrade to R2DBC Postgresql 1.0.3.RELEASE
Closes gh-38812
2023-12-14 17:08:33 +00:00
Andy Wilkinson 5d3aaf98b8 Upgrade to Netty 4.1.102.Final
Closes gh-38811
2023-12-14 17:08:28 +00:00
Andy Wilkinson 79455a79f2 Upgrade to Maven Javadoc Plugin 3.6.3
Closes gh-38810
2023-12-14 17:08:24 +00:00
Andy Wilkinson 4892024b7d Upgrade to Logback 1.4.14
Closes gh-38809
2023-12-14 17:08:19 +00:00
Andy Wilkinson d95e7a5af0 Upgrade to Kotlin Serialization 1.6.2
Closes gh-38808
2023-12-14 17:08:14 +00:00
Andy Wilkinson 3b51bcc912 Upgrade to Kafka 3.6.1
Closes gh-38806
2023-12-14 17:08:05 +00:00
Andy Wilkinson 86599a5062 Upgrade to Jetty 12.0.4
Closes gh-38805
2023-12-14 17:08:00 +00:00
Andy Wilkinson 853aaeb818 Upgrade to Jersey 3.1.5
Closes gh-38804
2023-12-14 17:07:55 +00:00
Andy Wilkinson d2d303d5aa Upgrade to Jaybird 5.0.3.java11
Closes gh-38803
2023-12-14 17:07:50 +00:00
Andy Wilkinson da7cb2ad1b Upgrade to Janino 3.1.11
Closes gh-38802
2023-12-14 17:07:46 +00:00
Andy Wilkinson 8deae8275e Upgrade to HttpCore5 5.2.4
Closes gh-38801
2023-12-14 17:07:41 +00:00
Andy Wilkinson f320188023 Upgrade to HttpClient5 5.2.3
Closes gh-38800
2023-12-14 17:07:36 +00:00
Andy Wilkinson b20ed7c577 Upgrade to Groovy 4.0.16
Closes gh-38799
2023-12-14 17:07:31 +00:00
Andy Wilkinson 06068894a4 Upgrade to Dropwizard Metrics 4.2.23
Closes gh-38798
2023-12-14 17:07:27 +00:00
Andy Wilkinson 2e43819e8d Upgrade to AspectJ 1.9.21
Closes gh-38797
2023-12-14 17:07:22 +00:00
Andy Wilkinson 1d64976876 Upgrade to Netty 4.1.102.Final
Closes gh-38795
2023-12-14 14:50:58 +00:00
Andy Wilkinson aa1de9cee2 Upgrade to UnboundID LDAPSDK 6.0.11
Closes gh-38793
2023-12-14 14:47:56 +00:00
Andy Wilkinson cf9538cbcc Upgrade to R2DBC Proxy 1.1.3.RELEASE
Closes gh-38791
2023-12-14 14:47:55 +00:00
Andy Wilkinson b30bec1156 Upgrade to R2DBC Postgresql 1.0.3.RELEASE
Closes gh-38790
2023-12-14 14:47:54 +00:00
Andy Wilkinson bef2dabc27 Upgrade to Logback 1.4.14
Closes gh-38788
2023-12-14 14:47:15 +00:00
Andy Wilkinson 5199977e03 Upgrade to Jersey 3.1.5
Closes gh-38787
2023-12-14 14:47:14 +00:00
Andy Wilkinson 7129b61856 Upgrade to Jaybird 5.0.3.java11
Closes gh-38786
2023-12-14 14:47:14 +00:00
Andy Wilkinson 16cca99d1f Upgrade to Janino 3.1.11
Closes gh-38785
2023-12-14 14:47:14 +00:00
Andy Wilkinson ec81c6650c Upgrade to HttpCore5 5.2.4
Closes gh-38784
2023-12-14 14:47:13 +00:00
Andy Wilkinson 0622f6f80e Upgrade to HttpClient5 5.2.3
Closes gh-38783
2023-12-14 14:47:13 +00:00
Andy Wilkinson 6bd8c295e0 Upgrade to Hibernate 6.2.15.Final
Closes gh-38782
2023-12-14 14:47:13 +00:00
Andy Wilkinson 75643866d8 Upgrade to Groovy 4.0.16
Closes gh-38781
2023-12-14 14:47:12 +00:00
Andy Wilkinson 3b9a05713d Upgrade to Dropwizard Metrics 4.2.23
Closes gh-38780
2023-12-14 14:47:12 +00:00
Andy Wilkinson 7319d55b23 Upgrade to AspectJ 1.9.21
Closes gh-38779
2023-12-14 14:47:12 +00:00
Andy Wilkinson b62b6d56c1 Merge branch '3.1.x'
Closes gh-38794
2023-12-14 14:46:44 +00:00
Andy Wilkinson 54fb25d931 Prohibit upgrade to Netty 4.1.103.Final
Closes gh-38789
2023-12-14 14:46:28 +00:00
Moritz Halbritter 2fd89803a2 Merge branch '3.1.x' 2023-12-14 11:53:08 +01:00