Commit Graph

18993 Commits

Author SHA1 Message Date
Andy Wilkinson dade5ec3aa Test against Gradle 6.9.3
Closes gh-32757
2022-10-17 17:11:37 +01:00
Moritz Halbritter 6cb7fb5897 Add info log message if AOT mode is enabled
Closes gh-32396
2022-10-17 15:29:38 +02:00
Andy Wilkinson 4700a00d94 Auto-configure CompositeSpanHandler with Brave
Closes gh-32753
2022-10-17 13:58:48 +01:00
Andy Wilkinson ff16f6d6c6 Work around configuration cache problem in NBT Gradle Plugin
See gh-32752
See graalvm/native-build-tools#338
2022-10-17 13:58:07 +01:00
Andy Wilkinson db2641d20f Upgrade to Spring LDAP 3.0.0-RC1
Closes gh-32624
2022-10-17 10:55:11 +01:00
Andy Wilkinson 8fdd12ffeb Upgrade to Spring REST Docs 3.0.0-RC1
Closes gh-32623
2022-10-17 10:53:50 +01:00
Phillip Webb 76ef540716 Merge branch '2.7.x' 2022-10-15 14:19:18 -07:00
Phillip Webb 0f4a978731 Merge branch '2.6.x' into 2.7.x 2022-10-15 14:19:06 -07:00
Phillip Webb 6641a98913 Improve the phrasing around property source ordering 2022-10-15 14:18:49 -07:00
Phillip Webb 071649360b Generate 'META-INF/native-image/argfile' file for buildpack use
Update the Maven and Gradle plugin to generate an `argfile` file
file under `META-INF/native-image` that contains `--exclude-config`
arguments that should be passed when generating a native image.

The contents of the file is generated for each nested jar that has a
`reachability-metadata.properties` file containing 'override=true'.

The `reachability-metadata.properties` file is expected to be generated
by the Graal native build tools plugin.

Closes gh-32738
2022-10-14 15:23:06 -07:00
Phillip Webb 430c6b7e9f Downgrade to SLF4J 1.7 for spring-boot-gradle-plugin tests
The downgrade is required for tests to run in Eclipse.

Closes gh-32626
2022-10-14 11:58:16 -07:00
Phillip Webb 029aab6b58 Document Log4j2 extensions
See gh-32578
2022-10-14 10:14:43 -07:00
Phillip Webb cec090c32e Polish 'Resolve URLs using Log4J2 mechanisms'
See gh-32735
2022-10-14 10:13:33 -07:00
Ralph Goers 5286785127 Resolve URLs using Log4j2 mechanisms
Update `Log4J2LoggingSystem` to that non file URLs are resolved using
Log4j2's `UrlConnectionFactory` mechanism rather than directly.

See gh-32735
2022-10-14 10:13:30 -07:00
Phillip Webb 5a7964af2b Polish 'Support profile specific Log4j2 configuration'
See gh-32734
2022-10-14 10:12:31 -07:00
Ralph Goers 27ed30fdbf Support profile specific Log4j2 configuration
Add a `SpringProfileArbiter` Log4j2 plugin which allows Log4j2
configuration to be included or skipped based on the active Spring
`Environment` profiles.

See gh-32734
2022-10-14 10:12:27 -07:00
Phillip Webb ed424d3adb Polish 'Add Log4J2 PropertySource backed by the Spring Environment'
See gh-32733
2022-10-14 10:11:25 -07:00
Ralph Goers 4f8a9441c2 Add Log4J2 PropertySource backed by the Spring Environment
Register a new `PropertySource` when initializing Log4j2 so that
properties may be resolved against Spring's Environment.

See gh-32733
2022-10-14 10:11:21 -07:00
Phillip Webb 71f5857363 Polish 'Support Log4J2 string lookups from the Spring Environment'
See gh-32732
2022-10-14 10:10:23 -07:00
Ralph Goers 5228b99b22 Support Log4J2 string lookups from the Spring Environment
Add a Log4j2 `SpringLookup` plugin which can be used to resolve strings
from the Spring Environment.

See gh-32732
2022-10-14 10:10:17 -07:00
Phillip Webb d665441ca9 Polish 'Add Spring Environment to LoggerContext'
See gh-32731
2022-10-14 10:09:02 -07:00
Ralph Goers 05a2bd4585 Add Spring Environment to LoggerContext
Update `Log4J2LoggingSystem` to add the Spring `Environment` to Log4j2's
`LoggerContext`. This allow Log4j2 plugins to access the `Environment`
if they need it.

