Commit Graph

14288 Commits (29da007a69b139cdbd9269e467fce7b22be534b1)

Author SHA1 Message Date
Scott Frederick 5d793afcb5 Prevent hanging when deleting Docker builder container after exception
An exception being thrown while the Maven plugin is uploading the app
archive bits to an ephemeral builder container would leave the
interaction with the Docker daemon in a state that caused further
interaction with the daemon (such as deleting the ephemeral builder)
to hang indefinitely. This commit cleans up the connection on an
exception to prevent this condition.

Fixes gh-27515
3 years ago
Andy Wilkinson 64c0eceec7 Add support for dumping the heap on OpenJ9
Closes gh-26466
3 years ago
Andy Wilkinson e30bf0e3e5 Merge branch '2.5.x'
Closes gh-27528
3 years ago
Andy Wilkinson 43d623e696 Merge branch '2.4.x' into 2.5.x
Closes gh-27527
3 years ago
Andy Wilkinson 7eb5f35f2f Make WebTestClient creation back off when no HTTP client available
Fixes gh-27520
3 years ago
Andy Wilkinson 2482607a06 Merge branch '2.5.x'
Closes gh-27526
3 years ago
Andy Wilkinson 533bb24b55 Merge branch '2.4.x' into 2.5.x
Closes gh-27525
3 years ago
Andy Wilkinson ad2d9c0ab1 Customize Cassandra's configuration to reduce container startup time
Closes gh-27524
3 years ago
Andy Wilkinson cdad8e2b7f Merge branch '2.5.x' 3 years ago
Andy Wilkinson 85054723f0 Reinstate GradleProjectBuilder for compatibility with JDK17-ea32
See gh-27521
3 years ago
Andy Wilkinson 23c4674352 Merge branch '2.5.x'
Closes gh-27522
3 years ago
Andy Wilkinson ca5af2d456 Test our Gradle plugin against Gradle 7.2-rc-1
Closes gh-27521
3 years ago
Andy Wilkinson 1bca2bbc85 Merge branch '2.5.x'
Closes gh-27511
3 years ago
Andy Wilkinson 30f63cc0cf Merge branch '2.4.x' into 2.5.x
Closes gh-27510
3 years ago
Andy Wilkinson ade922baec Stabilize LiveReloadServerTests
Closes gh-27503
3 years ago
Andy Wilkinson e265825653 Merge branch '2.5.x'
Closes gh-27506
3 years ago
Andy Wilkinson 08e26c97aa Merge branch '2.4.x' into 2.5.x
Closes gh-27505
3 years ago
Andy Wilkinson 031a036c9f Customize security filter registration in separate management context
Fixes gh-27372
3 years ago
Stephane Nicoll 6d0f5d5f21 Upgrade to Spring Integration 5.4.9
Closes gh-27500
3 years ago
Stephane Nicoll d31653e3c3 Upgrade to Spring Kafka 2.6.10
Closes gh-27501
3 years ago
Andy Wilkinson 4247131192 Start building against Spring Integration 5.4.9 snapshots
See gh-27500
3 years ago
Andy Wilkinson 04dc62904f Merge branch '2.4.x' into 2.5.x
Closes gh-27495
3 years ago
Andy Wilkinson 5d9da7206e Limit use of deprecated mainClassName in Gradle plugin tests
Closes gh-27320
3 years ago
Andy Wilkinson 11fc231cc9 Merge branch '2.5.x'
Closes gh-27491
3 years ago
Andy Wilkinson 1bf466702b Merge branch '2.4.x' into 2.5.x
Closes gh-27490
3 years ago
Andy Wilkinson 0326fa47b7 Make DataJpaTestSchemaCredentialsIntegrationTests create the schema
Closes gh-26106
3 years ago
Andy Wilkinson 621844abda Polish "Use MessageSource to interpolate bean validation messages"
See gh-17530
3 years ago
Dmytro Nosan bbb8367afb Use MessageSource to interpolate bean validation messages
See gh-17530
3 years ago
Andy Wilkinson ea9b155776 Remove dependency management for org.jboss:jboss-transaction-spi
Closes gh-26574
3 years ago
Andy Wilkinson 5163bdab22 Merge branch '2.5.x'
Closes gh-27489
3 years ago
Andy Wilkinson a71d19bce7 Merge branch '2.4.x' into 2.5.x
Closes gh-27488
3 years ago
Andy Wilkinson 388068cdff Polish "Sanitize URIs with non-alpha characters in their schemes"
See gh-27482
3 years ago
Billy Tobon bafa9c4784 Sanitize URIs with non-alpha characters in their schemes
See gh-27482
3 years ago
Andy Wilkinson 681df90d33 Generate metadata for records using implicit constructor binding
Closes gh-27216
3 years ago
Andy Wilkinson a5656e0932 Make @ConstructorBinding implict for config prop records
Closes gh-27216
3 years ago
Andy Wilkinson 3ff20ed4d9 Merge branch '2.5.x'
Closes gh-27485
3 years ago
Andy Wilkinson dead33a90a Merge branch '2.4.x' into 2.5.x
Closes gh-27484
3 years ago
Andy Wilkinson cff1827e27 Stabilize socketChannelClosedTriggersTunnelClose
Closes gh-27483
3 years ago
Andy Wilkinson 355226c21e Merge branch '2.5.x'
Closes gh-27474
3 years ago
Andy Wilkinson eaca9c7a83 Merge branch '2.4.x' into 2.5.x
Closes gh-27473
3 years ago
Andy Wilkinson ee07d6c3ca Increase response timeout for server-bound WebTestClients
Closes gh-27472
3 years ago
Andy Wilkinson dd7dd58f41 Merge branch '2.5.x'
Closes gh-27471
3 years ago
Andy Wilkinson 589a22eb0d Merge branch '2.4.x' into 2.5.x
Closes gh-27470
3 years ago
Andy Wilkinson 9e81fb3e38 Fix race condition in Jetty graceful shutdown tests
Some of the Jetty graceful shutdown tests were flaky due to the way
in which Jetty behaves when it is stopped.
Stopping the Jetty web server interrupts the thread that's handling
the active request. This initiates a race between the request-handling
thread which will decrement the number of active requests and the
main thread which expects an active request to cause the shutdown
result to be REQUESTS_ACTIVE. The test passes when the main thread
wins and fails as a request is active which it's checked. When the
request-handling thread wins the test fails as the count of active
requests has been deprecated before it is checked.

