Commit Graph

34184 Commits (64138a138f25318cf64d2866a0c5fc67fefaf23d)
 

Author SHA1 Message Date
Kirill Marchuk 2644a2b897 Update placeholder docs to mention env vars and default values
See gh-30012
3 years ago
Andy Wilkinson ef927627de Merge pull request #30027 from wonwoo
* gh-30027:
  Polish RestController examples

Closes gh-30027
3 years ago
wonwoo c2bf0d551b Polish RestController examples
See gh-30027
3 years ago
Andy Wilkinson 57f935faed Use a more relaxed AliasCheck for CI on Windows
ContextHandler.ApproveAliases has been deprecated. We tried to
replace it with AllowedResourceAliasChecker but it does not
behave in the same way and causes CI failures on Windows.
ContextHandler.ApproveAliases always returns true so we should
hardcode our own implementation that does the same.

Closes gh-30045
3 years ago
Andy Wilkinson 34e436ef6e Accommodate SocketException when reading from stopped TunnelClient
TunnelClientTests stopTriggersTunnelClose expects that stopping the
client will cause an attempt to read from a connected channel to
return -1. With Java 17 on Windows the connection has been reset and
a SocketException is thrown instead. This seems reasonable as
stopping the client closes the ServerSocketChannel to which the test
was connected.

This commit updates test to expect a SocketException or a return
value of -1.

Closes gh-30042
3 years ago
Andy Wilkinson 35e5b4329e Provide complete dependency management for Netty tcNative
Closes gh-30010
3 years ago
Andy Wilkinson 4073cf8334 Only apply special handling of META-INF to jar files
The changes for gh-28562 attempted to align the Gradle plugin's
handling of META-INF with the Maven plugin's behavior. Unfortunately,
they want too far, applying the handling to both jar and war files
when the Maven plugin only applies it to jar files.

This commit reworks the changes so that they only apply to jar files.

Closes gh-30026
3 years ago
Andy Wilkinson b43715c70b Merge pull request #29983 from izeye
* gh-29983:
  Remove redundant ConditionalOnMissingFilterBean

Closes gh-29983
3 years ago
izeye 140d24d567 Remove redundant ConditionalOnMissingFilterBean
See gh-29983
3 years ago
Andy Wilkinson 35f9358eb2 Manage more of Kafka's modules
Closes gh-29023
3 years ago
Andy Wilkinson 69ce392c34 Add support for classifiers when defining a bom
Closes gh-29298
3 years ago
Andy Wilkinson a265f150ac Improve parsing of numeric default values
Previously, all integral numbers were parsed as integers. This
caused two problems:

1. Compilation would fail if the default value for a long wasn't a
   valid integer.
2. The default value for a byte or short could be out of range,
   resulting in the generation of invalid metadata and an error
   that could have been caught at compile time not being caught
   until runtime.

This commit updates the parsing of all numeric values to use the
parse method of the target primitive type. For example,
Short.parseShort(String) is now used to parse a short.

Fixes gh-30020
3 years ago
Andy Wilkinson 355f80ab98 Add links to Spring Boot for Apache Geode and its documentation
Closes gh-29697
3 years ago
Andy Wilkinson 7bc336cdc6 Use an ephemeral port to avoid potential port clash
Closes gh-30007
3 years ago
Stephane Nicoll b60b5feefe Add explicit dependency on inject-api
This commit clarifies the build as a test needs inject-api and it works
only by side effect as another library has repackaged this API.

Closes gh-29990
3 years ago
Spring Builds 5768f5f649 Next development version (v2.5.11-SNAPSHOT) 3 years ago
Phillip Webb 57009d5623 Polish 3 years ago
Madhura Bhave 67b13ee4c7 Document that placeholders in @DefaultValue annotations are not resolved
Closes gh-23164
3 years ago
Madhura Bhave cc95f734d7 Clarify relation of import path to resultant properties in configtree import data
Closes gh-29606
3 years ago
Stephane Nicoll 479a4e693c Upgrade to Spring Batch 4.3.5
Closes gh-29714
3 years ago
Stephane Nicoll 773b025208 Upgrade to Netty tcNative 2.0.50.Final
Closes gh-29973
3 years ago
Stephane Nicoll 776ccf77a7 Upgrade to Spring Session 2021.0.5
Closes gh-29715
3 years ago
Andy Wilkinson 7aca75c58c Preserve ObjectName property order when name is unchanged
Closes gh-29953
3 years ago
Andy Wilkinson 9c9e04b8e4 Use mainClass rather than deprecated main in BootRun examples
Closes gh-29965
3 years ago
Stephane Nicoll ee7426a555 Upgrade to Spring Integration 5.5.9
Closes gh-29962
3 years ago
Stephane Nicoll 3f2d01628d Upgrade to Spring Kafka 2.7.11
Closes gh-29712
3 years ago
Madhura Bhave a70fa80571 Rectify incorrect sanitizing regex example provided in how-to docs
Closes gh-29951
3 years ago
Andy Wilkinson 1e8d29f7aa Configure Kotlin compilation JVM target by convention
Closes gh-29952
3 years ago
Stephane Nicoll 49337f30da Upgrade to Netty tcNative 2.0.49.Final
Closes gh-29936
3 years ago
Stephane Nicoll 95d5a5159f Merge pull request #29931 from UbaidurRehman1
* pr/29931:
  Clarify that any property of the environment can be used in a banner

