Commit Graph

22927 Commits

Author SHA1 Message Date
Andy Wilkinson b899e71cb3 Upgrade to Hibernate 6.2.12.Final
Closes gh-37761
2023-10-09 10:44:42 +01:00
Andy Wilkinson 8dc6ceb9bf Upgrade to Dropwizard Metrics 4.2.20
Closes gh-37760
2023-10-09 10:44:37 +01:00
Andy Wilkinson 77428cf1d1 Upgrade to Couchbase Client 3.4.11
Closes gh-37759
2023-10-09 10:44:32 +01:00
Andy Wilkinson f2f26a4ca4 Upgrade to UnboundID LDAPSDK 6.0.10
Closes gh-37758
2023-10-09 10:06:08 +01:00
Andy Wilkinson 6f787cdce5 Upgrade to RxJava3 3.1.8
Closes gh-37757
2023-10-09 10:06:03 +01:00
Andy Wilkinson 1d3b093f24 Upgrade to Netty 4.1.99.Final
Closes gh-37756
2023-10-09 10:05:58 +01:00
Andy Wilkinson 22df3b539d Upgrade to Dropwizard Metrics 4.2.20
Closes gh-37755
2023-10-09 10:05:53 +01:00
Andy Wilkinson 55d7573795 Upgrade to Couchbase Client 3.4.11
Closes gh-37754
2023-10-09 10:05:48 +01:00
Andy Wilkinson 657656e814 Upgrade to UnboundID LDAPSDK 6.0.10
Closes gh-37753
2023-10-09 09:46:32 +01:00
Andy Wilkinson 21a997af1d Upgrade to Netty 4.1.99.Final
Closes gh-37752
2023-10-09 09:46:27 +01:00
Andy Wilkinson e24369e062 Upgrade to Dropwizard Metrics 4.2.20
Closes gh-37751
2023-10-09 09:46:23 +01:00
Phillip Webb 9e4f160c17 Attempt to fix NestedJarFile file lock issues on Windows
Update `DefaultCleanerTracking` and `@AssertFileChannelDataBlocksClosed`
to capture and store the source object if it is a `Cleanable` so that
it can be released later.

Although the real cleaner cannot keep a reference to `obj`, it is safe
for us to do so in tests since we are in control of the object lifecycle
and we don't need it to be garbage collected.

This commit also updates the `UrlJarFile` to call the cleaner so that
it can be tracked.

See gh-37668
2023-10-06 23:44:55 -07:00
Phillip Webb 5da31aca46 Attempt to fix NestedJarFile file lock issues on Windows
Update `NestedJarFile.close()` to call `super.close()` so that the outer
jar file is closed and files can hopefully be deleted on Windows.

