Commit Graph

134 Commits

Author SHA1 Message Date
David Turanski
7dfc4e0458 Add stream-application-integration-tests
Fix HttpRequestProcessorTests

Disable security for actuator/info endpoint

In Spring Boot 2.5, the info actuator endpoint is secured.
We need to disable security for the actuator/info integration tests
in TimeSource tests.
2021-06-28 13:53:57 -04:00
Artem Bilan
0415c2c627 Add longer timeout for ZeroMQ tests: wait for PUB 2021-06-11 10:53:37 -04:00
Christian Tzolov
5327a5b5e3 another attempt to improve the CDC reliability 2021-06-09 11:33:55 +02:00
Christian Tzolov
c66433e023 Improve the CDC IT reliability
- Ensure that the postgress DB content to completely loaded before running the test asserts.
2021-06-09 09:52:36 +02:00
Soby Chacko
4bdd1709b4 Fixing FTP Source tests 2021-06-08 15:15:17 -04:00
Christian Tzolov
3b81cf6ce2 fix checkstyle errors 2021-06-08 18:38:54 +02:00
Christian Tzolov
7af25d92ad Fix the outputDestination.receive signature
Part of #171
2021-06-08 18:29:59 +02:00
Soby Chacko
3f98c2e644 Fixing FtpSourceTests/ScriptProcessorTests 2021-06-08 10:41:23 -04:00
Soby Chacko
e886c8375e Fix tests, checkstyle issues 2021-06-07 18:54:32 -04:00
Soby Chacko
3b9b23304c Fixing test issues 2021-06-07 17:59:24 -04:00
Soby Chacko
55cb899715 Disabling Geode source tests temporarily 2021-06-07 17:46:35 -04:00
Artem Bilan
176ac48a8c GH-171 Fix TimeSourceTests according SCST changes
Related to: https://github.com/spring-cloud/stream-applications/issues/171
2021-06-07 15:34:17 -04:00
Artem Bilan
d1aa6201c5 Fix test method name typo 2021-06-07 15:10:24 -04:00
Artem Bilan
707d730efd GH-171: Fix WebSocket tests for upstream changes
Related to: https://github.com/spring-cloud/stream-applications/issues/171
2021-06-07 14:41:05 -04:00
Soby Chacko
78c99fed63 Migrating zeromq components from the 3.1 WIP branch to main
zeromq-supplier
zeromq-consumer
zeromq-source
zeromq-sink
2021-06-04 16:46:41 -04:00
Soby Chacko
5ba0269a0b Preparing for 2021.0.0/3.1.0 apps
Spring Boot 2.5.0
Spring Cloud Stream 3.1.x
Spring Cloud Function 3.1.x
Spring Cloud 2020.0.x

Update code/deprecations
Fix tests
Update copyrights
2021-06-04 11:37:32 -04:00
Soby Chacko
5b54f8a0c5 Apps next version: 3.0.3-SNAPSHOT
New script to update apps versions after a GA release
2021-05-28 13:07:18 -04:00
Soby Chacko
869f9ad594 Update apps parent core to 3.0.5 2021-05-27 20:40:11 -04:00
Soby Chacko
066e5363f8 stream-applicaitons: 3.0.2 Release 2021-05-27 19:31:31 -04:00
Soby Chacko
31b6fa1d89 Fix issues with message conversion in mongodb sink
Fore more info see: https://stackoverflow.com/questions/67131500/mongodb-sink-issue-while-writing-a-json-data-from-http-source

Resolves https://github.com/spring-cloud/stream-applications/issues/165

This commit also addresses a doc update for sftp-source
2021-05-19 17:10:01 -04:00
Artem Bilan
04beb9ecaf GH-156: Fix NPE in the RemoteFileDeletingAdvice
Fixes https://github.com/spring-cloud/stream-applications/issues/156

The `MessageSource.receive()` may produce `null`:
The `MessageSourceMutator` impl must honor such an input

* Add `MonoProcessor<Boolean> subscriptionBarrier` to delay
subscription to the source `Flux` until subscription happens
to the supplier's flux.
This way we don't have unexpected interaction with the source when
there are regular endpoints in the flow in between
2021-04-13 09:26:30 -04:00
Dan Smith
9faa2a6a38 Use Spring Test Data Geode instead of containerized geode server
Use spring test data geode in the geode integration tests
test to fork a separate geode process, instead of running
a geode server in a docker container.

STDG is faster than launching Geode through gfsh inside of a container.
- It doesn't run in docker
- It doesn't start management components necessary for gfsh
- It doesn't start extra gfsh shell processes

