Commit Graph

10730 Commits (715c4febf95ea014955e7760cd605c609a77d014)

Author SHA1 Message Date
Andy Wilkinson 0b06ac9938 Use AssertJ's doesNotContainKey
Closes gh-24970
4 years ago
Stephane Nicoll 244a6ac7e5 Polish "Deprecate Spring Data Solr"
See gh-24942
4 years ago
Stephane Nicoll 10b4cb8cb5 Deprecate Spring Data Solr support
Closes gh-24942
4 years ago
Stephane Nicoll 1ad5a3fe2e Update copyright of changed file
See gh-24753
4 years ago
izeye ddfa1e632b Make MetricsClientHttpRequestInterceptor defensive against metrics recoding failures
See gh-24753
4 years ago
Stephane Nicoll b3ab77a5c3 Move Spring Boot version to main index in reference guide
Closes gh-24848
4 years ago
Stephane Nicoll 9a53865c8f Polish 4 years ago
Stephane Nicoll 283ed48d63 Unwrap Datasource against an actual interface
This commit updates DataSourceUnwrapper to take a separate interface
type argument if the target datasource has to be unwrapped, given that
the target type is usually not an interface.

Closes gh-24697
4 years ago
Stephane Nicoll 3ecd1001a1 Upgrade to Spring Kafka 2.5.11.RELEASE
Closes gh-24826
4 years ago
Stephane Nicoll 696539c68f Upgrade to Spring Integration 5.3.5.RELEASE
Closes gh-24825
4 years ago
Stephane Nicoll 8908969a6c Upgrade to Spring AMQP 2.2.14.RELEASE
Closes gh-24824
4 years ago
Stephane Nicoll 92f132ae35 Upgrade to Netty tcNative 2.0.36.Final
Closes gh-24823
4 years ago
Stephane Nicoll 6f9e3a6e94 Upgrade to Netty 4.1.58.Final
Closes gh-24822
4 years ago
Stephane Nicoll 1dd445b6ca Upgrade to Dependency Management Plugin 1.0.11.RELEASE
Closes gh-24821
4 years ago
Stephane Nicoll 6d5d8cbc2c Upgrade to Lettuce 5.3.6.RELEASE
Closes gh-24801
4 years ago
Stephane Nicoll 6b353aee8d Upgrade to Micrometer 1.5.10
Closes gh-24785
4 years ago
Phillip Webb 9da0bd8523 Update copyright year of changed files 4 years ago
Andy Wilkinson 7b1d07fa98 Use SpringSessionDataSource-annotated DataSource when one is available
Fixes gh-24624
4 years ago
Stephane Nicoll c5d4ca933b Upgrade to Reactor Dysprosium-SR16
Closes gh-24765
4 years ago
Andy Wilkinson 997505005b Handle files larger than Integer.MAX_VALUE bytes in bootJar and bootWar
Fixes gh-24618
4 years ago
Stephane Nicoll f02951fb17 Upgrade to Netty 4.1.56.Final
Closes gh-24764
4 years ago
Stephane Nicoll 2e69198f97 Upgrade to Neo4j OGM 3.2.19
Closes gh-24763
4 years ago
Stephane Nicoll 5fb1ca6043 Upgrade to Johnzon 1.2.9
Closes gh-24762
4 years ago
Stephane Nicoll 37f653121f Upgrade to Jetty Reactive HTTPClient 1.1.5
Closes gh-24761
4 years ago
Stephane Nicoll 3ae9639cbb Upgrade to Jackson Bom 2.11.4
Closes gh-24760
4 years ago
Stephane Nicoll 371e59cd80 Upgrade to Hibernate Validator 6.1.7.Final
Closes gh-24759
4 years ago
Stephane Nicoll e48e48988a Upgrade to Hibernate 5.4.27.Final
Closes gh-24758
4 years ago
Stephane Nicoll 66daeab221 Upgrade to Hazelcast 3.12.11
Closes gh-24757
4 years ago
Stephane Nicoll 682c952306 Upgrade to Dropwizard Metrics 4.1.17
Closes gh-24756
4 years ago
Stephane Nicoll 7ab9fad062 Upgrade to Byte Buddy 1.10.19
Closes gh-24755
4 years ago
Stephane Nicoll b3bc79b10f Upgrade to AppEngine SDK 1.9.84
Closes gh-24754
4 years ago
Phillip Webb 72dd3b5628 Merge branch '2.2.x' into 2.3.x
Closes gh-24747
4 years ago
Phillip Webb f9e3e0d532 Register default resource path using a Resource
Update `WebMvcAutoConfiguration` so that the default "/" resource path
is registered directly as a `ServletContextResource`.