See gh-37668
2023-10-06 21:47:55 -07:00
Jonatan Ivanov 346db8e795 Add auto-configuration for SpanAspect
See gh-37640
2023-10-05 11:26:21 +02:00
Simon Verhoeven d0cadd9c4a Add reference to the new RestClient class in documentation
See gh-37726
2023-10-05 11:22:44 +02:00
Moritz Halbritter fbec06a134 Support new CSP auth method for Wavefront
Closes gh-37165
2023-10-05 10:44:19 +02:00
Moritz Halbritter 0a16ec17e9 Add property to enable key verification on PEM SSL bundles
Closes gh-37727
2023-10-05 09:49:49 +02:00
Andy Wilkinson ee00014dfe Start building against Spring Session 3.2.0 snapshots
See gh-37716
2023-10-04 12:05:37 +01:00
Andy Wilkinson 4e21896b0d Start building against Spring Security 6.2.0 snapshots
See gh-37715
2023-10-04 12:05:37 +01:00
Andy Wilkinson 5f7bdfc356 Start building against Spring Retry 2.0.4 snapshots
See gh-37714
2023-10-04 12:05:36 +01:00
Andy Wilkinson 26b889f31a Start building against Spring LDAP 3.2.0 snapshots
See gh-37713
2023-10-04 12:05:36 +01:00
Andy Wilkinson cccd8bfea3 Start building against Spring Kafka 3.1.0 snapshots
See gh-37712
2023-10-04 12:05:36 +01:00
Andy Wilkinson c45bda4c48 Start building against Spring Integration 6.2.0 snapshots
See gh-37711
2023-10-04 12:05:36 +01:00
Andy Wilkinson a4f6b15ffb Start building against Spring Data Bom 2023.1.0 snapshots
See gh-37709
2023-10-04 12:05:35 +01:00
Andy Wilkinson 1ce75cd1a9 Start building against Spring Batch 5.1.0 snapshots
See gh-37708
2023-10-04 12:05:35 +01:00
Andy Wilkinson 429bdb266a Start building against Spring Authorization Server 1.2.0 snapshots
See gh-37707
2023-10-04 12:05:35 +01:00
Andy Wilkinson f7c3fe165d Start building against Spring AMQP 3.1.0 snapshots
See gh-37706
2023-10-04 12:05:34 +01:00
Andy Wilkinson 77e1d8fa20 Start building against Reactor Bom 2023.0.0 snapshots
See gh-37705
2023-10-04 12:05:34 +01:00
Andy Wilkinson a630baf32a Start building against Micrometer Tracing 1.2.0 snapshots
See gh-37704
2023-10-04 12:05:34 +01:00
Andy Wilkinson 993ac9c16f Start building against Micrometer 1.12.0 snapshots
See gh-37703
2023-10-04 10:24:51 +01:00
Andy Wilkinson d3ec9e36d7 Start building against Spring Session 3.1.3 snapshots
See gh-37702
2023-10-04 10:00:20 +01:00
Andy Wilkinson 16724c09d4 Start building against Spring Security 6.1.5 snapshots
See gh-37701
2023-10-04 10:00:20 +01:00
Andy Wilkinson 538c1cc56b Start building against Spring Retry 2.0.4 snapshots
See gh-37700
2023-10-04 10:00:19 +01:00
Andy Wilkinson 8b64bf1876 Start building against Spring LDAP 3.1.2 snapshots
See gh-37699
2023-10-04 10:00:19 +01:00
Andy Wilkinson 7daeb88158 Start building against Spring Data Bom 2023.0.5 snapshots
See gh-37698
2023-10-04 10:00:19 +01:00
Andy Wilkinson a741a16633 Start building against Spring Authorization Server 1.1.3 snapshots
See gh-37697
2023-10-04 10:00:18 +01:00
Andy Wilkinson 54bf5fd746 Start building against Spring AMQP 3.0.10 snapshots
See gh-37696
2023-10-04 10:00:18 +01:00
Andy Wilkinson 2ef98fd19a Start building against Reactor Bom 2022.0.12 snapshots
See gh-37695
2023-10-04 10:00:18 +01:00
Andy Wilkinson d59ea2f038 Start building against Micrometer Tracing 1.1.6 snapshots
See gh-37694
2023-10-04 10:00:18 +01:00
Moritz Halbritter fc9c1c0964 Fix ordering related issue in ReactorAutoConfigurationTests
See gh-34201
2023-10-04 11:00:02 +02:00
Andy Wilkinson 452d441775 Start building against Micrometer 1.11.5 snapshots
See gh-37693
2023-10-04 09:55:35 +01:00
Andy Wilkinson c06424f00a Start building against Spring Session 3.0.4 snapshots
See gh-37686
2023-10-04 09:52:50 +01:00
Andy Wilkinson 208f69b661 Start building against Spring Security 6.0.8 snapshots
See gh-37685
2023-10-04 09:52:50 +01:00
Andy Wilkinson 95e70c11d4 Start building against Spring Retry 2.0.4 snapshots
See gh-37684
2023-10-04 09:52:50 +01:00
Andy Wilkinson 150cb5bdb6 Start building against Spring LDAP 3.0.6 snapshots
See gh-37683
2023-10-04 09:52:50 +01:00
Andy Wilkinson 29ab800cba Start building against Spring Data Bom 2022.0.11 snapshots
See gh-37682
2023-10-04 09:52:49 +01:00
Andy Wilkinson c72024de9f Start building against Spring AMQP 3.0.10 snapshots
See gh-37681
2023-10-04 09:52:49 +01:00
Andy Wilkinson f1af6ff469 Start building against Reactor Bom 2022.0.12 snapshots
See gh-37680
2023-10-04 09:52:49 +01:00
Andy Wilkinson 7907358875 Start building against Micrometer Tracing 1.0.11 snapshots
See gh-37679
2023-10-04 09:52:49 +01:00
Andy Wilkinson ec57eb3879 Start building against Micrometer 1.10.12 snapshots
See gh-37678
2023-10-04 09:52:48 +01:00
Moritz Halbritter 51d549964a Merge branch '3.1.x'
Closes gh-37692
2023-10-04 10:49:32 +02:00
Moritz Halbritter a416f93eec Merge branch '3.0.x' into 3.1.x
Closes gh-37691
2023-10-04 10:49:24 +02:00
Moritz Halbritter b742bced31 Merge branch '2.7.x' into 3.0.x
Closes gh-37690
2023-10-04 10:49:10 +02:00
Moritz Halbritter 63fccf43dc Polish "Remove link to LiveReload website due to timeout"
See gh-37643
2023-10-04 10:46:40 +02:00
Jonny Coddington 88bbab374d Remove link to LiveReload website due to timeout
See gh-37643
2023-10-04 10:44:14 +02:00
Moritz Halbritter 5b129ceb09 Switch reactor context propagation from auto to limited
- Polish
- Fix @since tags
- Add a test case
- Update context-propagation version

