Commit Graph

27233 Commits

Author SHA1 Message Date
Dmytro Nosan 26ab0fea81 Don't replace existing defaultRequestConfigCustomizer
Update `HttpComponentsClientHttpRequestFactoryBuilder` to add to the
existing `defaultRequestConfigCustomizer` rather than replace it.

See gh-43429
2024-12-06 19:11:37 -08:00
Phillip Webb e394cadc48 Merge branch '3.3.x'
Closes gh-43436
2024-12-06 19:01:30 -08:00
Phillip Webb f21402d4c3 Consistently return non-zero exit codes for jarmode failures
Update jar mode launchers to catch all exceptions and return a non-zero
exit code. This refinement also allows us to consolidate the existing
error reporting logic to a central locations. Modes that wish to report
a simple error rather than a full stacktrace can throw the newly
introduced `JarModeErrorException`.

Fixes gh-43435
2024-12-06 19:00:50 -08:00
Phillip Webb 86b0c768e7 Fix annotation matching when using scoped proxies
Update `OnBeanCondition` to check `isAutowireCandidate` on the original
bean of scoped proxy targets.

Fixes gh-43423
2024-12-05 18:05:23 -08:00
Phillip Webb 8ca8ab14f6 Add `withRequestFactorySettings` method and restore previous defaults
Update `TestRestTemplate` with a `withRequestFactorySettings` method
that can be used to change defaults such as `Redirects`.

This commit also restores the previous redirect defaults for HTTP
components where redirects would only be followed when the
`HttpClientOption.ENABLE_REDIRECTS` was specified.

Closes gh-43258
2024-12-05 18:01:09 -08:00
Moritz Halbritter 4dca6ee5d3 Polish "Only set imagePlatform if it has text"
See gh-43424
2024-12-05 11:03:14 +01:00
Leonid Bogdanov fe1f9b3002 Only set imagePlatform if it has text
See gh-43424
2024-12-05 10:59:17 +01:00
Moritz Halbritter 48bc3b6412 Merge branch '3.3.x'
Closes gh-43428
2024-12-05 10:54:02 +01:00
Tran Ngoc Nhan dbe7ecd168 Fix Junit javadoc links
See gh-43383
2024-12-05 10:37:06 +01:00
Moritz Halbritter 2ff6dea5ca Polish "Document how to use structured logging with custom log configuration"
See gh-43301
2024-12-05 10:34:07 +01:00
Yanming Zhou dd14158ad7 Document how to use structured logging with custom log configuration
See gh-43301
2024-12-05 10:13:02 +01:00
Phillip Webb 8b83afdb68 Polish 'Add `redirects(...)` method to `RestTemplateBuilder`'
Remove deprecations and new methods in `TestRestTemplate` in favor of
passing in a configured `RestTemplateBuilder`.

See gh-43258
2024-12-04 15:12:59 -08:00
Yanming Zhou f450b28a7c Add `redirects(...)` method to `RestTemplateBuilder`
Add `redirects(...)` method to `RestTemplateBuilder` to allow redirect
customization. This new method is required in 3.4 since the default
redirect strategy for some clients has changed and users need a way
to restore the old behavior.