The blocking servlet that's used to stall a request and keep it
active needs to be updated to ignore the thread being interrupted
and continue waiting. This will ensure that a request remains active
until the main thread has checked the active request count and
determine the result of the shutdown.

Closes gh-27464
3 years ago
Phillip Webb 7e9ac39f0d Update copyright year of changed files 3 years ago
Phillip Webb 20a6073913 Polish 3 years ago
Andy Wilkinson c9361798be Merge branch '2.5.x'
Closes gh-27455
3 years ago
Andy Wilkinson 18b4898977 Polish "Fix deriving DataSources from custom type"
See gh-27453
3 years ago
saraswathy-krish d0e2823c49 Fix deriving DataSources from custom type
Eliminate the unsupported datasource property exception thrown
when trying to derive a datasource from an unknown datasource type.

See gh-27453
3 years ago
Andy Wilkinson 68c5f6cd30 Upgrade to Undertow 2.2.9.Final
Closes gh-27452
3 years ago
Andy Wilkinson 191bd8ca57 Upgrade to SLF4J 1.7.32
Closes gh-27451
3 years ago
Andy Wilkinson a279d42712 Upgrade to MySQL 8.0.26
Closes gh-27450
3 years ago
Andy Wilkinson 982d6c6097 Upgrade to Logback 1.2.4
Closes gh-27449
3 years ago
Andy Wilkinson 8044bd2424 Upgrade to Jedis 3.6.3
Closes gh-27448
3 years ago
Andy Wilkinson 3ca86435d1 Upgrade to Undertow 2.2.9.Final
Closes gh-27446
3 years ago
Andy Wilkinson aaf26245d5 Upgrade to SLF4J 1.7.32
Closes gh-27445
3 years ago
Andy Wilkinson 7fbfbfe21e Upgrade to MySQL 8.0.26
Closes gh-27444
3 years ago
Andy Wilkinson 37f690323f Polish
Closes gh-27432
3 years ago
Andy Wilkinson bb26b7bdf5 Polish
Closes gh-27431
3 years ago
izeye 734293d491 Polish
See gh-27418
3 years ago
Andy Wilkinson c211c971f1 Polishing
Closes gh-27429
3 years ago
Andy Wilkinson 4a533e14c3 Merge branch '2.4.x' into 2.5.x
Closes gh-27428
3 years ago
dreis2211 4d0c98011e Polishing
See gh-27417
3 years ago
Andy Wilkinson 91579158c3 Merge branch '2.5.x'
Closes gh-27425
3 years ago
Andy Wilkinson 29c83bfd76 Instantiate detectors with ClassLoader that discovered them
Fixes gh-27422
3 years ago
Andy Wilkinson 7e0fdb74f5 Merge branch '2.5.x'
Closes gh-27174
3 years ago
Andy Wilkinson dfe91be885 Upgrade to Spring Integration 5.5.2
Closes gh-27166
3 years ago
Andy Wilkinson 289ebef7da Merge branch '2.5.x'
Closes gh-27420
3 years ago
Andy Wilkinson a5e95ef4c8 Merge branch '2.4.x' into 2.5.x
Closes gh-27419
3 years ago
Andy Wilkinson b5587b053d Use ClassLoader that will load Yaml to check if it's present
Fixes gh-27133
3 years ago
Andy Wilkinson a05da3ae14 Merge branch '2.5.x'
Closes gh-27416
3 years ago
dreis2211 0ea3b9246a Add Java 17 to JavaVersion enum
See gh-26769
3 years ago
Andy Wilkinson 668f45f0e8 Polish "Make RabbitTemplateConfigurer's setters public"
See gh-27376
3 years ago
bono007 ce87928170 Make RabbitTemplateConfigurer's setters public
See gh-27376
3 years ago
Andy Wilkinson 6e7e72a481 Remove redundant deprecation suppressions
Closes gh-27415
3 years ago
dreis2211 f0df9671cd Remove redundant deprecation suppressions
See gh-27409
3 years ago
Andy Wilkinson 5783caabd7 Upgrade to Spring AMQP 2.3.10
Closes gh-27392
3 years ago
Andy Wilkinson 47289de332 Upgrade to Spring Kafka 2.7.4
Closes gh-27165
3 years ago
Scott Frederick 9f001efa29 Adjust fat jar central directory to account for launch script
An upgrade to Apache Commons Compress allows the build plugins to write
the launch script to the fat jar as a proper preamble, making the file
compatible with more jar and zip tooling.

