Commit Graph

24202 Commits

Author SHA1 Message Date
Andy Wilkinson 1c2a622f7f Upgrade to Commons Compress 1.25.0
Closes gh-39148
2024-01-30 13:49:37 +00:00
Claudio Nave d31b02c38d Add liquibase ui-service property
See gh-39227
2024-01-30 14:04:05 +01:00
Wzy19930507 dae3952144 Include the environment default profiles in the env endpoint's response
See gh-39257
2024-01-30 13:51:17 +01:00
Moritz Halbritter f36b69f961 Merge branch '3.2.x'
Closes gh-39338
2024-01-30 13:48:44 +01:00
Piyal Ahmed a85e99790b Fix NestedJarFile constructor javadoc
See gh-39285
2024-01-30 13:47:23 +01:00
Moritz Halbritter cd9b51d02c Merge branch '3.2.x'
Closes gh-39335
2024-01-30 13:35:20 +01:00
Eddú Meléndez 1247f89209 Polish
See gh-39312
2024-01-30 13:34:40 +01:00
Andy Wilkinson df67dec561 Merge branch '3.2.x'
Closes gh-39306
2024-01-25 13:32:20 +00:00
Andy Wilkinson a42a8ce620 Merge branch '3.1.x' into 3.2.x
Closes gh-39305
2024-01-25 13:31:59 +00:00
Andy Wilkinson a6d1788be3 Tolerate OS and Java version differences in ExtractCommandTests
Co-Authored-By: Moritz Halbritter <moritz.halbritter@broadcom.com>

Closes gh-39303
2024-01-25 13:31:42 +00:00
Moritz Halbritter acf758aea9 Merge branch '3.2.x' 2024-01-25 11:06:36 +01:00
Moritz Halbritter c47430d842 Merge branch '3.1.x' into 3.2.x 2024-01-25 11:06:25 +01:00
Moritz Halbritter df755db1f3 Ensure that remaining mocks are closed before initializing a test
Closes gh-39271
2024-01-25 10:57:45 +01:00
Moritz Halbritter 9146ce5515 Merge branch '3.2.x' 2024-01-25 10:19:49 +01:00
Moritz Halbritter 36b70d7b16 Merge branch '3.1.x' into 3.2.x 2024-01-25 10:19:37 +01:00
Moritz Halbritter 930669888a Add more integration tests for MockitoTestExecutionListener 2024-01-25 10:18:59 +01:00
Andy Wilkinson 3d5cdb7715 Merge branch '3.2.x'
Closes gh-39289
2024-01-24 14:00:21 +00:00
Andy Wilkinson d702c2f860 Permit upgrades to Jetty Reactive HTTPClient 4.0.2
Closes gh-39288
2024-01-24 13:59:43 +00:00
Phillip Webb 8f1a330dd5 Update copyright header of cleaned up code
See gh-39259
2024-01-23 10:18:50 -08:00
Tobias Lippert 24e0864105 Replace !Optional.isPresent with Optional.isEmpty
See gh-39259
2024-01-23 10:18:50 -08:00
Phillip Webb 48343cc531 Polish 'Simplify stream chain operations'
See gh-39259
2024-01-23 10:18:50 -08:00
Tobias Lippert 7f4aaacf42 Simplify stream chain operations
See gh-39259
2024-01-23 10:18:49 -08:00
Phillip Webb 15f1e8536b Polish 'Remove redundant array creation'
See gh-39259
2024-01-23 10:18:49 -08:00
Tobias Lippert d3c97adf79 Remove redundant array creation
See gh-39259
2024-01-23 10:18:49 -08:00
Tobias Lippert 316b415e95 Use try with resources instead of try-finally
See gh-39259
2024-01-23 10:18:49 -08:00
Tobias Lippert cb26c31dd6 Replace explicit type with diamond operator
See gh-39259
2024-01-23 10:18:49 -08:00
Tobias Lippert ac5a08a49b Avoid redundant boxing
See gh-39259
2024-01-23 10:18:49 -08:00
Tobias Lippert 06265ee617 Use pattern variables
See gh-39259
2024-01-23 10:18:48 -08:00
Tobias Lippert fe38cb3b4a Use string.repeat()
See gh-39259
2024-01-23 09:47:07 -08:00
Phillip Webb ddb769bf7f Polish 'Simplify conditionals'
See gh-39259
2024-01-23 09:47:07 -08:00
Tobias Lippert 65a1ff84e6 Simplify conditionals
See gh-39259
2024-01-23 09:07:40 -08:00
Tobias Lippert def7523398 Inline redundant if statements
See gh-39259
2024-01-23 09:07:35 -08:00
Tobias Lippert 9cdd0c3776 Remove unnecessary semicolons
See gh-39259
2024-01-23 09:07:29 -08:00
Tobias Lippert 17902c9cec Remove unnecessary toString calls
See gh-39259
2024-01-23 09:07:00 -08:00
Phillip Webb a31319caaa Merge branch '3.2.x'
Closes gh-39281
2024-01-23 08:14:34 -08:00
Phillip Webb 3fb25f4d4b Merge branch '3.1.x' into 3.2.x
Closes gh-39280
2024-01-23 08:14:26 -08:00
Jan Engehausen c99daf5de4 Fix typo 'Unuthorized'
See gh-39279
2024-01-23 08:13:13 -08:00
Moritz Halbritter 43296d019e Merge branch '3.2.x'
Closes gh-39273
2024-01-23 09:27:25 +01:00
Moritz Halbritter 46304a7821 Merge branch '3.1.x' into 3.2.x
Closes gh-39272
2024-01-23 09:24:29 +01:00
Moritz Halbritter c87d5eeb28 Ensure that remaining mocks are closed before initializing a test
Closes gh-39271
2024-01-23 09:17:17 +01:00
Phillip Webb 4de91094cf Polish 'Add conditional bean for jOOQ translator'
See gh-38762
2024-01-22 15:52:41 -08:00
Dennis Melzer c3aa95335a Add conditional bean for jOOQ translator
Introduce an jOOQ `ExecuteListener` sub-interface  specifically
for exception translation with the auto-configured
`DefaultExecuteListenerProvider` instance.