Closes gh-34201
2023-10-04 09:37:45 +02:00
Andy Wilkinson da319841b8 Start building against Spring Data Bom 2021.2.17 snapshots
See gh-37677
2023-10-04 08:29:43 +01:00
Andy Wilkinson 21661c6a1a Start building against Spring AMQP 2.4.17 snapshots
See gh-37676
2023-10-04 08:29:37 +01:00
Andy Wilkinson 026bc31c3e Start building against Reactor Bom 2020.0.37 snapshots
See gh-37675
2023-10-04 08:29:32 +01:00
Andy Wilkinson 21a618a6c4 Start building against Micrometer 1.9.16 snapshots
See gh-37674
2023-10-04 08:29:27 +01:00
Moritz Halbritter 30f29dead8 Revert "Temporarily remove auto-config for Reactor context propagation"
This reverts commit 88de3cc089.

See gh-34201
2023-10-04 09:12:27 +02:00
Phillip Webb 1f5472387d Fix formatting 2023-10-03 20:41:48 -07:00
Phillip Webb 42f50fa292 Attempt to fix CI failures
Attempt to fix CI failures caused by timezone differences and different
JDK versions.

See gh-37668
2023-10-03 20:29:33 -07:00
Phillip Webb 560527945b Add background preinitializers for Tomcat and JDK ZoneId
Closes gh-37670
2023-10-03 17:28:44 -07:00
Phillip Webb fd9b2b114e Improve Tomcat performance when using nested jars
Add `NestedJarResourceSet` which can be used for nested jar URLs
and unlike the standard Tomcat implementation does not assume that
the JAR is backed by a single file.

Closes gh-37452
2023-10-03 17:27:57 -07:00
Phillip Webb 7ad4a9817d Rewrite nested jar support code and remove Java 8 support
Rewrite nested jar code to better align with the implementations
provided in Java 17. This update makes two fundamental changes to
the previous implementation:

- Resource cleanup is now handled using the `java.lang.ref.Cleaner`

- Jar URLs now use the form `jar:nested:/my.jar/!nested.jar!/entry`

Unlike the previous `jar🫙/my,jar!/nested.jar!/entry` URL format,
the new format is compatible with Java's default Jar URL handler.
Specifically, it now only uses a single `jar:` prefix and it no longer
includes multiple `!/` separators.

In addition to the changes above, many of the ancillary classes have
also been refactored and updated to create cleaner APIs.

Closes gh-37668
2023-10-03 17:27:57 -07:00
Phillip Webb 75ddb9fa47 Fix test failure caused by PropertiesLoader class reference
See gh-37667
2023-10-03 17:27:39 -07:00
Phillip Webb 55b5610dd9 Add Maven and Gradle option for the loader implementation to use
Add properties to the Maven and Gradle plugins so that users can
switch between the two loader modules.

See gh-37669
2023-10-03 15:40:42 -07:00
Phillip Webb a89057b7c7 Reintroduce spring-boot-loader modules
Restore the `spring-boot-loader` with the previous loader code so
that we can develop it further.

See gh-37669
2023-10-03 15:40:25 -07:00
Phillip Webb aeb6537f57 Rename spring-boot-loader to spring-boot-loader-classic
Rename the `spring-boot-loader` module to `spring-boot-loader-classic`
so that we can introduce an alternative loader implementation.

