Commit Graph

1817 Commits

Author SHA1 Message Date
Oleg Zhurakousky
f09d4d30bc Clean up RSocket Cloud Event sample README 2020-12-18 18:45:54 +01:00
Oleg Zhurakousky
8ece3d3083 Add stream (kafka, Rabbit) and Rsocket examples for Cloud Event 2020-12-18 16:44:29 +01:00
Oleg Zhurakousky
17d5d4b727 Modify logic for header copy from input to output
This is primarily related to Cloud Events. Since we delegate to a separate class for post processing, if outpt message is Cloud Event we will not be doing anything to with regard to header copy in SimpleFunctionRegistry and unstead delegate it to CloudEventFunctionInvocationHelper
2020-12-18 16:44:19 +01:00
amolkatdare
e771603632 fixed typo. 'dashboard' 2020-12-17 16:54:25 -06:00
buildmaster
a86e8bd0f0 Bumping versions 2020-12-15 18:56:41 +00:00
buildmaster
e3856fe3d2 Bumping versions 2020-12-14 18:56:05 +00:00
Oleg Zhurakousky
5e468fba73 Fix payload extraction during output conversion
Also, restructured CloudEventsFunctionInvocationHelper's postProcessig logic
2020-12-12 13:48:47 +01:00
buildmaster
7675a9da27 Going back to snapshots 2020-12-11 13:43:19 +00:00
buildmaster
00f1a8d711 Update SNAPSHOT to 3.1.0-RC1 2020-12-11 13:41:19 +00:00
Oleg Zhurakousky
30febe6bce Cleaned up Cloud Event support around reactive functions
Added reactive tests
Restructured CloudEventsFunctionInvocationHelper
2020-12-11 14:34:32 +01:00
Oleg Zhurakousky
096df2f22c SCST-2065 Fix deserialization error when multi IO signature
Fix deserializatioin error when using complex signatures such as Function<Tuple2<Flux<Message<String>>
The issue originated from spring cloud stream https://github.com/spring-cloud/spring-cloud-stream/issues/2065
2020-12-10 15:53:05 +01:00
Oleg Zhurakousky
066b154508 interim 2020-12-10 07:56:15 +01:00
Oleg Zhurakousky
6b03cf7a1e Polish previous commit
Add FunctionInspector dependency back to SimpleFunctionRegistry since we can't remove it yet to avoid backward comatibility issues

