Commit Graph

27 Commits

Author SHA1 Message Date
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
8b4c2ba896 Disable web nature for cloud event function demo 2020-11-17 13:11:10 +01:00
Oleg Zhurakousky
1187c04dde Add AMQP prefix recognition to CloudEventMessageUtils 2020-11-17 10:00:23 +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
2aa92a72a1 GH-422, GH-606 Fis structure mode attribute generation 2020-11-16 17:44:07 +01:00
Oleg Zhurakousky
24ef2747ba GH-422, GH-606 Improve generation of default attributes for Consumer 2020-11-16 16:49:59 +01:00
Oleg Zhurakousky
ee3868debd GH-422, GH-606 Add support for generating attributes using provider in Consumer 2020-11-16 16:27:54 +01:00
Oleg Zhurakousky
6093aefe14 GH-422, GH-606 Fix attributes generatioin 2020-11-16 14:20:02 +01:00
Oleg Zhurakousky
ac54a83e09 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
ada16079ca 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
c31b7f1f20 Make CloudEventAttributesProvider a FunctionalInterface
Related to #422 and #606
2020-11-16 08:41:42 +01:00
Oleg Zhurakousky
24b0aec2b2 Add PojoToPojo and MapToMap tests
Related to GH-422 and GH-606
2020-11-13 18:44:01 +01:00
Oleg Zhurakousky
7ddbbe52cd Fix HTTP header propagation logic
Related to GH-422 and GH-606
2020-11-13 17:47:41 +01:00
Oleg Zhurakousky
311649c312 Fix CloudEvent prefix and fix the name of CloudEventAttributesProvider.java 2020-11-13 16:07:33 +01:00
Oleg Zhurakousky
784fde2e1f GH-606 add initila support for generating default cloud event attributes 2020-11-13 11:39:48 +01:00
Oleg Zhurakousky
9c58e6d64b 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
f999cdd787 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
3291863dbf GH-422 Add test and documentation for pure function interaction 2020-11-11 12:26:09 +01:00
Oleg Zhurakousky
505df32281 Update README.adoc 2020-11-11 12:02:36 +01:00
Oleg Zhurakousky
830bf04a81 Update README.adoc 2020-11-11 12:02:11 +01:00
Oleg Zhurakousky
efd9c98ac5 Update README.adoc 2020-11-11 12:01:12 +01:00
Oleg Zhurakousky
35d4250590 Update README.adoc 2020-11-11 12:00:27 +01:00
Oleg Zhurakousky
339f7fdb96 Adjust image size 2020-11-11 11:59:16 +01:00
Oleg Zhurakousky
a39476561a GH-422 Add RabbitMQ instructions for Cloud Events interaction 2020-11-11 11:53:39 +01:00
Oleg Zhurakousky
a6eb8339a5 GH-422 Improvements in cloud event samples
Added initial README
Polished tests
2020-11-11 09:18:51 +01:00
Oleg Zhurakousky
2a88b52ca1 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