See gh-37669
2023-10-03 15:40:04 -07:00
Phillip Webb c22548982a Relocate launcher classes
Create alternative launcher classes under the package
`org.springframework.boot.loader.launch` and use them in favor
of the previous location.

This update is designed to improve compatibility with future
changes in the loader.

Closes gh-37667
2023-10-03 14:53:04 -07:00
Scott Frederick f947bad3f7 Merge branch '3.1.x'
Closes gh-37666
2023-10-03 13:18:32 -05:00
Ivo Smid f2a4336ea1 Increase the socket timeout for remote connections to Docker daemon
The default socket timeout with HttpClient 5 is not long enough
in some cases where Docker images are built that require the
GraalVM native image compiler to run in a buildpack. This commit
increases the timeout to 30 minutes.

Fixes gh-37665

Co-authored-by: Scott Frederick <sfrederick@vmware.com>"
2023-10-03 11:52:48 -05:00
Andy Wilkinson 12108e58e9 Merge branch '3.1.x'
Closes gh-37664
2023-10-03 16:47:11 +01:00
Andy Wilkinson 8cf686d925 Merge branch '3.0.x' into 3.1.x
Closes gh-37663
2023-10-03 16:27:19 +01:00
Andy Wilkinson 6353603d63 Avoid exposing Jetty's WebSocketUpgradeFilter as a bean
When the filter is exposed as a bean (directly or through a
registration bean), it's picked up by the auto-configuration of
MockMvc. This causes a problem as MockMvc does not call init on a
filter before it's used and WebSocketUpgradeFilter fails with a
NullPointerException if its doFilter method is called when its init
method has not been called.

This commit reworks the WebSocket auto-configuration to use a
ServletContextInitalizer to register WebSocketUpgradeFilter rather
than a FilterRegistrationBean. This ensure that the filter is still
registered at the required position in the chain (last filter before
the servlet) while also preventing it from being registered with the
auto-configured MockMvc in tests.

Closes gh-37660
2023-10-03 16:13:24 +01:00
Andy Wilkinson 7d40a45b50 Merge branch '3.1.x'
Closes gh-37662
2023-10-03 11:21:29 +01:00
Andy Wilkinson a4100e12ff Merge branch '3.0.x' into 3.1.x
Closes gh-37661
2023-10-03 11:05:51 +01:00
Andy Wilkinson 931584f8af Merge branch '2.7.x' into 3.0.x
Closes gh-37659
2023-10-03 10:28:51 +01:00
Johnny Lim c9932bb73a Use AssertJ's fail, not JUnit's
This commit also updates Checkstyle to prevent use of JUnit's
assertions from being reintroduced.

See gh-37655
2023-10-03 10:11:12 +01:00
Phillip Webb 3d6859e80f Use the term "uber jar" in reference documentation and javadoc
Update reference documentation and javadoc to use the term "uber jar"
rather than "fat jar".

Closes gh-37653
2023-10-02 23:01:34 -07:00
Phillip Webb 932355adbf Polish adoc formatting 2023-10-02 21:18:26 -07:00
Jonatan Ivanov a454712dea Add auto-configuration for CountedAspect and TimedAspect
See gh-37626
2023-10-02 10:19:59 +02:00
Andy Wilkinson 4493958f13 Improve conditions for enabling WebFlux security
This commit correct a mistake where AuthenticationManager was used
instead of ReactiveAuthenticationManager. It also expands the
conditions so that WebFlux security will be enabled when the user
has defined their own SecurityWebFilterChain. In such a situation
no other security-related beans may be needed to use WebFlux
security as things may have been configured directly using the DSL.

Closes gh-37504
2023-09-30 09:06:00 +01:00
Scott Frederick ff99de49c4 Configure a RestClient.Builder with RestClientTest
This commit adds support for configuring a `RestClient.Builder` and
`MockRestServiceServer` support for the `RestClient` when using
`@RestClientTest` sliced tests.

