Commit Graph

11618 Commits

Author SHA1 Message Date
Artem Bilan
11e0ea1305 GH-8856: Adjust phase for TaskScheduler global bean
Fixes: #8856

The `ThreadPoolTaskScheduler` in Spring Framework manages now a lifecycle
with a `Integer.MAX_VALUE` phase by default.
This causes a wait block for scheduled tasks in the `AbstractPollingEndpoint` instances.
These tasks are cancelled by in the later `Integer.MAX_VALUE / 2` phase.
So, we have a lifecycle deadlock on context close

* Fix `DefaultConfiguringBeanFactoryPostProcessor.registerTaskScheduler()`
with a `.addPropertyValue("phase", SmartLifecycle.DEFAULT_PHASE / 2)`
to let the `AbstractPollingEndpoint` to cancel its currently scheduled task
to avoid possible pollution with unexpected (and lost) messages

**Cherry-pick to `6.2.x`**
2024-01-12 13:51:45 -05:00
Artem Bilan
40d4150dae Fix deprecation warnings
* Remove `forkEvery = 1000` since where the build fails there is no way find the reason
* Rework affected test classes to use JUnit 5 API
* Use Java text block for JSON snippets in the test
2024-01-12 12:38:33 -05:00
Artem Bilan
f27a6410c6 Some Gradle build optimizations 2024-01-12 10:04:02 -05:00
Artem Bilan
6a1795802e Fix updateCopyright Gradle task to read files in UTF-8
This would avoid non-ASCII symbols breakage on those operating systems where UTF-8 is not default
2024-01-11 13:32:06 -05:00
Artem Bilan
5d55753dae Fix typos in mongodb.adoc 2024-01-08 09:30:25 -05:00
dependabot[bot]
4906c8b132 Bump the development-dependencies group with 1 update (#8855)
Bumps the development-dependencies group with 1 update: com.github.spotbugs.


Updates `com.github.spotbugs` from 6.0.4 to 6.0.5

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07 00:27:09 +00:00
Artem Bilan
0b60dfc9d1 GH-8852: Fix TcpNetServerConnectionFactory.run loop
Fixes: #8852

The `while (true) {` causes the thread to be blocked forever.
The `stop()` waits on the `if (!executorService.awaitTermination(10, TimeUnit.SECONDS)) {` the whole time

* Fix with the `while (isActive()) {`
* Remove the `ConnectionFactoryTests.testEarlyCloseNet()` since we cannot reach expectations because of
race condition between `start()` and `stop()`

**Cherry-pick to `6.2.x` & `6.1.x`**
2024-01-05 15:53:37 -05:00
Artem Bilan
b41a9f54d9 GH-8851: Add Expression options to FileTranMHSpec
Fixes: #8851
2024-01-05 13:22:22 -05:00
Artem Bilan
a3715d04c0 Make CONTRIBUTING.adoc & README.md as actual 2024-01-05 11:31:52 -05:00
Artem Bilan
e4ba493c94 Fix race condition in ObsPropagationChInterTests
The `QueueChannel.receive()` may answer before the `QueueChannel.send()`
observation is closed
2024-01-03 08:52:50 -05:00
dependabot[bot]
ecb1aa827e Bump org.apache.logging.log4j:log4j-bom from 2.22.0 to 2.22.1 (#8849)
Bumps [org.apache.logging.log4j:log4j-bom](https://github.com/apache/logging-log4j2) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/apache/logging-log4j2/releases)
- [Changelog](https://github.com/apache/logging-log4j2/blob/2.x/RELEASE-NOTES.adoc)
- [Commits](https://github.com/apache/logging-log4j2/compare/rel/2.22.0...rel/2.22.1)

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-31 00:41:08 +00:00
Artem Bilan
ee1bbc829d Add schedule & concurrency to ci-snapshot
Make sure that night build is not using Gradle cache.
2023-12-24 18:02:25 -08:00
Artem Bilan
b4fc3479d3 Use spring-dispatch-docs-build.yml
**Cherry-pick to `6.2.x`**
2023-12-22 14:57:51 -05:00
Artem Bilan
85d3284834 Use reusable WF for deploy-docs.yml 2023-12-22 13:37:59 -05:00
Artem Bilan
726a59da37 Improve deploy-docs.yml
* Build only against supported branches and tags
* Move `GH_TOKEN` to the common `env` section
2023-12-22 12:17:57 -05:00
dependabot[bot]
82f4197cdf Bump org.apache.groovy:groovy-bom from 5.0.0-alpha-3 to 5.0.0-alpha-4 (#8848)
Bumps [org.apache.groovy:groovy-bom](https://github.com/apache/groovy) from 5.0.0-alpha-3 to 5.0.0-alpha-4.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.apache.groovy:groovy-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-22 16:53:49 +00:00
Artem Bilan
50ea6b1b02 Move Spring Security into dev group for Dependabot 2023-12-22 11:38:44 -05:00
dependabot[bot]
b9e85cca49 Bump debeziumVersion from 2.5.0.CR1 to 2.5.0.Final (#8834)
Bumps `debeziumVersion` from 2.5.0.CR1 to 2.5.0.Final.

Updates `io.debezium:debezium-embedded` from 2.5.0.CR1 to 2.5.0.Final

Updates `io.debezium:debezium-connector-mysql` from 2.5.0.CR1 to 2.5.0.Final

---
updated-dependencies:
- dependency-name: io.debezium:debezium-embedded
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.debezium:debezium-connector-mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-22 03:27:57 +00:00
Artem Bilan
a183302b06 Downgrade to Jackson 2.15.3
It looks like Dokka Gradke plugin is suffering from breaking change from Jackson `2.16.0`
2023-12-21 22:13:04 -05:00
Artem Bilan
61f2bc4915 Disable classpath conflicts check
It looks like GraalVM jars are not valid zip files to open and iterate.
2023-12-21 21:54:16 -05:00
Artem Bilan
643715f00e Add spotbugs to testCompileOnly as well
* Add `com.github.spotbugs` into Dependabot dev group
2023-12-21 18:19:22 -05:00
Artem Bilan
23c792e11b Start version 6.3.0
* Upgrade supported dependencies to their latest versions or `alpha`, `RC`
* Migrate to `com.github.spotbugs` plugin
* Upgrade to GraalVM `23.1.1`, which includes `org.graalvm.polyglot:js` migration
* Remove `spring-integration-security` module
* Fix Debezium tests according to the latest changes in the Debezium library
* Fix deprecations and incompatibility for latest Smack and Spring AMQP
2023-12-21 17:39:34 -05:00
Artem Bilan
075613c4a1 Migrate GHAs for repo from Spring IO org
**Cherry-pick to `6.1.x`**
2023-12-20 17:03:58 -05:00
Spring Builds
f1dac035fa [artifactory-release] Next development version 2023-12-19 19:45:06 +00:00
Spring Builds
43474ccc56 [artifactory-release] Release version 6.2.1 2023-12-19 19:45:02 +00:00
Artem Bilan
7abdbecaa4 Make ci-snapshot.yml generic for support branches 2023-12-19 14:02:21 -05:00
dependabot[bot]
164bf00bcd Bump io.micrometer:micrometer-bom from 1.12.0 to 1.12.1 (#8829)
Bumps [io.micrometer:micrometer-bom](https://github.com/micrometer-metrics/micrometer) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](https://github.com/micrometer-metrics/micrometer/compare/v1.12.0...v1.12.1)

---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 17:49:42 +00:00
dependabot[bot]
33497a4e6f Bump org.springframework.security:spring-security-bom (#8830)
Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 17:41:05 +00:00
Artem Bilan
d8da98136a Fix deprecation in the KotlinFileAggregatorTests.kt 2023-12-19 12:36:01 -05:00
dependabot[bot]
c992ea74a3 Bump the development-dependencies group with 2 updates (#8833)
Bumps the development-dependencies group with 2 updates: [org.testcontainers:testcontainers-bom](https://github.com/testcontainers/testcontainers-java) and com.gradle.enterprise.


Updates `org.testcontainers:testcontainers-bom` from 1.19.2 to 1.19.3
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.19.2...1.19.3)

Updates `com.gradle.enterprise` from 3.15 to 3.15.1

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 12:26:14 -05:00
Artem Bilan
eb6764ba06 Use permissions: write-all for merge-dependabot-pr 2023-12-19 12:04:31 -05:00
Artem Bilan
884359b93f Fix Checksum for Gradle Wrapper 2023-12-19 11:59:31 -05:00
Artem Bilan
d8a336b848 Upgrade to Gradle 8.5
* Fix `org.testcontainers` pattern for Dependabot
* Downgrade to `com.gradle.enterprise:3.15`
* Fix deprecation warning in the `KafkaDslKotlinTests.kt`
2023-12-19 11:57:18 -05:00
Artem Bilan
4bf0d1782b Exclude com.google.code.findbugs from Dependabot 2023-12-19 11:31:54 -05:00
Artem Bilan
ac5a63a2da Add more permissions for merge-dependabot-pr.yml 2023-12-19 11:28:20 -05:00
dependabot[bot]
c80411e95b Bump org.springframework.amqp:spring-amqp-bom from 3.1.0 to 3.1.1 (#8820)
Bumps [org.springframework.amqp:spring-amqp-bom](https://github.com/spring-projects/spring-amqp) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/spring-projects/spring-amqp/releases)
- [Commits](https://github.com/spring-projects/spring-amqp/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: org.springframework.amqp:spring-amqp-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:09:31 -05:00
dependabot[bot]
7d7a78ef65 Bump org.springframework.retry:spring-retry from 2.0.4 to 2.0.5 (#8824)
Bumps [org.springframework.retry:spring-retry](https://github.com/spring-projects/spring-retry) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/spring-projects/spring-retry/releases)
- [Commits](https://github.com/spring-projects/spring-retry/compare/v2.0.4...v2.0.5)

---
updated-dependencies:
- dependency-name: org.springframework.retry:spring-retry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:58:21 -05:00
dependabot[bot]
4002eeb691 Bump org.springframework.ws:spring-ws-bom from 4.0.8 to 4.0.9 (#8825)
Bumps [org.springframework.ws:spring-ws-bom](https://github.com/spring-projects/spring-ws) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/spring-projects/spring-ws/releases)
- [Commits](https://github.com/spring-projects/spring-ws/compare/v4.0.8...v4.0.9)

---
updated-dependencies:
- dependency-name: org.springframework.ws:spring-ws-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:57:46 -05:00
dependabot[bot]
6482db9ae2 Bump the development-dependencies group with 1 update (#8819)
Bumps the development-dependencies group with 1 update: org.apache.tomcat.embed:tomcat-embed-websocket.


Updates `org.apache.tomcat.embed:tomcat-embed-websocket` from 10.1.16 to 10.1.17

---
updated-dependencies:
- dependency-name: org.apache.tomcat.embed:tomcat-embed-websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:57:22 -05:00
dependabot[bot]
b5ccd1f9d1 Bump org.jruby:jruby-complete from 9.4.3.0 to 9.4.5.0 (#8821)
Bumps org.jruby:jruby-complete from 9.4.3.0 to 9.4.5.0.

---
updated-dependencies:
- dependency-name: org.jruby:jruby-complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:56:54 -05:00
dependabot[bot]
bcc2554caa Bump debeziumVersion from 2.4.1.Final to 2.4.2.Final (#8822)
Bumps `debeziumVersion` from 2.4.1.Final to 2.4.2.Final.

Updates `io.debezium:debezium-embedded` from 2.4.1.Final to 2.4.2.Final

Updates `io.debezium:debezium-connector-mysql` from 2.4.1.Final to 2.4.2.Final

---
updated-dependencies:
- dependency-name: io.debezium:debezium-embedded
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.debezium:debezium-connector-mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:56:00 -05:00
dependabot[bot]
025f2dce77 Bump io.projectreactor:reactor-bom from 2023.0.0 to 2023.0.1 (#8823)
Bumps [io.projectreactor:reactor-bom](https://github.com/reactor/reactor) from 2023.0.0 to 2023.0.1.
- [Release notes](https://github.com/reactor/reactor/releases)
- [Commits](https://github.com/reactor/reactor/compare/2023.0.0...2023.0.1)

---
updated-dependencies:
- dependency-name: io.projectreactor:reactor-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:44:14 -05:00
dependabot[bot]
f0dc64584b Bump org.springframework:spring-framework-bom from 6.1.0 to 6.1.2 (#8826)
Bumps [org.springframework:spring-framework-bom](https://github.com/spring-projects/spring-framework) from 6.1.0 to 6.1.2.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.0...v6.1.2)

---
updated-dependencies:
- dependency-name: org.springframework:spring-framework-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:40:10 -05:00
dependabot[bot]
e83467f110 Bump org.apache.groovy:groovy-bom from 4.0.15 to 4.0.16 (#8827)
Bumps [org.apache.groovy:groovy-bom](https://github.com/apache/groovy) from 4.0.15 to 4.0.16.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.apache.groovy:groovy-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:39:50 -05:00
dependabot[bot]
918fa58e64 Bump org.springframework.kafka:spring-kafka-bom from 3.1.0 to 3.1.1 (#8828)
Bumps [org.springframework.kafka:spring-kafka-bom](https://github.com/spring-projects/spring-kafka) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/spring-projects/spring-kafka/releases)
- [Commits](https://github.com/spring-projects/spring-kafka/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: org.springframework.kafka:spring-kafka-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:39:31 -05:00
Artem Bilan
4ca6164a4e Add merge-dependabot-pr.yml GHA 2023-12-19 10:27:33 -05:00
Artem Bilan
273fde9a5e Revert changes to the dependabot.yml 2023-12-19 09:47:40 -05:00
Artem Bilan
4462a6c90e Dev VS Prod for Dependabot 2023-12-19 09:34:45 -05:00
Artem Bilan
542b748d7e Fix release GHA for more permissions
* Improve `dependabot.yml` to group all only dev deps
* Upgrade only to patch releases
* Fix upgrades label for expected by the Changelog-generator
2023-12-18 18:16:38 -05:00
dependabot[bot]
984441dc81 Bump io.micrometer:micrometer-tracing-bom from 1.2.0 to 1.2.1 (#8816)
Bumps [io.micrometer:micrometer-tracing-bom](https://github.com/micrometer-metrics/tracing) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/micrometer-metrics/tracing/releases)
- [Commits](https://github.com/micrometer-metrics/tracing/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-tracing-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:09:49 -05:00