Commit Graph

25760 Commits (37e601f12821b2112ad5777fdb5144ea56d6da7e)
 

Author SHA1 Message Date
Andy Wilkinson d3ea48b7a8 Configure DockerHub credentials on staging builds
See gh-24038
4 years ago
Andy Wilkinson 1172dbfec9 Log into DockerHub prior to running CI builds
Closes gh-24038
4 years ago
Andy Wilkinson d5980be623 Clarify documentation for relaxed binding of environment variables
Closes gh-22974
4 years ago
Andy Wilkinson a8b8f43180 Improve description of spring.datasource.initialization-mode
Closes gh-21121
4 years ago
Andy Wilkinson c289ba0c2c Recommend disabling context root redirects with proxied Tomcat
Closes gh-22908
4 years ago
Andy Wilkinson 28ccf54b21 Ignore schema username when auto-configuring a test DB
Previously, when an embedded test database was being auto-configured
any schema username and password specified by the user would result
in a separate embedded test database being created to load the schema.
This then left the actual test database without the schema causing
test failures.

This commit updates the test database auto-configuration to set the
schema username to an empty string in a property source that's added
first to the environment's property sources. This causes any schema
username configured by the user to be ignored, preventing the creation
of a separate database for schema.sql processing.

Fixes gh-19321
4 years ago
Andy Wilkinson c51c3432a6 Merge pull request #24020 from PascalSchumacher
* gh-24020:
  Fix typo in Spring Session documentation

Closes gh-24020
4 years ago
Pascal Schumacher 5472fcf433 Fix typo in Spring Session documentation
See gh-24020
4 years ago
Andy Wilkinson 2f280b01e1 Improve Spring Session back-off documentation
Closes gh-23151
4 years ago
Andy Wilkinson 35bff55097 Ensure that Quartz can be auto-configured with a Quartz-specific TM
Previously, Quartz could be configured with a specific DataSource
using `@QuartzDataSource` but it was not possible to configure a
Quartz-specific transaction manager. This could result in the
different DataSources being used by Quartz itself and Quart'z
DataSourceTransactionManager.

This commit introduces a new qualifier, `@QuartzTransactionManager`,
that can be used to avoid the above-described problem. Any
`@QuartzTransactionManager`-annotated bean will be used by the
Quartz auto-configure configuration instead of the application's main
`TransactionManager`. If no such qualified bean is present, the
application's main TransactionManager, if any, will be used as before.

Fixes gh-20184
4 years ago
Andy Wilkinson 6548ca4c11 Implement equals and hashCode in TestTypeExcludeFilter
Fixes gh-23978
4 years ago
Andy Wilkinson 30a0ccab02 Remove use of `@PostConstruct` from main code
When running on Java 11 (where `@PostConstruct` is no longer part of
the JRE) and without a dependency on jakarta-annotation-api,
`@PostContruct` annotions are silently dropped. This leads to obscure and
hard-to-track down changes in the behaviour of our auto-configuration
as the `@PostConstruct`-annotated methods are not invoked.

To allow users to run on Java 11 without having jakarta-annotation-api
on the classpath, this commit removes use of `@PostConstruct` from main
code. A Checkstyle rule has also been added to prevent its usage in
main code from being reintroduced.

Closes gh-23723
4 years ago
Andy Wilkinson 622606d85a Make it clearer that only the main DataSource bean may be replaced
Closes gh-23808
4 years ago
Andy Wilkinson d32d65b02c Add tip about providing as much typo info as possible in @Bean methods
Closes gh-22925
4 years ago
Andy Wilkinson e7eb7739dc Use overriding rather than overridden getter methods in config prop AP
Fixes gh-23966
4 years ago
Spring Buildmaster 79a833539b Next development version (v2.2.12.BUILD-SNAPSHOT) 4 years ago
Stephane Nicoll cc3c898dfe Upgrade to github-changelog-generator 0.0.4
Closes gh-23965
4 years ago
Stephane Nicoll 3b899ee326 Merge branch '2.1.x' into 2.2.x 4 years ago
Spring Buildmaster 625a0c99cb Next development version (v2.1.19.BUILD-SNAPSHOT) 4 years ago
Stephane Nicoll 7de2711396 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll ec57251c55 Configure release script to use .RELEASE suffix 4 years ago
Stephane Nicoll 770b5f4528 Merge branch '2.1.x' into 2.2.x
See gh-23962
4 years ago
Stephane Nicoll 6c0fc7f195 Workaround broken function in concourse scripts
See spring-io/concourse-java-scripts#11
4 years ago
Stephane Nicoll a8db6a8a83 Merge branch '2.1.x' into 2.2.x
See gh-23962
4 years ago
Stephane Nicoll 3ebd247613 Workaround broken function in concourse scripts
See spring-io/concourse-java-scripts#11
4 years ago
Phillip Webb cf09451ffb Retain inner-class data on incremental compile
Ensure that metadata sourced from inner-types is not deleted when
performing an incremental compile. Prior to this commit, the source
type was searched using the `Outer$Inner` format. This is not supported
`Elements.getTypeElement` so we now convert the names to `Outer.Inner`.