Closes gh-37033
2023-09-29 15:07:38 -05:00
Andy Wilkinson d725914cd5 Merge branch '3.1.x'
Closes gh-37636
2023-09-29 18:36:25 +01:00
Andy Wilkinson 1e4deed8ce Merge branch '3.0.x' into 3.1.x
Closes gh-37635
2023-09-29 18:36:09 +01:00
Andy Wilkinson 458418be29 Automatically register reflection hints for scanned WebListeners
Closes gh-36008
2023-09-29 18:09:36 +01:00
Andy Wilkinson 426e31695f Merge branch '3.1.x' 2023-09-29 15:14:32 +01:00
Andy Wilkinson 385e6278b7 Merge branch '3.0.x' into 3.1.x 2023-09-29 15:14:17 +01:00
Andy Wilkinson 26b9602596 Merge branch '2.7.x' into 3.0.x 2023-09-29 15:14:09 +01:00
Andy Wilkinson 0205b875a0 Polish 2023-09-29 15:13:58 +01:00
Andy Wilkinson 76eb5ba8c2 Merge branch '3.1.x'
Closes gh-37633
2023-09-29 15:02:19 +01:00
Andy Wilkinson c4bccb2429 Merge branch '3.0.x' into 3.1.x
Closes gh-37632
2023-09-29 14:59:06 +01:00
Andy Wilkinson 04054b6670 Merge branch '2.7.x' into 3.0.x
Closes gh-37631
2023-09-29 14:58:52 +01:00
Andy Wilkinson bfd1a29e53 Exclude AbstractTransactionAspect from lazy init
Fixes gh-37506
2023-09-29 14:16:27 +01:00
Andy Wilkinson 3e9a1cc1f8 Add Awaitility to spring-boot-starter-test
Closes gh-37195
2023-09-29 11:50:05 +01:00
Andy Wilkinson 6d3594db49 Add execution listeners to auto-configured transaction managers
Closes gh-36770
2023-09-29 09:54:04 +01:00
Andy Wilkinson 1a22415c01 Expand customization to any type of TransactionManager
Closes gh-37628
2023-09-29 09:54:03 +01:00
Andy Wilkinson 96986a6b51 Break cycle between TransactionManagerCustomizers and TransactionManager
Closes gh-36801
2023-09-29 09:53:34 +01:00
Moritz Halbritter 72a4e1ebae Honor timeout in ZipkinWebClientSender
Unfortunately there's no good way to configure connect and read timeout
separately, which works for all supported reactive clients. This
implementation applies a timeout through Reactor's timeout method. The
timeout from the properties is summed together and this is the applied
timeout. While not perfect, this is better than no timeout at all.

Closes gh-31496
2023-09-29 10:05:29 +02:00
Scott Frederick 619a0f3b35 Merge branch '3.1.x'
Closes gh-37624
2023-09-28 16:32:45 -05:00
JinseongHwang 0b703f9007 Use consistent capitalization in MySQL and MariaDB test names
See gh-37497
2023-09-28 16:28:32 -05:00
Scott Frederick 228041666b Merge branch '3.1.x'
Closes gh-37622
2023-09-28 16:11:31 -05:00
Scott Frederick fad43adf14 Polish "Support IPv6 addresses when configuring RabbitMQ using properties"
See gh-37619
2023-09-28 16:07:25 -05:00
csk8167 c1972f6db6 Support IPv6 addresses when configuring RabbitMQ using properties
See gh-37619
2023-09-28 16:06:39 -05:00
Andy Wilkinson bebca55a8f Add testAndDevelopmentOnly configuration
Closes gh-35436
2023-09-28 13:24:34 +01:00
shin-mallang 8eac7a91f6 Remove duplicate code in NettyWebServerFactoryCustomizer
Since the PropertyMapper's alwaysApplyingWhenNonNull() has already been
called, the subsequent whenNonNull() is unnecessary.

See gh-37434
2023-09-28 09:51:51 +02:00
Sreekara Reddy 8fad59466c Don't call setValidateConnectionOnBorrow on Oracle UCP datasource
See gh-37501
2023-09-28 09:10:59 +02:00
Moritz Halbritter 40d4c177cd Merge branch '3.1.x'
Closes gh-37616
2023-09-28 08:54:22 +02:00
Moritz Halbritter a1947d6deb Merge branch '3.0.x' into 3.1.x
Closes gh-37615
2023-09-28 08:53:12 +02:00
Moritz Halbritter d266806368 Merge branch '2.7.x' into 3.0.x
Closes gh-37614
2023-09-28 08:51:12 +02:00
Moritz Halbritter 8a5979ee8c Clarify ActiveMQ usage in JMS docs
The Apache ActiveMQ project has adopted the label "Classic" for the 5.x
broker in order to more easily compare and contrast it with the broker
code-named Artemis.