Closes gh-24745
4 years ago
Andy Wilkinson 7625a979db Configure bootRun to use project's Java toolchain by default
Previously, unlike the application plugin's run task, our bootRun task
ignored the project's Java toolchain. This meant that the application
was run on a JVM with the same Java version as the one being used by
Gradle itself. This could result in a failure if the application
required a more modern JVM.

This commit updates the plugin to configure the bootRun task's
JavaLauncher convention to be one derived from the project's Java
toolchain. Toolchain support was introduced in Gradle 6.7 so this is
only done when using Gradle 6.7 and later.

Fixes gh-24517
4 years ago
Andy Wilkinson 064de4e073 Check configured JavaLauncher when determining version of the JVM
Previously, bootRun assumed that the Java version of the JVM that would
run the application would be the same as the Java version of the JVM
that is running the build. This assumption does not hold true when
Gradle's toolchain support is used to configure tasks that fork a new
JVM to use a version other than that being used by Gradle itself.

This commit updates the BootRun task to query the JavaLauncher property
when determining the version of Java on which the application will be
run. Toolchain support and the JavaLauncher property are new in Gradle
6.7. To support earlier versions of Gradle, NoSuchMethodError is caught
we continue as if no JavaLauncher has been configured and use the local
JVM's Java version.

Fixes gh-24512
4 years ago
Andy Wilkinson 5ad4d627fd Fix classpath index so entries match those expected by the launcher
This reverts commit ad164269e9 and adds
some additional tests.

Fixes gh-24192
4 years ago
Stephane Nicoll 826d79be3e Clarify behaviour of WebServerFactory in reference guide
Closes gh-24705
4 years ago
Scott Frederick a302238e21 Remove layout parameters from build-image Maven goal
This commit removes the `layout` and `layoutFactory` parameters
from the `build-image` goal in the Maven plugin while retaining
them for the `repackage` goal. The `build-image` goal currently
only supports jar archives, so allowing other layout types to be
configured for the goal could cause confusion.

Fixes gh-24105
4 years ago
Phillip Webb 7cbd57b635 Log FailureAnalyzer errors at trace level
Update `FailureAnalyzers` to log errors at `trace` rather than `debug`.
This should reduce noise when an analyzer unexpectedly fails and the
user is running with `--debug`.

Fixes gh-24630
4 years ago
Phillip Webb a24ec9d372 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb 46629ef5e4 Migrate away from pivotal-legacy/homebrew-tap
Update formula to use spring-boot rather than springboot. This will
allow both taps to be used at the same time.

See gh-24659
4 years ago
Phillip Webb ef09982b39 Merge branch '2.2.x' into 2.3.x
Closes gh-24680
4 years ago
Phillip Webb 25033ee5e7 Migrate away from pivotal-legacy/homebrew-tap
Update reference documentation to the new spring-io/homebrew-tap repo.

Closes gh-24659
4 years ago
Madhura Bhave 73a2a4b383 Consider context-path for WebTestClient baseUrl
Fixes gh-24168
4 years ago
Phillip Webb 52e47c4275 Fix test for JSR-350 @Nonnull
Closes gh-24647
4 years ago
Phillip Webb 848ed65f5b Add test for JSR-350 @Nonnull
Closes gh-24647
4 years ago
Stephane Nicoll 67d1f355d7 Fix Nullable reference
See gh-24647
4 years ago
Stephane Nicoll 2bd78355dc Reference javax.annotation.Nonnull support in reference guide
See gh-24647
4 years ago
Phillip Webb 9b9c3edfcd Polish "Return -1 port for non-listening WebServers"
See gh-24606
4 years ago
Stefan Partusch 5c61df3131 Return -1 port for non-listening WebServers
Update `WebServer` implementations to return -1 from `getPort()` if
the server  isn't listening on a port. This aligns the implementations
with the interface Javadoc.

See gh-24606
4 years ago
Phillip Webb 2ad9a47d08 Support JSR-305 annotations on endpoint methods
Update `OperationMethodParameter` to additionally support JSR-305 based
`@Nullable` annotations.

Closes gh-24647
4 years ago
dreis2211 fe3217d2c4 Exclude starters from Javadoc aggregation
See gh-24648
4 years ago
Stephane Nicoll f33c7bc27c Polish "Remove unnecessary semicolon"
See gh-24628
4 years ago
Andrey Kolchanov 097104584c Remove unnecessary semicolon
See gh-24628
4 years ago
Madhura Bhave 9928d74a9e Revert fix to enable cors for actuator endpoints
The fix causes a Jersey application to fail in the absence
of a `CorsFilter` or `CorsConfigurationSource` bean.

