Commit Graph

3108 Commits (0297437fc5cd6d8c3a4f312fb26f365c5a845edd)

Author SHA1 Message Date
Andy Wilkinson 23197c34c7 Merge branch '2.4.x' into 2.5.x
Closes gh-28606
3 years ago
Andy Wilkinson c018788846 Test JTA auto-configured from JNDI
Closes gh-28594
3 years ago
Andy Wilkinson ceacb1533a Merge branch '2.5.x' 3 years ago
Andy Wilkinson b5653ad551 Merge branch '2.4.x' into 2.5.x 3 years ago
Andy Wilkinson f3b5e6bb3e Adapt to removal of static resource location filtering
See gh-28506
3 years ago
Stephane Nicoll 629e1d3ac5 Upgrade to Flyway 8.0.3
Closes gh-28572
3 years ago
Stephane Nicoll bf88405121 Flag BeanDefinitionRegistryPostProcessor beans with role infrastructure
Closes gh-28540
3 years ago
Stephane Nicoll 11a5055b8f Merge branch '2.5.x' 3 years ago
Stephane Nicoll cd5508a679 Polish 3 years ago
Stephane Nicoll 98b9e1ab21 Start building against Spring Framework 5.3.13 snapshots
See gh-28515
3 years ago
izeye 5d8dce70dc Polish
See gh-28494
3 years ago
Andy Wilkinson ef2bcdd3ed Merge branch '2.5.x'
Closes gh-28483
3 years ago
Andy Wilkinson 07ed7ab944 Merge branch '2.4.x' into 2.5.x
Closes gh-28482
3 years ago
Andy Wilkinson 2462f67be4 Align test for spring.data.mongodb.autoIndexCreation with new default
Closes gh-28481
3 years ago
Andy Wilkinson c9dd6b7e86 Merge branch '2.5.x'
Closes gh-28480
3 years ago
Andy Wilkinson ae93bb3a11 Merge branch '2.4.x' into 2.5.x
Closes gh-28479
3 years ago
Andy Wilkinson 10f0017d69 Fix method validation in child contexts
Bean post-processors only apply to the context in which they're
registered. ValidationAutoConfiguration will only auto-configure the
MethodValidationPostProcessor if the post-processor is missing from
the current context and any of its ancestors. If an ancestor context
contains the post-processor it will not be auto-configured and the
descendant context will not have method validation configured.

This commit updates the auto-configuration to limit the search for
an existing MethodValidationPostProcessor bean to the current
context.

Fixes gh-27890
3 years ago
Stephane Nicoll 9241f228d5 Add .gitattributes
Closes gh-28474
3 years ago
Stephane Nicoll 66553ac8c7 Add .gitattributes
Closes gh-28473
3 years ago
Stephane Nicoll 1b3f52d609 Harmonize line endings
See gh-27615
3 years ago
Stephane Nicoll 837e2ac277 Fix bean type visibility
Closes gh-28437
3 years ago
Andy Wilkinson 3605388787 Merge branch '2.5.x'
Closes gh-28440
3 years ago
Andy Wilkinson 50d4eaad63 Merge branch '2.4.x' into 2.5.x
Closes gh-28439
3 years ago
Andy Wilkinson a545b6e0b4 Polish "Polish"
See gh-28367
3 years ago
Leo Li 1586232761 Polish
See gh-28367
3 years ago
Andy Wilkinson 47da70632f Merge branch '2.5.x'
Closes gh-28430
Closes gh-28431
3 years ago
Andy Wilkinson 585b8880c7 Merge branch '2.4.x' into 2.5.x
Closes gh-28424
3 years ago
Andy Wilkinson 7f976dab9e Polish "Don't use markdown syntax in javadoc or error messages"
See 2f6651c3cb.

Closes gh-28408
3 years ago
Phillip Webb e25f216eab Merge branch '2.5.x'
Closes gh-28425
3 years ago
Phillip Webb daf36dff55 Merge branch '2.4.x' into 2.5.x
Closes gh-28424
3 years ago
Phillip Webb 2f6651c3cb Don't use markdown syntax in javadoc or error messages
Closes gh-28408
3 years ago
Andy Wilkinson 2541c0cbdc Disable on Windows tests that use embedded Kafka
Closes gh-28406
3 years ago
Phillip Webb 1ad39b5fce Fix ReactiveSessionAutoConfigurationRedisTests
See gh-26714
3 years ago
Phillip Webb cf9156e497 Add SameSite cookie support for servlet web servers
Update Tomcat, Jetty and Undertow `ServletWebServerFactory`
implementations so that they can write SameSite cookie attributes.

The session cookie will be customized whenever the
`server.servlet.session.cookie.same-site` property is set.

Other cookies can be customized with the new `CookieSameSiteSupplier`
interface which can be registered using `@Bean` methods.

Closes gh-20971

Co-authored-by Andy Wilkinson <wilkinsona@vmware.com>
3 years ago
Phillip Webb b72ff25220 Relocate and unify reactive cookie properties
Relocate the recently introduced `spring.webflux.session` properties
to `server.reactive.session` and create a unified `Cookie` properties
class.

