Commit Graph

203 Commits

Author SHA1 Message Date
dependabot[bot]
aee27c2c0f Bump com.icegreen:greenmail
Bumps the development-dependencies group with 1 update in the /supplier/spring-mail-supplier directory: [com.icegreen:greenmail](https://github.com/greenmail-mail-test/greenmail).


Updates `com.icegreen:greenmail` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/greenmail-mail-test/greenmail/releases)
- [Commits](https://github.com/greenmail-mail-test/greenmail/compare/release-2.1.1...release-2.1.2)

---
updated-dependencies:
- dependency-name: com.icegreen:greenmail
  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-12-02 14:21:21 -05:00
dependabot[bot]
f43c8d22ba Bump com.icegreen:greenmail (#98)
Bumps the development-dependencies group with 1 update in the /supplier/spring-mail-supplier directory: [com.icegreen:greenmail](https://github.com/greenmail-mail-test/greenmail).


Updates `com.icegreen:greenmail` from 2.1.0 to 2.1.1
- [Release notes](https://github.com/greenmail-mail-test/greenmail/releases)
- [Commits](https://github.com/greenmail-mail-test/greenmail/compare/release-2.1.0...release-2.1.1)

---
updated-dependencies:
- dependency-name: com.icegreen:greenmail
  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-11-22 16:59:21 +00:00
dependabot[bot]
ad70362c27 Bump org.apache.commons:commons-compress (#89)
Bumps org.apache.commons:commons-compress from 1.26.1 to 1.26.2.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  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-10-10 11:54:31 -04:00
dependabot[bot]
ce5e512ce1 Bump org.apache.avro:avro in /supplier/spring-debezium-supplier (#90)
Bumps org.apache.avro:avro from 1.11.3 to 1.11.4.

---
updated-dependencies:
- dependency-name: org.apache.avro:avro
  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-10-10 11:46:29 -04:00
Artem Bilan
daa54a6dec Use Dependabot globstar option for dirs to scan
Move some deps from the top-level `dependencies.gradle` to their specific modules
2024-10-10 11:40:59 -04:00
Artem Bilan
ccfcf567cd Fix Checkstyle SyslogSupplierProperties & Encoding 2024-06-10 11:00:13 -04:00
Artem Bilan
51b39b519a Upgrade to the latest Debezium
* Manage some vulnerable transitive dependencies for the `spring-debezium-supplier`
2024-04-08 13:24:01 -04:00
Artem Bilan
77112eb8a1 Clean up README files, fix typos and broken links 2024-03-20 15:57:35 -04:00
Artem Bilan
1611f9475c GH-3: Add tail support for spring-file-supplier (#42)
This commit adds `tail` support to the `spring-file-supplier`.

Additionally, move `FileMessageSource` specific beans into separate inner 
`FileMessageSourceConfiguration` class for easier conditional config 

Fixes: #3
2024-03-19 11:18:10 -05:00
Artem Bilan
946b5969da Various refactoring and improvements
* Remove `MessageChannel` beans whenever their really don't need to be exposed into the target application context.
Use local property definition instead in the configuration class
* Make Twitter `Consumer` configurations conditional on their required properties
to avoid auto-configuration for those bean which are not going to be used in the target application
2024-03-07 14:51:36 -05:00
Artem Bilan
d7a80b6487 Fix Checkstyle violation in the TwitterMessageSupplierConfiguration 2024-03-06 21:45:37 -05:00
Artem Bilan
f5b741b2cb Fix Twitter Supplier for its DirectMessage
Turns out the `DirectMessage` type is not compatible with JSON (anymore)
* Provide an internal `DirectMessageAdapter` and mark unsupported options with `@JsonIgnore`
2024-03-06 18:00:40 -05:00
Artem Bilan
22c9db875a Add README to Debezium Supplier module (#36) 2024-02-26 13:34:50 -06:00
Artem Bilan
5378b99854 GH-5: Use DebeziumMessageProducer from Spring Integration (#33)
* GH-5: Use `DebeziumMessageProducer` from Spring Integration

Fixes: #5

* Expose `enableEmptyPayload` and `headerNamesToMap` configuration properties instead of plain `copyHeaders`
* All the logic now is hidden in the `DebeziumMessageProducer`
* Clean up tests according to a new code base
* Fix warning for the deprecated Debezium properties.
Now only one `delete.tombstone.handling.mode` is needed
* Optimize the code flow for the `StepVerifier` via conversion pulled up to the `Flux`
* Apparently there is some race condition in the `EmbeddedEngine` around stop functionality,
so, add `debezium.embedded.shutdown.pause.before.interrupt.ms=500` instead of `5 minutes` by default

* Fix typo in the `DebeziumSupplierIntegrationTests`
2024-02-26 09:12:27 -06:00
Artem Bilan
494311bcdd Enforce Checkstyle failures
* Fix `FileSupplierConfiguration` to use `toReactivePublisher(true)`
to defer a start of channel adapters until reactive subscription.
* Also use `IntegrationReactiveUtils.messageSourceToFlux()` API instead of manual Reactor API composition
2024-01-16 17:57:38 -05:00
Artem Bilan
84aa306342 Make JMS supplier as auto-config
* Fix all its Checkstyle violations
2024-01-09 14:38:46 -05:00
Artem Bilan
a0e6d7c7d4 Make Mail supplier as auto-config
* Fix all their Checkstyle violations
* Fix Checkstyle violations in the `spring-kafka-supplier`, too
2024-01-09 14:09:01 -05:00
Artem Bilan
8ef105b9c5 Make Mongo & JDBC modules as auto-config
* Also make a `spring-splitter-function` as an auto-config since it used in Mongo & JDBC suppliers
* Fix all their Checkstyle violations
2024-01-09 13:10:18 -05:00
Artem Bilan
26479fb1bc Use Testcontainers for RabbitMQ modules
* Remove `ownConnection` feature from RabbitMQ modules.
It does not bring too much value over Spring Boot config.
Plus no one else modules tries to mimic such a behavior.
So, fully rely on Spring Boot auto-configuration for RabbitMQ as well.
2024-01-09 10:10:23 -05:00
Artem Bilan
f509b15cde Make RabbitMQ modules as auto-configuration
* Fix all the Checkstyle violations and compiler warnings
* Add tests to these modules
2024-01-08 19:10:22 -05:00
Artem Bilan
80e0b80a30 Make WebSocket modules as auto-configuration
* Fix all the Checkstyle violations and compiler warnings
* Also fix Checkstyle violations for `spring-time-supplier`
2024-01-08 14:17:29 -05:00
Artem Bilan
373fbdd8a2 Make S3 modules as auto-configuration
* Fix all the Checkstyle violations and compiler warnings
* Fix HTTP Supplier props prefix in the README
2024-01-08 13:13:43 -05:00
Artem Bilan
090ca28233 Make HTTP modules as auto-configuration
* Fix all the Checkstyle violations and compiler warnings
2024-01-08 12:51:04 -05:00
Artem Bilan
5d4cee0565 Move sftpMessageSource.start() out of Publisher
The `AbstractRemoteFileStreamingMessageSource.start()` does nothing, but state change.
Therefore, it is safe to call from whenever is convenient for us
2024-01-08 12:07:43 -05:00
Artem Bilan
476bb6d31e Fix SftpSupplier bean naming race condition
Since we create several `MessageSource` bean in the configuration
it is better to be more specific with their injection via `@Qualifier`
2024-01-08 11:51:24 -05:00
Artem Bilan
56f75fb6db GH-2: Expose a @MessagingGateway for sftpConsumer
Fixes: #2

* To avoid `@Lazy` and other possible injection problems
when an `IntegrationFlow` is not ready yet, provide a `@MessagingGateway(name = "sftpConsumer")`
explicitly for the `MessageConsumer` in the `SftpConsumerConfiguration`

* Make SFTP modules as auto-configuration
* Fix Checkstyle violations in those modules
2024-01-08 11:37:05 -05:00
Artem Bilan
985a753819 Make ZeroMQ modules as auto-configuration
* Fix all the Checkstyle violations in these modules
2024-01-08 10:21:20 -05:00
Artem Bilan
dceec3250b Make spring-syslog-supplier as auto-configuration
* Fix `SyslogSupplierConfiguration` according to the `@AutoConfiguration` expectations
* Fix all the Checkstyle violations in the `spring-syslog-supplier`
2024-01-08 09:58:43 -05:00
Artem Bilan
76e7ed1b69 Make TCP modules as auto-config
* Fix their Checkstyle violations
2024-01-05 15:11:55 -05:00
Artem Bilan
e1a1845dab Various improvements for MQTT modules code style 2024-01-05 14:05:59 -05:00
Artem Bilan
fbe0d220f7 Make MQTT modules as auto-config
* Fix all the Checkstyle violations for those modules
* Introduce a `MosquittoContainerTest` contract into the `spring-function-test-support`
and use it in the MQTT modules
* Fix READMEs for previously migrated modules to auto-configuration
2024-01-05 13:57:55 -05:00
Artem Bilan
3f349ca451 Make file and FTP modules as auto-config
* Fix all the Checkstyle violations for those modules
2024-01-05 12:48:09 -05:00
Artem Bilan
de6a659ab1 Make Twitter modules as auto-configuration
* Fix all the Checkstyle violation in the effected modules
* Fix Twitter modules READMEs to reflect a nature of the auto-configuration
* Add (and mention in README) new `enabled` properties for various Twitter supplier configurations:
by default all of them would be started just by the presence in classpath
2024-01-04 16:14:16 -05:00
Artem Bilan
eb4ce0615a Upgrade to Debezium 2.5.0.Final
* Fix all the Checkstyle violations in Debezium modules
* Fix developer emails in the `publish-maven.gradle`
2024-01-04 13:27:08 -05:00
Artem Bilan
7b9bd3f3a9 Make XMPP functions as auto-config
* Fix all the Checkstyle violations for those modules
2024-01-03 17:13:51 -05:00
Chris Bono
836708f0f2 GH-7: Add checkstyle and javaformat plugins
Fixes: #7

* Run `./gradlew format`
* Updates from PR review suggestions
2024-01-03 10:40:42 -05:00
Chris Bono
84e732da08 Prefix function names with spring-
* Add `spring-` prefix to function names

Fixes: #9

This commit renames each sub-module in the common, consumer, function
and supplier groups with a prefix of `spring-`.

* Update README.adoc links to new prefixed names
2024-01-02 14:07:00 -05:00
Artem Bilan
5cfbbecb8b Adjust dependency management for Dependabot
* Add `com.github.spotbugs` plugin to avoid warnings about missed nullability annotations
* Make `TimeSupplierConfiguration` as an auto-configuration
* Add `io.debezium:debezium-bom` as the first one to let others override its deps versions
* Move `org.springframework.boot:spring-boot-dependencies` after `io.awspring.cloud:spring-cloud-aws-dependencies`
to override its deps versions (e.g. `jakarta.mail` `1.0.0` > `2.0.2`)
2023-12-23 12:42:44 -05:00
Artem Bilan
d20fb3e5fa Refactor version props to dependencies.gradle
This is what we need to satisfy Dependabot expectations
2023-12-22 17:04:19 -05:00
Artem Bilan
7b59d41bc8 Add merge-dependabot-pr.yml workflow
* Fix `mail-supplier` to use `angus-mail.version` project property
2023-12-22 16:18:20 -05:00
Artem Bilan
fc71db446a Various fixes
* Remove `aws-sdk` BOM in favor of one from the SC-AWS
* Add `artifactoryPublish.skip = true` for root project
* Remove `provided` Gradle feature
2023-11-24 13:44:06 -05:00
Artem Bilan
19f904eb66 Migrate project to Gradle
* Upgrade all the dependencies to the latest versions
* Fix some incompatibilities
* Fix some warnings
2023-11-23 15:45:29 -05:00
GitHub Actions Bot
180d4e55e8 Next development version 4.0.1-SNAPSHOT / 2022.0.1-SNAPSHOT 2023-10-27 21:14:16 -05:00
Artem Bilan
7cd64c5f49 Fix SftpSupplier for explicit bean name
With SF 6.0 we don't support `--debug` for method argument names anymore.
We must use `@Qualifier` explicitly.
Otherwise, it might be resolved to something else what matches the expected type.
2023-10-20 12:06:34 -04:00
Corneil du Plessis
4e00985ca5 Fix S3 Source Integration tests. 2023-10-20 17:05:30 +02:00
Artem Bilan
595f962128 Upgrade to latest SI-AWS for S3
* Fix `AwsS3SupplierConfiguration` to
serialize `S3Object` to JSON
2023-10-20 10:28:32 -04:00
Soby Chacko
27bac2029b Address deprecation warnings
Remove the usage of deprecated `IntegrationFlows` in favor of `IntegrationFlow`
2023-09-22 10:05:23 -04:00
Christian Tzolov
167bc78367 Upgrade debezium to 2.3.3.Final 2023-09-05 13:31:32 -04:00
GitHub Actions Bot
21079bdc54 Next development version 4.0.0-SNAPSHOT / 2022.0.0-SNAPSHOT 2023-07-21 12:40:45 +00:00
GitHub Actions Bot
4a595f2284 Release 4.0.0-RC2 / 2022.0.0-RC2 2023-07-21 12:40:08 +00:00