Users can now define a bean that implements the interface or
omit it and continue to use the existing exception translation
logic.

See gh-38762
2024-01-22 15:52:38 -08:00
Scott Frederick bee6fe899c Polish "Add Docker Compose service connection support for OpenLDAP"
See gh-39258
2024-01-22 16:51:45 -06:00
PhilKes eb940c3907 Add Docker Compose service connection support for OpenLDAP
See gh-39258
2024-01-22 16:51:45 -06:00
Phillip Webb a0a804cfdf Merge branch '3.2.x' 2024-01-22 12:20:41 -08:00
Phillip Webb cff8cb98c7 Merge branch '3.1.x' into 3.2.x 2024-01-22 12:20:24 -08:00
Phillip Webb e1986ea11e Update copyright year of changed files 2024-01-22 12:20:06 -08:00
Phillip Webb 088b313ae5 Polish 2024-01-22 11:57:37 -08:00
Phillip Webb 72f8bb8d13 Merge branch '3.2.x'
Closes gh-39269
2024-01-22 11:50:57 -08:00
Phillip Webb 9ddf15d97a Merge branch '3.1.x' into 3.2.x
Closes gh-39268
2024-01-22 11:50:40 -08:00
Phillip Webb 87ea2b75fb Polish 'Make PropagationType a public type'
See gh-39265
2024-01-22 11:49:45 -08:00
Vaibhav Jaiswal 16c0f035a9 Make PropagationType a public type
The PropagationType enum is returned from public methods so
should be public itself.

See gh-39265
2024-01-22 11:48:10 -08:00
Moritz Halbritter 6e3d4ed878 Use ReactiveFindByIndexNameSessionRepository
See gh-32046
2024-01-22 12:55:37 +01:00
Moritz Halbritter de76ef1b3b Polish "Provide an Actuator endpoint for non-indexed session repositories"
See gh-32046
2024-01-22 12:55:37 +01:00
Vedran Pavic 6a9eb7754f Provide an Actuator endpoint for non-indexed session repositories
At present, Actuator sessions endpoint is supported only on a Servlet stack and also requires an indexed session repository. With Spring Session moving to non-indexed session repositories as a default for some session stores, this means that sessions endpoint won't be available unless users opt into a (non-default) indexed session repository.