Reactive session properties now mirror the existing
`server.servlet.session` properties and better reflect the fact that
they are related to the server and not just for WebFlux.

See gh-26714
3 years ago
Phillip Webb 3c71637fa2 Polish 'Add more session properties for reactive web servers'
See gh-26714
3 years ago
weixsun a2a802a14a Add more session properties for reactive web servers
Expand the session properties supported by reactive web servers to
include `timeout` support and additional `cookie` properties.

See gh-26714
3 years ago
Madhura Bhave ea65c28bfa Polish 3 years ago
Madhura Bhave 07aeb2156d Merge pull request #28123 from timtebeek
* pr/28123:
  Polish "Support PEM format for Kafka SSL certs and private key"
  Support PEM format for Kafka SSL certs and private key

Closes gh-28123
3 years ago
Madhura Bhave 0d06a2854d Polish "Support PEM format for Kafka SSL certs and private key"
See gh-28123
3 years ago
Tim te Beek 7a98364a23 Support PEM format for Kafka SSL certs and private key
See gh-28123
3 years ago
Andy Wilkinson f2b3f1f41f Make URL- and property-based pooling config mutually exclusive
Closes gh-28144
3 years ago
Andy Wilkinson 9d6a0cfd24 Starting building against Spring Framework 5.3.12 snapshots
This reverts commit 3969e63ced, reversing
changes made to f01d086a8d.

Closes gh-28385
See gh-28252
3 years ago
Andy Wilkinson f2ef8f9245 Start building against Spring Framework 5.3.12 snapshots
This reverts commit 196013fc39, reversing
changes made to 8b0c563832.

Closes gh-28384
See gh-28241
3 years ago
Andy Wilkinson 971bdd36fe Start building against Framework 5.3.12 snapshots
This reverts commit b32a38a814.

See gh-28223
Closes gh-28369
3 years ago
Andy Wilkinson 9b77151caa Polish "Make UserDetailsService back off with AuthManagerResolver bean"
See gh-28361
3 years ago
Bartosz Jaszczak 31cdfd524e Make UserDetailsService back off with AuthManagerResolver bean
See gh-28361
3 years ago
Andy Wilkinson a27dfcb9b0 Make R2DBC auto-config back off without a connection provider
Closes gh-26439
3 years ago
Andy Wilkinson 2af2a02fbb Merge branch '2.5.x'
Closes gh-28380
3 years ago
Andy Wilkinson c8e0791b50 Merge branch '2.4.x' into 2.5.x
Closes gh-28379
3 years ago
Andy Wilkinson 5fe75f3d58 Improve diagnostics when no DSLContext due to R2DBC
Fixes gh-28378
3 years ago
Andy Wilkinson 657eb86dad Polish "Add a config prop to enable/disable SI's default logging"
See gh-28355
3 years ago
Artem Bilan c6891c5184 Add a config prop to enable/disable SI's default logging
See gh-28355
3 years ago
Andy Wilkinson 3969e63ced Merge branch '2.5.x'
See gh-28252
3 years ago
Andy Wilkinson 196013fc39 Merge branch '2.4.x' into 2.5.x
See gh-28241
3 years ago
Andy Wilkinson b32a38a814 Work around unwanted static resource warnings from WebFlux and MVC
See gh-28223
3 years ago
Stephane Nicoll 0b32215c13 Polish "Log URLs for all DataSources"
See gh-28204
3 years ago
StitzL f31b8ec226 Log URLs for all DataSources
This commit logs the path of the H2 console, followed by the
comma-separated ordered URLs of each data source that offers a
connection.

See gh-28204
3 years ago
Phillip Webb 2034ad4827 Merge branch '2.5.x' 3 years ago
Phillip Webb 02b577390f Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb 0561992c2a Update copyright year of changed files 3 years ago
Phillip Webb 9abf9e6731 Modify more tests for static resource location filtering
Fix `WebFluxAutoConfigurationTests` following upstream Spring Framework
changes. Also refine `WebMvcAutoConfigurationTests` to check the locations
are set even if they are filtered.

See gh-28223
3 years ago
Andy Wilkinson b0dfca7d92 Configure Flyway with spring.flyway.script-placeholder-suffix
Fixes gh-28307
3 years ago
Andy Wilkinson 84b553a8ca Upgrade to Jackson Bom 2.13.0
Closes gh-28298
3 years ago
Andy Wilkinson 509427b671 Upgrade to Flyway 8.0.0
Closes gh-28296
3 years ago
Stephane Nicoll e978654c88 Polish "Fix Integration `fixedRate` property setting"
See gh-28237
3 years ago
Artem Bilan 769b5039b6 Fix Integration `fixedRate` property setting
The `spring.integration.poller.fixed-rate` property must be set to the
constructor of the `PeriodicTrigger` and its `fixedRate` flag should be
set to `true`. The current code-base has it exactly opposite: the flag
is set to `true` when `fixed-delay` is provided.