See gh-11987
4 years ago
dreis2211 261b7a5b18 Update copyrights to 2021
See gh-24625
4 years ago
Stephane Nicoll d0a1c49873 Polish
See gh-24604
4 years ago
Stephane Nicoll d86eba3b6b Upgrade to Thymeleaf 3.0.12
Closes gh-24599
4 years ago
Madhura Bhave b29ac37db6 Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24596
4 years ago
Stephane Nicoll 9e5a6c5228 Harmonize references to ActiveMQ Artemis
Closes gh-24586
4 years ago
Stephane Nicoll 306b964ce3 Fix multi-release JAR test on JDK 16
See gh-24453
4 years ago
izeye 97dd4c0871 Polish
See gh-24558
4 years ago
Madhura Bhave b82f5a408a Add a note about disabling git info
See gh-24205
4 years ago
Madhura Bhave a5c8b84511 Update version of git-properties plugin in the docs
Closes gh-24567
4 years ago
Madhura Bhave 302ba77812 Improve documentation regarding git commit info
Closes gh-24205
4 years ago
Madhura Bhave c9a09cf6a9 Clarify when SpEL expressions in application properties are evaluated
Closes gh-24531
4 years ago
Madhura Bhave 1db271c2c5 Reorder documentation about building images
Closes gh-24560
4 years ago
Phillip Webb c4e41305d5 Prevent Tomcat URL "reflective access" warnings
Update the jar `Handler` class to support a non-reflective fallback
mechanism when possible. The updated code attempts to capture a regular
jar URL before our handler is installed. It can then use that URL as
context when creating the a fallback URL. The JDK jar `Handler` will
be copied from the context URL to the fallback URL.

Without this commit, resolving new Tomcat URLs of the form
`jar:war:file:...` would result in an ugly "Illegal reflective access"
warning.

Fixes gh-18631
4 years ago
Madhura Bhave 361198ebba Fix tests
See gh-11987
4 years ago
Madhura Bhave 09e07428cc Configure CORS in default security configuration for MVC
Fixes gh-11987
4 years ago
Scott Frederick e4d124dc45 Improve error message with Maven build-image and war packaging
Fixes gh-24522
4 years ago
dreis2211 0ec603cdad Avoid duplicates in MergedContextConfiguration
Remove duplicate config attribute classes by using a `Set` rather
than a `List` in the `SpringBootTestContextBootstrapper`.

See gh-24532
4 years ago
Scott Frederick 0e5df2296e Fail with Gradle bootBuildImage and war packaging
Prior to this commit, running the bootBuildImage Gradle task on a
project configured for war packaging would result in a jar file being
built and used in the image instead of the war file. With this commit
an error will be thrown from the plugin in this case.

Fixes gh-24521
4 years ago
Phillip Webb 29300530c6 Polish 4 years ago
Andy Wilkinson 76198f9a8d Include properties from test-autoconfigure in config props appendix
Closes gh-24486
4 years ago
Stephane Nicoll 26e7e61919 Merge branch '2.2.x' into 2.3.x
Closes gh-24494
4 years ago
Stephane Nicoll 60f526add0 Remove links to Jetty API and documentation
This commit removes links to Jetty API and documentation as those links
are breaking every time the Jetty team releases a new version

See https://github.com/eclipse/jetty.project/issues/4546

