Commit Graph

28828 Commits

Author SHA1 Message Date
Andy Wilkinson
c5cfb8750b Delete files after destroying processes that may be accessing them
Closes gh-25457
2021-03-03 16:42:49 +00:00
Stephane Nicoll
8e67ae7113 Fix fallback fork value for spring-boot:stop
This commit harmonizes the fallback value that spring-boot:stop goal
should use if no information is available in the current context.

Closes gh-25472
2021-03-03 15:15:04 +01:00
Andy Wilkinson
14948cb12e Merge pull request #25457 from dreis2211
* gh-25457:
  Speed up spring-boot-server-tests

Closes gh-25457
2021-03-03 13:46:20 +00:00
dreis2211
b0a6e92fb6 Speed up spring-boot-server-tests
See gh-25457
2021-03-03 13:34:41 +00:00
Stephane Nicoll
dd2dc22085 Upgrade to Jetty 9.4.38.v20210224
Closes gh-25460
2021-03-01 09:20:33 +01:00
Andy Wilkinson
8f72ca6521 Use ResourceConfig customization to register endpoints with Jersey
Previously, actuator endpoints were registered with Jersey upon
injection of the ResourceConfig bean into a registrar class rather than
using a ResourceConfigCustomizer. This was done to fix a problem
when running the Actuator on a separate port where the main application
context's customizers were also applied to the management context,
breaking the singleton contract for those resources. This approach
meant that the registration could be performed at any point after the
ResourceConfig had been created. When Jersey's configured as a Filter
this resulted in the registration failing as the attempt was being made
after the Filter lifecyle callbacks which make the ResourceConfig
immutable.

This commit reworks the endpoint registration to be performed using a
ManagementContextResourceConfigCustomizer, a resource config customizer
that's only applied to the ResourceConfig that's used by the Actuator.
When there's a separate management context, this ResourceConfig is
created by the Actuator's auto-configuration and the management context
resource config customizers are applied to it during its creation. The
main application's customizers are not applied. When the actuator is
using the same context as the main application, this ResourceConfig is
created by the main application. In this case a
ResourceConfigCustomizer is defined that delegates to all
ManagementContextResourceConfigCustomizers, allowing them to register
the actuator endpoints with the main ResourceConfig.

Fixes gh-25262
2021-02-26 14:25:24 +00:00
Andy Wilkinson
1e6506934b Merge pull request #25446 from dreis2211
* gh-25446:
  Split DeploymentIntegrationTests by container
  Rename DeploymentIntegrationTests

Closes gh-25446
2021-02-26 14:06:31 +00:00
dreis2211
4ff9e5edaa Split DeploymentIntegrationTests by container
Prior to this commit, every test started a new testcontainer. By splitting the
tests apart we can make use of static containers that are only instantiated once
per application (TomEE, Wildfly etc.)

See gh-25446
2021-02-26 14:04:17 +00:00
dreis2211
d55d8d6b19 Rename DeploymentIntegrationTests
See gh-25446
2021-02-26 14:04:08 +00:00
Andy Wilkinson
04e1ad614c Merge pull request #25434 from dreis2211
* gh-25434:
  Remove spring-boot-smoke-test-jta-jndi

Closes gh-25434
2021-02-25 18:03:56 +00:00
dreis2211
8bacbff629 Remove spring-boot-smoke-test-jta-jndi
See gh-25434
2021-02-25 18:02:25 +00:00
Andy Wilkinson
94fe45a371 Merge pull request #25409 from wolfs
* gh-25409:
  Enable stricter validation for Gradle plugin

Closes gh-25409
2021-02-25 17:32:19 +00:00
Stefan Wolf
86ca32e694 Enable stricter validation for Gradle plugin
See gh-25409
2021-02-25 17:28:51 +00:00
Andy Wilkinson
cda7c686fd Merge pull request #25412 from dreis2211
* gh-25412:
  Update Testcontainers image versions

Closes gh-25412
2021-02-25 14:28:19 +00:00
dreis2211
101d88a840 Update Testcontainers image versions
See gh-25412
2021-02-25 14:27:41 +00:00
Andy Wilkinson
5f0d72487e Upgrade to Testcontainers 1.15.2
Closes gh-25420
2021-02-25 13:50:16 +00:00
Andy Wilkinson
ac78f55ba8 Upgrade to Maven Common Artifact Filters 3.1.1
Closes gh-25419
2021-02-25 13:48:53 +00:00
Andy Wilkinson
11b77037f1 Make TestFailuresPlugin compatible with Gradle's configuration cache
Closes gh-25405
2021-02-24 12:26:03 +00:00
Andy Wilkinson
a1a61a44cb Upgrade to Gradle 6.8.3
Closes gh-25392
2021-02-22 17:23:58 +00:00
Stephane Nicoll
e41f7fec23 Merge pull request #25382 from mustafau
* pr/25382:
  Update copyright year of changed file
  Fix wording error in build-info goal description

Closes gh-25382
2021-02-22 10:44:55 +01:00
Stephane Nicoll
77daae1480 Update copyright year of changed file
See gh-25382
2021-02-22 10:41:49 +01:00
Mustafa Ulu
abc90db32f Fix wording error in build-info goal description
See gh-25382
2021-02-22 10:26:53 +01:00
Stephane Nicoll
c867b2c293 Merge pull request #25353 from shakuzen
* pr/25353:
  Polish HTTP client metrics documentation wording