See gh-37606
2023-09-28 08:46:47 +02:00
Phillip Webb 052757c2d8 Polish 2023-09-27 20:58:09 -07:00
Phillip Webb 3591f4d614 Restore test ensuring maxInboundMessageBodySize property matches default
See gh-37603
2023-09-27 18:21:24 -07:00
Andy Wilkinson 4e5f16f2bc Polish "Add config prop for Rabbit's max inbound message body size"
See gh-37603
2023-09-27 19:28:10 +01:00
Gary Russell 954f56287f Add config prop for Rabbit's max inbound message body size
See gh-37603
2023-09-27 19:28:10 +01:00
Andy Wilkinson f9b4a1ea5b Merge branch '3.1.x' 2023-09-27 19:27:58 +01:00
Andy Wilkinson 6fb252b00c Polish 2023-09-27 19:26:18 +01:00
Andy Wilkinson 4e38469ba2 Merge branch '3.1.x'
Closes gh-37611
2023-09-27 18:16:00 +01:00
Andy Wilkinson 4a3901149b Fix additional metadata location for spring.jmx.registration-policy
Closes gh-37596
2023-09-27 18:15:05 +01:00
Andy Wilkinson 192fb346bc Merge branch '3.1.x'
Closes gh-37610
2023-09-27 18:12:33 +01:00
Andy Wilkinson 1bcd127ad0 Merge branch '3.0.x' into 3.1.x
Closes gh-37609
2023-09-27 18:10:04 +01:00
Andy Wilkinson c486892a9b Fix additional metadata location for spring.webflux.multipart.streaming
Closes gh-37608
2023-09-27 18:09:14 +01:00
Scott Frederick 3cf08e1351 Clarify default security options for image building
See gh-37479
2023-09-27 11:05:40 -05:00
Scott Frederick 9811cc030f Fix LifecycleTests for security options on Windows
Fixes gh-37598
2023-09-27 10:09:44 -05:00
Andy Wilkinson 0d2eaa716c Polish "Add config prop for JMS listener's sessionTransacted flag"
See gh-37473
2023-09-27 15:07:36 +01:00
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
2023-09-27 15:06:52 +01:00
Andy Wilkinson b7facec4a1 Rename spring.jms.listener.acknowledge-mode
Closes gh-37602
2023-09-27 14:41:09 +01:00
Andy Wilkinson 145fb161a1 Merge branch '3.1.x'
Closes gh-37601
2023-09-27 12:50:58 +01:00
Andy Wilkinson 0368fc5678 Merge branch '3.0.x' into 3.1.x
Closes gh-37600
2023-09-27 12:38:21 +01:00
Andy Wilkinson 688a69b9b1 Prevent status messages from logging when Logback is being configured
There's a window where the deny-all turbo filter has been removed but
Logback has not yet been configured. If any logging that would have
reached an appender is performed in this window, unwanted status
messages will be logged. This window can be closed by ensuring that
the turbo filter is in place while Logback is being configured.

Closes gh-34505
2023-09-27 12:28:23 +01:00
Andy Wilkinson 3adc70fd40 Polish "Add properties for JmsTemplate session's ack mode and transacted flag"
See gh-37500
2023-09-27 10:25:19 +01:00
Vedran Pavic 5ba4e2793d Add properties for JmsTemplate session's ack mode and transacted flag
See gh-37500
2023-09-27 10:19:45 +01:00
Andy Wilkinson b63efd17b8 Merge branch '3.1.x'
Closes gh-37595
2023-09-27 09:48:01 +01:00
Andy Wilkinson 5015327886 Merge branch '3.0.x' into 3.1.x
Closes gh-37594
2023-09-27 09:47:49 +01:00
Andy Wilkinson 6b107530f5 Polish "Use Neo4jManagedTypes to populate the mapping context"
See gh-37574
2023-09-27 09:33:56 +01:00
Michael Simons e0a5de01ca Use Neo4jManagedTypes to populate the mapping context
See gh-37574
2023-09-27 09:33:37 +01:00
Scott Frederick 7c23c0b3c2 Merge branch '3.1.x' 2023-09-26 18:51:03 -05:00
Scott Frederick 5ae4ba83a7 Merge branch '3.0.x' into 3.1.x 2023-09-26 18:19:48 -05:00
Scott Frederick 7e29a3c70b Use latest available Gradle version for Paketo system tests
This ensures that the tests will run with the latest Java versions.