This commit updates SessionEndpoint so that it is able to work with a non-indexed session repository. In such setup, it exposes operations for fetching session by id and deleting the session.

Additionally, this also adds support for reactive stack by introducing ReactiveSessionEndpoint and its auto-configuration support.

See gh-32046
2024-01-22 12:55:37 +01:00
Andy Wilkinson a09cc22841 Allow a WebEndpointTest to only run against certain infrastructure
Closes gh-32054
2024-01-22 12:54:31 +01:00
Moritz Halbritter ca799f7b21 Tolerate actuator endpoints with the same id
Closes gh-39249
2024-01-22 12:33:05 +01:00
Andy Wilkinson 8c708b1e91 Merge branch '3.2.x'
Closes gh-39239
2024-01-18 14:15:36 +00:00
Andy Wilkinson 961da4e428 Make user details only back off without custom username or password
Closes gh-38864
2024-01-18 14:14:39 +00:00
Phillip Webb 686fe84a72 Merge branch '3.2.x'
Closes gh-39232
2024-01-17 15:58:25 -08:00
Phillip Webb 0f53415451 Merge branch '3.1.x' into 3.2.x
Closes gh-39231
2024-01-17 15:58:14 -08:00
Phillip Webb bc52ac6459 Polish 'Reactor PemPrivateKeyParser to use DerElement'
See gh-39162
2024-01-17 15:51:29 -08:00
Wzy19930507 cc6303f574 Reactor PemPrivateKeyParser to use DerElement
Update `PemPrivateKeyParser` so that the algorithm is read using
DerElement whenever possible.

See gh-39162
2024-01-17 15:49:19 -08:00
Phillip Webb 9de0085a43 Merge branch '3.2.x'
Closes gh-39226
2024-01-17 13:16:53 -08:00
Phillip Webb eb0040c225 Fix ZipCentralDirectoryFileHeaderRecord entry comment read offset
Update `ZipCentralDirectoryFileHeaderRecord.copyTo` comment read offset
to account for the record position.

Fixes gh-39166
2024-01-17 13:16:43 -08:00
Andy Wilkinson 257df220fd Merge branch '3.2.x'
Closes gh-39225
2024-01-17 20:30:37 +00:00
Andy Wilkinson fee359ff5e Downgrade to production-ready version of Oracle Database
This reverts commit d2325d1110.

