Commit Graph

333 Commits

Author SHA1 Message Date
Corneil du Plessis
5a7e570bc1 Improve WebSocket stability. 2023-01-17 12:58:43 +02:00
Corneil du Plessis
722fb9182a Added <protocArtifact>com.google.protobuf:protoc:${protobuf.version}</protocArtifact> to protoc-jar-maven-plugin in object-detection-function. 2023-01-17 11:25:55 +02:00
Corneil du Plessis
cf13062d8d Fix checkstyle issue 2023-01-13 16:16:00 +02:00
Corneil du Plessis
731c48a839 Added GreenMail.
Update all tests for mail-supplier and mail-sink.
2023-01-12 16:39:53 +02:00
Corneil du Plessis
9f9b6a0c19 Fix checkstyle errors. 2023-01-12 11:05:43 +02:00
Corneil du Plessis
1abad6d76c Fix object-detection dependencies and cleanup samples. 2023-01-12 10:50:28 +02:00
Chris Bono
14390fe040 GH-327: Use TestSocketUtils from spring-test (#420)
Fixes https://github.com/spring-cloud/stream-applications/issues/327

- Delete local TSU temporary implementations
- Replace local TSU w/ spring-test TSU
2023-01-11 11:33:31 -05:00
Corneil du Plessis
570a8ec777 Upodated aggregator RedisMessageStoreAggregatorTests to use RedisTestContainerSupport. 2023-01-11 16:20:14 +02:00
Corneil du Plessis
fc8dc13e07 Fix } else 2023-01-09 12:59:33 +02:00
Corneil du Plessis
189341b8f4 Added TODOs update versions. 2023-01-06 16:49:14 +02:00
Corneil du Plessis
8eee517a49 Update test-binder dependency.
Added elasticsearch-x-content.
2022-12-01 15:17:44 +02:00
Corneil du Plessis
0c78c98439 [SB3] Update startup timeouts and retries for containers. 2022-11-25 15:36:10 +02:00
Corneil du Plessis
ceabfb483b [SB3] Update Elasticsearch Client. Update Boot and Spring versions. Improve Rabbit listener (#416) 2022-11-25 11:51:53 +02:00
Corneil du Plessis
ad5445e25e [GitHub Actions] Tune thread count for Maven and surefire plugin forks. Increase runners with 10% more than requested. 2022-11-17 21:53:41 +02:00
Corneil du Plessis
f55fa3d6ae [SB3] Resolve race conditions. 2022-11-17 16:39:50 +02:00
Corneil du Plessis
7d79c96f8b [SB3] Change from doHandshake to execute. 2022-11-17 16:16:04 +02:00
Corneil du Plessis
e8218f8df9 [SB3] Fix tests for changes in SB3. 2022-11-17 16:11:36 +02:00
Corneil du Plessis
0550284333 [SB3] Fix tests for changes in SB3. 2022-11-17 14:41:25 +02:00
Corneil du Plessis
38f24fd2ed [SB3] Fix tests for changes in SB3. 2022-11-17 14:16:18 +02:00
Corneil du Plessis
09381b491a [SB3] Fix tests for changes in SB3. 2022-11-17 13:11:50 +02:00
abilan
d7e2975af3 Fix Cassandra init script execution
The script file may have several DDL expression to execute.
They probably have to be called one-by-one as they are declared.
For example our `init-db.cql` has DDL to delete table and the next to create.

* Fix `CassandraAppClusterConfiguration.keyspaceInitializer()`
to use a `Flux.concatMap()` instead of `flatMap()` to ensure sequential
items processing in the order they appear upstream
2022-11-15 11:50:06 -05:00
Chris Bono
1e5887f48c Remove all remnants of Geode (#414) 2022-11-11 16:20:33 -06:00
Daniel Frey
0a2c5554b9 Update XMPP supplier test for consistency (#412) 2022-11-10 11:55:47 -06:00
Daniel Frey
2cbf762422 Update xmpp consumer for consistency (#404) 2022-11-10 11:47:20 -06:00
Daniel Frey
1fe892d617 add xmpp-sink application 2022-11-09 21:50:17 -06:00
Corneil du Plessis
23bc53a71a [SB 3] Add mail version. 2022-11-08 16:06:36 +02:00
Daniel Frey
985ab8b035 Xmpp supplier (#403)
* WIP: initial xmpp supplier support

* implement xmpp supplier and test

* remove test logging config

* update for consistency

* add documentation references for xmpp consumer and supplier, fix formatting for functions where geode was commented out
2022-11-07 17:02:01 +02:00
Corneil du Plessis
3917ce241b [SB 3] Fix checkstyle in http-request-function. (#406)
* [SB 3] Fix checkstyle in http-request-function.
2022-11-07 16:57:11 +02:00
Corneil du Plessis
dd2a70dda3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	.github/workflows/ci-pr.yml
2022-11-07 15:56:35 +02:00
Corneil du Plessis
00249f911e [GitHub Actions] Improve dependencies for main. Provide for building impacted dependencies for a PR. 2022-11-07 15:56:07 +02:00
Corneil du Plessis
392b5bfbbe [Issues] Change http-request to non-reactive (#402)
Fixes #206
2022-11-04 17:40:01 +02:00
Chris Bono
a9ed883124 Polish "Move xmpp testcontainer to function-test-support"
- Removed custom container
- Removed extra whitespace
- Moved static props to SBT.properties
2022-10-28 13:38:32 -05:00
Daniel Frey
9a6f05def7 Move xmpp testcontainer to function-test-support 2022-10-28 13:22:03 -05:00
Chris Bono
256b5ccaa3 Fix checkstyle from previous commit 2022-10-25 23:44:46 -05:00
Chris Bono
42cb06306d Fix pgcopy-sink tests
- Update build steps in README.adoc
- Remove junit4 usages across project
- Replace postgres ClassRule w/ Extension
2022-10-25 23:15:47 -05:00
Chris Bono
cb0a9276cc Update CDC Debezium to 1.9.6
- The update fixes integration tests
2022-10-25 23:15:47 -05:00
Chris Bono
d3b339ae01 Update checkstyle plugin to 3.2.0
- Spring Javaformat update to 0.0.35
- Puppycrawl update to 10.3.4
2022-10-24 23:55:49 -05:00
Artem Bilan
3d489991b1 GH-350: Upgrade SI Cassandra; re-enable tests (#381)
* GH-350: Upgrade SI Cassandra; re-enable tests

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

* Use Testcontainers for Cassandra
* Adjust components code style a bit
* Convert `Book` testing entity to the `record`
* Use `@DynamicPropertySource` to expose Docker ENV to Spring Boot configuration properties
* Use switch expression for better code readability
2022-10-24 17:19:33 -05:00
Artem Bilan
c92f7d44ab Fix AmazonS3ConfigurationTests for proper configs
The `CompatibleStorageAmazonS3Configuration` and `AmazonS3Configuration`
 are really auto-configurations, so they have to take an effect already
 after end-user configurations processing

* Fix `AmazonS3ConfigurationTests` to configure an `ApplicationContextRunner`
in a proper way putting auto-configurations to their `AutoConfigurations.of()`
part and leaving only a `TestConfiguration.class` as a `UserConfiguration`
2022-10-21 09:31:38 -04:00
Chris Bono
8a70286d51 [SB3 Update] Fix checkstyle issues from previous AWS S3 commit 2022-10-20 23:23:15 -05:00
Daniel Frey
c39eeee50b Add XMPP consumer function 2022-10-20 19:51:36 -05:00
Artem Bilan
0daf013c82 GH-368: Update AWS code to the latest deps (#378)
Fixes https://github.com/spring-cloud/stream-applications/issues/368

* Upgrade to `spring-cloud-aws-2.4.2`; fix respective package changes
* Remove `AutoConfigurationExclusionEnvironmentPostProcessor` since classes in the SC-AWS
are not considered as auto-configuration anymore.
Instead, add an explicit `@Import` into `AmazonS3Configuration`.
Not sure, though, why it was excluded before at all
* Fix `MetadataStoreAutoConfigurationTests` with the current state of code.
Looks like before it was designed for auto-configuration based on classpath content
* Re-enable other AWS S3 tests

This fix has helped to spot a bug in Spring Integration Testing framework:
e2d8eeb04d

Co-authored-by: Chris Bono <cbono@vmware.com>
2022-10-19 20:09:10 -05:00
Artem Bilan
909c01ef89 GH-132: Upgrade to SI-HZ 6.0
Fixes https://github.com/spring-cloud/stream-applications/issues/132

* Also upgrade to `curator-5.3.0`
2022-10-19 17:54:50 -04:00
Artem Bilan
735d42048c GH-373: Re-enable aggregator tests (#377)
Fixes https://github.com/spring-cloud/stream-applications/issues/373

The fix in Spring Integration has made it into the latest SNAPSHOT.
See more info in the linked issue

* Update to the latest Testcontainers: it does not require credential for pull command any more
* Remove obsolete `MessageStoreType.GEMFIRE`
* Add `<doclint>syntax</doclint>` to ignore missed javadocs on public methods
2022-10-19 14:09:32 -05:00
Artem Bilan
f17a0b3ec0 GH-369: Fix HeaderEnricher for no proxyBeanMethod (#376)
Spring Boot `@AutoConfiguration` comes now with a `proxyBeanMethods = false`,
so we cannot call bean methods within the same configuration class.

* Rework `HeaderEnricherFunctionConfiguration` for bean methods autowiring
* Create an `ExpressionEvaluatingHeaderValueMessageProcessor` instances directly
in the `headerEnricher` bean definition and propagate an injected `BeanFactory`
* Re-enable disabled tests

Fixes #369
2022-10-19 12:18:50 -05:00
Corneil du Plessis
1b199b80de [SB3 Build] Adding dependencies to functions-dependencies. (#375) 2022-10-18 23:47:22 +02:00
Corneil du Plessis
8a7dca70ed Ensure module projects skip deploy 2022-10-18 15:18:54 +02:00
Corneil du Plessis
019a7eb5ce Reorganise modules 2022-10-18 13:40:19 +02:00
Chris Bono
2545cb0c10 [SB3 Update] remove unused embedded mongodb and activemq dependencies 2022-10-17 22:04:59 -05:00
Chris Bono
bc76698223 [SB3 Update] jms-supplier use Artemis embedded broker 2022-10-17 00:39:55 -05:00