See gh-37507
2023-09-26 18:19:25 -05:00
Scott Frederick d37e9424a2 Merge branch '3.1.x'
Closes gh-37589
2023-09-26 14:07:16 -05:00
Scott Frederick 4f8684fd69 Merge branch '3.0.x' into 3.1.x
Closes gh-37588
2023-09-26 14:07:05 -05:00
Scott Frederick a03e3320a6 Merge branch '2.7.x' into 3.0.x
Closes gh-37587
2023-09-26 14:06:50 -05:00
Scott Frederick aeeb5cf1f8 Apply Gradle fileMode and dirMode consistently in jar and war archives
Fixes gh-37496
2023-09-26 13:49:19 -05:00
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
2023-09-26 16:47:19 +01:00
Andy Wilkinson ab06d10d64 Fix checkpoint-restore with replaced or wrapped HikariDataSource
Closes gh-37580
2023-09-26 12:31:12 +01:00
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
2023-09-25 15:31:45 +01:00
Moritz Halbritter 1d60e42a73 Merge branch '3.1.x'
Closes gh-37572
2023-09-25 12:02:34 +02:00
Sushant Kumar Singh 088d9ccc32 Remove mockito-inline from documentation
See gh-37561
2023-09-25 11:58:53 +02:00
Moritz Halbritter 11ec9f95f6 Merge branch '3.1.x'
Closes gh-37571
2023-09-25 11:40:16 +02:00
Moritz Halbritter 02f71d8e95 Merge branch '3.0.x' into 3.1.x
Closes gh-37570
2023-09-25 11:39:29 +02:00
Moritz Halbritter b93ce92022 Merge branch '2.7.x' into 3.0.x
Closes gh-37569
2023-09-25 11:39:18 +02:00
Moritz Halbritter b266ade00c Prevent exception when loading optional config data locations
Closes gh-35683
2023-09-25 11:39:04 +02:00
Scott Frederick c45ad6ce83 Use actual Java version in build image integration tests
See gh-37453
2023-09-22 13:38:37 -05:00
Andy Wilkinson a7666ba8a5 Merge branch '3.1.x'
Closes gh-37554
2023-09-22 17:49:23 +01:00
Andy Wilkinson c838c707d8 Merge branch '3.0.x' into 3.1.x
Closes gh-37553
2023-09-22 17:44:44 +01:00
Andy Wilkinson e2982a3a07 Merge branch '2.7.x' into 3.0.x
Closes gh-37552
2023-09-22 17:44:30 +01:00
Andy Wilkinson feae7be0a1 Polish "Fix handling of JMS listener concurrency properties"
See gh-37180
2023-09-22 17:43:57 +01:00
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
2023-09-22 17:43:56 +01:00
Scott Frederick e80f743648 Merge branch '3.1.x'
Closes gh-37551
2023-09-22 11:37:00 -05:00
Scott Frederick 3803bd9af9 Merge branch '3.0.x' into 3.1.x
Closes gh-37550
2023-09-22 11:32:28 -05:00
Scott Frederick 7322c078c4 Merge branch '2.7.x' into 3.0.x
Closes gh-37549
2023-09-22 11:32:07 -05:00
Scott Frederick 98bfaf0412 Remove compatibility blocks from Gradle plugin integration tests
Closes gh-37453
2023-09-22 11:28:12 -05:00
Andy Wilkinson fb15125d01 Merge branch '3.1.x'
Closes gh-37548
2023-09-22 16:30:36 +01:00
Andy Wilkinson 8080bb9cfb Merge branch '3.0.x' into 3.1.x
Closes gh-37547
2023-09-22 16:30:19 +01:00
Johnny Lim ce813346c9 Add Javadoc since for AbstractAotMojo.getSession()
See gh-37462
2023-09-22 16:29:49 +01:00
Andy Wilkinson af495b2dc0 Merge branch '3.1.x'
Closes gh-37546
2023-09-22 16:26:48 +01:00
Andy Wilkinson e4d8b22403 Merge branch '3.0.x' into 3.1.x
Closes gh-37545
2023-09-22 16:26:31 +01:00
Andy Wilkinson 333820627f Merge branch '2.7.x' into 3.0.x
Closes gh-37544
2023-09-22 16:26:21 +01:00
Eric Haag a2be276dd8 Mock working directory for extract test
Prior to this change, this test would create files in the project
directory. This can cause issues with Gradle caching and up-to-date
checks.