See gh-32731
2022-10-14 10:08:48 -07:00
Phillip Webb a08a6378f0 Polish 'Support 'log4j.configurationFile' system property'
See gh-32730
2022-10-14 10:06:01 -07:00
Ralph Goers 64eb36b7a1 Support 'log4j.configurationFile' system property
Update `Log4J2LoggingSystem.getStandardConfigLocations()` so that
any configured 'log4j.configurationFile' system property is also
included as a location.

See gh-32730
2022-10-14 10:05:44 -07:00
Stephane Nicoll 0ae448eae6 Upgrade to Spring Retry 2.0.0-RC1
Closes gh-32600
2022-10-14 10:29:20 +02:00
Stephane Nicoll 040c78062e Upgrade to Spring Retry 1.3.4
Closes gh-32594
2022-10-14 10:28:30 +02:00
Stephane Nicoll c858c1e998 Upgrade to Spring Retry 1.3.4
Closes gh-32593
2022-10-14 10:23:47 +02:00
Andy Wilkinson 1900dc7566 Upgrade to Jackson Bom 2.13.4.20221013
Closes gh-32725
2022-10-13 21:34:34 +01:00
Andy Wilkinson 9fd3d78bae Upgrade to Jackson Bom 2.13.4.20221013
Closes gh-32724
2022-10-13 21:18:15 +01:00
Scott Frederick 3ea18f07fa Polish "Use NBT plugin version from gradle.properties in image tests"
See gh-32643
2022-10-13 15:05:06 -05:00
Scott Frederick fc93e6bf8b Adapt to changes in Spring Framework snapshots
See gh-32696
2022-10-13 15:04:05 -05:00
Andy Wilkinson 936cb41c6e Upgrade to Jetty Reactive HTTPClient 1.1.13
Closes gh-32723
2022-10-13 20:10:11 +01:00
Andy Wilkinson 0411ebeeaf Upgrade to Jackson Bom 2.13.4.20221013
Closes gh-32722
2022-10-13 20:10:07 +01:00
Andy Wilkinson 3a34916bde Remove dependency management for slf4j-jcl
The module was removing in SLF4J 2.0

