Commit Graph

22810 Commits (9c0f1ae05234eeda8c6b80c2810e5129475072b5)

Author SHA1 Message Date
Andy Wilkinson ee00014dfe Start building against Spring Session 3.2.0 snapshots
See gh-37716
1 year ago
Andy Wilkinson 4e21896b0d Start building against Spring Security 6.2.0 snapshots
See gh-37715
1 year ago
Andy Wilkinson 5f7bdfc356 Start building against Spring Retry 2.0.4 snapshots
See gh-37714
1 year ago
Andy Wilkinson 26b889f31a Start building against Spring LDAP 3.2.0 snapshots
See gh-37713
1 year ago
Andy Wilkinson cccd8bfea3 Start building against Spring Kafka 3.1.0 snapshots
See gh-37712
1 year ago
Andy Wilkinson c45bda4c48 Start building against Spring Integration 6.2.0 snapshots
See gh-37711
1 year ago
Andy Wilkinson a4f6b15ffb Start building against Spring Data Bom 2023.1.0 snapshots
See gh-37709
1 year ago
Andy Wilkinson 1ce75cd1a9 Start building against Spring Batch 5.1.0 snapshots
See gh-37708
1 year ago
Andy Wilkinson 429bdb266a Start building against Spring Authorization Server 1.2.0 snapshots
See gh-37707
1 year ago
Andy Wilkinson f7c3fe165d Start building against Spring AMQP 3.1.0 snapshots
See gh-37706
1 year ago
Andy Wilkinson 77e1d8fa20 Start building against Reactor Bom 2023.0.0 snapshots
See gh-37705
1 year ago
Andy Wilkinson a630baf32a Start building against Micrometer Tracing 1.2.0 snapshots
See gh-37704
1 year ago
Andy Wilkinson 993ac9c16f Start building against Micrometer 1.12.0 snapshots
See gh-37703
1 year ago
Andy Wilkinson d3ec9e36d7 Start building against Spring Session 3.1.3 snapshots
See gh-37702
1 year ago
Andy Wilkinson 16724c09d4 Start building against Spring Security 6.1.5 snapshots
See gh-37701
1 year ago
Andy Wilkinson 538c1cc56b Start building against Spring Retry 2.0.4 snapshots
See gh-37700
1 year ago
Andy Wilkinson 8b64bf1876 Start building against Spring LDAP 3.1.2 snapshots
See gh-37699
1 year ago
Andy Wilkinson 7daeb88158 Start building against Spring Data Bom 2023.0.5 snapshots
See gh-37698
1 year ago
Andy Wilkinson a741a16633 Start building against Spring Authorization Server 1.1.3 snapshots
See gh-37697
1 year ago
Andy Wilkinson 54bf5fd746 Start building against Spring AMQP 3.0.10 snapshots
See gh-37696
1 year ago
Andy Wilkinson 2ef98fd19a Start building against Reactor Bom 2022.0.12 snapshots
See gh-37695
1 year ago
Andy Wilkinson d59ea2f038 Start building against Micrometer Tracing 1.1.6 snapshots
See gh-37694
1 year ago
Moritz Halbritter fc9c1c0964 Fix ordering related issue in ReactorAutoConfigurationTests
See gh-34201
1 year ago
Andy Wilkinson 452d441775 Start building against Micrometer 1.11.5 snapshots
See gh-37693
1 year ago
Andy Wilkinson c06424f00a Start building against Spring Session 3.0.4 snapshots
See gh-37686
1 year ago
Andy Wilkinson 208f69b661 Start building against Spring Security 6.0.8 snapshots
See gh-37685
1 year ago
Andy Wilkinson 95e70c11d4 Start building against Spring Retry 2.0.4 snapshots
See gh-37684
1 year ago
Andy Wilkinson 150cb5bdb6 Start building against Spring LDAP 3.0.6 snapshots
See gh-37683
1 year ago
Andy Wilkinson 29ab800cba Start building against Spring Data Bom 2022.0.11 snapshots
See gh-37682
1 year ago
Andy Wilkinson c72024de9f Start building against Spring AMQP 3.0.10 snapshots
See gh-37681
1 year ago
Andy Wilkinson f1af6ff469 Start building against Reactor Bom 2022.0.12 snapshots
See gh-37680
1 year ago
Andy Wilkinson 7907358875 Start building against Micrometer Tracing 1.0.11 snapshots
See gh-37679
1 year ago
Andy Wilkinson ec57eb3879 Start building against Micrometer 1.10.12 snapshots
See gh-37678
1 year ago
Moritz Halbritter 51d549964a Merge branch '3.1.x'
Closes gh-37692
1 year ago
Moritz Halbritter a416f93eec Merge branch '3.0.x' into 3.1.x
Closes gh-37691
1 year ago
Moritz Halbritter b742bced31 Merge branch '2.7.x' into 3.0.x
Closes gh-37690
1 year ago
Moritz Halbritter 63fccf43dc Polish "Remove link to LiveReload website due to timeout"
See gh-37643
1 year ago
Jonny Coddington 88bbab374d Remove link to LiveReload website due to timeout
See gh-37643
1 year ago
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
1 year ago
Andy Wilkinson da319841b8 Start building against Spring Data Bom 2021.2.17 snapshots
See gh-37677
1 year ago
Andy Wilkinson 21661c6a1a Start building against Spring AMQP 2.4.17 snapshots
See gh-37676
1 year ago
Andy Wilkinson 026bc31c3e Start building against Reactor Bom 2020.0.37 snapshots
See gh-37675
1 year ago
Andy Wilkinson 21a618a6c4 Start building against Micrometer 1.9.16 snapshots
See gh-37674
1 year ago
Moritz Halbritter 30f29dead8 Revert "Temporarily remove auto-config for Reactor context propagation"
This reverts commit 88de3cc089.

