Commit Graph

39592 Commits

Author SHA1 Message Date
Andy Wilkinson
64f4da80cb Align with breaking changes in latest Batch snapshots
Batch is now auto-configured to use the context's
PlatformTransactionManager and DataSource or `@BatchDataSource`.
When this does not meet the user's needs, they can use
`@EnableBatchProcessing` or sub-class `DefaultBatchConfiguration` to
take complete control with the auto-configuration backing off.

Closes gh-32330
2022-09-20 15:42:52 +01:00
Stephane Nicoll
dc56fa62bc Merge branch '2.7.x' 2022-09-20 16:03:48 +02:00
Stephane Nicoll
375a570717 Upgrade to Spring Kafka 3.0.0-M6
Closes gh-31925
2022-09-20 16:01:14 +02:00
Stephane Nicoll
35916a9962 Upgrade to Spring GraphQL 1.1.0-M1
Closes gh-32294
2022-09-20 16:00:47 +02:00
Stephane Nicoll
9936448269 Upgrade to GraphQL Java 19.2
Closes gh-32430
2022-09-20 16:00:17 +02:00
Stephane Nicoll
1b73b85a88 Upgrade to Spring GraphQL 1.0.2
Closes gh-32426
2022-09-20 15:52:32 +02:00
Andy Wilkinson
e8aa5680d6 Support file-based reachability metadata repositories
See gh-32408
2022-09-20 14:06:18 +01:00
Andy Wilkinson
8323f24ccc Make classes generated by AOT test processing available to nativeTest
Closes gh-32428
2022-09-20 11:29:18 +01:00
Stephane Nicoll
0f325f98b5 Disable ContextCustomizer implementations at runtime if necessary
This commit disables ContextCustomizer implementations that tune a
test configuration context at runtime. Previously, these ran again and
required additional hints to work properly.

Rather than contributing those hints, the customizer is skipped as its
impact is irrelevant in an AOT-optimized context: the context is fully
prepared and the updates on the MergedContextConfiguration are not taken
into account.

Closes gh-32422
2022-09-20 04:34:58 +02:00
Stephane Nicoll
2fe305413c Merge branch '2.7.x' 2022-09-20 03:54:26 +02:00
Stephane Nicoll
6f6a4d9990 Start building against Spring Session 2022.0.0-M3 snapshots
See gh-32427
2022-09-20 03:51:25 +02:00
Stephane Nicoll
4fd6144117 Revert "Upgrade to Spring Kafka 3.0.0-M6"
This reverts commit 876511f212.
2022-09-20 03:51:06 +02:00
Stephane Nicoll
4e82a69a0b Start building against Spring GraphQL 1.0.2 snapshots
See gh-32426
2022-09-20 03:36:08 +02:00
Stephane Nicoll
f8bc6c5e9f Merge branch '2.7.x' 2022-09-20 03:32:40 +02:00
Stephane Nicoll
876511f212 Upgrade to Spring Kafka 3.0.0-M6
Closes gh-31925
2022-09-20 03:32:32 +02:00
Stephane Nicoll
56bdb67ecf Upgrade to Spring AMQP 3.0.0-M4
Closes gh-31861
2022-09-20 03:32:10 +02:00
Stephane Nicoll
3d85931fc7 Upgrade to Spring Security 6.0.0-M7
Closes gh-32255
2022-09-20 03:31:41 +02:00
Stephane Nicoll
707ebfb2d8 Merge branch '2.6.x' into 2.7.x 2022-09-20 03:30:59 +02:00
Stephane Nicoll
e616fb5d8b Upgrade to Spring Kafka 2.8.9
Closes gh-32277
2022-09-20 03:30:50 +02:00
Stephane Nicoll
cddfa4b58c Upgrade to Spring AMQP 2.4.7
Closes gh-32276
2022-09-20 03:30:23 +02:00
Stephane Nicoll
6c37838f31 Upgrade to Spring Kafka 2.8.9
Closes gh-32270
2022-09-20 03:29:41 +02:00
Stephane Nicoll
033b6b5dbe Upgrade to Spring AMQP 2.4.7
Closes gh-32269
2022-09-20 03:29:16 +02:00
Stephane Nicoll
6d71b5cf92 Merge branch '2.7.x' 2022-09-19 17:58:09 +02:00
Stephane Nicoll
59b06050b4 Upgrade to Spring Data 2022.0.0-M6
Closes gh-32254
2022-09-19 17:58:00 +02:00
Stephane Nicoll
1132f983a9 Merge branch '2.6.x' into 2.7.x 2022-09-19 17:57:27 +02:00
Stephane Nicoll
85d73a1f62 Upgrade to Spring Data 2021.2.3
Closes gh-32275
2022-09-19 17:57:17 +02:00
Stephane Nicoll
d72e0b39fc Upgrade to Spring Data 2021.1.7
Closes gh-32268
2022-09-19 17:56:19 +02:00
Stephane Nicoll
436366eedf Upgrade to Spring LDAP 3.0.0-M4
Closes gh-32105
2022-09-19 16:45:14 +02:00
Stephane Nicoll
172fe24d82 Merge pull request #32419 from dreis2211
* pr/32419:
  Fix Spring Batch deprecations