See gh-12649
2022-10-13 18:09:46 +01:00
Andy Wilkinson 653309cd5d Upgrade to Undertow 2.2.20.Final
Closes gh-32720
2022-10-13 17:20:02 +01:00
Andy Wilkinson 93a51d0f79 Upgrade to Thymeleaf Extras SpringSecurity 3.1.0.RC1
Closes gh-32718
2022-10-13 17:20:01 +01:00
Andy Wilkinson 2084b41cd3 Upgrade to SLF4J 2.0.3
Closes gh-32717
2022-10-13 17:20:01 +01:00
Andy Wilkinson 809a3b73ba Upgrade to Selenium HtmlUnit 4.5.0
Closes gh-32716
2022-10-13 17:20:01 +01:00
Andy Wilkinson bca00bf0e8 Upgrade to Selenium 4.5.0
Closes gh-32715
2022-10-13 17:20:00 +01:00
Andy Wilkinson a6338f8e20 Upgrade to Rabbit Stream Client 0.8.0
Closes gh-32714
2022-10-13 17:15:22 +01:00
Andy Wilkinson 23028ebc36 Upgrade to OpenTelemetry 1.19.0
Closes gh-32713
2022-10-13 17:15:19 +01:00
Andy Wilkinson 7e80f6268e Upgrade to Netty 4.1.84.Final
Closes gh-32712
2022-10-13 17:15:16 +01:00
Andy Wilkinson 29cb323762 Upgrade to Neo4j Java Driver 5.1.0
Closes gh-32711
2022-10-13 17:15:13 +01:00
Andy Wilkinson dd39e09a51 Upgrade to Logback 1.4.4
Closes gh-32710
2022-10-13 17:15:10 +01:00
Andy Wilkinson df02ec88f5 Upgrade to Liquibase 4.17.0
Closes gh-32709
2022-10-13 17:15:07 +01:00
Andy Wilkinson ef97e5e803 Upgrade to Jetty Reactive HTTPClient 3.0.7
Closes gh-32707
2022-10-13 17:15:02 +01:00
Andy Wilkinson 37c4cfbe34 Upgrade to HtmlUnit 2.65.1
Closes gh-32706
2022-10-13 17:14:59 +01:00
Andy Wilkinson 9247de804b Upgrade to Hazelcast 5.1.4
Closes gh-32705
2022-10-13 17:14:56 +01:00
Andy Wilkinson 3a1e3b35d5 Upgrade to Flyway 9.4.0
Closes gh-32704
2022-10-13 17:14:53 +01:00
Andy Wilkinson 9a398549e9 Upgrade to Ehcache3 3.10.2
Closes gh-32703
2022-10-13 17:14:51 +01:00
Andy Wilkinson d1d9750f23 Upgrade to Byte Buddy 1.12.18
Closes gh-32702
2022-10-13 17:14:48 +01:00
Andy Wilkinson 9161afff3c Upgrade to Artemis 2.26.0
Closes gh-32701
2022-10-13 17:14:45 +01:00
Andy Wilkinson 5544023e33 Upgrade to Spring Data 2022.0.0-RC1
Closes gh-32601
2022-10-13 17:08:16 +01:00
Andy Wilkinson 5b37dd1c66 Upgrade to Thymeleaf 3.1.0.RC1
Closes gh-32628
2022-10-13 15:54:24 +01:00
Andy Wilkinson 654c3353d5 Upgrade to Netty 4.1.84.Final
Closes gh-32700
2022-10-13 15:44:57 +01:00
Andy Wilkinson 09d7bede29 Upgrade to Jetty Reactive HTTPClient 1.1.13
Closes gh-32699
2022-10-13 15:44:54 +01:00
Andy Wilkinson b9148ede2f Upgrade to Hazelcast 5.1.4
Closes gh-32698
2022-10-13 15:44:51 +01:00
Andy Wilkinson 7470342dda Upgrade to Byte Buddy 1.12.18
Closes gh-32697
2022-10-13 15:44:49 +01:00
Andy Wilkinson 4474af6265 Upgrade to Spring Data 2021.2.5
Closes gh-32595
2022-10-13 15:42:16 +01:00
Andy Wilkinson 567146954d Upgrade to Reactor 2020.0.24
Closes gh-32592
2022-10-13 15:41:36 +01:00
Andy Wilkinson 0031759d65 Starting building against Spring Framework 6.0.0-RC2 snapshots
See gh-32696
2022-10-13 14:38:43 +01:00
Andy Wilkinson eaf0523656 Upgrade to Spring Data 2021.1.9
Closes gh-32588
2022-10-13 14:32:37 +01:00
Andy Wilkinson 5329eac5e4 Upgrade to Reactor 2020.0.24
Closes gh-32587
2022-10-13 14:31:47 +01:00
Andy Wilkinson 3244a4a59b Upgrade to Netty 4.1.84.Final
Closes gh-32695
2022-10-13 14:30:51 +01:00
Andy Wilkinson d593d194de Polish "Add auto-configuration for Exemplars"
See gh-32415
2022-10-13 13:23:48 +01:00
Jonatan Ivanov c5b2bc3dc7 Add auto-configuration for Exemplars
See gh-32415
2022-10-13 12:54:06 +01:00
Andy Wilkinson 81ee173877 Polish
See gh-32399
2022-10-13 12:51:25 +01:00
Andy Wilkinson c9b929bd89 Starting building against Spring Data 2021.2.5 snapshots
See gh-32595
2022-10-13 12:39:12 +01:00
Andy Wilkinson 78bf7b640c Start building against Spring Data 2021.1.9 snapshots
See gh-32588
2022-10-13 12:37:39 +01:00
Andy Wilkinson 1af21fe33f Polish "Use TracingAwareMeterObservationHandler if tracing is configured"
See gh-32399
2022-10-13 12:09:43 +01:00
Jonatan Ivanov 415b9025c8 Use TracingAwareMeterObservationHandler if tracing is configured
See gh-32399
2022-10-13 12:09:43 +01:00
Scott Frederick a15c5e2498 Merge branch '2.7.x' 2022-10-12 13:47:26 -05:00
Scott Frederick 6c1103cde0 Support PEM formatted elliptic-curve TLS keys
Apply the changes from e0c79ce598
to the `PrivateKeyParser` used for web server SSL configuration.

See gh-32646
2022-10-12 13:25:58 -05:00
Bertolt Meier 647a2905c8 Add checkstyle rule for List.of() / Set.of() / Map.of()
This commits adds a checkstyle rule to not use List.of(), Set.of()
and Map.of(), preferring Collections.emptyList(), emptySet(), and
emptyMap() respectively.

It replaces usages of these methods across the codebase.

See gh-32655
2022-10-12 18:15:48 +01:00
Johnny Lim 1032f8cc94 Polish Micrometer tracing changes
See gh-32627
2022-10-12 18:05:41 +01:00
Andy Wilkinson e4544c1785 Use new constructor to configure W3CPropagation without baggage
Closes gh-32524
2022-10-12 17:19:45 +01:00
Andy Wilkinson a816851582 Upgrade to Spring HATEOAS 2.0.0-RC1
Closes gh-32652
2022-10-12 17:17:39 +01:00
Andy Wilkinson 7852c45a77 Generate reflection hints for loggers endpoint's responses
Some of the types that are returned are hidden behind a
Map<String, Object> so the operation annotations already been marked
as reflective isn't sufficient.

