Commit Graph

1130 Commits

Author SHA1 Message Date
Oleg Zhurakousky
c2ecaee098 Remove leftover comments from test 2020-11-17 17:23:05 +01:00
buildmaster
bfc4712e87 Going back to snapshots 2020-11-17 16:13:28 +00:00
buildmaster
cc56c51ddb Update SNAPSHOT to 3.1.0-M5 2020-11-17 16:11:20 +00:00
Oleg Zhurakousky
d7a0324d00 Fix spelling errors in method name 2020-11-17 16:54:29 +01:00
Oleg Zhurakousky
ac947a282b Fix docs version tag 2020-11-17 13:52:05 +01:00
Oleg Zhurakousky
5894812477 Disable web nature for cloud event function demo 2020-11-17 13:11:10 +01:00
Oleg Zhurakousky
e0a1902147 Minor cleanup 2020-11-17 10:47:45 +01:00
Oleg Zhurakousky
26329f4873 Add AMQP prefix recognition to CloudEventMessageUtils 2020-11-17 10:00:23 +01:00
Oleg Zhurakousky
1498cb4f96 Add additional Cloud Event function test 2020-11-17 08:58:53 +01:00
Oleg Zhurakousky
16bce2d531 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
97ba22da76 Polishing cleanup and javadoc 2020-11-17 08:01:21 +01:00
Oleg Zhurakousky
f1a32bf5be Improve and add javadocs
Related to GH-422 and GH-606
2020-11-16 19:15:39 +01:00
Oleg Zhurakousky
07a699b99d GH-422, GH-606 Fis structure mode attribute generation 2020-11-16 17:44:07 +01:00
Oleg Zhurakousky
8a3cbed877 GH-422, GH-606 Improve generation of default attributes for Consumer 2020-11-16 16:49:59 +01:00
Oleg Zhurakousky
8993a9751f GH-422, GH-606 Add support for generating attributes using provider in Consumer 2020-11-16 16:27:54 +01:00
Oleg Zhurakousky
1a6e9d4a80 GH-422, GH-606 Fix attributes generatioin 2020-11-16 14:20:02 +01:00
Oleg Zhurakousky
8ea309c45b Clean up and simplifications around CloudEvent processing
This commit effectively a merge of work with #607 and simplifies the following
- CloudEventAttributesProvider now provides CloudEventAttributes initialized with defaults to be set by the user
- In HTTP RequestProcessor the logic of sanitizing headers was improved to ensure that correct prefix is applied

