Commit Graph

4454 Commits (root-patch-1)

Author SHA1 Message Date
Andy Wilkinson c486892a9b Fix additional metadata location for spring.webflux.multipart.streaming
Closes gh-37608
1 year ago
Andy Wilkinson 0d2eaa716c Polish "Add config prop for JMS listener's sessionTransacted flag"
See gh-37473
1 year ago
Vedran Pavic 79e2cb3ec1 Add config prop for JMS listener's sessionTransacted flag
This commit introduces `spring.jms.listener.session-transacted` property
in order to enable explicit configuration of `sessionTransacted` on the
`DefaultMessageListenerContainer`.

Prior to this commit, `sessionTransacted` would be configured implicitly
based on presence of `JtaTransactionManager`.

See gh-37473
1 year ago
Andy Wilkinson b7facec4a1 Rename spring.jms.listener.acknowledge-mode
Closes gh-37602
1 year ago
Andy Wilkinson 3adc70fd40 Polish "Add properties for JmsTemplate session's ack mode and transacted flag"
See gh-37500
1 year ago
Vedran Pavic 5ba4e2793d Add properties for JmsTemplate session's ack mode and transacted flag
See gh-37500
1 year ago
Andy Wilkinson b63efd17b8 Merge branch '3.1.x'
Closes gh-37595
1 year ago
Andy Wilkinson 5015327886 Merge branch '3.0.x' into 3.1.x
Closes gh-37594
1 year ago
Andy Wilkinson 6b107530f5 Polish "Use Neo4jManagedTypes to populate the mapping context"
See gh-37574
1 year ago
Michael Simons e0a5de01ca Use Neo4jManagedTypes to populate the mapping context
See gh-37574
1 year ago
Andy Wilkinson ecc670772a Make user details service auto-configs back off more readily
Previously auto-configuration of a user details service (imperative
or reactive) would only back off on the presence of certain beans.
This led to situations where the im-memory service was
auto-configured and the default password was logged even though
another authentication mechanism was in use.

This commit updates the auto-configuration so that it backs off
when depending on Spring Security's OAuth2 Client and OAuth2
Resource Server modules. In the imperative case it will also back
off when depending on the SAML 2 provider.

Closes gh-35338
1 year ago
Andy Wilkinson ab06d10d64 Fix checkpoint-restore with replaced or wrapped HikariDataSource
Closes gh-37580
1 year ago
Andy Wilkinson ee9c74556d Make reactive security back off without authentication manager
If there's no authentication manager bean or no bean from which
one can be created, Spring Security's reactive support may fail to
bootstrap due to a null authentication manager.

This commit causes the auto-configuration that enables WebFlux
security to back off in the absence of an AuthenticationManager bean
and a ReactiveUserDetailsService (from which Spring Security can
create an AuthenticationManager) bean. Other reactive security
auto-configuration that can configure things such that WebFlux security
can be bootstrapped without an AuthenticationManager has been updated
to enable WebFlux security rather than relying on another
auto-configuration class to do so.

Fixes gh-37504
1 year ago
Andy Wilkinson a7666ba8a5 Merge branch '3.1.x'
Closes gh-37554
1 year ago
Andy Wilkinson c838c707d8 Merge branch '3.0.x' into 3.1.x
Closes gh-37553
1 year ago
Andy Wilkinson e2982a3a07 Merge branch '2.7.x' into 3.0.x
Closes gh-37552
1 year ago
Andy Wilkinson feae7be0a1 Polish "Fix handling of JMS listener concurrency properties"
See gh-37180
1 year ago
Vedran Pavic 366607f517 Fix handling of JMS listener concurrency properties
Update JMS listener concurrency configuration to set the same minimum
and maximum number of consumers when users specify only the minimum
using `spring.jms.listener.concurrency` property.

Prior to this commit, when using `spring.jms.listener.concurrency` to
set the minimum number of consumers without also specifying
`spring.jms.listener.max-concurrency` would result in effective
concurrency where the actual minimum number of consumers is always 1,
while the maximum number of consumers is the value of
`spring.jms.listener.concurrency`.

See gh-37180
1 year ago
Vedran Pavic 433bd337f4 Rename JMS listener minimum concurrency property
This commit renames `spring.jms.listener.concurrency` property to
`spring.jms.listener.min-concurrency` in order to better align it with
`spring.jms.listener.max-concurrency`.