Closes gh-10886
4 years ago
Phillip Webb 9b4ccf4ac6 Upgrade CI to Java 15.0.1_9
Closes gh-23953
4 years ago
Phillip Webb 719d71e31b Merge branch '2.1.x' into 2.2.x
Closes gh-23943
4 years ago
Phillip Webb 327181455c Upgrade CI to Ubuntu Focal 20201008
Closes gh-23952
4 years ago
Phillip Webb cf7e16e134 Merge branch '2.1.x' into 2.2.x
Closes gh-23950
4 years ago
Phillip Webb 88a1055916 Upgrade CI to Java 11.0.9_11
Closes gh-23947
4 years ago
Phillip Webb 7c188e1446 Merge branch '2.1.x' into 2.2.x
Closes gh-23951
4 years ago
Phillip Webb 6f6c0e9d08 Upgrade CI to jdk8u272-b10
Closes gh-23946
4 years ago
Stephane Nicoll 11b55f650c Upgrade to Spring Kafka 2.3.12
Closes gh-23786
4 years ago
Stephane Nicoll 124c148c51 Upgrade to Spring Integration 5.2.9
Closes gh-23956
4 years ago
Stephane Nicoll f2afd28b9a Upgrade to Spring AMQP 2.2.12
Closes gh-23783
4 years ago
Stephane Nicoll 560be634e0 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll b75e196de0 Upgrade to Spring Integration 5.1.13
Closes gh-23798
4 years ago
Stephane Nicoll 9c4e5904e7 Upgrade to Micrometer 1.3.15
Closes gh-23790
4 years ago
Stephane Nicoll 8bd7cc417e Upgrade to Spring Data Moore-SR11
Closes gh-23776
4 years ago
Stephane Nicoll 29414c7c90 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll 9ae2eb4007 Upgrade to Spring Data Lovelace-SR21
Closes gh-23775
4 years ago
Stephane Nicoll 93e36a97ab Remove version elements from Maven plugin documentation
This commit removes `<version>` from the Maven Plugin documentation
where it makes sense so that versions aren't hardcoded unnecessarily.

Rather, a plugin or dependency management should be in place so those
are not needed.

Closes gh-23909
4 years ago
Stephane Nicoll a3818d690e Fix custom layout example so that tokens are replaced 4 years ago
Stephane Nicoll 6d80b91ae7 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll 505a713a08 Upgrade to Micrometer 1.1.19
Closes gh-23789
4 years ago
Stephane Nicoll e31f4bc06d Revert to Spring AMQP 2.1.17
See gh-23782
4 years ago
Andy Wilkinson b9516bc77c Await registration of http.server.requests meter
Previously, the test would make an HTTP request and, as soon as the
response was received, it would check the presence and value of the
http.server.requests meter. This create a race condition between the
meter being registered once the response had been flushed and the
meter's presence being checked. If the check won the race, the test
would fail.

This commit updates the test to wait for up to 5 seconds for the
meter to be present and have a count of 1, matching the single request
that has been made.

Fixes gh-23919
4 years ago
Stephane Nicoll 8b49f792cb Upgrade to Spring Framework 5.2.10
Closes gh-23773
4 years ago
Stephane Nicoll 444b91073b Merge branch '2.1.x' into 2.2.x 4 years ago