Closes gh-38943
2024-01-17 20:14:09 +00:00
Andy Wilkinson eeb508112e Upgrade to Tomcat 10.1.18
Closes gh-39213
2024-01-17 18:57:01 +00:00
Andy Wilkinson b5244ec0a2 Upgrade to SLF4J 2.0.11
Closes gh-39212
2024-01-17 18:57:01 +00:00
Andy Wilkinson cbbb727f9e Upgrade to R2DBC Proxy 1.1.4.RELEASE
Closes gh-39211
2024-01-17 18:57:00 +00:00
Andy Wilkinson 6c9c6ab367 Upgrade to R2DBC Postgresql 1.0.4.RELEASE
Closes gh-39210
2024-01-17 18:57:00 +00:00
Andy Wilkinson 0d02f216a9 Upgrade to R2DBC MySQL 1.0.6
Closes gh-39209
2024-01-17 18:57:00 +00:00
Andy Wilkinson a2f34f604a Upgrade to Pulsar Reactive 0.5.2
Closes gh-39208
2024-01-17 18:56:59 +00:00
Andy Wilkinson e588fcb4d1 Upgrade to Netty 4.1.105.Final
Closes gh-39207
2024-01-17 18:56:59 +00:00
Andy Wilkinson 11b1a91706 Upgrade to Mockito 5.9.0
Closes gh-39206
2024-01-17 18:56:59 +00:00
Andy Wilkinson e129f5cc64 Upgrade to Maven Surefire Plugin 3.2.5
Closes gh-39205
2024-01-17 18:56:59 +00:00
Andy Wilkinson bfe7137817 Upgrade to Maven Failsafe Plugin 3.2.5
Closes gh-39204
2024-01-17 18:56:58 +00:00
Andy Wilkinson 24942c17ec Upgrade to Lettuce 6.3.1.RELEASE
Closes gh-39203
2024-01-17 18:56:58 +00:00
Andy Wilkinson 77c9000586 Upgrade to jOOQ 3.19.2
Closes gh-39202
2024-01-17 18:56:58 +00:00
Andy Wilkinson cc05d6fc53 Upgrade to Brave 5.17.1
Closes gh-39201
2024-01-17 18:56:57 +00:00
Phillip Webb 7700841ba4 Merge branch '3.2.x'
Closes gh-39200
2024-01-17 10:20:46 -08:00
Phillip Webb b890515ce1 Merge branch '3.1.x' into 3.2.x
Closes gh-39199
2024-01-17 10:20:30 -08:00
Phillip Webb bec84959ed Improve "Sanitize Sensitive Values" section in reference documentation
Closes gh-39094
2024-01-17 10:19:40 -08:00
Scott Frederick 0b4f6b79d4 Merge branch '3.2.x'
Closes gh-39198
2024-01-17 12:05:59 -06:00
Scott Frederick dbfd038a4d Validate combined RestTemplate and RestClient usage in mock REST config
Fixes gh-38820
2024-01-17 12:05:18 -06:00
Andy Wilkinson f6fbd105f0 Upgrade to Tomcat 10.1.18
Closes gh-39196
2024-01-17 15:58:07 +00:00
Andy Wilkinson 5a6c724506 Upgrade to SLF4J 2.0.11
Closes gh-39195
2024-01-17 15:57:30 +00:00
Andy Wilkinson c901d09ecd Upgrade to R2DBC Proxy 1.1.4.RELEASE
Closes gh-39194
2024-01-17 15:57:25 +00:00
Andy Wilkinson c7b769673c Upgrade to R2DBC Postgresql 1.0.4.RELEASE
Closes gh-39193
2024-01-17 15:57:20 +00:00
Andy Wilkinson 41f4111faf Upgrade to R2DBC MySQL 1.0.6
Closes gh-39192
2024-01-17 15:57:16 +00:00
Andy Wilkinson bb2182cffd Upgrade to Pulsar Reactive 0.5.2
Closes gh-39191
2024-01-17 15:57:11 +00:00
Andy Wilkinson 0ae22fd89f Upgrade to Pulsar 3.1.2
Closes gh-39190
2024-01-17 15:57:06 +00:00
Andy Wilkinson c151a8d0dd Upgrade to Netty 4.1.105.Final
Closes gh-39189
2024-01-17 15:57:02 +00:00
Andy Wilkinson f1bc7c91f5 Upgrade to Lettuce 6.3.1.RELEASE
Closes gh-39188
2024-01-17 15:56:57 +00:00
Andy Wilkinson 112b07d0d5 Upgrade to jOOQ 3.18.9
Closes gh-39186
2024-01-17 15:56:47 +00:00
Andy Wilkinson 3352565051 Upgrade to Groovy 4.0.17
Closes gh-39185
2024-01-17 15:56:43 +00:00
Andy Wilkinson c6bf1ac096 Upgrade to Byte Buddy 1.14.11
Closes gh-39184
2024-01-17 15:56:38 +00:00
Andy Wilkinson e2420caefd Upgrade to Tomcat 10.1.18
Closes gh-39183
2024-01-17 14:29:27 +00:00
Andy Wilkinson 558d8131c0 Upgrade to SLF4J 2.0.11
Closes gh-39182
2024-01-17 14:05:40 +00:00
Andy Wilkinson 40f352e53d Upgrade to R2DBC Proxy 1.1.4.RELEASE
Closes gh-39181
2024-01-17 14:05:35 +00:00
Andy Wilkinson fee512d821 Upgrade to R2DBC Postgresql 1.0.4.RELEASE
Closes gh-39180
2024-01-17 14:05:31 +00:00
Moritz Halbritter 7d4d8e955e Register classes that implement multiple Servlet interfaces
Closes gh-39056
2024-01-17 15:05:27 +01:00
Andy Wilkinson e57665843c Upgrade to R2DBC MySQL 1.0.6
Closes gh-39179
2024-01-17 14:05:26 +00:00
Andy Wilkinson 4e827873bc Upgrade to Netty 4.1.105.Final
Closes gh-39178
2024-01-17 14:05:22 +00:00
Andy Wilkinson e6a26624d6 Upgrade to jOOQ 3.18.9
Closes gh-39177
2024-01-17 14:05:17 +00:00
Andy Wilkinson 06dfce6d5a Upgrade to Hibernate 6.2.20.Final
Closes gh-39176
2024-01-17 14:05:12 +00:00
Andy Wilkinson f118d5d971 Upgrade to Groovy 4.0.17
Closes gh-39175
2024-01-17 14:05:07 +00:00
Andy Wilkinson 444940c2c3 Upgrade to Byte Buddy 1.14.11
Closes gh-39174
2024-01-17 14:05:02 +00:00
Andy Wilkinson 489921b063 Merge branch '3.2.x'
Closes gh-39173
2024-01-17 13:53:33 +00:00
Sébastien Deleuze cfc9b5109a Update CRaC support status link
See gh-39170
2024-01-17 13:52:56 +00:00
Andy Wilkinson f781c02a6b Merge branch '3.2.x'
Closes gh-39172
2024-01-17 13:51:40 +00:00
Andy Wilkinson 2ba2ecedec Merge branch '3.1.x' into 3.2.x
Closes gh-39171
2024-01-17 13:51:23 +00:00
Wzy19930507 37a0e24f24 Update link to docs for Log4j 2's JDK logging adapter
See gh-39163
2024-01-17 13:50:29 +00:00
Brian Clozel 8f6bfd981a Merge branch '3.2.x'
Closes gh-39169
2024-01-17 14:15:20 +01:00
Brian Clozel 6845f42f70 Document virtual threads limitations
This commit adds a new section in the Spring Boot reference
documentation to mention potential throughput limitations with Java
virtual threads support.