Closes gh-24493
4 years ago
Stephane Nicoll 0533ac58fb Test the Gradle plugin against 6.7.1
Closes gh-24449
4 years ago
Stephane Nicoll ab99de4349 Polish
See gh-24418
4 years ago
Stephane Nicoll 94b6b62077 Upgrade to Undertow 2.1.5.Final
Closes gh-24441
4 years ago
Stephane Nicoll 30748b8dd0 Upgrade to Tomcat 9.0.41
Closes gh-24440
4 years ago
Stephane Nicoll 264cd83f4b Upgrade to Netty tcNative 2.0.35.Final
Closes gh-24439
4 years ago
Stephane Nicoll 1c720a56b2 Upgrade to Netty 4.1.55.Final
Closes gh-24438
4 years ago
Stephane Nicoll b6b046702f Upgrade to Caffeine 2.8.8
Closes gh-24437
4 years ago
Stephane Nicoll fd91daaf21 Upgrade to ActiveMQ 5.15.14
Closes gh-24436
4 years ago
Stephane Nicoll 5f8900ea0e Upgrade to Spring Kafka 2.5.10
Closes gh-24293
4 years ago
Stephane Nicoll 18e2ce1682 Upgrade to Spring Batch 4.2.5
Closes gh-24290
4 years ago
Stephane Nicoll c08310ca35 Upgrade to Spring AMQP 2.2.13
Closes gh-24287
4 years ago
Stephane Nicoll 388f00612e Upgrade to Micrometer 1.5.9
Closes gh-24427
4 years ago
Stephane Nicoll 7f9d0d2d7c Upgrade to Tomcat 9.0.41
Closes gh-24435
4 years ago
Stephane Nicoll 1094b7c10c Upgrade to Activemq 5.15.14
Closes gh-24434
4 years ago
Stephane Nicoll b8c68ef374 Upgrade to Undertow 2.0.33.Final
Closes gh-24433
4 years ago
Stephane Nicoll a9924c3576 Upgrade to Netty Tcnative 2.0.35.Final
Closes gh-24432
4 years ago
Stephane Nicoll 55b680e452 Upgrade to Netty 4.1.55.Final
Closes gh-24431
4 years ago
Stephane Nicoll 6d5e3b2c0d Upgrade to Caffeine 2.8.8
Closes gh-24430
4 years ago
Stephane Nicoll 60e69c2c3e Upgrade to Spring Kafka 2.3.13
Closes gh-24292
4 years ago
Stephane Nicoll 520b4bba9c Upgrade to Spring Batch 4.2.5
Closes gh-24289
4 years ago
Stephane Nicoll 317ec32458 Upgrade to Spring Integration 5.2.10
Closes gh-24429
4 years ago
Stephane Nicoll 241730bf10 Upgrade to Spring AMQP 2.2.13
Closes gh-24286
4 years ago
Phillip Webb 0bfa9cf107 Merge branch '2.2.x' into 2.3.x
Closes gh-24424
4 years ago
Phillip Webb 869141766b Use deterministic ordering of JavaBean methods
Update `JavaBeanBinder` so that methods and fields are sorted before
being processed. This ensures that setters are called in a deterministic
order, rather than the unspecified and variable order that reflection
provides.

Fixes gh-24068
4 years ago
Stephane Nicoll f4ed2e72c5 Upgrade to Spring Data Neumann-SR6
Closes gh-24283
4 years ago
Stephane Nicoll 6a8ad73e2e Upgrade to Spring Data Moore-SR12
Closes gh-24282
4 years ago
Stephane Nicoll 84b92bc531 Upgrade to Spring HATEOAS 1.1.3
Closes gh-24419
4 years ago
Stephane Nicoll 52b5c36750 Upgrade to Micrometer 1.5.8
Closes gh-24280
4 years ago
Stephane Nicoll 8c676a43bd Upgrade to Spring Framework 5.2.12
Closes gh-24277
4 years ago
Stephane Nicoll 275816d9f9 Upgrade to Micrometer 1.3.16
Closes gh-24279
4 years ago
Stephane Nicoll e961afd64f Upgrade to Spring Framework 5.2.12
Closes gh-24276
4 years ago
Phillip Webb 0d157e046f Fix checkstyle violations
See gh-21015
4 years ago
Phillip Webb 49e754f48b Merge branch '2.2.x' into 2.3.x
Closes gh-24411
4 years ago
Phillip Webb 286ef61071 Narrow auto-configure checkstyle suppressions
Closes gh-21015
4 years ago
Phillip Webb 30717b6ae3 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb 4f95486822 Polish note about Maven/Gradle restarts
See gh-24271
4 years ago
Phillip Webb 445c6b8aa6 Merge branch '2.2.x' into 2.3.x
Closes gh-24409
4 years ago
Phillip Webb 10d3121e27 Polish "Triggering a restart" formatting
See gh-24271
4 years ago
Billy T. Hernandez 0503079dc5 Document devtools restart with Maven/Gradle
Update the documentation to help avoid confusion for people who aren't
using an IDE.

See gh-24271
4 years ago
Phillip Webb 06531b9b71 Merge branch '2.2.x' into 2.3.x
Closes gh-24407
4 years ago
Phillip Webb 89642f0ce8 Add link to appendix from error handling
Improve documentation by adding a link from the "Error Handling" section
to the appendix.

