Commit Graph

334 Commits

Author SHA1 Message Date
Corneil du Plessis
5b6ded7358 Added xmpp to the documentation.
Fixing remaining versions.

Updates #429
2023-02-02 18:51:01 +02:00
Corneil du Plessis
36f9f60fd7 Improve WebSocket stability. 2023-01-17 12:58:43 +02:00
Corneil du Plessis
c6694a9771 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
f196ae389b Fix checkstyle issue 2023-01-13 16:16:00 +02:00
Corneil du Plessis
41b626a632 Added GreenMail.
Update all tests for mail-supplier and mail-sink.
2023-01-12 16:39:53 +02:00
Corneil du Plessis
97b5906478 Fix checkstyle errors. 2023-01-12 11:05:43 +02:00
Corneil du Plessis
798c8a4361 Fix object-detection dependencies and cleanup samples. 2023-01-12 10:50:28 +02:00
Chris Bono
019cfcd932 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
b5c9652946 Upodated aggregator RedisMessageStoreAggregatorTests to use RedisTestContainerSupport. 2023-01-11 16:20:14 +02:00
Corneil du Plessis
27a04dc1ae Fix } else 2023-01-09 12:59:33 +02:00
Corneil du Plessis
50bc4d3ad8 Added TODOs update versions. 2023-01-06 16:49:14 +02:00
Corneil du Plessis
78c2859e26 Update test-binder dependency.
Added elasticsearch-x-content.
2022-12-01 15:17:44 +02:00
Corneil du Plessis
ffaafa943b [SB3] Update startup timeouts and retries for containers. 2022-11-25 15:36:10 +02:00
Corneil du Plessis
1459bfabd9 [SB3] Update Elasticsearch Client. Update Boot and Spring versions. Improve Rabbit listener (#416) 2022-11-25 11:51:53 +02:00
Corneil du Plessis
f44dc56f50 [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
a852b4da9f [SB3] Resolve race conditions. 2022-11-17 16:39:50 +02:00
Corneil du Plessis
751d130b09 [SB3] Change from doHandshake to execute. 2022-11-17 16:16:04 +02:00
Corneil du Plessis
c6b4ad3661 [SB3] Fix tests for changes in SB3. 2022-11-17 16:11:36 +02:00
Corneil du Plessis
46f807a55d [SB3] Fix tests for changes in SB3. 2022-11-17 14:41:25 +02:00
Corneil du Plessis
9a1f024d72 [SB3] Fix tests for changes in SB3. 2022-11-17 14:16:18 +02:00
Corneil du Plessis
b168cb9828 [SB3] Fix tests for changes in SB3. 2022-11-17 13:11:50 +02:00
abilan
1318cbde93 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
220b03b9aa Remove all remnants of Geode (#414) 2022-11-11 16:20:33 -06:00
Daniel Frey
607352578a Update XMPP supplier test for consistency (#412) 2022-11-10 11:55:47 -06:00
Daniel Frey
720aadfdb0 Update xmpp consumer for consistency (#404) 2022-11-10 11:47:20 -06:00
Daniel Frey
fccf0e3a78 add xmpp-sink application 2022-11-09 21:50:17 -06:00
Corneil du Plessis
36932276c2 [SB 3] Add mail version. 2022-11-08 16:06:36 +02:00
Daniel Frey
29c51684bb 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
caa0ad20e5 [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
cab24caef8 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	.github/workflows/ci-pr.yml
2022-11-07 15:56:35 +02:00
Corneil du Plessis
7469320c91 [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
97fdd0ccc5 [Issues] Change http-request to non-reactive (#402)
Fixes #206
2022-11-04 17:40:01 +02:00
Chris Bono
4f393ef9dc 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
d35657a5b7 Move xmpp testcontainer to function-test-support 2022-10-28 13:22:03 -05:00
Chris Bono
bfebe2782c Fix checkstyle from previous commit 2022-10-25 23:44:46 -05:00
Chris Bono
b5111fb99b 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
378ac48e6a Update CDC Debezium to 1.9.6
- The update fixes integration tests
2022-10-25 23:15:47 -05:00
Chris Bono
afd5f82ec4 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
a3b7a86617 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
09c3c742b9 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
d1e13e683a [SB3 Update] Fix checkstyle issues from previous AWS S3 commit 2022-10-20 23:23:15 -05:00
Daniel Frey
31bc02d65c Add XMPP consumer function 2022-10-20 19:51:36 -05:00
Artem Bilan
9f4ccd5e7a 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
c4df061599 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
6cdc80c204 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
0f7488f84c 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
d282ba1f70 [SB3 Build] Adding dependencies to functions-dependencies. (#375) 2022-10-18 23:47:22 +02:00
Corneil du Plessis
028df89c29 Ensure module projects skip deploy 2022-10-18 15:18:54 +02:00
Corneil du Plessis
41657e375d Reorganise modules 2022-10-18 13:40:19 +02:00
Chris Bono
a07c04e856 [SB3 Update] remove unused embedded mongodb and activemq dependencies 2022-10-17 22:04:59 -05:00