To address this, the value of the working directory is mocked to a
temporary directory like all the other tests.

See gh-37395
2023-09-22 16:24:49 +01:00
Andy Wilkinson ece9f510ae Merge branch '3.1.x'
Closes gh-37543
2023-09-22 16:22:01 +01:00
Andy Wilkinson 9d185825b6 Merge branch '3.0.x' into 3.1.x
Closes gh-37542
2023-09-22 16:21:50 +01:00
Andy Wilkinson 28f4d77c2a Merge branch '2.7.x' into 3.0.x
Closes gh-37541
2023-09-22 16:21:41 +01:00
Andy Wilkinson 98acca9633 Add dep management for kafka-server-common with test classifier
Closes gh-37499
2023-09-22 16:20:53 +01:00
Andy Wilkinson 7bb40d50d4 Polish 2023-09-22 16:06:44 +01:00
Andy Wilkinson 1b6f29a1da Merge branch '3.1.x'
Closes gh-37540
2023-09-22 15:51:49 +01:00
Andy Wilkinson e3c3cb4b47 Merge branch '3.0.x' into 3.1.x
Closes gh-37539
2023-09-22 15:50:28 +01:00
Andy Wilkinson 18b7015552 Merge branch '2.7.x' into 3.0.x
Closes gh-37538
2023-09-22 15:35:45 +01:00
Andy Wilkinson 89a86e91f5 Avoid deprecation warning with Gradle 8.4-rc-1
Closes gh-37493
2023-09-22 15:31:36 +01:00
Moritz Halbritter ec9ac05d3d Merge branch '3.1.x'
Closes gh-37536
2023-09-22 11:21:53 +02:00
Moritz Halbritter 059bb69705 Merge branch '3.0.x' into 3.1.x
Closes gh-37535
2023-09-22 11:21:37 +02:00
Moritz Halbritter c991a7b90b Merge branch '2.7.x' into 3.0.x
Closes gh-37534
2023-09-22 11:21:25 +02:00
Moritz Halbritter a3611ae9f3 Polish "Use the Maven Archiver implementation for parsing outputTimestamp"
See gh-37438
2023-09-22 11:13:10 +02:00
Niels Basjes a1b08e1819 Use the Maven Archiver implementation for parsing outputTimestamp
See gh-37438
2023-09-22 11:12:48 +02:00
Moritz Halbritter 1f137af90f Merge branch '3.1.x'
Closes gh-37533
2023-09-22 09:26:27 +02:00
Moritz Halbritter b5cc6f9f92 Merge branch '3.0.x' into 3.1.x
Closes gh-37532
2023-09-22 09:26:17 +02:00
Moritz Halbritter 17092e124d Merge branch '2.7.x' into 3.0.x
Closes gh-37531
2023-09-22 09:26:08 +02:00
Moritz Halbritter 6be8ce948a Document support for Java 21
Closes gh-37371
2023-09-22 09:22:14 +02:00
Moritz Halbritter 279f1e2d0f Merge branch '3.1.x'
Closes gh-37514
2023-09-21 16:44:22 +02:00
Moritz Halbritter ddd666497d Merge branch '3.0.x' into 3.1.x
Closes gh-37513
2023-09-21 16:44:14 +02:00
Moritz Halbritter dc8e69cc8d Merge branch '2.7.x' into 3.0.x
Closes gh-37512
2023-09-21 16:44:05 +02:00
Johnny Lim b95092c621 Fix wrong mocking
See gh-37492
2023-09-21 16:42:43 +02:00
Moritz Halbritter ae7a3410ad Merge branch '3.1.x'
Closes gh-37511
2023-09-21 16:40:51 +02:00
Moritz Halbritter aabd6f58d5 Merge branch '3.0.x' into 3.1.x
Closes gh-37510
2023-09-21 16:40:41 +02:00
Moritz Halbritter 454342acfa Merge branch '2.7.x' into 3.0.x
Closes gh-37509
2023-09-21 16:40:29 +02:00
김희망 45e08f321c Use more idiomatic Kotlin in doc example
See gh-37491
2023-09-21 16:36:51 +02:00
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
2023-09-21 16:17:39 +02:00
Phillip Webb f55184a998 Update copyright year of changed files 2023-09-20 17:16:31 -07:00
Phillip Webb 2075f6c685 Merge branch '3.1.x' 2023-09-20 17:16:13 -07:00