Closes gh-24265
4 years ago
Phillip Webb 11f285bde5 Merge branch '2.2.x' into 2.3.x
Closes gh-24403
4 years ago
izeye 8c55803931 Polish
See gh-24306
4 years ago
Stephane Nicoll 06671aa50e Stop deferring JPA bootstrap mode by default
This commit changes the default value of bootstrap-mode to "default"
rather than "deferred" so that the JPA infrastructure starts in the
main thread rather than asynchronously.

Closes gh-24249
4 years ago
Stephane Nicoll f84cb1b765 Upgrade to Reactor Dysprosium-SR15
Closes gh-24274
4 years ago
Stephane Nicoll 07a1ef3604 Upgrade to Reactor Dysprosium-SR15
Closes gh-24273
4 years ago
Stephane Nicoll 64d4648ad1 Upgrade to Spring Security 5.3.6
Closes gh-24296
4 years ago
Stephane Nicoll 9b4cf0c2fc Start building against Spring Kafka 2.5.10 snapshots
See gh-24293
4 years ago
Stephane Nicoll 4d29098e6a Start building against Spring Batch 4.2.5 snapshots
See gh-24290
4 years ago
Stephane Nicoll c17442c37b Start building against Spring AMQP 2.2.13 snapshots
See gh-24287
4 years ago
Stephane Nicoll 92d088f33f Start building against Spring Data Neumann-SR6 snapshots
See gh-24283
4 years ago
Stephane Nicoll 60523b07b9 Start building against Spring Kafka 2.3.13 snapshots
See gh-24292
4 years ago
Stephane Nicoll 4c07539a9f Start building against Spring Batch 4.2.5 snapshots
See gh-24289
4 years ago
Stephane Nicoll dab6d0a53f Start building against Spring AMQP 2.2.13 snapshots
See gh-24286
4 years ago
Stephane Nicoll 9ce919d6dc Start building against Spring Data Moore-SR12 snapshots
See gh-24282
4 years ago
Stephane Nicoll 6e040740c6 Upgrade to Tomcat 9.0.40
Closes gh-24375
4 years ago
Stephane Nicoll ddda80909e Upgrade to Jetty 9.4.35.v20201120
Closes gh-24374
4 years ago
Stephane Nicoll 9eeae227b0 Upgrade to HttpCore 4.4.14
Closes gh-24373
4 years ago
Stephane Nicoll c1ef49ae63 Upgrade to Hibernate 5.4.25.Final
Closes gh-24372
4 years ago
Stephane Nicoll 1e252ab382 Upgrade to Groovy 2.5.14
Closes gh-24371
4 years ago
Stephane Nicoll ae71111893 Upgrade to Dropwizard Metrics 4.1.16
Closes gh-24370
4 years ago
Stephane Nicoll dfae03704b Upgrade to DB2 JDBC 11.5.5.0
Closes gh-24369
4 years ago
Stephane Nicoll fa3723eb8b Upgrade to Caffeine 2.8.7
Closes gh-24368
4 years ago
Stephane Nicoll 530b3e79a4 Upgrade to Spring Security 5.2.8.RELEASE
Closes gh-24366
4 years ago
Stephane Nicoll cabe0ef28b Upgrade to Neo4j Ogm 3.2.18
Closes gh-24365
4 years ago
Stephane Nicoll 6779180a94 Upgrade to Infinispan 9.4.21.Final
Closes gh-24364
4 years ago
Stephane Nicoll 75059beac3 Upgrade to Hibernate 5.4.25.Final
Closes gh-24363
4 years ago
Stephane Nicoll aa87b788e2 Upgrade to Jetty 9.4.35.v20201120
Closes gh-24362
4 years ago
Stephane Nicoll 28cf851ed8 Upgrade to Groovy 2.5.14
Closes gh-24361
4 years ago
Stephane Nicoll 0ea2ab1005 Upgrade to Tomcat 9.0.40
Closes gh-24360
4 years ago
Stephane Nicoll 193e3e5e82 Upgrade to Httpcore 4.4.14
Closes gh-24359
4 years ago
Stephane Nicoll e06c106a4f Upgrade to Byte Buddy 1.10.18
Closes gh-24358
4 years ago
Stephane Nicoll e8f6f6be17 Upgrade to Netty 4.1.54.Final
Closes gh-24357
4 years ago
Stephane Nicoll 8498f402e5 Upgrade to Dropwizard Metrics 4.1.16
Closes gh-24356
4 years ago
Stephane Nicoll 7689609f81 Upgrade to Db2 Jdbc 11.5.5.0
Closes gh-24355
4 years ago
Stephane Nicoll cf51d80278 Upgrade to Appengine Sdk 1.9.83
Closes gh-24354
4 years ago
Stephane Nicoll 264ff95753 Upgrade to Caffeine 2.8.7
Closes gh-24353
4 years ago
Stephane Nicoll d8706cdcfe Upgrade to Jackson 2.10.5.20201202
Closes gh-24352
4 years ago
Stephane Nicoll aba4c20823 Upgrade to Couchbase Client 2.7.18
Closes gh-24351
4 years ago
Phillip Webb ff0725f6bf Fix HazelcastHealthIndicatorTests
See gh-24337
4 years ago
Phillip Webb 55ae5be84b Revert "Restore HazelcastHealthIndicatorTests"
This reverts commit 5a51b5853e.
4 years ago
Phillip Webb 5a51b5853e Restore HazelcastHealthIndicatorTests
Restore `HazelcastHealthIndicatorTests` which was accidentally replaced
with a version from 2.4.x.