Fixes gh-22336
3 years ago
Andy Wilkinson b5ef5a2d90 Merge branch '2.5.x'
Closes gh-27408
3 years ago
Andy Wilkinson 9d2cb162e6 Configure initializer dependencies grouped by detector
Previously, database initializers were detected and were configured
with dependencies based on their detection order. For example, if
detectors a, b, and c detected initializers a1, b1, b2, and c1,
c1 would depend on b2, b2 on b1, and b1 on a1:

------     ------     ------     ------
| c1 | --> | b2 | --> | b1 | --> | a1 |
------     ------     ------     ------

This could cause a dependency cycle in certain situations, for
example because the user had already configured b1 to depend on b2.

This commit reduces the risk of a cycle being created by batching
the initializers by their detector, with dependencies being
configured between each batch rather than between every initializer.
In the example above, this results in c1 depending on b1 and b2,
and b1 and b2 depending on a1:

           ------
------     | b1 |     ------
| c1 | --> |    | --> | a1 |
------     | b2 |     ------
           ------

As b1 and b2 were detected by the same detector, no dependency
between those initializers is defined.

Closes gh-27131
3 years ago
Andy Wilkinson 8e7a6ceb44 Polish "Make dev tools' home directory configurable"
See gh-17924
3 years ago
sfeldstein b9dbfad473 Make dev tools' home directory configurable
This allows separate projects to keep their own settings where common
settings such as spring.* or server.* don't conflict.

See gh-17924
3 years ago
Andy Wilkinson 48db35bf8d Upgrade to Spring Kafka 2.8.0-M1
Closes gh-27177
3 years ago
Andy Wilkinson a1cf18a06a Upgrade to Spring AMQP 2.4.0-M1
Closes gh-27171
3 years ago
Andy Wilkinson f1e99649df Upgrade to Spring Security 5.6.0-M1
Closes gh-27173
3 years ago
Andy Wilkinson 9d64269552 Upgrade to Logback 1.2.4
Closes gh-27380
3 years ago
Andy Wilkinson 9973937af3 Upgrade to Spring AMQP 2.3.10
Closes gh-27391
3 years ago
Andy Wilkinson 26bedd6527 Upgrade to Spring Data 2021.1.0-M1
See gh-27170
3 years ago
Andy Wilkinson ed38ac6ff0 Polish "Add idle timeout property for Reactor Netty"
See gh-27371
3 years ago
Saraswathy Hariharakrishnan cbcd7b939b Add idle timeout property for Reactor Netty
See gh-27371
3 years ago
izeye 14d8c33125 Polish
See gh-27405
3 years ago
Andy Wilkinson 51fedd6528 Reinstate support for Hibernate < 5.5
See gh-27352
3 years ago
Andy Wilkinson 6d50e65572 Revert "Add support for InfluxDB 2.x"
This reverts commit 52fedb2bb4.