This section links to the official Java documentation which expands much
more on this matter.

Closes gh-38883
2024-01-17 14:12:34 +01:00
Andy Wilkinson d5d78e5b85 Merge branch '3.2.x'
Closes gh-39168
2024-01-17 13:03:39 +00:00
Andy Wilkinson aec4550b02 Merge branch '3.1.x' into 3.2.x
Closes gh-39167
2024-01-17 13:00:22 +00:00
Andy Wilkinson a7d52226d5 Polish "Improve toString of SslBundle implementations"
See gh-39137
2024-01-17 11:50:34 +00:00
amparab b49ccbb0c2 Improve toString of SslBundle implementations
See gh-39137
2024-01-17 11:37:18 +00:00
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 a7463c02cf Merge branch '3.2.x'
Closes gh-39159
2024-01-16 17:30:41 -06: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
Olga MaciaszekSharma 072d6dadcb Remove OCI starter info from README
The project has been archived and is no longer maintained.

See gh-39145
2024-01-16 12:48:54 -08:00
Phillip Webb 1c9043e435 Merge branch '3.2.x'
Closes gh-39157
2024-01-16 12:46:13 -08: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 f586d2d6bb Merge branch '3.2.x'
Closes gh-39155
2024-01-16 11:56:48 -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 8b47d8c657 Merge branch '3.2.x' 2024-01-16 11:20:09 -08:00
Phillip Webb 267b7ab248 Polish formatting 2024-01-16 11:20:05 -08:00
Phillip Webb 02b63a3b19 Merge branch '3.2.x'
Closes gh-39152
2024-01-16 11:18:55 -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 3c6dff7c36 Merge branch '3.2.x' 2024-01-16 10:49:30 -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 90ce0f01bd Merge branch '3.2.x'
Closes gh-39151
2024-01-16 10:49:18 -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 22b7525ccd Merge branch '3.2.x'
Closes gh-39150
2024-01-16 16:07:53 +00: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
Brian Clozel 50c89ff803 Upgrade to MySQL 8.3.0
Closes gh-39147
2024-01-16 16:55:17 +01:00
Tobias Lippert 6c5fea7341 Update links to Micrometer reference docs
See gh-39114
2024-01-16 15:51:08 +00:00
Andy Wilkinson b54567f5f3 Upgrade to Spring Authorization Server 1.3.0-M1
Closes gh-38987
2024-01-16 15:40:41 +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 18c083d619 Upgrade to Spring Session 3.3.0-M1
Closes gh-38991
2024-01-16 13:44:15 +00:00
Andy Wilkinson c48ff13cee Upgrade to Spring Pulsar 1.0.2
Closes gh-38995
2024-01-16 13:03:25 +00:00
Andy Wilkinson a575807078 Upgrade to Spring Pulsar 1.0.2
Closes gh-38994
2024-01-16 13:02:46 +00:00
Brian Clozel e58f65366c Auto-configure TypeDefinitionConfigurer beans
Prior to this commit, the GraphQL auto-configuration would consider many
bean types like `DataFetcherExceptionResolver` and
`SubscriptionExceptionResolver` to configure the `GraphQlSource`.
It would also configure a default `ConnectionTypeDefinitionConfigurer`.

