Commit Graph

347 Commits

Author SHA1 Message Date
Oleg Zhurakousky
e4b953a14f GH-645 Add Kotlin Web example 2021-02-15 18:06:40 +01:00
Oleg Zhurakousky
c4ffef0d14 Upgrade Kotlin lib 2021-02-11 05:35:52 +01:00
buildmaster
36de6289ba Bumping versions 2021-02-01 18:56:47 +00:00
buildmaster
d9d1588a19 Bumping versions 2021-01-28 18:56:43 +00:00
buildmaster
44d583493a Bumping versions 2021-01-27 18:56:44 +00:00
buildmaster
d6fb9cfaf8 Bumping versions to 3.1.2-SNAPSHOT after release 2021-01-27 17:16:38 +00:00
buildmaster
329a805fcf Going back to snapshots 2021-01-27 17:16:37 +00:00
buildmaster
047f5f95cb Update SNAPSHOT to 3.1.1 2021-01-27 17:11:29 +00:00
Oleg Zhurakousky
b2e783490c Fix RSocket CloudEvents sample 2021-01-27 15:29:16 +01:00
Oleg Zhurakousky
1a0182a068 GH-552 Fix Consumer support in FunctionInvoker
Further refactor FunctionInvoker to utilize functionality of AWSLambdaUtils
Add Consumer test

Resolves #552
2021-01-26 10:41:25 +01:00
Owolabi Timothy
6e29ef991d Update FunctionConfiguration.java
Updated typo in comment
2021-01-26 06:18:33 +01:00
Oleg Zhurakousky
1f518a0287 GH-630, GH-530 Additional improvements in AWS Custom Runtime
Ensured we have Custom Runtime examples for functional and '@Bean' style
Improve AWSLambdaUtils to ensure it works without APIGatewayProxyRequestEvent on classpath
2021-01-22 12:31:31 +01:00
Oleg Zhurakousky
648c4b165a GH-530, GH-630 Improvements to AWS Custom Runtime
This commit provides initial set of improvements to executing functions in AWS Custom Runtime
- Consistent invocation model for functional as well as @Bean configuration models via new CustomRuntimeEventLoop as well as AWSLambdaUtils
- Clean up classpath to decrease the size of the JAR/ZIP file
- Configuration simplification which no longer requires enabling of function exporter

It also allows user to define functions that rely on AWS types such as APIGatewayProxyRequestEvent

The existing invocation model remains in tact for the time being. Both invocation models are mutually exclusing in theit setup to avoid potential conflict.

Resolves #538
Resolves #630
2021-01-21 22:20:32 +01:00
buildmaster
c04415f6a7 Bumping versions 2021-01-14 18:56:56 +00:00
Oleg Zhurakousky
099671bb3a Revert "Bumping versions"
This reverts commit 1356831897.
2021-01-14 12:36:38 +01:00
buildmaster
1356831897 Bumping versions 2021-01-13 18:56:32 +00:00
Dan Dobrin
4a79072b53 Fixes #621 - updated Documentation, test and sample code 2021-01-11 10:52:58 +01:00
Oleg Zhurakousky
ffbc7fec78 Revert "Bumping versions"
This reverts commit da075793f6.
2021-01-11 10:44:04 +01:00
Oleg Zhurakousky
01b6b4c84b Revert "Bumping versions"
This reverts commit 67adf563fc.
2021-01-11 10:43:52 +01:00
buildmaster
67adf563fc Bumping versions 2020-12-22 18:56:22 +00:00
buildmaster
da075793f6 Bumping versions 2020-12-21 18:56:08 +00:00
Oleg Zhurakousky
fde7da34d1 Fix snapshot versions 2020-12-21 18:04:32 +01:00
buildmaster
48605a9ac3 Bumping versions to 3.1.1.SNAPSHOT after release 2020-12-21 11:57:51 +00:00
buildmaster
d7fc2a251e Going back to snapshots 2020-12-21 11:57:50 +00:00
buildmaster
902c9f94e0 Update SNAPSHOT to 3.1.0 2020-12-21 11:54:46 +00:00
buildmaster
e8a09916fe Bumping versions 2020-12-21 11:04:22 +00:00
Oleg Zhurakousky
9bdd41e657 Fix RSocket samples test 2020-12-21 11:57:55 +01:00
Oleg Zhurakousky
18492b09be Clean up AMQP/KAFKA Cloud Event sample README 2020-12-18 18:54:21 +01:00
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
buildmaster
a86e8bd0f0 Bumping versions 2020-12-15 18:56:41 +00: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
523cd1023f Change canonical format of Cloud Event Message attributes to have 'ce-' prefix 2020-12-02 11:24:03 +01:00
Oleg Zhurakousky
306da4248a Restructure Cloud Events support to optionally support Cloud Events SDK 2020-12-01 22:12:34 +01: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
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