Commit Graph

11867 Commits

Author SHA1 Message Date
Artem Bilan
d90f20cb26 Use withAssignmentDisabled() for IntSimpEvalCtxFactoryBean
(cherry picked from commit feef055a53)
2024-08-20 15:11:19 +00:00
dependabot[bot]
4889100c63 Bump org.springframework.amqp:spring-amqp-bom from 3.1.6 to 3.1.7 (#9409)
Bumps [org.springframework.amqp:spring-amqp-bom](https://github.com/spring-projects/spring-amqp) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/spring-projects/spring-amqp/releases)
- [Commits](https://github.com/spring-projects/spring-amqp/compare/v3.1.6...v3.1.7)

---
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>
2024-08-20 14:46:00 +00:00
dependabot[bot]
24a1839bfd Bump org.python:jython-standalone from 2.7.3 to 2.7.4 (#9410)
Bumps [org.python:jython-standalone](https://github.com/jython/jython) from 2.7.3 to 2.7.4.
- [Changelog](https://github.com/jython/jython/blob/master/NEWS)
- [Commits](https://github.com/jython/jython/compare/v2.7.3...v2.7.4)

---
updated-dependencies:
- dependency-name: org.python:jython-standalone
  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>
2024-08-20 14:45:48 +00:00
dependabot[bot]
2cec6b33ee Bump org.springframework.retry:spring-retry from 2.0.7 to 2.0.8 (#9384)
Bumps [org.springframework.retry:spring-retry](https://github.com/spring-projects/spring-retry) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/spring-projects/spring-retry/releases)
- [Commits](https://github.com/spring-projects/spring-retry/compare/v2.0.7...v2.0.8)

---
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>
2024-08-18 12:32:43 +00:00
dependabot[bot]
63fafa5b2f Bump io.projectreactor:reactor-bom from 2023.0.8 to 2023.0.9 (#9389)
Bumps [io.projectreactor:reactor-bom](https://github.com/reactor/reactor) from 2023.0.8 to 2023.0.9.
- [Release notes](https://github.com/reactor/reactor/releases)
- [Commits](https://github.com/reactor/reactor/compare/2023.0.8...2023.0.9)

---
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>
2024-08-18 12:30:58 +00:00
dependabot[bot]
ac2ac743b0 Bump io.micrometer:micrometer-tracing-bom from 1.3.2 to 1.3.3 (#9385)
Bumps [io.micrometer:micrometer-tracing-bom](https://github.com/micrometer-metrics/tracing) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/micrometer-metrics/tracing/releases)
- [Commits](https://github.com/micrometer-metrics/tracing/compare/v1.3.2...v1.3.3)

---
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>
2024-08-18 00:44:28 +00:00
dependabot[bot]
2718ededd8 Bump org.springframework:spring-framework-bom from 6.1.11 to 6.1.12 (#9388)
Bumps [org.springframework:spring-framework-bom](https://github.com/spring-projects/spring-framework) from 6.1.11 to 6.1.12.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.11...v6.1.12)

---
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>
2024-08-18 00:37:58 +00:00
dependabot[bot]
13dceb3644 Bump org.springframework.data:spring-data-bom from 2024.0.2 to 2024.0.3 (#9386)
Bumps [org.springframework.data:spring-data-bom](https://github.com/spring-projects/spring-data-bom) from 2024.0.2 to 2024.0.3.
- [Release notes](https://github.com/spring-projects/spring-data-bom/releases)
- [Commits](https://github.com/spring-projects/spring-data-bom/compare/2024.0.2...2024.0.3)

---
updated-dependencies:
- dependency-name: org.springframework.data:spring-data-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>
2024-08-18 00:31:30 +00:00
dependabot[bot]
f45df2731d Bump io.micrometer:micrometer-bom from 1.13.2 to 1.13.3 (#9387)
Bumps [io.micrometer:micrometer-bom](https://github.com/micrometer-metrics/micrometer) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](https://github.com/micrometer-metrics/micrometer/compare/v1.13.2...v1.13.3)

---
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>
2024-08-18 00:30:20 +00:00
Artem Bilan
43c7002d49 Revert back to registerFeature('optional')
With a `components.java.addVariantsFromConfiguration(configurations.optional)` and `io.spring.dependency-management`
combination the version is not published for `optional` dependencies.
Does not look like there is an easy way to extract that version somehow.

So, revert back to the `registerFeature('optional')` for time being.
Even if it is reported as deprecated in Gradle

(cherry picked from commit f49dcc0a2d)
2024-08-16 16:53:03 +00:00
dependabot[bot]
4ec8d939e2 Bump the development-dependencies group with 4 updates (#9379)
Bumps the development-dependencies group with 4 updates: [org.awaitility:awaitility](https://github.com/awaitility/awaitility), [org.hibernate.orm:hibernate-core](https://github.com/hibernate/hibernate-orm), org.apache.tomcat.embed:tomcat-embed-websocket and com.github.spotbugs.


Updates `org.awaitility:awaitility` from 4.2.1 to 4.2.2
- [Changelog](https://github.com/awaitility/awaitility/blob/master/changelog.txt)
- [Commits](https://github.com/awaitility/awaitility/compare/awaitility-4.2.1...awaitility-4.2.2)

Updates `org.hibernate.orm:hibernate-core` from 6.4.9.Final to 6.4.10.Final
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.4.10/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-orm/compare/6.4.9...6.4.10)

Updates `org.apache.tomcat.embed:tomcat-embed-websocket` from 10.1.26 to 10.1.28

Updates `com.github.spotbugs` from 6.0.19 to 6.0.20

---
updated-dependencies:
- dependency-name: org.awaitility:awaitility
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: org.hibernate.orm:hibernate-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: org.apache.tomcat.embed:tomcat-embed-websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-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-08-14 20:09:38 +00:00
Artem Bilan
18e411dc58 More @DirtiesContext for tests in core
An attempt to mitigate a memory impact on limited CI/CD runners

(cherry picked from commit b5ec098eb5)
2024-08-13 20:34:14 +00:00
Artem Bilan
ec2cfeb9b8 Fix tests for executorService.shutdown()
Even if `Executors.newSingleThreadExecutor()` returns a `FinalizableDelegatedExecutorService`,
an instance is kept in the memory until JVM exists.
That may lead to memory leak since we have a lot of threads in memory.

(cherry picked from commit fdac8f1634)
2024-08-13 19:57:50 +00:00
Mitchell
6a7581e6cc GH-9369: Fix MutableMessageHeaders for serialization
Fixes: #9369

* Implement `MutableMessageHeaders.readResolve()` to reinstate the instance

(cherry picked from commit 02b58277f4)
2024-08-08 17:17:20 +00:00
Artem Bilan
2b5ebd06d8 Use io.freefair.aggregate-javadoc plugin
(cherry picked from commit 8df5c43a76)
2024-08-05 20:46:45 +00:00
Artem Bilan
6ae8f734ea Resolve Gradle deprecation warnings
* Use `optional` and `provided` variants instead of `registerFeature`
* Simplify setting `<scope>provided</scope>` for generate POM
* Use lazy-load for `Javadoc.classpath` to avoid early configuration resolution
* Use actual Mark Fisher's e-mail for author. Thank you, Mark!

**Auto-cherry-pick to `6.2.x`**
2024-08-05 10:59:14 -04:00
dependabot[bot]
3933605f46 Bump com.gradle.develocity in the development-dependencies group (#9360)
Bumps the development-dependencies group with 1 update: com.gradle.develocity.


Updates `com.gradle.develocity` from 3.17.5 to 3.17.6

---
updated-dependencies:
- dependency-name: com.gradle.develocity
  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-07-24 21:24:41 +00:00
Artem Bilan
5bf9339f59 Use autoMergeSnapshots for merge-dependabot-pr.yml
**Auto-cherry-pick to `6.2.x`**
2024-07-24 15:01:23 -04:00
Artem Bilan
dcf6fea552 Tweak sme TCP tests to minimize time and memory
(cherry picked from commit 201acf5405)
2024-07-24 14:49:34 +00:00
dependabot[bot]
c3e64f7ea2 Bump kotlinVersion from 1.9.24 to 1.9.25 (#9355)
Bumps `kotlinVersion` from 1.9.24 to 1.9.25.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.9.24 to 1.9.25
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.25/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.24...v1.9.25)

Updates `org.jetbrains.kotlin:kotlin-allopen` from 1.9.24 to 1.9.25
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.25/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.24...v1.9.25)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-allopen
  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>
2024-07-21 01:57:44 +00:00
Artem Bilan
0f28b81ad1 Upgrade to reusable spring-io/spring-github-workflows@v3
Apparently Dependabot can upgrade reusable GHA workflows as well.
So less burden on support and less stress from changes in those reusable workflows in `main`

(cherry picked from commit de58d8c942)
2024-07-18 20:23:51 +00:00
Artem Bilan
6eb6567686 An attempt to fix OOM in the RecipientListRouterParserTests
* Add `@DirtiesContext` to the `RecipientListRouterParserTests`
* Remove manual `context.start();` since it is started by the `@SpringJUnitConfig` anyway

(cherry picked from commit 777c84f603)
2024-07-18 11:13:09 -04:00
Artem Bilan
c1990aece1 Migrate ReturnAddressTests to JUnit 5
Looks like `ApplicaitonContext.stop()` is note called on `close()`.
This might cause an `OutOfMemoryError` on the CI

* Use Spring context configuration for the test environment

(cherry picked from commit b2a3d25ffd)
2024-07-18 11:12:58 -04:00
Spring Builds
905e1650b6 [artifactory-release] Next development version 2024-07-16 17:48:50 +00:00
Spring Builds
3b18b6352b [artifactory-release] Release version 6.3.2 2024-07-16 17:48:47 +00:00
dependabot[bot]
a35247088b Bump graalvmVersion from 23.1.3 to 23.1.4 (#9338)
Bumps `graalvmVersion` from 23.1.3 to 23.1.4.

Updates `org.graalvm.sdk:graal-sdk` from 23.1.3 to 23.1.4
- [Release notes](https://github.com/oracle/graal/releases)
- [Commits](https://github.com/oracle/graal/commits)

Updates `org.graalvm.polyglot:js` from 23.1.3 to 23.1.4
- [Release notes](https://github.com/oracle/graal/releases)
- [Commits](https://github.com/oracle/graal/commits)

---
updated-dependencies:
- dependency-name: org.graalvm.sdk:graal-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.graalvm.polyglot:js
  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>
2024-07-16 17:19:22 +00:00
dependabot[bot]
9b683925de Bump org.springframework.kafka:spring-kafka-bom from 3.2.1 to 3.2.2 (#9342)
Bumps [org.springframework.kafka:spring-kafka-bom](https://github.com/spring-projects/spring-kafka) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/spring-projects/spring-kafka/releases)
- [Commits](https://github.com/spring-projects/spring-kafka/compare/v3.2.1...v3.2.2)

---
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>
2024-07-16 17:02:13 +00:00
dependabot[bot]
3fbb3db66f Bump org.springframework.graphql:spring-graphql from 1.3.1 to 1.3.2 (#9340)
Bumps [org.springframework.graphql:spring-graphql](https://github.com/spring-projects/spring-graphql) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/spring-projects/spring-graphql/releases)
- [Commits](https://github.com/spring-projects/spring-graphql/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: org.springframework.graphql:spring-graphql
  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>
2024-07-16 15:54:33 +00:00
Artem Bilan
02a2837698 GH-9335: Fix MicrometerNodeEnhancer for a primary MeterRegistry bean
Fixes: #9335

Spring Boot provides a `CompositeMeterRegistry` bean marked with a `@Primary`.
So, this one has to be autowired whenever we would like to deal with application
environment.
The `MicrometerNodeEnhancer` has a flaw to skip `MeterRegistry` injection if we have more than one `MeterRegistry` bean.

* Fix `MicrometerNodeEnhancer` logic to use `ObjectProvider.getIfUnique()` API
which is able to deal with the `primary` properly.
Otherwise, `null` as it was before

(cherry picked from commit e0472d887a)
2024-07-16 15:16:52 +00:00
dependabot[bot]
3f38db4d2f Bump org.springframework.retry:spring-retry from 2.0.6 to 2.0.7 (#9319)
Bumps [org.springframework.retry:spring-retry](https://github.com/spring-projects/spring-retry) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/spring-projects/spring-retry/releases)
- [Commits](https://github.com/spring-projects/spring-retry/compare/v2.0.6...v2.0.7)

---
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>
2024-07-15 03:27:14 +00:00
dependabot[bot]
8ecd0a2479 Bump io.projectreactor:reactor-bom from 2023.0.7 to 2023.0.8 (#9316)
Bumps [io.projectreactor:reactor-bom](https://github.com/reactor/reactor) from 2023.0.7 to 2023.0.8.
- [Release notes](https://github.com/reactor/reactor/releases)
- [Commits](https://github.com/reactor/reactor/compare/2023.0.7...2023.0.8)

---
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>
2024-07-14 02:47:51 +00:00
dependabot[bot]
27253c69cd Bump org.springframework:spring-framework-bom from 6.1.10 to 6.1.11 (#9321)
Bumps [org.springframework:spring-framework-bom](https://github.com/spring-projects/spring-framework) from 6.1.10 to 6.1.11.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.10...v6.1.11)

---
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>
2024-07-14 02:40:20 +00:00
dependabot[bot]
355d119394 Bump io.micrometer:micrometer-tracing-bom from 1.3.1 to 1.3.2 (#9320)
Bumps [io.micrometer:micrometer-tracing-bom](https://github.com/micrometer-metrics/tracing) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/micrometer-metrics/tracing/releases)
- [Commits](https://github.com/micrometer-metrics/tracing/compare/v1.3.1...v1.3.2)

---
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>
2024-07-14 02:19:35 +00:00
dependabot[bot]
ab127df927 Bump the development-dependencies group with 3 updates (#9315)
Bumps the development-dependencies group with 3 updates: org.apache.tomcat.embed:tomcat-embed-websocket, io.spring.dependency-management and com.github.spotbugs.


Updates `org.apache.tomcat.embed:tomcat-embed-websocket` from 10.1.25 to 10.1.26

Updates `io.spring.dependency-management` from 1.1.5 to 1.1.6

Updates `com.github.spotbugs` from 6.0.18 to 6.0.19

---
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
- dependency-name: io.spring.dependency-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-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-07-14 02:08:03 +00:00
dependabot[bot]
b909fea42e Bump io.micrometer:micrometer-bom from 1.13.1 to 1.13.2 (#9317)
Bumps [io.micrometer:micrometer-bom](https://github.com/micrometer-metrics/micrometer) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](https://github.com/micrometer-metrics/micrometer/compare/v1.13.1...v1.13.2)

---
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>
2024-07-14 02:06:11 +00:00
Swiss Chris
49c5920631 Fix endpoint default timeout in global-properties.adoc
Fixes: #9314

(cherry picked from commit 487a60e79a)
2024-07-14 02:00:50 +00:00
dependabot[bot]
5ab1b035db Bump org.springframework.data:spring-data-bom from 2024.0.1 to 2024.0.2 (#9318)
Bumps [org.springframework.data:spring-data-bom](https://github.com/spring-projects/spring-data-bom) from 2024.0.1 to 2024.0.2.
- [Release notes](https://github.com/spring-projects/spring-data-bom/releases)
- [Commits](https://github.com/spring-projects/spring-data-bom/compare/2024.0.1...2024.0.2)

---
updated-dependencies:
- dependency-name: org.springframework.data:spring-data-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>
2024-07-14 00:16:58 +00:00
Artem Bilan
99c539cb6f Migrate release notification to Google Chat
(cherry picked from commit 13a113cf66)
2024-07-11 18:49:56 +00:00
dependabot[bot]
f87d6ba5ad Bump com.fasterxml.jackson:jackson-bom from 2.17.1 to 2.17.2 (#9305)
Bumps [com.fasterxml.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.17.1 to 2.17.2.
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.17.1...jackson-bom-2.17.2)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-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>
2024-07-08 14:37:04 +00:00
Artem Bilan
b3461a4eb3 Add pluginManagement into settings.gradle
(cherry picked from commit c9f4d7e52a)
2024-07-08 14:11:46 +00:00
Artem Bilan
750ef356d5 Migrate to io.spring.develocity.conventions plugin
(cherry picked from commit 9bb353ad9a)
2024-07-08 14:06:50 +00:00
Artem Bilan
bd2cf773e2 GH-9294: Set permissions to target file on rename
* GH-9294: Set permissions to target file on rename

Fixes: #9294

When the `deleteSourceFiles` property of `FileWritingMessageHandler` is `true`, the `chmod` is not set on the target file.

* Fix `FileWritingMessageHandler.handleFileMessage()` logic to `setPermissions(resultFile)` after `move` operation

* * Set only `OWNER_READ` permission for file in unit test

(cherry picked from commit 3e71ea5521)
2024-07-08 14:03:28 +00:00
dependabot[bot]
89425f031b Bump org.apache.groovy:groovy-bom from 4.0.21 to 4.0.22 (#9306)
Bumps [org.apache.groovy:groovy-bom](https://github.com/apache/groovy) from 4.0.21 to 4.0.22.
- [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>
2024-07-07 00:42:51 +00:00
dependabot[bot]
9e39a30eed Bump org.jruby:jruby-complete from 9.4.7.0 to 9.4.8.0 (#9304)
Bumps org.jruby:jruby-complete from 9.4.7.0 to 9.4.8.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>
2024-07-07 00:42:38 +00:00
Artem Bilan
02df28178c GH-9297: Improve ImapIdleChannelAdapter.callIdle() for cause
Fixes: #9297

For a normal `jakarta.mail.StoreClosedException: * BYE Jakarta Mail Exception: java.net.SocketException: Connection reset`
 the `ImapIdleChannelAdapter.callIdle()` results in a resubmission (and reconnection)
 with logging 'Failed to execute IDLE task. Will attempt to resubmit in 10000 milliseconds.'`
However, when `selectorExpression` is in used and that one is based on mail `Message` object,
we may fail with `FolderClosedException` which is wrapped to the `SpelEvaluationException` and some
other stack traces.
So, `jakarta.mail.MessagingException` might be deep in the cause chain.

* Fix `ImapIdleChannelAdapter` via introducing `getJakartaMailMessagingExceptionFromCause()` utility
method which searches for the `jakarta.mail.MessagingException` in cause chain.
* Rework `ImapIdleChannelAdapter.callIdle()` logic to rely on this new method

(cherry picked from commit 272fcd044d)
2024-07-02 19:39:53 +00:00
darrylsmithUGA
587bad90be GH-9272: Close ClientSession from SftpSession
Fixes: #9272

* close ClientSession when closing SftpSession
* fix whitespace issues
* stop the SshClient on bean destruction
* use convenient assertions

(cherry picked from commit a3fb68a831)
2024-07-01 17:02:55 +00:00
dependabot[bot]
46c8589a49 Bump org.junit:junit-bom from 5.10.2 to 5.10.3 (#9290)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.2 to 5.10.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.2...r5.10.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-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>
2024-06-30 03:06:04 +00:00
Artem Bilan
85e532b5a6 GH-9259: Fix Reactor context propagation on reactive reply (#9284)
Fixes: #9259

The `Mono.toFuture()` does not propagate context to thread locals of the `CompletableFuture` consumer.
See `MonoToCompletableFuture`

* Fix `AbstractMessageProducingHandler` to convert reply `Mono` to `CompletableFuture` manually.
Use `doOnEach()` and set thread locals from the Reactor context manually around `replyFuture.complete()/completeExceptionally()`
* Add respective unit test into `WebFluxObservationPropagationTests` to ensure that same trace is used in downstream endpoints after WebFlux client reply

(cherry picked from commit 4a77dbcc46)
2024-06-28 18:02:03 +00:00
Artem Bilan
dcaf93b7d9 GH-9276: Mitigate ConcurrentModificationException in the Mqttv5PahoMessageDrivenChannelAdapter
Fixes: #9276

The current Eclipse Paho client has wrong removal from map logic which leads to the
`ConcurrentModificationException` when we unsubscribe from topic.

* Catch a `ConcurrentModificationException` `this.mqttClient.unsubscribe()` and just log it as an `error`

(cherry picked from commit 12fc353db1)
2024-06-26 18:24:19 +00:00
Artem Bilan
04fac20f90 GH-9260: Fix IntegrationManagementConfiguration.obtainObservationPatterns() logic
Fixes: #9260

The current `IntegrationManagementConfiguration.obtainObservationPatterns()` is to always have an `*` as a first
pattern in the final result.
Because of `HashSet` natural order.
This would lead to ignore all the patterns, especially those with negation

* Fix `IntegrationManagementConfiguration.obtainObservationPatterns()` logic to ignore regular
patterns if `*` is present.
Optimization wise.
* Always put `*` into the end of final array let negative patterns to do their job
* Modify `IntegrationGraphServerTests` & `WebFluxObservationPropagationTests`
test configurations to ensure that `*` pattern does not have a precedence over negative patterns.

(cherry picked from commit 4108ea520e)
2024-06-25 20:26:05 +00:00