This commit will detect all `TypeDefinitionConfigurer` beans defined in
the application and configure them in addition to the
`ConnectionTypeDefinitionConfigurer`.

Closes gh-39118
2024-01-15 18:22:37 +01:00
Andy Wilkinson 12d390d564 Upgrade to Spring Security 6.3.0-M1
Closes gh-38990
2024-01-15 17:04:13 +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 b0f06338b9 Merge branch '3.2.x'
Closes gh-39134
2024-01-15 15:24:06 +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 bc37a94b76 Merge branch '3.2.x'
Closes gh-39132
2024-01-15 14:15:15 +01: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 fdd34a5639 Upgrade to Spring WS 4.0.10
Closes gh-39131
2024-01-15 10:20:23 +00:00
Andy Wilkinson bd14cf6a85 Upgrade to Spring Data Bom 2023.1.2
Closes gh-38988
2024-01-15 10:20:19 +00: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
Scott Frederick 7851c2362e Remove APIs that were deprecated for removal in 3.3.0
See gh-39039
2024-01-12 16:09:36 -06:00
Andy Wilkinson 7e382e7bf6 Merge branch '3.2.x'
Closes gh-39123
2024-01-12 17:08:36 +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 ac63fc0701 Merge branch '3.2.x'
Closes gh-39121
2024-01-12 16:25:13 +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 907e4d97f7 Merge branch '3.2.x'
Closes gh-39117
2024-01-12 13:02:56 +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 d032b9d234 Merge branch '3.2.x'
Closes gh-39115
2024-01-12 11:11:50 +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 cff1b33f8e Configure virtual threads on Undertow if enabled
Closes gh-38819
2024-01-12 09:05:30 +01:00
Phillip Webb 653474fc46 Polish 2024-01-11 21:40:18 -08: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
Moritz Halbritter cb3745ff92 Restore configuration property for http requests names when using WebFlux
Closes gh-39083
2024-01-11 16:26:57 +01:00
Andy Wilkinson 6f4a8cc0c3 Polish "Change log messages to use singular or plural instead of "noun(s)""
See gh-37017
2024-01-11 14:44:07 +00:00
teacmity c6c7fbc15f Change log messages to use singular or plural instead of "noun(s)"
See gh-37017
2024-01-11 14:35:49 +00:00
Andy Wilkinson 9b8c45c35d Polish "Remove deprecated support for FailureAnalyzer setter injection"
See gh-38322
2024-01-11 14:08:32 +00:00
Zhiyang.Wang1 697b252957 Remove deprecated support for FailureAnalyzer setter injection
See gh-38322
2024-01-11 13:59:02 +00:00
Andy Wilkinson 5675d79243 Merge branch '3.2.x'
Closes gh-39104
2024-01-11 13:56:12 +00: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
BenchmarkingBuffalo 3928fac5ba Add clientId and subscriptionDurable to JmsProperties
See gh-38817
2024-01-11 14:46:24 +01:00
Andy Wilkinson 06b41bdd2d Merge branch '3.2.x'
Closes gh-39101
2024-01-11 13:45:59 +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 339422434f Upgrade to Reactor Bom 2023.0.2
Closes gh-38986
2024-01-11 13:38:08 +00:00
Andy Wilkinson f5be3529b4 Upgrade to Micrometer Tracing 1.2.2
Closes gh-39098
2024-01-11 13:38:08 +00:00
Andy Wilkinson 3acaba15fc Upgrade to Micrometer 1.12.2
Closes gh-39097
2024-01-11 13:38:08 +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
Kai Zander ed039fcf7d Fix context runner assertions not being executed
See gh-39087
2024-01-11 14:17:00 +01:00
Moritz Halbritter baf52214a2 Polish "Auto-configure a JwtAuthenticationConverter"
The JwtConverter bean is only supplied, if one of the following
properties is there:

* spring.security.oauth2.resourceserver.jwt.authority-prefix
* spring.security.oauth2.resourceserver.jwt.principal-claim-name
* spring.security.oauth2.resourceserver.jwt.authorities-claim-name

See gh-38105
2024-01-11 13:58:10 +01:00
Yan Kardziyaka e9bce315ae Auto-configure a JwtAuthenticationConverter
See gh-38105
2024-01-11 13:58:10 +01:00
Andy Wilkinson 17e9f0cb8e Merge branch '3.2.x'
Closes gh-39093
2024-01-11 11:36:38 +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 f696190d83 Polish "Add support for Pulsar cluster-level failover"
See gh-38559
2024-01-10 13:28:33 +01:00
Swamy Mavuri c3e3372336 Add support for Pulsar cluster-level failover
See gh-38559
2024-01-10 13:28:33 +01:00
Andy Wilkinson 4b157ceaf2 Make web servers' started log messages more consistent
Closes gh-36149
2024-01-10 12:11:57 +00:00
Moritz Halbritter 3e705e8d56 Polish "Use unknown_service as default application name for OpenTelemetry"
See gh-38219
2024-01-10 11:42:22 +01:00
Lenin Jaganathan 470029aff1 Use unknown_service as default application name for OpenTelemetry
See gh-38219
2024-01-10 11:42:12 +01:00
Moritz Halbritter e5b2ad9b8a Add possibility to configure a custom ExecutionContextSerializer in BatchAutoConfiguration
See gh-38328
2024-01-10 11:08:43 +01:00
John Niang 49c6bacd44 Support configuring maximum number of sessions for reactive server
Signed-off-by: John Niang <johnniang@foxmail.com>

See gh-38703
2024-01-10 11:03:55 +01:00
Andy Wilkinson d2a3c8703a Add missing since javadoc to acceptTasksAfterContextClose
See gh-38968
2024-01-10 09:58:23 +00:00
Moritz Halbritter 1c411c2fc3 Polish "Add configuration property "spring.task.execution.pool.shutdown.accept-tasks-after-context-close""
See gh-38968
2024-01-10 10:38:28 +01:00
Yanming Zhou 0e53c0098f Add configuration property "spring.task.execution.pool.shutdown.accept-tasks-after-context-close"
ExecutorConfigurationSupport::setAcceptTasksAfterContextClose is
introduced since Spring Framework 6.1

See gh-38968
2024-01-10 10:37:15 +01:00
Moritz Halbritter 5650a547cf Merge branch '3.2.x'
Closes gh-39080
2024-01-10 10:31:33 +01: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 d610955b9d Merge branch '3.2.x'
Closes gh-39079
2024-01-10 09:58:24 +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
Moritz Halbritter ffe31cfe55 Merge branch '3.2.x'
Closes gh-39077
2024-01-10 09:49:54 +01:00
skcskitano dc8b55c0ef Fix connection leak in SqlDialectLookup
See gh-38924
2024-01-10 09:46:39 +01:00
Moritz Halbritter 70eb941416 Merge branch '3.2.x'
Closes gh-39076
2024-01-10 09:41:48 +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
Fabrice Bibonne fccce54d52 Fix error mark position for PatternParseException
PatternParseException.toDetailedString() return a String
with a mark to specify the error position in the pattern.
The mark takes place in the second line in the String
returned. Because PatternParseFailureAnalyzer.analyze
appended "Invalid mapping pattern detected:" at the
beginning of the returned String, the mark was not well
positioned.

Now, a "\n" is inserted after "Invalid mapping pattern detected:"
and the mark is well positioned