Removing the GeodeContainer test utility
2021-04-13 08:39:16 -04:00
Thomas Recloux
126c53e8ad GH-151: Remove output bean from the Rabbit Supplier
Fixes https://github.com/spring-cloud/stream-applications/issues/151

The `RabbitSupplierConfiguration` comes with the `output` bean definition which
clashes with the `output` binding for Spring Cloud Stream.
The last one doesn't register the binding bean and leave the rest of the logic
to deal with existing bean when we resolve it by the `output` name.

* Rework the logic of the `RabbitSupplierConfiguration` to avoid an extra bean
in between and the binding in Spring Cloud Stream do it job
2021-03-10 13:09:12 -05:00
Soby Chacko
559264c197 Next apps version update: 3.0.2-SNAPSHOT 2021-02-26 15:37:46 -05:00
Soby Chacko
3c89b81088 stream-applicaitons: 3.0.1 Release 2021-02-26 10:40:11 -05:00
David Turanski
f1d9f36dee Tag integration tests and enable integration profile 2021-02-22 14:09:22 -05:00
Artem Bilan
386dad6562 Use compatible image version with Debezium
* Fix MongoDb driver problem.
Probably we need to think about upgrading Debezium support to the latest
version, so its MongoDb connector is based on the latest Mongo Driver
which already is pulled by Spring Boot
2021-02-19 12:31:34 -05:00
Soby Chacko
6d2ade2e7b Update parent in apps 2021-02-18 17:12:57 -05:00
Artem Bilan
e2c11b4773 Upgrade Testcontainers tests to the latest images
* Un`@Disable` updated tests
2021-02-11 16:21:06 -05:00
Soby Chacko
63c22a85d7 tests debugging continues 2021-02-10 14:26:24 -05:00
Artem Bilan
1e6a2e1f44 GH-143: Add an update option to MongoDB Supplier (#147)
* GH-143: Add an update option to MongoDB Supplier

Fixes https://github.com/spring-cloud/stream-applications/issues/143

* * Fix Checkstyle violations
* Update `README.adoc` for `mongodb-source`
2021-02-05 15:36:03 -05:00
Andrea Montemaggio
65f3b82d0b Introduce basic support for user-configurable sorting of the remote file list. 2021-01-14 10:57:43 -05:00
Soby Chacko
375649c26e Applicaion modules next version updates
3.0.1-SNAPSHOT
parent stream-applications-core to 3.0.2-SNAPSHOT
2020-12-16 13:25:29 -05:00
Soby Chacko
ae1af9d9ee Applications release: 3.0.0 2020-12-15 18:02:04 -05:00
Soby Chacko
dfe526e2bb Apps modules parent to 3.0.0-SNAPSHOT 2020-12-11 20:14:29 -05:00
Soby Chacko
ae32a7abfd Back to snapshot versions for applications 2020-12-11 17:25:52 -05:00
Soby Chacko
7d5eafe2ab Applications release: 3.0.0-RC2 2020-12-11 16:12:50 -05:00
Soby Chacko
9a2ca148c8 Cleaning up repositories/pluginRepositories declarations 2020-12-07 16:04:07 -05:00
Christian Tzolov
373de5e867 fix cdc tests 2020-12-06 00:10:32 +01:00
Christian Tzolov
a9692efc75 Fix CDC issues
- Fix cdc_key header string wrapping issue that causes problems with the spring.cloud.stream.kafka.default.producer.messageKeyExpression.
 - Rename Flattering property to the correct Flattening.
 - Remove wrong dependencies.
2020-12-04 19:50:45 +01:00
Soby Chacko
c0cec2cb6e Back to snapshot versions for applications 2020-11-24 16:03:12 -05:00
Soby Chacko
f897a3dab1 Applications release: 3.0.0-RC1 2020-11-24 14:17:55 -05:00
Soby Chacko
97244ee9b8 Add missing repoistory declarations.
README cleanup.
2020-11-23 18:04:05 -05:00
Soby Chacko
d5b796969e Update versions 2020-11-19 16:08:31 -05:00
Soby Chacko
cb1474f03a Next update versions for 2020.0.0-SNAPSHOT 2020-11-13 13:06:27 -05:00
Soby Chacko
722467dce3 Applications: Release - 3.0.0-M4 2020-11-13 10:51:49 -05:00
David Turanski
4102ff2f4f Update repositories 2020-11-09 14:31:26 -05:00
David Turanski
236ef55863 Upgrade Testcontainers, Debezium, and fix exceptions in MailSupplierTests 2020-11-06 12:32:33 -05:00
David Turanski
06cf0c473a Reduce receive timeout 2020-11-05 08:52:43 -05:00
David Turanski
f6e4335706 Replace LogMatcher with waitingFor 2020-11-05 07:26:36 -05:00