This commit uses `@RegisterReflectionForBinding` to register the
types that are used as (nested) values in the response maps.

Closes gh-32486
2022-10-12 15:56:22 +01:00
Andy Wilkinson 180d0edbca Decouple AutoTimeProperties from Micrometer Core
Closes gh-32676
2022-10-12 14:40:42 +01:00
Andy Wilkinson 7e9e64a2ea Revert "Merge pull request #32399 from jonatan-ivanov"
This reverts commit ad40ef3398, reversing
changes made to 6eb32647f5.
2022-10-12 14:36:08 +01:00
Jonatan Ivanov a0ceb2c3ff Use TracingAwareMeterObservationHandler if tracing is configured
See gh-32399
2022-10-12 13:57:39 +01:00
Jonatan Ivanov fff4aaaac1 Fix Observation lifecycle issues in ObservationAutoConfigurationTests
See gh-32662
2022-10-12 13:31:21 +01:00
Sébastien Deleuze 5b17cacb1f Remove spring.xml.ignore flag usages
This commit is a follow-up of spring-projects/spring-framework#29277.

See gh-32653
2022-10-12 13:27:29 +01:00
Stephane Nicoll 8013c5f182 Upgrade to MongoDB 4.8.0-beta0
Closes gh-32684
2022-10-12 14:06:59 +02:00
Emil ea654b42fa Fix typo "Elastixsearch"
See gh-32656
2022-10-12 12:35:23 +01:00
Andy Wilkinson 78dccb2772 Upgrade to Reactor 2022.0.0-RC1
Closes gh-32599
2022-10-12 12:28:34 +01:00
Andy Wilkinson 4c2c04ca95 Upgrade to Spring Framework 6.0.0-RC1
Closes gh-32550
2022-10-12 12:26:22 +01:00
Andy Wilkinson 3ab4606584 Make runScripts method of DB initializer more extensible
Closes gh-29137
2022-10-12 11:52:38 +01:00
Andy Wilkinson 403803837a Adapt to changes in REST Docs for documenting query parameters
See gh-32623
2022-10-12 11:30:57 +01:00
Phillip Webb 7e8ed075c0 Merge branch '2.7.x'
Closes gh-32682
2022-10-11 23:21:52 -07:00
Phillip Webb ed01a77a99 Merge branch '2.6.x' into 2.7.x
Closes gh-32681
2022-10-11 23:19:34 -07:00
Phillip Webb e0c79ce598 Support PEM formatted elliptic-curve TLS keys
Update `PrivateKeyParser` to support loading PEM formatted
elliptic-curve keys. We need to do a similar trick to the PKCS1 keys
and convert them to a `PKCS8EncodedKeySpec`.

Fixes gh-32646
2022-10-11 23:18:44 -07:00
Andy Wilkinson 4dfd770406 Ensure that metrics and observation properties are enabled
Closes gh-32676
2022-10-11 20:30:40 +01:00
Andy Wilkinson 3ca5c7ff5b Create AOT source sets as soon as the Java plugin is applied
Previously, the AOT source sets were not created until both the
Java and Spring Boot plugins had been applied. This could create
ordering problems when the Spring Boot plugin's native image plugin
action tried to access the AOT source sets to configure the
classpaths of the nativeCompile and nativeTest tasks. If the
plugins were applied in a particular order the AOT source sets
would not exist and a failure would occur.

This commit updates the Spring Boot AOT plugin to create the source
sets as soon as the Java plugin has been applied. This ensure that
they're in place when reacting to the native image plugin being
applied.