See gh-38944
2024-01-10 09:14:04 +01:00
Moritz Halbritter eda2261665 Merge branch '3.2.x'
Closes gh-39074
2024-01-10 09:12:04 +01:00
Moritz Halbritter 8504b6e0a7 Merge branch '3.1.x' into 3.2.x
Closes gh-39073
2024-01-10 09:11:53 +01:00
Christoph Dreis 68b9f0c643 Update copyright year to 2024
See gh-38946
2024-01-10 09:11:29 +01:00
Christoph Dreis b7c9c82180 Fix typos
See gh-38983
2024-01-10 09:06:45 +01:00
Jonatan Ivanov 820396fdff Add ProcessInfoContributor
This InfoContributor exposes information about
the process of the application.

See gh-38371
2024-01-10 08:45:49 +01:00
Phillip Webb 2d12fa073d Merge branch '3.2.x'
Closes gh-39071
2024-01-09 12:38:24 -08:00
Phillip Webb e5f489f338 Restore manifest support for nested directory jars
Update `NestedJarFile` so that the `getManifest()` method returns the
manifest from the parent jar file for nested jars based on directory
entries.

This restores the previous behavior supported by Spring Boot 3.1 and
allows class methods such as `getPackage().getImplementationVersion()`
to return non `null` results.

Fixes gh-38996
2024-01-09 12:33:10 -08:00
Moritz Halbritter 25614710d5 Fail if superfluous properties are used in property metadata
Closes gh-37597
2024-01-09 13:59:51 +01:00
Moritz Halbritter 970c226847 Polish 2024-01-09 13:59:14 +01:00
Andy Wilkinson bef0ce244e Upgrade to Micrometer Tracing 1.2.2
Closes gh-38979
2024-01-09 12:54:51 +00:00
Andy Wilkinson 1f636adb34 Upgrade to Micrometer 1.12.2
Closes gh-38978
2024-01-09 12:54:50 +00:00
Andy Wilkinson 284dc2070c Upgrade to Micrometer Tracing 1.1.9
Closes gh-38975
2024-01-09 12:52:58 +00:00
Andy Wilkinson c1a147474c Upgrade to Micrometer 1.11.8
Closes gh-38974
2024-01-09 12:52:58 +00:00
Andy Wilkinson c805f6ad0f Revert "Start building against Micrometer Tracing 1.3.0 snapshots"
This reverts commit f31bbbbeaa.

See gh-38985
2024-01-09 12:47:37 +00:00
Andy Wilkinson bfa84f2355 Revert "Start building against Micrometer 1.13.0 snapshots"
This reverts commit 2e7e8cf61a.

See gh-38984
2024-01-09 12:46:34 +00:00
Moritz Halbritter 7120dc07ae Adapt to changes in Brave tagged fields handling
See gh-38724

See gh-37435
2024-01-09 11:37:15 +01:00
adispezo 0ca55bf0a6 Add local and tagged correlation fields
Local fields only work in Brave and not with OpenTelemetry.

Tagged fields work both with Brave and with OpenTelemetry.

See gh-37435
2024-01-09 11:35:40 +01:00
Moritz Halbritter 91d187ca38 Add property for max queue size for Tomcat
Co-authored-by: Ahmed A. Hussein <ahmedhussein411@gmail.com>

Closes gh-36087
2024-01-09 10:38:46 +01:00
Moritz Halbritter 98609e875d Include context path in reactive DefaultErrorAttributes
Closes gh-37269
2024-01-09 09:54:59 +01:00
Moritz Halbritter 2cce123bb5 Add property to control 'path' field inclusion in error responses
By default it is included.

Closes gh-38619
2024-01-09 09:33:00 +01:00
Moritz Halbritter c4be302fdb Auto-configure SpanTagAnnotationHandler
Closes gh-38662
2024-01-09 09:03:51 +01:00
Moritz Halbritter a7d88b69d4 Add RabbitMQ properties to enable observations
Observations can be enabled for the simple, direct and stream listener
and on the RabbitTemplate.

Closes gh-36451
2024-01-08 15:58:13 +01:00
Andy Wilkinson 93a2b1cda0 Remove dependency management for Dropwizard Metrics
Closes gh-39034
2024-01-08 09:43:37 +00:00
Andy Wilkinson c3a5e7695a Polish "Treat null as CloudPlatform.NONE"
See gh-38510
2024-01-05 16:29:10 +00:00
Yanming Zhou 01bb806672 Treat null as CloudPlatform.NONE
See gh-38510
2024-01-05 16:23:39 +00:00