See gh-24337
4 years ago
Phillip Webb 5f351a6983 Merge branch '2.2.x' into 2.3.x
Closes gh-24338
4 years ago
Phillip Webb d8a05090b3 Fix checkstyle BDD Mockito violations
See gh-24337
4 years ago
Phillip Webb 837fc83527 Fix checkstyle header violations
See gh-24337
4 years ago
Stephane Nicoll 065fde2996 Start building against Spring Framework 5.2.12 snapshots
See gh-24277
4 years ago
Stephane Nicoll 5f81882305 Start building against Reactor Dysprosium-SR15 snapshots
See gh-24274
4 years ago
Stephane Nicoll 9763ba56ba Start building against Spring Framework 5.2.12 snapshots
See gh-24276
4 years ago
Stephane Nicoll afeb9f29d4 Start building against Reactor Dysprosium-SR15 snasphots
See gh-24273
4 years ago
Jim Stockwell bb7ad30de4 Fix ErrorAttributeOptions#getIncludes Javadoc
See gh-24257
4 years ago
Stephane Nicoll 9b992af34b Merge branch '2.2.x' into 2.3.x
Closes gh-24250
4 years ago
Stephane Nicoll d506f0c73e Polish "Reduce redis health indicator info command result size"
See gh-24208
4 years ago
xJoeWoo 99cc3f4bfc Reduce redis health indicator info command result size
See gh-24208
4 years ago
Stephane Nicoll 016b69aa78 Polish "Allow to exclude an empty set of ErrorAttributes"
See gh-24230
4 years ago
Wanderlei Souza 6518f8f7fd Allow to exclude an empty set of ErrorAttributes
See gh-24230
4 years ago
Andy Wilkinson 7efa1e47aa Merge branch '2.2.x' into 2.3.x
Closes gh-24222
4 years ago
Andy Wilkinson 12f2529be5 Allow actuator endpoint to have responses with custom HTTP statuses
Fixes gh-24123
4 years ago
Andy Wilkinson 0ed7f7f40a Merge branch '2.2.x' into 2.3.x
Closes gh-24219
4 years ago
Andy Wilkinson 08b9d1da57 Polish "Ensure that MeterRegistry bean is defined before SI looks for it"
See gh-24095
4 years ago
Artem Bilan 7d712aaa2d Ensure that MeterRegistry bean is defined before SI looks for it
Previously, it was possible for Spring Integration, including its
built-in Micrometer support, to be auto-configured before the
Micrometer auto-configuration had defined the MeterRegistry bean. This
resulted in missing Spring Integration metrics.

Spring Integration is unusual in having its own built-in Micrometer
support that it configures itself. Rather than providing
auto-configuration for Integration's Micrometer support (Which isn't
needed), this commit introduces some auto-configuration that just
affects the ordering of the auto-configuration classes. This ordering
ensures that the MeterRegistry bean has been defined by Spring
Integration is auto-configured. This ensures that the MeterRegistry
bean is known to the BeanFactory when Spring Integration goes looking
for it.

See gh-24095
4 years ago
Andy Wilkinson 988526bee9 Only attempt unwrapping of interfaces
Wrapper's isWrapperFor and unwrap methods both take a Class<?> target
but document that the target should be an interface. Prior to this
change, we were calling isWrapperFor with any Class<?> irrespective of
whether or not it was an interface. When using Oracle UCP each call
to isWrapperFor with an interface results in an exception stack trace
being logged.

This commit upates DataSourceUnwrapper to adhere to Wrapper's contract
by only calling isWrapperFor and unwrap with interfaces.