Closes gh-25353
2021-02-19 12:49:20 +01:00
Tommy Ludwig
bd2a890899 Polish HTTP client metrics documentation wording
See gh-25353
2021-02-19 12:48:56 +01:00
Andy Wilkinson
90fb65d4ea Upgrade to 0.0.6 of the changelog generator
Closes gh-25355
2021-02-18 11:18:14 +00:00
Andy Wilkinson
83a18a31ea Start using 0.0.6 snapshots of the changelog generator
See gh-25355
2021-02-18 10:48:14 +00:00
Andy Wilkinson
532e7587b8 Correct the version input for changelog generation
See gh-25107
2021-02-18 10:23:43 +00:00
Spring Buildmaster
748e52df57 Next development version (v2.3.10.BUILD-SNAPSHOT) 2021-02-18 09:12:26 +00:00
Andy Wilkinson
78cbe7a4d9 Update Sonatype credentials used to publish to Central 2021-02-18 08:30:32 +00:00
Andy Wilkinson
3ad68a39b6 Upgrade to Spring Integration 5.3.6.RELEASE
Closes gh-25283
2021-02-17 22:28:20 +00:00
Andy Wilkinson
bec065dfd3 Upgrade to Spring AMQP 2.2.15.RELEASE
Closes gh-25284
2021-02-17 18:12:59 +00:00
Andy Wilkinson
98ee724ec6 Stop using Bintray to publish to Maven Central
This commit reworks the CI pipeline to remove the use of Bintray for
publishing to Maven Central. In its place it adds a new
publishToCentral command to the release scripts. This command can be
used to publish a directory tree of artifacts to the Maven Central
gateway hosted by Sonatype.

Publishing consists of 4 steps:

1. Create the staging repository
2. Deploy artifacts to the repository
3. Close the repository
4. Release the repository

The command requires 3 arguments:

1. The type of release being performed
2. Location of a build info JSON file that describes the release
   that is to be deployed
3. Root of a directory structure, in Maven repository layout, that
   contains the artifacts to be deployed

Closes gh-25107
2021-02-17 16:50:02 +00:00
Andy Wilkinson
29d46c86c9 Upgrade to Spring Data Neumann-SR7
Closes gh-25282
2021-02-17 15:04:50 +00:00
Andy Wilkinson
0348b57b16 Upgrade to Spring HATEOAS 1.1.4.RELEASE
Closes gh-25337
2021-02-17 15:04:22 +00:00
Andy Wilkinson
6ce61c504d Upgrade to RxJava2 2.2.21
Closes gh-25336
2021-02-17 15:04:20 +00:00
Andy Wilkinson
92c82a4f54 Upgrade to JUnit 4.13.2
Closes gh-25335
2021-02-17 15:04:19 +00:00
Andy Wilkinson
74b33cce5e Upgrade to FreeMarker 2.3.31
Closes gh-25334
2021-02-17 15:04:18 +00:00
Andy Wilkinson
43c923b3d5 Upgrade to Micrometer 1.5.11
Closes gh-25285
2021-02-17 12:25:56 +00:00
Stephane Nicoll
32f6719ec1 Upgrade to Spring Framework 5.2.13
Closes gh-25281
2021-02-16 15:15:13 +01:00
Stephane Nicoll
8cc513e9e8 Merge pull request #25265 from melburne
* pr/25265:
  Update copyright of changed files
  Fix incorrect detection of Amazon Redshift

Closes gh-25265
2021-02-16 13:50:26 +01:00
Stephane Nicoll
0da7822e27 Update copyright of changed files
See gh-25265
2021-02-16 13:50:15 +01:00
melburne
2163c96205 Fix incorrect detection of Amazon Redshift
See gh-25265
2021-02-16 13:50:15 +01:00
Andy Wilkinson
e15c5d36f2 Merge pull request #25279 from eddumelendez
* gh-25279:
  Polish "Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used"
  Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used

Closes gh-25279
2021-02-16 12:08:21 +00:00
Andy Wilkinson
78941c32c4 Polish "Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used"
See gh-25279
2021-02-16 12:08:08 +00:00
Eddú Meléndez
c55200d19a Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used
See gh-25279
2021-02-16 12:06:09 +00:00
Andy Wilkinson
08802d3afa Merge pull request #25299 from robert-smith-911
* gh-25299:
  Polish "Encourage use of maven-publish plugin in Gradle docs"
  Encourage use of maven-publish plugin in Gradle docs

Closes gh-25299
2021-02-16 11:29:43 +00:00
Andy Wilkinson
a2adb877ee Polish "Encourage use of maven-publish plugin in Gradle docs"
See gh-25299
2021-02-16 11:22:47 +00:00
Robert Smith
c0a5245a3e Encourage use of maven-publish plugin in Gradle docs
See gh-25299
2021-02-16 11:19:27 +00:00
Andy Wilkinson
29af4b953f Add dependency management for new hibernate-micrometer module
Fixes gh-25277
2021-02-16 11:09:02 +00:00
Stephane Nicoll
98964990d4 Upgrade to Reactor Dysprosium-SR17
Closes gh-25280
2021-02-16 08:47:30 +01:00