See gh-37451
1 year ago
Phillip Webb f55184a998 Update copyright year of changed files 1 year ago
Phillip Webb 2075f6c685 Merge branch '3.1.x' 1 year ago
Phillip Webb 78eb8f90d1 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 9b5062e5bb Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb b83e7b42bb Update copyright year of changed files 1 year ago
Moritz Halbritter cc214aac40 Merge branch '3.1.x'
Closes gh-37483
1 year ago
Moritz Halbritter b2dc52fc74 Merge branch '3.0.x' into 3.1.x
Closes gh-37482
1 year ago
Moritz Halbritter 5ec358099c Merge branch '2.7.x' into 3.0.x
Closes gh-37481
1 year ago
Moritz Halbritter 0ed455b058 Apply SAML2 sign-request even if metadata url is set
Closes gh-33747
1 year ago
Moritz Halbritter 8f52990c45 Merge branch '3.0.x' into 3.1.x
Closes gh-37457
1 year ago
Moritz Halbritter 99473362d8 Merge branch '2.7.x' into 3.0.x
Closes gh-37456
1 year ago
Moritz Halbritter 95690f7327 Fall back to all media types if encountering invalid Accept header
A warn log message is printed, and if log level is set to debug, the
exception stacktrace is logged, too.

Closes gh-37455
1 year ago
Moritz Halbritter bc7414d106 Merge branch '3.1.x' 1 year ago
Moritz Halbritter 7d505dc5b3 Polish JavaDoc 1 year ago
Johnny Lim 8f4ccb0535 Polish
See gh-37393
1 year ago
Moritz Halbritter 73c25d7156 Provide RestClientSsl as a bean
Closes gh-37400
1 year ago
Moritz Halbritter 3b15d46455 Use virtual threads on Spring Data Redis if enabled
Closes gh-35942
1 year ago
Andy Wilkinson 4f6e50b55a Make Spring Pulsar's Caffeine cache provider available to test compile
See gh-34763
1 year ago
Andy Wilkinson c5f7f11a13 Align with repackaging of CaffeineCacheProvider in Spring Pulsar
See gh-34763
1 year ago
Moritz Halbritter 92500720a7 Polish "Introduce configuration property for strict servlet compliance"
See gh-37242
1 year ago
Yanming Zhou 05b87c5fe8 Introduce configuration property for strict servlet compliance
The property is named spring.servlet.multipart.strict-servlet-compliance

See gh-37242
1 year ago
Johnny Lim c2b78830ff Polish
See gh-37340
1 year ago
Mahmoud Ben Hassine 626d858d81 Update Batch tests
Related to: https://github.com/spring-projects/spring-batch/issues/4245

Closes gh-37348
1 year ago
Moritz Halbritter 8a1f6d4f32 Merge branch '3.1.x'
Closes gh-37335
1 year ago
Stephane Nicoll 24eadd70ed Adapt to Spring Framework API change
This commit adapts to API changes in Spring Framework, see
spring-projects/spring-framework#31117

Previously, the "autowired" executable to use for a bean was always
resolved, even if a custom code fragment didn't really need it. This
is key for binding of immutable configuration properties as we use an
instance supplier for it.

This changes means that the workaround added in maintenance releases
can be removed.

See gh-37337
1 year ago
Andy Wilkinson 14a59a33dc Test that GraphQL QueryDSL auto-config backs off without Query DSL
See gh-34974
1 year ago
Moritz Halbritter e2d84fa462 Make SslStoreBundle implementations immutable
Closes gh-37222
1 year ago
Stephane Nicoll 078b399a93 Upgrade to Neo4j Java Driver 5.12.0
Closes gh-37324
1 year ago
Stephane Nicoll 18177451a9 Upgrade to Couchbase Client 3.4.10
Closes gh-37313
1 year ago
Brian Clozel c951c4c212 Polish GraphQL auto-configuration changes
This commit fixes build issues, as the recent changes surfaced an
existing problem: QueryDsl auto-configurations were not guarded by
classpath conditions for QueryDsl Core.

See gh-34974
1 year ago
Andy Wilkinson 4085425f91 Polish "Support unwrapping in ValidatorAdapter"
See gh-37119
1 year ago
Zisis Pavloudis eb6b151c41 Support unwrapping in ValidatorAdapter
See gh-37119
1 year ago
Andy Wilkinson 0242ba8a13 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 7754dd290a Merge branch '3.0.x' into 3.1.x 1 year ago
Andy Wilkinson 994bafdfd9 Merge branch '2.7.x' into 3.0.x 1 year ago
Marten Deinum 5141e5c4ac Fix description of brokerUrl property in ArtemisProperties
Update description to refer to url instead of port.

See gh-37260
1 year ago
Stephane Nicoll 0206c30238 Upgrade to Couchbase Client 3.4.10
Closes gh-37297
1 year ago
Stephane Nicoll a52d7e255b Upgrade to Couchbase Client 3.4.10
Closes gh-37289
1 year ago
Brian Clozel 16940518c1 Polish GraphQL QueryBE and QueryDSL auto-configurations
Closes gh-34974
1 year ago
Brian Clozel 32b65e85ae Add config property for GraphQL Schema Mapping Inspection
This commit adds a new `spring.graphql.schema.inspection.enabled`
property, which is `true` by default.
This property enables the logging at the INFO level of the GraphQL
Schema inspection report.
During startup, Spring for GraphQL will inspect the schema and report
fields and registrations that are unmapped in the application.