Resolves #607
2020-11-16 13:40:53 +01:00
Oleg Zhurakousky
5ff37ff378 Made RequiredAttributeAccessor constructor public
Related to #422,606
2020-11-16 12:25:48 +01:00
Oleg Zhurakousky
40d06b8c95 GH-422 GH-606 Add support for normalizing structure-mode CE message
Normalizing in this context means converting it to binary-mode so the rest of the processing logic is the same.
Added support for canonical attribute names. Now, internally any attribute can be set as 'ce_' regardless where it came from are where it goes to as the frameork will be able to recognize both
Removed CloudEventMessageConverter
Renamed CloudEventAttributes to CloudEventAttributesHelperas it is better suited to what it actually does
2020-11-16 12:06:33 +01:00
Oleg Zhurakousky
b9f417a4da Make CloudEventAttributesProvider a FunctionalInterface
Related to #422 and #606
2020-11-16 08:41:42 +01:00
Oleg Zhurakousky
1d67b8070f Add PojoToPojo and MapToMap tests
Related to GH-422 and GH-606
2020-11-13 18:44:01 +01:00
Oleg Zhurakousky
14b39c2077 Fix HTTP header propagation logic
Related to GH-422 and GH-606
2020-11-13 17:47:41 +01:00
Oleg Zhurakousky
632e73caf9 Fix CloudEvent prefix and fix the name of CloudEventAttributesProvider.java 2020-11-13 16:07:33 +01:00
Oleg Zhurakousky
719ad3e949 fix styles 2020-11-13 11:43:31 +01:00
Oleg Zhurakousky
1a16af46de GH-606 add initila support for generating default cloud event attributes 2020-11-13 11:39:48 +01:00
Oleg Zhurakousky
f0b2ce7691 GH-422 GH-606 Add support for simplifying message headers to attribute mapping
Added CloudEventAttributesProvider and default implementation
Added CloudEventMessageUtils
2020-11-13 10:24:27 +01:00
Oleg Zhurakousky
a26ad928f6 GH-422 Formalize Cloud Event conversion strategy to consistently handle binary-mode and structured-mode cloud events
Moved CloudEvent related artifacts to ‘cloud events’ package with hopes to eventually donating it to CNCF SDK
Created CloudEventUtils identifying necessary constants and utility methods
2020-11-12 17:01:42 +01:00
Oleg Zhurakousky
daa3c27226 GH-422 Add test and documentation for pure function interaction 2020-11-11 12:26:09 +01:00
Oleg Zhurakousky
e2db46818d Update README.adoc 2020-11-11 12:02:36 +01:00
Oleg Zhurakousky
454da217c5 Update README.adoc 2020-11-11 12:02:11 +01:00
Oleg Zhurakousky
ffbba1f930 Update README.adoc 2020-11-11 12:01:12 +01:00
Oleg Zhurakousky
5a8b9ab3da Update README.adoc 2020-11-11 12:00:27 +01:00
Oleg Zhurakousky
052a56861d Adjust image size 2020-11-11 11:59:16 +01:00
Oleg Zhurakousky
27d0d8afd9 GH-422 Add RabbitMQ instructions for Cloud Events interaction 2020-11-11 11:53:39 +01:00
Oleg Zhurakousky
97347bf30d GH-422 Improvements in cloud event samples
Added initial README
Polished tests
2020-11-11 09:18:51 +01:00
Oleg Zhurakousky
b8c02587e9 GH-422 Add initial set of Cloud Event samples
This commit adds initial set of samples and tests demonstrating various ways of how cloud event can be consumed (i.e., structured, bindary, pojo etc)
2020-11-10 16:29:30 +01:00
Oleg Zhurakousky
29b121b313 GH-422 Initial support for CloudEvents
Added initial implementation of MessageConverter
At the moment there seem that MessageConverter(s) would be the only thing needed to integrate Cloud Events with various elements of Spring
2020-11-10 14:50:09 +01:00
Oleg Zhurakousky
b90a54d3fc GH-592 Logging improvements
Resolves #592
2020-11-09 20:06:13 +01:00
Oleg Zhurakousky
249f3257c0 remove commented code 2020-11-09 19:34:14 +01:00
Oleg Zhurakousky
45520d3325 GH-597 Add support for handling MultipartFile(s)
This initial fix ensures that functions can process single MultipartFile as well as multiple.

Resolves #597
2020-11-09 19:27:01 +01:00
Oleg Zhurakousky
eba94a699b PR-605 less formatting
Resolves #605
2020-11-09 16:16:23 +01:00
Oleg Zhurakousky
68319b1869 GH-601 add test to validate the issue is fixed
Resolves #601
2020-11-09 15:35:35 +01:00
Oleg Zhurakousky
ca9ffb06e7 GH-602 Ensure collections with converted items are not converted again
Resolves #602
2020-11-09 14:07:20 +01:00
Oleg Zhurakousky
88766cf0ed Simplify logic around getting item type of a function type 2020-11-04 11:29:01 +01:00
Oleg Zhurakousky
c21bc3895d Additional clean up and polishing 2020-11-04 10:43:29 +01:00
buildmaster
8a4129a4da Bumping versions 2020-11-03 18:55:56 +00:00
Oleg Zhurakousky
c2d8f58e32 Polish to fix build 2020-11-03 15:38:27 +01:00
Oleg Zhurakousky
3f14e3779c Disable 'sentencesAcceptSse' test as it started to fail due to some reactor changes 2020-11-03 14:03:39 +01:00
Oleg Zhurakousky
780cb05e79 Initial refactoring and simplificatioin of web module 2020-11-03 13:46:52 +01:00
Oleg Zhurakousky
63a1c3228d Fix SmartCompositeMessageConverter to ensure it properly injects contentType
Initial refactoring web - test pass
2020-11-03 13:44:45 +01:00