Fixes gh-24154
4 years ago
Stephane Nicoll f3afd8a0f4 Fix location of Spring LDAP and Spring Session properties
Closes gh-23558
4 years ago
Stephane Nicoll 76912d1952 Merge branch '2.2.x' into 2.3.x
Closes gh-24193
4 years ago
Stephane Nicoll d3440880c4 Polish "Avoid unnecessary pattern compilation in WebFluxTags"
See gh-24147
4 years ago
Peter Paul Bakker b22bb7ea04 Avoid unnecessary pattern compilation in WebFluxTags
See gh-24147
4 years ago
Stephane Nicoll dea12f7551 Merge branch '2.2.x' into 2.3.x
Closes gh-24185
4 years ago
izeye b17895844d Provide dependency management for elasticsearch-rest-client-sniffer
See gh-24173
4 years ago
Scott Frederick da2276e7d4 Use stable builder and run images in integration tests
Fixes gh-24183
4 years ago
Sergey Kolesnikov b341b478a6 Rename "sla" to "slo" in reference documentation
See gh-24160
4 years ago
Stephane Nicoll 8311edf722 Upgrade to Neo4j OGM 3.2.18
Closes gh-24125
4 years ago
Stephane Nicoll 79835dc20f Upgrade to Netty 4.1.54.Final
Closes gh-24124
4 years ago
Andy Wilkinson 3e243de41b Merge branch '2.2.x' into 2.3.x
Closes gh-24121
4 years ago
dreis2211 033c78b945 Fix link to Flyway callback docs
See gh-24119
4 years ago
Andy Wilkinson e35c8e0214 Upgrade to Micrometer 1.5.7
Closes gh-24050
4 years ago
Andy Wilkinson 6507175d35 Upgrade to Spring Kafka 2.5.8.RELEASE
Closes gh-24075
4 years ago
Andy Wilkinson 0053fb7871 Upgrade to Spring Integration 5.3.4.RELEASE
Closes gh-24096
4 years ago
Andy Wilkinson 4a630dc7a9 Only skip ..-prefixed locations when found via wildcard
Closes gh-23983
4 years ago
Andy Wilkinson e8a1c3b9f8 Start building against Spring Integration 5.3.4 snapshots
See gh-24096
4 years ago
Andy Wilkinson 85cb5d4b3b Upgrade to Reactor Dysprosium-SR14
Closes gh-24109
4 years ago
Andy Wilkinson e6ab20b029 Merge branch '2.2.x' into 2.3.x
Closes gh-24111
4 years ago
Andy Wilkinson 31042bfc49 Test inclusion of system scope dependencies in repackaged war
Closes gh-22503
4 years ago
Stephane Nicoll afe721bc34 Start building against Reactor Dysprosium-SR14 snapshots
See gh-24109
4 years ago
Stephane Nicoll 9e901b6e07 Upgrade to Testcontainers 1.15.0
Closes gh-24103
4 years ago
Stephane Nicoll 23ad2b4156 Rationalize Testcontainers image versions
This commit rationalizes the Docker image names used in integration
tests.

Closes gh-24107
4 years ago
Stephane Nicoll 0c43d13789 Upgrade to Spring Framework 5.2.11
Closes gh-24034
4 years ago
Stephane Nicoll 339c8d0a26 Revert "Upgrade to Testcontainers 1.15.0" 4 years ago
Stephane Nicoll 5123eb0c74 Fix deprecation in Testcontainers 1.15.0
See gh-24103
4 years ago
Stephane Nicoll c1a1b5fe71 Upgrade to Testcontainers 1.15.0
Closes gh-24103
4 years ago
Stephane Nicoll 48bfdc1314 Revert "Upgrade to testcontainers 1.15.0"
This reverts commit b1c446d1b2.
4 years ago
Stephane Nicoll b1c446d1b2 Upgrade to testcontainers 1.15.0
Closes gh-24103
4 years ago
Stephane Nicoll 6aca0275ad Polish 4 years ago
Stephane Nicoll d962a074c3 Upgrade to jOOQ 3.13.6
Closes gh-24081
4 years ago
Stephane Nicoll 2c67acb970 Upgrade to Hibernate 5.4.23.Final
Closes gh-24080
4 years ago
Stephane Nicoll 0142ed1e5c Upgrade to Couchbase Client 3.0.10
Closes gh-24079
4 years ago
Stephane Nicoll ebfa494b2e Upgrade to Byte Buddy 1.10.18
Closes gh-24078
4 years ago
Stephane Nicoll df6181f6bf Upgrade to AppEngine SDK 1.9.83
Closes gh-24077
4 years ago
Stephane Nicoll 2282c73aab Start building against Spring Framework 5.2.11 snapshots
See gh-24034
4 years ago
Andy Wilkinson 44d0ce5ff1 Merge branch '2.2.x' into 2.3.x
Closes gh-24060
4 years ago
Andy Wilkinson 9c5d1646bd Show how to configure a case-sensitive physical naming strategy
Closes gh-24045
4 years ago
Stephane Nicoll 4a8646bd09 Merge branch '2.2.x' into 2.3.x
Closes gh-24058
4 years ago
Stephane Nicoll 59ea7c11f6 Use most specific getter when generating metadata
This commit makes sure to use the most specific getter if more than
one candidate exists.