Closes gh-36252
1 year ago
dkswnkk 1d7c0108d0 Capitalize order constant in TomcatWebServerFactoryCustomizer
See gh-37211
1 year ago
Andy Wilkinson ed5d16de84 Upgrade to Jetty 12
Closes gh-36073
1 year ago
Phillip Webb d9af7cec14 Merge pull request #37197 from onobc
* pr/37197:
  Polish 'Add Pulsar ConnectionDetails support'
  Add Pulsar ConnectionDetails support

Closes gh-37197
1 year ago
Phillip Webb 750c597225 Polish 'Add Pulsar ConnectionDetails support'
See gh-37197
1 year ago
Chris Bono 089fef0392 Add Pulsar ConnectionDetails support
Add `ConnectionDetails` support for Apache Pulsar and provide adapters
for Docker Compose and Testcontainers.

See gh-37197
1 year ago
Moritz Halbritter d84c81d18f Reduce logging in WelcomePageHandlerMapping on invalid Accept headers
Closes gh-37118
1 year ago
anessi 320dd0e24e Add virtual host support for Rabbit Stream
Add a new property 'spring.rabbitmq.stream.virtual-host' which can be
used to set a custom virtual host for streams.

See gh-37189
1 year ago
Chris Bono 6e7b845bdf Add support for Apache Pulsar
Add support for Apache Pulsar using the Spring for Apache Pulsar
project.

See gh-34763

Co-authored-by: Phillip Webb <pwebb@vmware.com>
1 year ago
Moritz Halbritter 8f78acd548 Merge branch '3.1.x' 1 year ago
Moritz Halbritter 1962f4ecb7 Merge branch '3.0.x' into 3.1.x 1 year ago
Moritz Halbritter a69ff3bd59 Merge branch '2.7.x' into 3.0.x 1 year ago
Moritz Halbritter 76e51bc92f Only enable needed Couchbase services in integration tests 1 year ago
Andy Wilkinson 41f66fa7ec Merge branch '3.1.x'
Closes gh-37159
1 year ago
Andy Wilkinson c7063af63a Merge branch '3.0.x' into 3.1.x
Closes gh-37158
1 year ago
Andy Wilkinson 67e1ee5dcf Fix ordering of Jetty's WebSocketUpgradeFilter
Closes gh-37115
1 year ago
Moritz Halbritter f1f4e9c008 Implement RestClientBuilderConfigurer
Closes gh-36265
1 year ago
Johnny Lim 30eacd553d Add Javadoc since for new setTaskExecutor method
See gh-37117
1 year ago
Stephane Nicoll 19df3934c6 Upgrade to Flyway 9.21.2
Closes gh-37076
1 year ago
Stephane Nicoll 0f20fc2bbe Merge branch '3.1.x' 1 year ago
Stephane Nicoll 10873b0e7c Merge branch '3.0.x' into 3.1.x 1 year ago
Stephane Nicoll e8d329d99f Polish 1 year ago
Moritz Halbritter 450cd712c9 Merge branch '3.1.x'
Closes gh-37016
1 year ago
Moritz Halbritter a6b63d285c Merge branch '3.0.x' into 3.1.x
Closes gh-37015
1 year ago
Moritz Halbritter d3816651ce Merge branch '2.7.x' into 3.0.x
Closes gh-37014
1 year ago
Moritz Halbritter dc62e5fbc3 Polish "Set max request header size on Netty when using HTTP/2"
See gh-36766
1 year ago
Nerses Aznauryan ee5b23bb02 Set max request header size on Netty when using HTTP/2
Fix an issue that server.max-http-request-header-size doesn't have an
effect on Netty server with http2 enabled.

See gh-36766
1 year ago
Stephane Nicoll 37467c79d0 Polish "Reuse JOOQ helper to determine the dialect to use"
See gh-36991
1 year ago
Ramil Sayetov 36b5500ad0 Reuse JOOQ helper to determine the dialect to use
See gh-36991
1 year ago
Scott Frederick 73874911ad Adapt to changes in Spring Data snapshots
See gh-36680
1 year ago
Stephane Nicoll 85b4362ec6 Adapt to change in Spring Framework snapshots 1 year ago
Phillip Webb 2ef2529c93 Refine Flyway extension mapping
Change `ConfigurationExtensionMapper` to a helper class that can
create a `Consumer` to use with the `PropertyMapper`.

See gh-36364
1 year ago
Phillip Webb 8edec21a6f Update copyright year of changed files 1 year ago
Phillip Webb 407fa780c8 Polish 1 year ago
Phillip Webb d73d8f8e4f Merge branch '3.1.x' 1 year ago
Phillip Webb 155300525e Polish 1 year ago
Phillip Webb 848a61a3a8 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 9805723415 Update copyright year of changed files 1 year ago
Phillip Webb a0089c5c76 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb 46773dd5df Update copyright year of changed files 1 year ago
Phillip Webb 527b2f2cac Polish 1 year ago
Andy Wilkinson b581ab0d3a Upgrade to Flyway 9.21.1
Closes gh-36887
1 year ago