Closes gh-32661
2022-10-11 19:58:03 +01:00
Andy Wilkinson 808e0be552 Merge branch '2.7.x'
Closes gh-32679
2022-10-11 19:16:08 +01:00
Andy Wilkinson 1b604e30f7 Merge branch '2.6.x' into 2.7.x
Closes gh-32678
2022-10-11 19:15:33 +01:00
Andy Wilkinson 215eb96355 Improve error handling in SpringBootPlugin
Closes gh-32677
2022-10-11 19:15:23 +01:00
Stephane Nicoll 579a858361 Upgrade to Lettuce 6.2.1.RELEASE
Closes gh-32674
2022-10-11 12:42:17 +02:00
Stephane Nicoll aee3ab75b1 Upgrade to Jedis 4.3.0
Closes gh-32673
2022-10-11 12:42:17 +02:00
Stephane Nicoll df364987df Upgrade to Hibernate 6.1.4.Final
Closes gh-32672
2022-10-11 12:42:17 +02:00
Stephane Nicoll cbf24bd1cd Upgrade to Elasticsearch Client 8.4.3
Closes gh-32671
2022-10-11 12:42:17 +02:00
Stephane Nicoll 2c5be354be Upgrade to Cassandra Driver 4.15.0
Closes gh-32670
2022-10-11 11:11:23 +02:00
Stephane Nicoll 907396021f Upgrade to Lettuce 6.1.10.RELEASE
Closes gh-32669
2022-10-11 11:06:30 +02:00
Stephane Nicoll 0c703c5317 Upgrade to Micrometer Tracing 1.0.0-RC1
Closes gh-32616
2022-10-11 08:39:16 +02:00
Stephane Nicoll 5dc0af7b0e Upgrade to Micrometer 1.10.0-RC1
Closes gh-32598
2022-10-11 08:38:57 +02:00
Stephane Nicoll 5b6a5873a5 Upgrade to Micrometer 1.9.5
Closes gh-32591
2022-10-11 06:15:51 +02:00
Stephane Nicoll 8a231e52b3 Upgrade to Undertow 2.2.20.Final
Closes gh-32668
2022-10-11 06:15:36 +02:00
Stephane Nicoll 1207d55f34 Upgrade to Lettuce 6.1.10.RELEASE
Closes gh-32666
2022-10-11 06:15:31 +02:00
Stephane Nicoll 858a48d979 Upgrade to Hibernate 5.6.12.Final
Closes gh-32665
2022-10-11 06:15:29 +02:00
Stephane Nicoll 483d62fa40 Upgrade to Embedded Mongo 3.4.11
Closes gh-32664
2022-10-11 06:15:27 +02:00
Stephane Nicoll 7e0de51cd2 Upgrade to Ehcache3 3.10.2
Closes gh-32663
2022-10-11 06:15:24 +02:00
Stephane Nicoll f49d1704f2 Upgrade to Micrometer 1.8.11
Closes gh-32586
2022-10-11 06:13:04 +02:00
Stephane Nicoll 645595c19e Start building against Spring HATEOAS 2.0.0-RC1 snapshots
See gh-32652
2022-10-11 06:03:00 +02:00
Andy Wilkinson d351086a06 Adapt to breaking changes to AOT processing entry points
See gh-32550
2022-10-10 22:02:25 +01:00
Brian Clozel d870474fcd Remove spring.webflux.multipart.streaming property
As of spring-projects/spring-framework#29293, the streaming mode on the
`DefaultPartHttpMessageReader` is deprecated as hard limitations have
been found with the design and won't be fixed. Instead, developers
should use the `PartEvent` API and the `PartEventHttpMessageReader`
(which is configured by default with the codecs).

This commit removes the `spring.webflux.multipart.streaming` property
and applies all `spring.webflux.multipart.*` properties that are
applicable to `PartEventHttpMessageReader`.

Closes gh-32658
2022-10-10 14:59:34 +02:00
Stephane Nicoll ac9b869cfd Upgrade to Undertow 2.2.20.Final
Closes gh-32651
2022-10-10 09:33:24 +02:00
Stephane Nicoll 19c3078623 Upgrade to Hibernate 5.6.12.Final
Closes gh-32649
2022-10-10 09:33:19 +02:00
Stephane Nicoll 1efbfdb3d3 Upgrade to Ehcache3 3.9.10
Closes gh-32648
2022-10-10 09:33:16 +02:00
Madhura Bhave 263433cd81 Populate base for embedded LDAPContextSource
Fixes gh-23030
2022-10-07 13:20:45 -07:00
Andy Wilkinson 3eb3d79104 Log condition evaluation report during AOT processing
Closes gh-32109
2022-10-07 18:08:18 +01:00
Andy Wilkinson 8e35f2ae92 Separate report logging from context initialization and events
See gh-32109
2022-10-07 18:08:18 +01:00
Johnny Lim 73fd760137 Polish HTTP client observability changes
See gh-32484
See gh-32518

Closes gh-32636
2022-10-07 19:05:14 +02:00
Brian Clozel 23a9818e0d Auto-configure ProblemDetails support
This commit auto-configures ProblemDetails support for both Spring MVC
and Spring WebFlux, contributing a `@ControllerAdvice` annotated
`ResponseEntityExceptionHandler` bean if the
`spring.mvc.problemdetails.enabled` or
`spring.webflux.problemdetails.enabled` properties are set to `true`.

Closes gh-32634
2022-10-07 17:23:12 +02:00
Vedran Pavic e0a7bd8143 Fix deprecation warnings in Spring Session auto-configuration
This commit updates Spring Session auto-configuration to avoid usage of
deprecated methods, and moves to newly introduced Duration based
defaultMaxInactiveInterval setters across all session repository
implementations.

