Commit Graph

23760 Commits

Author SHA1 Message Date
Andy Wilkinson
045bc74aa0 Merge branch '3.1.x' into 3.2.x
Closes gh-39165
2024-01-17 10:42:57 +00:00
Andy Wilkinson
f66fd0e9e2 Remove OCI entry as it is no longer maintained
Closes gh-39164
2024-01-17 10:42:27 +00:00
Scott Frederick
90564d722d Merge branch '3.1.x' into 3.2.x
Fixes gh-39158
2024-01-16 17:06:17 -06:00
Scott Frederick
47b1c41dac Allow server.ssl properties to mix PEM and JKS certificate types
Prior to the introduction of SSL bundles, the `server.ssl` properties
allowed PEM and JKS certificate files types to be mixed when
configuring keystores and truststores. This was lost when adapting to
SSL bundles using `WebServerSslBundle`. This commit restores the
previous behavior for back compatibility.

Fixes gh-39105
2024-01-16 16:26:28 -06:00
Phillip Webb
ac00a0c28b Polish 'Improve reference documentation'
See gh-38942
2024-01-16 12:45:03 -08:00
Won Joon Thomas Choi
6ed8dc2970 Improve reference documentation
Address a series of minor typos and phrasing inconsistencies
identified in few sections of documentation to enhance overall
clarity and readability.

See gh-38942
2024-01-16 12:43:38 -08:00
Phillip Webb
837047ab79 Merge branch '3.1.x' into 3.2.x
Closes gh-39154
2024-01-16 11:56:37 -08:00
Phillip Webb
e23e431f10 Polish 'Remove unreachable throw code'
See gh-39107
2024-01-16 11:36:18 -08:00
BenchmarkingBuffalo
a4ae6600ef Remove unreachable throw code
Improve `SpringApplication` by removing the unreachable throw statement
in favor of returning an exception from `handleRunFailure`. This commit
also removes the if statements in favor of dedicated catch blocks.

See gh-39107
2024-01-16 11:35:49 -08:00
Phillip Webb
267b7ab248 Polish formatting 2024-01-16 11:20:05 -08:00
Phillip Webb
5a38662f5f Polish 'Use the term "tags" in documentation consistently'
See gh-39125
2024-01-16 11:16:02 -08:00
Wzy19930507
3274205709 Use the term "tags" in documentation consistently
See gh-39125
2024-01-16 11:15:42 -08:00
Phillip Webb
88a8550609 Make OTEL tstcontainers integration test more resilient
Tweak awaitility assertions to fix timing error that often occurs on
local builds.
2024-01-16 10:49:25 -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
f59fa2e3f7 Merge branch '3.1.x' into 3.2.x
Closes gh-39149
2024-01-16 16:07:37 +00:00
Andy Wilkinson
ea727f056a Polish "Update links to Micrometer reference docs"
See gh-39114
2024-01-16 16:05:09 +00:00
Tobias Lippert
6c5fea7341 Update links to Micrometer reference docs
See gh-39114
2024-01-16 15:51:08 +00:00
Brian Clozel
00f69c4ee8 Upgrade to MySQL 8.3.0
Closes gh-39081
2024-01-16 16:33:29 +01:00
Brian Clozel
de2aee9816 Upgrade to MariaDB 3.3.2
Closes gh-38901
2024-01-16 16:31:19 +01:00
Andy Wilkinson
a575807078 Upgrade to Spring Pulsar 1.0.2
Closes gh-38994
2024-01-16 13:02:46 +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
d06c1db259 Upgrade to Neo4j Java Driver 5.15.0
Closes gh-39135
2024-01-15 15:24:55 +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
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
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
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
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
Andy Wilkinson
6bfac1f860 Fix handling of nested: UNC paths on Windows
Closes gh-38956
2024-01-12 15:53:19 +00:00
Andy Wilkinson
6ec56da919 Ensure that reactive actuator security has an auth manager
This is a follow-on from afad358 and ensures that the auto-configured
security for Actuator in a WebFlux app has an authentication manager
to back its use of HTTP basic and form login.

Fixes gh-39069
2024-01-12 13:02:31 +00:00
Andy Wilkinson
a48e2d3539 Fix configuration property conversion for CharSequence inputs
Closes gh-39051
2024-01-12 11:09:29 +00:00
Moritz Halbritter
a424ba2055 Restore configuration property for http requests names when using WebFlux
Closes gh-39083
2024-01-11 16:28:23 +01:00
Andy Wilkinson
a5d3fb588b Merge branch '3.1.x' into 3.2.x
Closes gh-39103
2024-01-11 13:55:34 +00:00
Andy Wilkinson
31936f036b Remove FlywayMigrationScriptMissingFailureAnalyzer from spring.factories
Closes gh-39102
2024-01-11 13:55:05 +00:00
Andy Wilkinson
fe54801cbe Merge branch '3.1.x' into 3.2.x
Closes gh-39100
2024-01-11 13:45:47 +00:00
Andy Wilkinson
f4ff2e63ff Document that failure analyzers should use constructor injection
Closes gh-39099
2024-01-11 13:45:20 +00:00
Andy Wilkinson
5047048c10 Upgrade to Reactor Bom 2023.0.2
Closes gh-38980
2024-01-11 13:23:04 +00:00
Andy Wilkinson
f103586a13 Upgrade to Reactor Bom 2022.0.15
Closes gh-38976
2024-01-11 13:17:15 +00:00
Andy Wilkinson
7087897507 Merge branch '3.1.x' into 3.2.x
Closes gh-39091
2024-01-11 10:33:57 +00:00
Andy Wilkinson
45c32854a5 Fix Checkstyle upgrade
Closes gh-38746
2024-01-10 15:37:38 +00:00
Moritz Halbritter
66dc72da46 Polish "Fix Jetty ConnectionLimit configuration"
See gh-39052
2024-01-10 10:17:38 +01:00
Onur Kagan Ozcan
7113c10b08 Fix Jetty ConnectionLimit configuration
See gh-39052
2024-01-10 10:12:27 +01:00
Moritz Halbritter
793801b9cb Merge branch '3.1.x' into 3.2.x
Closes gh-39078
2024-01-10 09:53:45 +01:00
BenchmarkingBuffalo
56f00c4c21 Move autoStartup property
Move the property 'autoStartup' from BaseContainer to AmqpContainer.

See gh-39072
2024-01-10 09:52:28 +01:00
skcskitano
dc8b55c0ef Fix connection leak in SqlDialectLookup
See gh-38924
2024-01-10 09:46:39 +01:00
Moritz Halbritter
748a80c448 Merge branch '3.1.x' into 3.2.x
Closes gh-39075
2024-01-10 09:41:41 +01:00
Moritz Halbritter
47e8f6168f Polish "Fix error mark position for PatternParseException"
See gh-38944
2024-01-10 09:21:03 +01:00