Commit Graph

1202 Commits

Author SHA1 Message Date
buildmaster
ea03395bb3 Update SNAPSHOT to 3.1.1 2021-01-27 17:11:29 +00:00
Oleg Zhurakousky
a6cb0fde3c Fix RSocket CloudEvents sample 2021-01-27 15:29:16 +01:00
Oleg Zhurakousky
2a356812ac GH-632 Fix type discovery on Kotlin function
Fix the way FunctionTypeUtils deals with Kotllin function when it attempts to discover their type.
Basically it checks if function-name + '_registration' nean exists and if so it skip discovery and uses the types available in FunctionRegistration which for Kotlin scenarios will always exist.

Resolves #632
2021-01-26 12:04:05 +01:00
Oleg Zhurakousky
ed99439f0b 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
Oleg Zhurakousky
5e4b4a63b8 Merge pull request #637 from timmyowl/patch-1
Update FunctionConfiguration.java
2021-01-26 08:13:23 +01:00
Oleg Zhurakousky
0e6260942b Stream GH-2092 Make log statement on discovery of default function more informative 2021-01-26 08:12:04 +01:00
Owolabi Timothy
2b77ec9c94 Update FunctionConfiguration.java
Updated typo in comment
2021-01-26 06:18:33 +01:00
Oleg Zhurakousky
fcc5788223 GH-636 Add documentation to explain function filtering
Resolves #636
2021-01-25 15:51:14 +01:00
Oleg Zhurakousky
fbc2ca815a GH-635 Fix support for returning empty Collections
Resolves #635
2021-01-22 16:43:55 +01:00
Oleg Zhurakousky
3d4bd14926 GH-620 Add BeanResolver support for RoutingFunction
Resolves #620

polish
2021-01-22 14:52:04 +01:00
Oleg Zhurakousky
75112076f7 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
a1d10f0771 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
175c819ae9 Bumping versions 2021-01-14 18:56:56 +00:00
Oleg Zhurakousky
b28087d6a3 Revert "Bumping versions"
This reverts commit cbd0bee65f.
2021-01-14 12:36:38 +01:00
buildmaster
cbd0bee65f Bumping versions 2021-01-13 18:56:32 +00:00
Oleg Zhurakousky
723f780208 Added author name to the docs
Resolves #627
Resolves #621
2021-01-11 11:00:04 +01:00
Dan Dobrin
e566705542 Fixes #621 - updated Documentation, test and sample code 2021-01-11 10:52:58 +01:00
Oleg Zhurakousky
5894433ed5 Revert "Bumping versions"
This reverts commit 6a3bde7d64.
2021-01-11 10:44:04 +01:00
Oleg Zhurakousky
21ac246d61 Revert "Bumping versions"
This reverts commit 8cfa04ccc6.
2021-01-11 10:43:52 +01:00
Oleg Zhurakousky
d9a0add8b8 Fix getItemType() in SimpleFunctionRegistry to account for Message<?> 2021-01-11 10:43:44 +01:00
ncheema
9bbb86be2d method already has a condition to retrieve immediateGenericType for a message
This condition was meant to be removed as part of #543

Resolves #624
2021-01-11 10:43:09 +01:00
Oleg Zhurakousky
d0a0da24bc GH-628 Clean up logging levels
Resolves #628
2021-01-11 09:51:39 +01:00
buildmaster
8cfa04ccc6 Bumping versions 2020-12-22 18:56:22 +00:00
buildmaster
6a3bde7d64 Bumping versions 2020-12-21 18:56:08 +00:00
Oleg Zhurakousky
1f1ba66764 Fix snapshot versions 2020-12-21 18:04:32 +01:00
buildmaster
2f933b9b01 Bumping versions to 3.1.1.SNAPSHOT after release 2020-12-21 11:57:51 +00:00
buildmaster
45161d683d Going back to snapshots 2020-12-21 11:57:50 +00:00
buildmaster
3a0ed3941f Update SNAPSHOT to 3.1.0 2020-12-21 11:54:46 +00:00
buildmaster
3ee189fd23 Bumping versions 2020-12-21 11:04:22 +00:00
Oleg Zhurakousky
8b5ce53a63 Fix RSocket samples test 2020-12-21 11:57:55 +01:00
Oleg Zhurakousky
77edae56fe Update s-c-build to release 2020-12-21 11:40:07 +01:00
Oleg Zhurakousky
e3b5e2b0cb GH-590 change README extension 2020-12-21 10:28:21 +01:00
Oleg Zhurakousky
ab59776fb5 GH-590 Add initial RSocket documentation 2020-12-21 10:26:55 +01:00
Oleg Zhurakousky
231e38eb85 Merge pull request #622 from amolkatdare/patch-1
fixed typo. 'dashboard'
2020-12-18 21:10:16 +01:00
Oleg Zhurakousky
dacca71cc2 Clean up AMQP/KAFKA Cloud Event sample README 2020-12-18 18:54:21 +01:00
Oleg Zhurakousky
0d0ef3350c Clean up RSocket Cloud Event sample README 2020-12-18 18:45:54 +01:00
Oleg Zhurakousky
bc4b5b3f80 Add stream (kafka, Rabbit) and Rsocket examples for Cloud Event 2020-12-18 16:44:29 +01:00
Oleg Zhurakousky
eb95e1dd78 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
1bf7c436fa fixed typo. 'dashboard' 2020-12-17 16:54:25 -06:00
buildmaster
7ab6cc446b Bumping versions 2020-12-15 18:56:41 +00:00
buildmaster
09611485fe Bumping versions 2020-12-14 18:56:05 +00:00
Oleg Zhurakousky
285fd66858 Fix payload extraction during output conversion
Also, restructured CloudEventsFunctionInvocationHelper's postProcessig logic
2020-12-12 13:48:47 +01:00
buildmaster
9e31994901 Going back to snapshots 2020-12-11 13:43:19 +00:00
buildmaster
794d59317a Update SNAPSHOT to 3.1.0-RC1 2020-12-11 13:41:19 +00:00
Oleg Zhurakousky
e86d397433 Cleaned up Cloud Event support around reactive functions
Added reactive tests
Restructured CloudEventsFunctionInvocationHelper
2020-12-11 14:34:32 +01:00
Oleg Zhurakousky
7403a51464 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
9edc08d97e interim 2020-12-10 07:56:15 +01:00
Oleg Zhurakousky
90c3c35f68 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
271bc22969 Disconnect FunctionInspector from AbstractComposableFunctionRegistry and SimpleFunctionRegistry 2020-12-08 17:31:56 +01:00
Oleg Zhurakousky
555526192f GH-618 Remove dependency on FunctionInspector from AWS FunctionInvoker
Resolves #618
2020-12-08 15:00:56 +01:00