See gh-43258
2024-12-04 15:09:33 -08:00
Phillip Webb 916efb632c Merge branch '3.3.x' 2024-12-04 15:04:22 -08:00
Phillip Webb 9e7972a9b4 Polish code with code cleanup rules 2024-12-04 15:03:40 -08:00
Phillip Webb c1f0dacd3f Start building against Spring Session 3.4.1 snapshots
See gh-43420
2024-12-04 11:48:59 -08:00
Phillip Webb c7882d1396 Start building against Spring Security 6.4.2 snapshots
See gh-43419
2024-12-04 11:48:55 -08:00
Phillip Webb 7852284d59 Start building against Spring Pulsar 1.2.1 snapshots
See gh-43418
2024-12-04 11:48:51 -08:00
Phillip Webb bcf9e6c513 Start building against Spring LDAP 3.2.9 snapshots
See gh-43417
2024-12-04 11:48:47 -08:00
Phillip Webb 49df76a45d Start building against Spring Kafka 3.3.1 snapshots
See gh-43416
2024-12-04 11:48:43 -08:00
Phillip Webb 32532b1f4d Start building against Spring Integration 6.4.1 snapshots
See gh-43415
2024-12-04 11:48:39 -08:00
Phillip Webb e8e4629791 Start building against Spring Data Bom 2024.1.1 snapshots
See gh-43413
2024-12-04 11:48:31 -08:00
Phillip Webb 4f914ab951 Start building against Spring Authorization Server 1.4.1 snapshots
See gh-43412
2024-12-04 11:48:27 -08:00
Phillip Webb e91d0da022 Start building against Spring AMQP 3.2.1 snapshots
See gh-43411
2024-12-04 11:48:23 -08:00
Phillip Webb 41aa90f036 Start building against Reactor Bom 2024.0.1 snapshots
See gh-43410
2024-12-04 11:48:19 -08:00
Phillip Webb bece4f51bb Start building against Micrometer Tracing 1.4.1 snapshots
See gh-43409
2024-12-04 11:48:15 -08:00
Phillip Webb e42095813a Start building against Micrometer 1.14.2 snapshots
See gh-43408
2024-12-04 11:48:10 -08:00
Phillip Webb e431b119a5 Upgrade to SQLite JDBC 3.47.1.0
Closes gh-43407
2024-12-04 11:43:56 -08:00
Phillip Webb ecd73478ca Upgrade to RxJava3 3.1.10
Closes gh-43406
2024-12-04 11:43:52 -08:00
Phillip Webb 002539f6f6 Upgrade to Pulsar 3.3.3
Closes gh-43405
2024-12-04 11:43:48 -08:00
Phillip Webb 060f89e195 Upgrade to Prometheus Client 1.3.4
Closes gh-43404
2024-12-04 11:43:44 -08:00
Phillip Webb 3010d7a471 Upgrade to Log4j2 2.24.2
Closes gh-43402
2024-12-04 11:43:36 -08:00
Phillip Webb a538b8bef4 Upgrade to Hibernate 6.6.3.Final
Closes gh-43400
2024-12-04 11:43:27 -08:00
Phillip Webb 79653a9275 Upgrade to Elasticsearch Client 8.15.5
Closes gh-43399
2024-12-04 11:43:23 -08:00
Phillip Webb 7f8ccc66f7 Upgrade to CycloneDX Maven Plugin 2.9.1
Closes gh-43398
2024-12-04 11:43:19 -08:00
Phillip Webb 1edc997440 Start building against Spring Session 3.3.4 snapshots
See gh-43397
2024-12-04 11:41:13 -08:00
Phillip Webb 210c1465a2 Start building against Spring Pulsar 1.1.7 snapshots
See gh-43396
2024-12-04 11:41:13 -08:00
Phillip Webb f0fd24800a Start building against Spring LDAP 3.2.9 snapshots
See gh-43395
2024-12-04 11:41:13 -08:00
Phillip Webb 8761285557 Start building against Spring Kafka 3.2.6 snapshots
See gh-43394
2024-12-04 11:41:13 -08:00
Phillip Webb 6cd3ee5347 Start building against Spring Data Bom 2024.0.7 snapshots
See gh-43392
2024-12-04 11:41:13 -08:00
Phillip Webb cd3fd0e6da Start building against Spring Authorization Server 1.3.4 snapshots
See gh-43391
2024-12-04 11:41:12 -08:00
Phillip Webb 740862a39b Start building against Reactor Bom 2023.0.13 snapshots
See gh-43390
2024-12-04 11:41:12 -08:00
Phillip Webb 53824c860a Start building against Micrometer Tracing 1.3.7 snapshots
See gh-43389
2024-12-04 11:41:12 -08:00
Phillip Webb c09f7c9944 Start building against Micrometer 1.13.9 snapshots
See gh-43388
2024-12-04 11:41:12 -08:00
Phillip Webb 4c00c376a1 Upgrade to Undertow 2.3.18.Final
Closes gh-43387
2024-12-04 11:41:12 -08:00
Phillip Webb 0ebee16043 Upgrade to RxJava3 3.1.10
Closes gh-43386
2024-12-04 11:41:12 -08:00
Andy Wilkinson 04310a7ad0 Merge branch '3.3.x'
Closes gh-43382
2024-12-04 17:00:01 +00:00
Andy Wilkinson 7c7bb531b4 Improve handling of environment variables in failure analysis
Prior to this change, the failure analysis for an invalid
configuration property value filtered out the configuration property
sources property source. This property source contains a "duplicate"
of all of the environment's other property sources but with
configuration property support (such as relaxed/fuzzy matching of
environment variables). This was done to prevent the reporting of
duplicates when a property was found in both the configuration
property sources property source and the "normal" property sources.
An unwanted side-effect of this was that fuzzy matching of
environment variables was lost so the origin of
com.example.some-property would be found in the environment variable
was COM_EXAMPLE_SOME_PROPERTY but would not be found if it was
COM_EXAMPLE_SOMEPROPERTY.

This commit addresses this side-effect by no longer filtering out
the configuration property sources property source. To then
prevent duplicates from being reported in the analysis, it instead
deduplicates things based on the origin of each property that's
found in the environment's property sources.

Fixes gh-43380
2024-12-04 13:55:20 +00:00
Stéphane Nicoll 60b028e7cb Merge branch '3.3.x'
Closes gh-43377
2024-12-04 10:57:58 +01:00
Stéphane Nicoll cc274ccdca Polish "Polish formatting of log configuration file"
See gh-43322
2024-12-04 10:33:58 +01:00