Closes gh-32419
2022-09-19 14:32:35 +02:00
dreis2211
bac7d62476 Fix Spring Batch deprecations
See gh-32419
2022-09-19 14:31:54 +02:00
Stephane Nicoll
190d4cbc2f Relax ImportsContextCustomizer to only require a class name
Closes gh-32421
2022-09-19 10:45:33 +02:00
Stephane Nicoll
0916736629 Merge branch '2.7.x'
Closes gh-32418
2022-09-19 07:55:54 +02:00
Stephane Nicoll
308e3535bd Merge branch '2.6.x' into 2.7.x
Closes gh-32417
2022-09-19 07:55:45 +02:00
Stephane Nicoll
d2ad0b7f91 Merge pull request #32405 from jprinet
* pr/32405:
  Upgrade to Gradle Enterprise plugin 3.11.1

Closes gh-32405
2022-09-19 07:55:36 +02:00
Jerome Prinet
173b70c377 Upgrade to Gradle Enterprise plugin 3.11.1
See gh-32405
2022-09-19 07:51:55 +02:00
Scott Frederick
c9829c4232 Add native image test to Paketo system tests
Closes gh-32413
2022-09-16 17:40:55 -05:00
Scott Frederick
f90ee2bdd9 Merge branch '2.7.x'
Closes gh-32411
2022-09-16 15:27:36 -05:00
Scott Frederick
8d0ca4e640 Merge branch '2.6.x' into 2.7.x
Closes gh-32410
2022-09-16 15:27:17 -05:00
Scott Frederick
057ad72945 Enable Paketo builder system tests on Java 18
Closes gh-32296
2022-09-16 15:26:56 -05:00
Scott Frederick
1ed4d89466 Copy native reachability metadata to jar file in Gradle plugin
When the Spring Boot Gradle plugin builds a fat jar and the Native
Build Tools Gradle plugin is applied to the build, any configuration
files from the GraalVM reachability metadata repository that match
project dependencies are copied to a `META-INF/native-image`
directory in the fat jar.

Closes gh-32408
2022-09-16 12:26:24 -05:00
Andy Wilkinson
2b3ef96156 Merge branch '2.7.x'
Closes gh-32407
2022-09-16 17:03:34 +01:00
Andy Wilkinson
a800f7d77c Merge branch '2.6.x' into 2.7.x
Closes gh-32406
2022-09-16 17:03:13 +01:00
Andy Wilkinson
61e11cd361 Ensure that TCCL is clean when DataSource is accessed
Previously, when using Tomcat, its web app class loader was the thread
context class loader when H2ConsoleAutoConfiguration triggered
initialization of Hikari's pool. This was the case because it's done
in the bean method of a ServletRegistrationBean. Such Servlet-related
beans are intentionally created with Tomcat's web app classloader as
the TCCL. This arrangement results in the pool's threads using
Tomcat's web app class loader as their TCCL which is not desirable.
One consequence of this was that Tomcat could log a warning at
shutdown about the thread being left running when it will, in fact,
be stopped as part of the context being closed.

This commit updates H2ConsoleAutoConfiguration to set the TCCL to its
own ClassLoader while the DataSource information is being logged.

Closes gh-32382
2022-09-16 16:24:57 +01:00
Andy Wilkinson
5cb68eab1e Remove HotSpot specifics from HeapDumper strategy interface
Closes gh-27533
2022-09-16 12:53:43 +01:00
Andy Wilkinson
f731279fef Merge branch '2.7.x'
Closes gh-32403
2022-09-16 11:39:25 +01:00
Andy Wilkinson
7827e8166e Merge branch '2.6.x' into 2.7.x
Closes gh-32402
2022-09-16 11:38:07 +01:00
Andy Wilkinson
ab26050fe7 Document support for Java 19
Closes gh-32259
2022-09-16 11:37:14 +01:00
Stephane Nicoll
a8f08996e0 Merge branch '2.7.x' 2022-09-16 07:43:31 +02:00
Stephane Nicoll
b293541906 Upgrade to Spring HATEOAS 2.0.0-M6
Closes gh-31855
2022-09-16 07:41:50 +02:00
Stephane Nicoll
93601611fd Merge branch '2.6.x' into 2.7.x 2022-09-16 07:41:31 +02:00