See gh-25891
3 years ago
Andy Wilkinson 4d30eb453f Adopt Hiberate's CamelCaseToUnderscoresNamingStrategy
Closes gh-27352
3 years ago
Andy Wilkinson 99ada4e386 Upgrade to Rabbit AMQP Client 5.13.0
Closes gh-27404
3 years ago
Andy Wilkinson 02c1ce0953 Upgrade to Netty 4.1.66.Final
Closes gh-27403
3 years ago
Andy Wilkinson bae0a081fe Upgrade to jOOQ 3.14.13
Closes gh-27402
3 years ago
Andy Wilkinson 3112d163ea Upgrade to Jedis 3.6.2
Closes gh-27401
3 years ago
Andy Wilkinson d37e79a7f2 Upgrade to Infinispan 12.1.7.Final
Closes gh-27400
3 years ago
Andy Wilkinson 5f537cca39 Upgrade to Hibernate 5.5.4.Final
Closes gh-27399
3 years ago
Andy Wilkinson 9082e16a25 Upgrade to Git Commit ID Plugin 4.9.9
Closes gh-27398
3 years ago
Andy Wilkinson 5bedfe414f Upgrade to Flyway 7.11.2
Closes gh-27397
3 years ago
Andy Wilkinson 521155c48f Upgrade to Dropwizard Metrics 4.2.3
Closes gh-27396
3 years ago
Andy Wilkinson 3409c13b0e Upgrade to Byte Buddy 1.11.8
Closes gh-27395
3 years ago
Andy Wilkinson e1623708bd Upgrade to AppEngine SDK 1.9.90
Closes gh-27394
3 years ago
Andy Wilkinson 069074e490 Make ConnectionNameStrategy publicly settable
See gh-26982
3 years ago
Andy Wilkinson b354188bd8 Upgrade to Spring Data 2021.0.3
Closes gh-27164
3 years ago
Andy Wilkinson 6c8e040089 Upgrade to Netty 4.1.66.Final
Closes gh-27390
3 years ago
Andy Wilkinson ff31dffb0b Upgrade to jOOQ 3.14.13
Closes gh-27389
3 years ago
Andy Wilkinson 67739d9126 Upgrade to Jetty Reactive HTTPClient 1.1.10
Closes gh-27388
3 years ago
Andy Wilkinson db6ab63a38 Upgrade to Jedis 3.6.2
Closes gh-27387
3 years ago
Andy Wilkinson f6e4e0b299 Upgrade to Infinispan 12.1.7.Final
Closes gh-27386
3 years ago
Andy Wilkinson b4c3d00bd0 Upgrade to Dropwizard Metrics 4.1.25
Closes gh-27385
3 years ago
Andy Wilkinson 0ffafae375 Upgrade to AppEngine SDK 1.9.90
Closes gh-27384
3 years ago
Andy Wilkinson 3e0829cd47 Upgrade to Spring Data 2020.0.11
Closes gh-27161
3 years ago
Andy Wilkinson d8959f4bb2 Upgrade to Netty 4.1.66.Final
Closes gh-27381
3 years ago
Andy Wilkinson 47afdc0218 Upgrade to jOOQ 3.14.13
Closes gh-27379
3 years ago
Andy Wilkinson f8e3d86223 Upgrade to Dropwizard Metrics 4.1.25
Closes gh-27378
3 years ago
Andy Wilkinson 1d3b0d6262 Upgrade to AppEngine SDK 1.9.90
Closes gh-27377
3 years ago
Scott Frederick a0b32251eb Split gradle test support into a separate module
See gh-25824
3 years ago
Andy Wilkinson d60191add2 Merge pull request #26258 from pirgeo
* gh-26258:
  Polish "Refine documentation"
  Refine documentation
  Polish "Add properties for Dynatrace metrics API v2 ingest with Micrometer"
  Add properties for Dynatrace metrics API v2 ingest with Micrometer