* Fix `IntegrationAutoConfiguration.asTrigger()` method for the proper
`fixedRate` setting logic.
* Cover the change with a new test-case
* Add a message handling verification to the `defaultPoller()` test to
be sure that poller auto-configuration works as it is claimed.

See gh-28237
3 years ago
Scott Frederick 3c9354305a Merge branch '2.5.x'
Closes gh-28305
3 years ago
Scott Frederick f427ea5802 Merge branch '2.4.x' into 2.5.x
Closes gh-28304
3 years ago
Scott Frederick 3d21ac7a20 Add required id field to Spring Data Neo4j test class
Fixes gh-28303
3 years ago
Scott Frederick a74b911870 Merge branch '2.5.x' 3 years ago
Scott Frederick 3755c563df Merge branch '2.4.x' into 2.5.x 3 years ago
Scott Frederick 3c6e061917 Remove unused import
See gh-28223
3 years ago
Scott Frederick 604b4a004d Merge branch '2.5.x' 3 years ago
Scott Frederick ec6bfa8062 Merge branch '2.4.x' into 2.5.x 3 years ago
Scott Frederick 207b76c39e Modify tests to expect filtering of static resource locations
Spring Framework will filter non-existent locations from any configured
static resource handlers starting with 5.3.11. Tests that verify
static resource locations should account for this change.

See gh-28223
3 years ago
Madhura Bhave e571894903 Merge pull request #28169 from Pooja199
* pr/28169:
  Auto-configure JwtSupplierDecoder to defer OIDC lookup

Closes gh-28169
3 years ago
Anjee 4e9f536a8e Auto-configure JwtSupplierDecoder to defer OIDC lookup
See gh-28169
3 years ago
Andy Wilkinson 1a505964ee Merge branch '2.5.x'
Closes gh-28207
3 years ago
Andy Wilkinson 1931104d13 Merge branch '2.4.x' into 2.5.x
Closes gh-28206
3 years ago
Andy Wilkinson 9c9fbf400e Upgrade to Spring Java Format 0.0.29
Closes gh-28205
3 years ago
Andy Wilkinson bddfe9ef6e Merge branch '2.5.x'
See gh-28135
3 years ago
Andy Wilkinson d238566920 Merge branch '2.4.x' into 2.5.x
See gh-28134
3 years ago
Andy Wilkinson a73293350a Fix parsing of portless IPv6 spring.rabbitmq.addresses
Closes gh-28133
3 years ago
Stephane Nicoll 14fc0f78b2 Polish "Stop considering persistent when scanning for Couchbase entities"
See gh-28124
3 years ago
Dąbrowski 067b349fb1 Stop considering persistent when scanning for Couchbase entities
See gh-28124
3 years ago
Phillip Webb ca69c8b98c Merge branch '2.5.x'
Closes gh-28135
3 years ago
Phillip Webb fcb6f557f7 Merge branch '2.4.x' into 2.5.x
Closes gh-28134
3 years ago
Phillip Webb 01a39aaf6a Support IPv6 addresses in spring.rabbitmq.addresses
Refine parsing logic in `RabbitProperties` so that IPv6 addresses can
be used.

Fixes gh-28133
3 years ago
Andy Wilkinson ab95c2fa3b Polish descriptions of spring.integration.poller properties
Closes gh-28126
3 years ago
Andy Wilkinson 3274e24d55 Polish "Add Spring Integration default poller auto-config"
See gh-27992

Co-authored-by: Phillip Webb <pwebb@vmware.com>
3 years ago
Artem Bilan b2d1423e34 Add Spring Integration default poller auto-config
When polling consumers or source polling channel adapters are used in
Spring Integration applications, they require some polling policy to
be configured.

This comment auto-configures a PollerMetadata bean which customized
via newly added `spring.integration.poller.*` configuration
properties or overriden completely be user-defined bean.

See gh-27992
3 years ago
Andy Wilkinson 342c749784 Polish 3 years ago
Andy Wilkinson 4fa61cbc60 Merge branch '2.5.x' 3 years ago
Andy Wilkinson 2ba593328f Order detector for AbstractDataSourceInitializers
Previously, the detector for AbstractDataSourceInitializers used the
default detector order. This resulted in the initializers detected
initializers running before Flyway. Constrastingly, the detector for
DataSourceScriptDatabaseInitializers uses a custom order so its
detected initializers would run after Flyway.

This commit aligns the order of the detector for
AbstractDataSourceInitializers with the order of the detector for
DataSourceScriptDatabaseInitializers. This ensures that script-based
initialization runs in the same order with respect to Flyway,
irrespective of which initializer implementation is driving it.

Fixes gh-28079
3 years ago
Stephane Nicoll 233b63199c Polish "Clarify pooling is implicitly enabled in Sentinel mode"
See gh-27891
3 years ago
weixsun d39b7cc46d Clarify pooling is implicitly enabled in Sentinel mode
See gh-27891
3 years ago
Phillip Webb 667e5ca30c Polish 3 years ago
Phillip Webb 55a1ec72cc Update copyright year of changed files 3 years ago
Stephane Nicoll e0465f7357 Use RootBeanDefinition consistently
Closes gh-28077
3 years ago