Additionally, this fixes several tests that are broken due to session
repository implementations now using Duration type for their
defaultMaxInactiveInterval fields.

See gh-32633
2022-10-07 15:38:46 +01:00
Marcin Grzejszczak dfd148fb76 Make auto-configured Brave Tracer more compliant with OTel tracer
By default we will not support joined spans and the trace ID will
be 128-bit.

See gh-32615
2022-10-07 11:14:46 +01:00
Brian Clozel da7128ce7e Upgrade to Thymeleaf 3.1.0-M3
See gh-32628
2022-10-07 11:42:01 +02:00
Brian Clozel 0f3b94592b Temporarily suppress warnings on R2DBC deprecation
See gh-32601
See spring-projects/spring-data-relational#1350
2022-10-07 11:41:16 +02:00
Stephane Nicoll 627725b10f Start building against Spring Security 5.7.4 snapshots
See gh-32597
2022-10-07 09:48:08 +02:00
Stephane Nicoll 1de704b864 Start building against Spring Kafka 2.9.2 snapshots
See gh-32596
2022-10-07 09:47:40 +02:00
Stephane Nicoll 4803f289fe Start building against Spring Data 2021.2.4 snapshots
See gh-32595
2022-10-07 09:47:12 +02:00
Stephane Nicoll 1db0e998a6 Start building against Spring Retry 1.3.4 snapshots
See gh-32594
2022-10-07 09:46:49 +02:00
Stephane Nicoll edd907eb9d Start building against Micrometer 1.9.5 snapshots
See gh-32591
2022-10-07 09:46:22 +02:00
Stephane Nicoll 593f2ca7fe Start building against Reactor 2020.0.24 snapshots
See gh-32592
2022-10-07 09:45:47 +02:00
Stephane Nicoll 86176e8f4b Start building against Spring Security 5.6.8 snapshots
See gh-32590
2022-10-07 09:06:37 +02:00
Stephane Nicoll 525b724adc Start building against Spring Kafka 2.8.10 snapshots
See gh-32589
2022-10-07 09:06:37 +02:00
Stephane Nicoll 2b2f23ef9c Start building against Spring Data 2021.1.8 snapshots
See gh-32588
2022-10-07 09:06:37 +02:00
Stephane Nicoll 9b002e1c05 Start building against Spring Retry 1.3.4 snapshots
See gh-32593
2022-10-07 09:06:37 +02:00
Stephane Nicoll 556543043e Start building against Micrometer 1.8.11 snapshots
See gh-32586
2022-10-07 09:04:34 +02:00
Stephane Nicoll 8d2af7ea93 Start building against Reactor 2020.0.24 snapshots
See gh-32587
2022-10-07 09:04:08 +02:00
Andy Wilkinson 67b52e12da Upgrade to Kafka 3.3.1
Closes gh-32574
2022-10-06 22:08:55 +01:00
Andy Wilkinson f1a7e84866 Polish "Use Brave's bom instead of only managing a single Zipkin dependency"
See gh-32614
2022-10-06 21:58:25 +01:00
Marcin Grzejszczak f586d0f7bb Use Brave's bom instead of only managing a single Zipkin dependency
See gh-32614
2022-10-06 21:57:38 +01:00
Andy Wilkinson 48e606fcfe Start building against Spring LDAP 3.0.0-RC1 snapshots
See gh-32624
2022-10-06 21:39:31 +01:00
Andy Wilkinson 02183d82f6 Start building against Spring WS 4.0.0-RC1 snapshots
See gh-32621
2022-10-06 21:28:17 +01:00
Andy Wilkinson 978e939b3d Start building against Spring RESTDocs 3.0.0-RC1 snapshots
See gh-32623
2022-10-06 21:26:25 +01:00
Andy Wilkinson f0009411c4 Start building against Spring Retry 2.0.0-RC1 snapshots
See gh-32600
2022-10-06 21:25:22 +01:00
Andy Wilkinson 7e47d3bbd6 Polish "Rework Spring Session auto-configuration to use customizers"
See gh-32554
2022-10-06 20:59:59 +01:00
Vedran Pavic ad8753923a Rework Spring Session auto-configuration to use customizers
This commit reworks Spring Session auto-configuration to avoid
extending Spring Session's configuration classes. Instead, those
configuration classes are now imported and customizations are
applied using dedicated (Reactive)SessionRepositoryCustomizer beans.