Closes gh-26258
3 years ago
Andy Wilkinson 21b3202ab2 Polish "Refine documentation"
See gh-26258
3 years ago
Georg Pirklbauer d0cd3ab1d3 Refine documentation
See gh-26258
3 years ago
Andy Wilkinson 3d581847e6 Merge branch '2.5.x'
Closes gh-27370
3 years ago
Andy Wilkinson 96111514e1 Merge branch '2.4.x' into 2.5.x
Closes gh-27369
3 years ago
Andy Wilkinson 06a3c40506 Use a 10s init query timeout in Cassandra tests
Closes gh-27368
3 years ago
Andy Wilkinson 25234219ce Merge branch '2.5.x'
Closes gh-27365
3 years ago
dreis2211 be38ce3645 Disable Gradle plugin tests that fail on JDK 17
See gh-27328
3 years ago
Andy Wilkinson 43f1b98864 Polish "Add @WebServiceServerTest slice test support"
See gh-27091
3 years ago
Daniil Razorenov c897b1e689 Add @WebServiceServerTest slice test support
Add `@WebServiceServerTest` and related test auto-configuration to
allow slice testing of Spring Web Service server applications.

See gh-27091
3 years ago
Andy Wilkinson bc8ab6c755 Merge branch '2.5.x'
Closes gh-27362
3 years ago
Andy Wilkinson 1e09ef1db3 Merge branch '2.4.x' into 2.5.x
Closes gh-27361
3 years ago
Andy Wilkinson fe081b1742 Add Gson converter immediately before default Jackson converter
Previously, when the preferred json mapper was set to Gson, the Gson
HTTP message converter was added before any other converters. This
changed the form of String responses that were already valid. When
Jackson is in use, a string converter is used as it appears earlier
in the list than the Jackson converter. When the mapper is switched
to Gson, the Gson converter is added first in the list of converters
and the Strong converter is no longer used. This results in the
String, that was already valid JSON, being converted again. This
changes its form as quotes are escaped, etc.

This commit updates HttpMessageConverters so that the Gson converter
is added to the list immediately before the default Jackson
converter. This is done by considering the Gson converter to be an
equivalent of the Jackson converter.

Fixes gh-27354
3 years ago
Madhura Bhave cdd80e660a Merge branch '2.5.x' into main
Closes gh-27358
3 years ago
anvithabs e48efa158b Fix reference to a configuration property in cloud.adoc
See gh-27357
3 years ago
Madhura Bhave 7bae960d78 Polish "Support comma-separated basePackage values in EntityScan"
See gh-27355
3 years ago
Saraswathy Hariharakrishnan 00b9a8811d Support comma-separated basePackage values in EntityScan
See gh-27355
3 years ago
izeye 198e40c72e Remove Flyway references from DependsOn BFPPs for Liquibase
See gh-27348
3 years ago
Andy Wilkinson 3e0baf1bfd Merge branch '2.5.x'
Closes gh-27353
3 years ago
Andy Wilkinson c8c784bd5c Allow @SpyBean to be used to spy on a Spring Data repository
Fixes gh-7033
3 years ago
Andy Wilkinson 969ca71af3 Update version property for Prometheus to reflect its scope
Closes gh-27350
3 years ago
Andy Wilkinson 13fc16b29b Merge branch '2.5.x'
Closes gh-27351
3 years ago
Andy Wilkinson 62695f76f7 Provide complete dependency management for Prometheus's Pushgateway
Fixes gh-27349
3 years ago
Andy Wilkinson 800957e5a3 Upgrade to Spring HATEOAS 1.4.0-M1
Closes gh-27185
3 years ago
Andy Wilkinson 1b130c572c Remove dependency management for org.webjars:hal-browser
Closes gh-26192
3 years ago
Andy Wilkinson 84455f86fd Polish "Add properties for Dynatrace metrics API v2 ingest with Micrometer" 3 years ago
Georg Pirklbauer 3161164912 Add properties for Dynatrace metrics API v2 ingest with Micrometer 3 years ago
Andy Wilkinson 6f0b23502e Merge branch '2.5.x'
Closes gh-27347
3 years ago
Andy Wilkinson d4159130a5 Merge branch '2.4.x' into 2.5.x
Closes gh-27346
3 years ago