Commit Graph

5 Commits

Author SHA1 Message Date
Artem Bilan
99d2525b3b GH-441: Add JsonBytesToMap function (#461)
Add `JsonBytesToMap` function to allow conversion between byte[] and JSON Map.

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

* Introduce a `JsonBytesToMap` as a part of a `payload-converter-function` module
which is auto-discovered by Spring Cloud Function scanning algorithm - the `functions` package.
* Add a `payload-converter-function` as dependency into an `aggregator-function`
* Compose `jsonBytesToMap|aggregatorFunction` for the `aggregator-processor`
* Verify a `JsonBytesToMap` function in action with an `AggregatorProcessorTests`
* Mentioned such a payload conversion in the `aggregator-processor` README
2023-05-30 18:25:27 -05:00
David Turanski
9bf8dcc4e7 Upgrade Spring Cloud Stream to Horsham.SR6 and Spring Cloud Function to 3.0.8.RELEASE 2020-06-22 15:29:01 -04:00
David Turanski
f07085992b Add composite function support for the sources 2020-06-19 18:15:26 -04:00
Soby Chacko
f61fbb4dc9 Introducing checkstyle changes for functions 2020-05-06 17:42:11 -04:00
Soby Chacko
517ccd5b40 Initial Commit
Migrating the existing structure from the following location:
https://github.com/spring-cloud-stream-app-starters/stream-applications/tree/restructuring
2020-05-04 17:51:05 -04:00