Closes gh-29931
3 years ago
UbaidurRehman1 7b48c51689 Clarify that any property of the environment can be used in a banner
See gh-29931
3 years ago
Andy Wilkinson ca2dbf39ec Upgrade to Jetty Reactive HTTPClient 1.1.11
Closes gh-29927
3 years ago
Andy Wilkinson df6959679c Upgrade to AppEngine SDK 1.9.95
Closes gh-29926
3 years ago
Andy Wilkinson 7db9bb94cd Upgrade to ActiveMQ 5.16.4
Closes gh-29925
3 years ago
Andy Wilkinson 4cb8ae6c8a Try to avoid hitting secondary rate limit when opening issues
GitHub employs a secondary rate limit for actions that can trigger
notifications, such as opening a new issue. To avoid hitting this
limit, they recommend [1] waiting at least one second between each
request.

This commit attempts to comply with this guidance by adding a
one-second sleep prior to each POST request that opens an issue.

Closes gh-29879

[1] https://docs.github.com/en/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits
3 years ago
Andy Wilkinson 21fb273ec3 Upgrade to Spring Security 5.5.5
Closes gh-29713
3 years ago
Andy Wilkinson 55f68989d8 Remove redundant action to make plugins dat file reproducible
Closes gh-29917
3 years ago
Stephane Nicoll ca23c68b1c Merge pull request #29896 from gcoppex
* pr/29896:
  Polish "Clarify log message with a profile containing a comma"
  Clarify log message with a profile containing a comma

Closes gh-29896
3 years ago
Stephane Nicoll 92cd51e6b0 Polish "Clarify log message with a profile containing a comma"
See gh-29896
3 years ago
gcoppex c8466a14e9 Clarify log message with a profile containing a comma
See gh-29896
3 years ago
Andy Wilkinson 5baa71f1b3 Allow beans with circular dependencies to be spied
Closes gh-29639
3 years ago
Andy Wilkinson 1c4fc7d3fa Upgrade to Spring Data 2021.0.9
Closes gh-29711
3 years ago
Stephane Nicoll 6bf172f0f2 Upgrade to Spring LDAP 2.3.6
Closes gh-29710
3 years ago
Brian Clozel 00114f9d61 Deregister failed contexts from SpringApplicationShutdownHook
Prior to this change, SpringApplication would register contexts to
SpringApplicationShutdownHook and only deregister them when they're
properly closed. A failed refresh attempt does not deregister the
context from the shutdown hook.
When a test suite runs lots of tests failing because of failed contexts,
this can build up and consume lots of resources.

This commit fixes this leak and deregisters failed contexts.

Fixes gh-29874
3 years ago
Andy Wilkinson c676b8b84d Remove KafkaPropertiesKafka24Tests
We now use Kafka 2.7 by default so tests against 2.4 are no longer
required.

Closes gh-29882
3 years ago
Andy Wilkinson ac38a5a3e9 Update javadoc to reflect move to SecurityFilterChain
Closes gh-29900
3 years ago
Stephane Nicoll b1cfa402e8 Upgrade to Spring Framework 5.3.16
Closes gh-29709
3 years ago
Stephane Nicoll 0fba81adf0 Upgrade to Micrometer 1.7.9
Closes gh-29708
3 years ago
Stephane Nicoll cca97ff4b7 Upgrade Java 11 version in CI image
Closes gh-29889
3 years ago
Phillip Webb c86b1330cf Update copyright year of changed files 3 years ago