See gh-34201
1 year ago
Phillip Webb 1f5472387d Fix formatting 1 year ago
Phillip Webb 42f50fa292 Attempt to fix CI failures
Attempt to fix CI failures caused by timezone differences and different
JDK versions.

See gh-37668
1 year ago
Phillip Webb 560527945b Add background preinitializers for Tomcat and JDK ZoneId
Closes gh-37670
1 year ago
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
1 year ago
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
1 year ago
Phillip Webb 75ddb9fa47 Fix test failure caused by PropertiesLoader class reference
See gh-37667
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Scott Frederick f947bad3f7 Merge branch '3.1.x'
Closes gh-37666
1 year ago
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>"
1 year ago
Andy Wilkinson 12108e58e9 Merge branch '3.1.x'
Closes gh-37664
1 year ago
Andy Wilkinson 8cf686d925 Merge branch '3.0.x' into 3.1.x
Closes gh-37663
1 year ago
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
1 year ago
Andy Wilkinson 7d40a45b50 Merge branch '3.1.x'
Closes gh-37662
1 year ago
Andy Wilkinson a4100e12ff Merge branch '3.0.x' into 3.1.x
Closes gh-37661
1 year ago
Andy Wilkinson 931584f8af Merge branch '2.7.x' into 3.0.x
Closes gh-37659
1 year ago
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
1 year ago
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
1 year ago
Phillip Webb 932355adbf Polish adoc formatting 1 year ago
Jonatan Ivanov a454712dea Add auto-configuration for CountedAspect and TimedAspect
See gh-37626
1 year ago
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
1 year ago
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
1 year ago
Andy Wilkinson d725914cd5 Merge branch '3.1.x'
Closes gh-37636
1 year ago
Andy Wilkinson 1e4deed8ce Merge branch '3.0.x' into 3.1.x
Closes gh-37635
1 year ago
Andy Wilkinson 458418be29 Automatically register reflection hints for scanned WebListeners
Closes gh-36008
1 year ago
Andy Wilkinson 426e31695f Merge branch '3.1.x' 1 year ago
Andy Wilkinson 385e6278b7 Merge branch '3.0.x' into 3.1.x 1 year ago
Andy Wilkinson 26b9602596 Merge branch '2.7.x' into 3.0.x 1 year ago
Andy Wilkinson 0205b875a0 Polish 1 year ago
Andy Wilkinson 76eb5ba8c2 Merge branch '3.1.x'
Closes gh-37633
1 year ago
Andy Wilkinson c4bccb2429 Merge branch '3.0.x' into 3.1.x
Closes gh-37632
1 year ago
Andy Wilkinson 04054b6670 Merge branch '2.7.x' into 3.0.x
Closes gh-37631
1 year ago
Andy Wilkinson bfd1a29e53 Exclude AbstractTransactionAspect from lazy init
Fixes gh-37506
1 year ago
Andy Wilkinson 3e9a1cc1f8 Add Awaitility to spring-boot-starter-test
Closes gh-37195
1 year ago
Andy Wilkinson 6d3594db49 Add execution listeners to auto-configured transaction managers
Closes gh-36770
1 year ago
Andy Wilkinson 1a22415c01 Expand customization to any type of TransactionManager
Closes gh-37628
1 year ago
Andy Wilkinson 96986a6b51 Break cycle between TransactionManagerCustomizers and TransactionManager
Closes gh-36801
1 year ago
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
1 year ago
Scott Frederick 619a0f3b35 Merge branch '3.1.x'
Closes gh-37624
1 year ago
JinseongHwang 0b703f9007 Use consistent capitalization in MySQL and MariaDB test names
See gh-37497
1 year ago
Scott Frederick 228041666b Merge branch '3.1.x'
Closes gh-37622
1 year ago
Scott Frederick fad43adf14 Polish "Support IPv6 addresses when configuring RabbitMQ using properties"
See gh-37619
1 year ago
csk8167 c1972f6db6 Support IPv6 addresses when configuring RabbitMQ using properties
See gh-37619
1 year ago
Andy Wilkinson bebca55a8f Add testAndDevelopmentOnly configuration
Closes gh-35436
1 year ago
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
1 year ago
Sreekara Reddy 8fad59466c Don't call setValidateConnectionOnBorrow on Oracle UCP datasource
See gh-37501
1 year ago
Moritz Halbritter 40d4c177cd Merge branch '3.1.x'
Closes gh-37616
1 year ago
Moritz Halbritter a1947d6deb Merge branch '3.0.x' into 3.1.x
Closes gh-37615
1 year ago
Moritz Halbritter d266806368 Merge branch '2.7.x' into 3.0.x
Closes gh-37614
1 year ago
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
1 year ago
Phillip Webb 052757c2d8 Polish 1 year ago
Phillip Webb 3591f4d614 Restore test ensuring maxInboundMessageBodySize property matches default
See gh-37603
1 year ago
Andy Wilkinson 4e5f16f2bc Polish "Add config prop for Rabbit's max inbound message body size"
See gh-37603
1 year ago
Gary Russell 954f56287f Add config prop for Rabbit's max inbound message body size
See gh-37603
1 year ago