Closes gh-24002
4 years ago
Andy Wilkinson 91f4541a91 Merge branch '2.2.x' into 2.3.x
See gh-24052
4 years ago
Andy Wilkinson 006d4bc36d Do not set Tomcat's trust store password when null
See gh-24041
4 years ago
Andy Wilkinson 2ffb81f0d9 Merge branch '2.2.x' into 2.3.x
Closes gh-24052
4 years ago
Andy Wilkinson 2425dcd200 Do not set Tomcat's key store and key pass when null
Fixes gh-24041
4 years ago
Andy Wilkinson e447be6df7 Upgrade to Jetty 9.4.34.v20201102
Closes gh-24046
4 years ago
Scott Frederick 62aa1b7aaf Narrow criteria for hidden property paths
A previous change intended to prevent temporary directories created as
an implementation detail of mounting volumes on kubernetes pods from
being used as a source for property files had a side-effect of also
preventing other types of hidden directories from being recognized. This
commit narrows the criteria for considering a directory as hidden,
using the kubernetes `..` prefix convention instead of the Unix `.`
prefix.

Fixes gh-23983
4 years ago
Andy Wilkinson 84cee76700 Merge branch '2.2.x' into 2.3.x
Closes gh-24032
4 years ago
Andy Wilkinson d5980be623 Clarify documentation for relaxed binding of environment variables
Closes gh-22974
4 years ago
Andy Wilkinson e83f3f40be Merge branch '2.2.x' into 2.3.x
Closes gh-24029
4 years ago
Andy Wilkinson a8b8f43180 Improve description of spring.datasource.initialization-mode
Closes gh-21121
4 years ago
Andy Wilkinson 28f7bc37a5 Merge branch '2.2.x' into 2.3.x
Closes gh-24025
4 years ago
Andy Wilkinson c289ba0c2c Recommend disabling context root redirects with proxied Tomcat
Closes gh-22908
4 years ago
Andy Wilkinson 81f672eae3 Merge branch '2.2.x' into 2.3.x
Closes gh-24023
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 7c209478b6 Merge branch '2.2.x' into 2.3.x
Closes gh-24021
4 years ago
Pascal Schumacher 5472fcf433 Fix typo in Spring Session documentation
See gh-24020
4 years ago
Andy Wilkinson b2a058b6fe Merge branch '2.2.x' into 2.3.x
Closes gh-24018
4 years ago
Andy Wilkinson 2f280b01e1 Improve Spring Session back-off documentation
Closes gh-23151
4 years ago
Andy Wilkinson f3d4b3e5ac Allow entries to be streamed from JarURLConnections' jar file
Fixes gh-23821
4 years ago
Andy Wilkinson d1a9dba25d Polish "Avoid repeated calls of WebFlux and MVC registrations' getters"
See gh-23999
4 years ago
Michal Růžička 2aac5c0095 Avoid repeated calls of WebFlux and MVC registrations' getters
See gh-23999
4 years ago
Andy Wilkinson f9ff39a7a6 Merge branch '2.2.x' into 2.3.x
Closes gh-24014
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 dc86e8ce30 Merge branch '2.2.x' into 2.3.x
Closes gh-24012
4 years ago
Andy Wilkinson 6548ca4c11 Implement equals and hashCode in TestTypeExcludeFilter
Fixes gh-23978
4 years ago
Andy Wilkinson 2dce4aa42b Merge branch '2.2.x' into 2.3.x
Closes gh-24009
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 2513071b1f Merge branch '2.2.x' into 2.3.x
Closes gh-24006
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 b846143c37 Merge branch '2.2.x' into 2.3.x
Closes gh-24004
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
Stephane Nicoll 1e9c9b9d73 Add missing default values in configuration properties metadata
Closes gh-23991
4 years ago