See gh-32554
2022-10-06 20:59:13 +01:00
Andy Wilkinson a9c1b4a7c3 Start building against Spring Session 2022.0.0-RC1 snapshots
See gh-32606
2022-10-06 20:20:48 +01:00
Andy Wilkinson 0e23fbe30b Use Neo4j 4.4.11 for integration testing
See gh-32620
2022-10-06 19:53:46 +01:00
Brian Clozel d25fc73dae Upgrade to Neo4J Java Driver 5.0.0
Closes gh-32620
2022-10-06 19:46:31 +02:00
Brian Clozel 7e52607bab Switch to Spring AMQP 3.0.0-SNAPSHOT
See gh-32602
2022-10-06 16:26:05 +02:00
Brian Clozel fc82f0c0ab Switch to Spring Kafka 3.0.0-SNAPSHOT
See gh-32603
2022-10-06 16:25:07 +02:00
Brian Clozel 9472cbe2b7 Switch to Spring Data 2022.0.0-SNAPSHOT
See gh-32601
2022-10-06 16:24:07 +02:00
Brian Clozel 219ed47d1e Switch to Spring Integration 6.0.0-SNAPSHOT
See gh-32619
2022-10-06 16:22:59 +02:00
Brian Clozel 18ecb84004 Switch to Reactor 2020.0.0-SNAPSHOT
See gh-32599
2022-10-06 16:11:27 +02:00
Brian Clozel c8c73b195d Switch to Spring Batch 5.0.0-SNAPSHOT
See gh-32618
2022-10-06 16:11:26 +02:00
Brian Clozel 6ff31fe231 Switch to Spring for GraphQL 1.1.0-SNAPSHOT
See gh-32605
2022-10-06 15:18:32 +02:00
Brian Clozel a681a93443 Micrometer Tracing 1.0.0-SNAPSHOT
See gh-32616
2022-10-06 15:18:32 +02:00
Brian Clozel 3e6ad67f16 Switch to Micrometer 1.10.0-SNAPSHOT
See gh-32598
2022-10-06 15:18:32 +02:00
Andy Wilkinson f2f4a4a40e Space out smart lifecycle phases used for graceful shutdown
Previously, the web server was stopped in the last smart lifecycle
phase with graceful shutdown having begun in the previous phase.
This lack of space between the two phases and after the stop phase
made it hard to for other smart lifecycles to be part of the
graceful shutdown process.

This commit moves stop to 1024 phases before the final phase and
graceful shutdown a further 1024 phases before that, allowing
other smart lifecycles to run between graceful shutdown and stop
and also after stop.

Closes gh-31714
2022-10-06 13:11:29 +01:00
Andy Wilkinson 68e4aa232b Prevent duplicate registration of TestRestTemplate after AOT processing
Closes gh-32542
2022-10-06 12:56:38 +01:00
Andy Wilkinson 188cac6540 Protect against null run process customizer
See 0ee277b8c3
See gh-32607
2022-10-06 11:55:41 +01:00
Johnny Lim 64132afba4 Add Javadoc since for UseMainMethod
See gh-32568
2022-10-06 11:27:05 +01:00
Andy Wilkinson 0ee277b8c3 Ensure that run mojo's child process is killed when Maven is killed
Fixes gh-32607
2022-10-06 10:19:22 +01:00
Stephane Nicoll 4ffc421b3c Adapt to Spring Framework API change 2022-10-06 09:58:05 +02:00
Stephane Nicoll d106fc266a Revert "Adapt to deprecations in Spring Framework snapshots"
This reverts commit ff6acbe972.
2022-10-06 07:09:51 +02:00
Stephane Nicoll 44c843145a Add support for specifying application arguments
This commit makes sure that application arguments can be provided when
optimizing an application at build-time. It uses the same mechanism of
the regular run goal, merging the profile property if set.

Closes gh-32579
2022-10-05 16:36:38 +02:00
Stephane Nicoll 39cf17ed81 Add missing integration test for profile management in process-aot 2022-10-05 16:22:44 +02:00
Stephane Nicoll e94a1f7988 Replace outcome of JsonMixins scanning in AOT optimized contexts
This commit adds an AOT contribution that replaces the scanning of
@JsonMixin by a mapping in generated code. This makes sure that such
components are found in a native image.

Closes gh-32567
2022-10-05 15:55:33 +02:00
Stephane Nicoll ff6acbe972 Adapt to deprecations in Spring Framework snapshots 2022-10-05 15:55:33 +02:00
Andy Wilkinson 5199ffe6a9 Allow auto-configured Rabbit Stream Environment to be customized
Closes gh-32580
2022-10-05 11:56:32 +01:00
Andy Wilkinson 0ae7e935c3 Allow user to replace auto-configured Data JDBC beans
Closes gh-32571
2022-10-04 18:07:56 +01:00
Andy Wilkinson 7c4e46e538 Allow thread dump endpoint to call ThreadMXBean in a native image
Closes gh-31680
2022-10-04 17:09:22 +01:00
Andy Wilkinson e6568596b9 Make max header size config consistent across web servers
Closes gh-29382
2022-10-04 15:16:54 +01:00
Andy Wilkinson 4f86f685c5 Reinstate support for Infinispan
Closes gh-32556
2022-10-04 11:32:56 +01:00
Phillip Webb e0b67889a8 Use Stream.toList instead of Stream.collect when possible
Update code to make use of `Stream.toList()` whenever possible.