Resolves #617
2020-12-08 18:44:16 +01:00
Mingyuan Wu
b4f193fd3c Disconnect FunctionInspector from AbstractComposableFunctionRegistry and SimpleFunctionRegistry 2020-12-08 17:31:56 +01:00
Oleg Zhurakousky
c977a50239 GH-618 Remove dependency on FunctionInspector from AWS FunctionInvoker
Resolves #618
2020-12-08 15:00:56 +01:00
Oleg Zhurakousky
5299de10c3 Minor improvements and clean up Cloud Event package 2020-12-03 20:31:17 +01:00
Oleg Zhurakousky
1b627077d8 Update message and cloud event graphics 2020-12-03 07:40:18 +01:00
Oleg Zhurakousky
8cd3e75aa4 Add Cloud Event and Message graphics 2020-12-02 20:38:29 +01:00
Oleg Zhurakousky
119a688388 Consolidate Cloud Events attribute prefix swap logic 2020-12-02 18:56:51 +01:00
Oleg Zhurakousky
aede56dfc6 Fix Cloud Events support for Message functions
Ensured Cloud Event completness by adding assertion for required attributes as well as generation of default values for attributes such as ID and SPECVERSION
2020-12-02 18:22:17 +01:00
Oleg Zhurakousky
923d5204e4 Tidy up logic around canonicalization of attributes
Added initial test to validate builder and utils
2020-12-02 15:17:17 +01:00
Oleg Zhurakousky
753d6369a2 interim 2020-12-02 13:10:05 +01:00
Oleg Zhurakousky
91b343aa0f interim 2020-12-02 12:45:45 +01:00
Oleg Zhurakousky
523cd1023f Change canonical format of Cloud Event Message attributes to have 'ce-' prefix 2020-12-02 11:24:03 +01:00
Oleg Zhurakousky
0cdcc46f57 Minor cleanup and javadocs 2020-12-02 09:20:50 +01:00
Oleg Zhurakousky
306da4248a Restructure Cloud Events support to optionally support Cloud Events SDK 2020-12-01 22:12:34 +01:00
Oleg Zhurakousky
70fbcec586 Revert "Add a new strategy for header enrichment"
This reverts commit 6852d674e1.
2020-11-30 15:23:42 +01:00
Dave Syer
6852d674e1 Add a new strategy for header enrichment
There was a TODO in the cloud events section of the function catalog.
This extracts that into a strategy and autoconfigures it:
CloudEventOutputMessageHeaderEnricher.
2020-11-25 16:07:14 +00:00
Dave Syer
1e65ff7132 Refactor some lambdas to enable native image building
Without this change a function with a Tomcat wrapper cannot be compiled
to a native image (or it can but it fails at runtime) because there
are lambda$$$ methods in the byte code that refer to missing types.
2020-11-25 11:00:08 +00:00
Oleg Zhurakousky
e2788fbab0 GH-611 Add test to ensure there is no regression
Resolves #611
2020-11-23 20:25:18 +01:00
Oleg Zhurakousky
e4242388fb GH-609 Fix support for missmatched Publishers
Given that s-c-f-web always sends input as Flux, it creates issues for Function<Mono, Mono>, so this fixes it
Resolves #609
2020-11-20 12:13:52 +01:00
Oleg Zhurakousky
e112b6c9dc GH-608 Add test to validate there is no regression
Resolves #608
2020-11-20 11:27:03 +01:00
Dave Syer
abfe1b648c Move @Autowired field to lazy init method 2020-11-20 09:56:03 +00:00
Dave Syer
685f1a1b8f Better test of whether webflux is present 2020-11-20 09:17:15 +00:00
Dave Syer
a1e9b6b2c1 Move class present check to static initializer
Helps with native images
2020-11-19 11:44:51 +00:00
Dave Syer
3d7ad4ea43 Add m2e config for random plugin 2020-11-19 10:29:34 +00:00
buildmaster
f07cc9e8f4 Bumping versions 2020-11-17 18:56:10 +00:00
Oleg Zhurakousky
c08c7524aa Remove leftover comments from test 2020-11-17 17:23:05 +01:00
buildmaster
ccbcb11409 Going back to snapshots 2020-11-17 16:13:28 +00:00
buildmaster
e4ad754beb Update SNAPSHOT to 3.1.0-M5 2020-11-17 16:11:20 +00:00
Oleg Zhurakousky
cd2d84d382 Fix spelling errors in method name 2020-11-17 16:54:29 +01:00
Oleg Zhurakousky
58cde422d6 Fix docs version tag 2020-11-17 13:52:05 +01:00
Oleg Zhurakousky
8b4c2ba896 Disable web nature for cloud event function demo 2020-11-17 13:11:10 +01:00
Oleg Zhurakousky
462e9f0855 Minor cleanup 2020-11-17 10:47:45 +01:00
Oleg Zhurakousky
1187c04dde Add AMQP prefix recognition to CloudEventMessageUtils 2020-11-17 10:00:23 +01:00
Oleg Zhurakousky
53addc50c8 Add additional Cloud Event function test 2020-11-17 08:58:53 +01:00
Oleg Zhurakousky
4cef2b1bc1 GH-422, GH-606 Update documentation page with initial Cloud Events documentation
Resolves #422
Resolves #606
2020-11-17 08:49:58 +01:00
Oleg Zhurakousky
0a413331e8 Polishing cleanup and javadoc 2020-11-17 08:01:21 +01:00
Oleg Zhurakousky
f249f28383 Improve and add javadocs
Related to GH-422 and GH-606
2020-11-16 19:15:39 +01:00
Oleg Zhurakousky
2aa92a72a1 GH-422, GH-606 Fis structure mode attribute generation 2020-11-16 17:44:07 +01:00