Closes gh-28177
2022-10-04 00:29:22 -07:00
Phillip Webb 118836d204 Merge branch '2.7.x'
Closes gh-32576
2022-10-03 17:56:21 -07:00
Phillip Webb 0f4d98b1f4 Merge branch '2.6.x' into 2.7.x
Closes gh-32575
2022-10-03 17:56:10 -07:00
Phillip Webb e917bd0ed0 Only build OutputCapture strings when necessary
Update `OutputCapture` so that expensive build operations are only
performed when necessary. This update is especially important for Kotlin
users calling `"Expected String" in output` since this results in a call
to Kotlin's `CharSequence.contains` which calls the `length()` and
`charAt()` methods many times.

Closes gh-32033
2022-10-03 16:55:44 -07:00
Andy Wilkinson 803d353d49 Fix formatting of R2dbcDataAutoConfiguration
See c2b8d3d.
2022-10-03 14:29:46 +01:00
Andy Wilkinson 3ab36074dc Make management.tracing.enabled are first-class property
This will allow metadata to be generated for it automatically.

Closes gh-31656
2022-10-03 14:28:23 +01:00
Andy Wilkinson 6d4390e034 Simplify ConditionalOnEnabledTracing
Closes gh-32572
2022-10-03 14:26:41 +01:00
Andy Wilkinson 69c8959e6d Remove remnants of references to GlobalKeyValuesProviders
Closes gh-31841
2022-10-03 14:03:15 +01:00
Stephane Nicoll c2b8d3de21 Declare beans that can be instantiated at build-time static
This commit updates the bean factory methods for beans that can be
instantiated at build-time to be static. Doing so makes sure that
the enclosing configuration class does not have to be resolved in
order to create the instance.

Closes gh-32570
2022-10-03 14:36:04 +02:00
Johnny Lim d6cfcd0825 Fix compile errors
Closes gh-32569
2022-10-02 18:38:28 +02:00
Phillip Webb 2c39345794 Merge branch '2.7.x' 2022-09-30 21:18:20 -07:00
Phillip Webb 0e98a577fe Merge branch '2.6.x' into 2.7.x 2022-09-30 21:18:09 -07:00
Phillip Webb 75f4d9e3fd Fix empty @DefaultValue annotation test failures on Java 17
See gh-32559
2022-09-30 21:16:48 -07:00
Phillip Webb bf96816654 Merge branch '2.7.x'
Closes gh-32564
2022-09-30 20:16:53 -07:00
Phillip Webb 1eb0dd5e39 Merge branch '2.6.x' into 2.7.x
Closes gh-32563
2022-09-30 20:16:36 -07:00
Phillip Webb efc431bdc4 Support empty @DefaultValue annotations on aggregates and optional
Update `ValueObjectBinder` to allow an empty `@DefaultValue` to be
used on map, collection, arrays and optional types.

Closes gh-32559
2022-09-30 18:21:54 -07:00
Scott Frederick d25a99692f Replace Spring Boot TestCompiler with Spring Framework's version
See gh-31266
2022-09-30 15:58:11 -05:00
Phillip Webb 8b2fd6a05a Fix formatting 2022-09-30 12:00:14 -07:00
Phillip Webb 63f6d872e0 Test addAotGeneratedInitializerIfNecessary logic
Closes gh-32555
2022-09-30 11:24:04 -07:00
Andy Wilkinson 522cb1c0ea Polish deprecation warnings
See gh-32541
2022-09-30 18:51:37 +01:00
Andy Wilkinson dbcb291b7a Polish
See gh-32541
2022-09-30 18:31:01 +01:00
Andy Wilkinson bcb5e84129 Avoid using reflection when creating composite health contributors
Closes gh-32541
2022-09-30 17:03:02 +01:00
Stephane Nicoll e2dd0ef9a4 Adapt AotProcessor to changes in Spring Framework
Closes gh-32560
2022-09-30 16:47:03 +02:00
Andy Wilkinson 51df7813a5 Remove code deprecated in 2.x and add since and forRemoval attributes
Closes gh-32548
Closes gh-32549
2022-09-30 14:39:05 +01:00