Commit Graph

121 Commits

Author SHA1 Message Date
Oleg Zhurakousky
cb2a83e472 Stopping point with initial POC 2023-02-22 12:56:13 +01:00
Oleg Zhurakousky
b2b97d8077 working on AWS 2023-02-21 13:05:43 +01:00
Oleg Zhurakousky
37eb8aa58f GH-973 Ensure that AWS isBase64Encoded is set dynamically
Resolves #973
2023-01-23 14:56:14 +01:00
Oleg Zhurakousky
b4cbef163e GH-980 Ensure reactive types are supported by AWS adapter
Resolves #980
2023-01-23 13:01:26 +01:00
Oleg Zhurakousky
9fec8d5d23 GH-986 Fix regression to NOT attempt output conversion of Message<byte[]>
Resolves #986
2023-01-17 14:15:34 +01:00
Oleg Zhurakousky
079234b021 polishing previous commit 2023-01-17 11:12:56 +01:00
amond
38b41dcd3e GH-987 feat: propagate aws x-ray tracing header
Resolves #987
Resolves #988
2023-01-17 11:12:44 +01:00
Oleg Zhurakousky
3cb9dde679 GH-932 Fix registration of AWSTypesMessageConverter for functional spring applications
Resolves #932
2022-11-10 12:13:57 +01:00
Oleg Zhurakousky
8983369a4d GH-943 Enhance AWS FunctionInvoker
This adds another constructor which allows function.definition to be passed as a constructor argument rather then rely on the property

Resolves #943
2022-11-02 09:36:18 +01:00
Oleg Zhurakousky
b44984f59c GH-929 Ensure AWS Functioininvoker handles Mono<Void> return the same way as imperative Consumer
Resolves #929
2022-10-19 10:52:24 +02:00
Oleg Zhurakousky
f22561ed47 GH-917 Fix regression with sanitizing headers
Resolves #917
2022-08-16 16:43:38 +02:00
Oleg Zhurakousky
d09c968c31 Merge pull request #916 from ivcuello/3.2.x-make-utils-public
update on AWSLambdaUtils visibility
2022-08-11 17:11:25 +02:00
ivcuello
2af2e0b342 Making class AWSLambdaUtils public so the AWS_CONTEXT constant can be accessed. please see latest comment on #910 2022-08-10 09:54:40 -04:00
Oleg Zhurakousky
16eeb77448 GH-913 Fix AWS Context propagation
Resolves #913
2022-08-08 15:14:32 +02:00
Oleg Zhurakousky
8bcdeb5cc2 Reworked AWSUtils and related classes to delegate type conversion to AWSTypesMessageConverter
Resolves #889

polish
2022-08-03 16:49:21 +02:00
atyamlalithya
fa1a7a98a3 Update AWSLambdaUtils.java
Added this fix to preserve headers from original payload
2022-08-03 15:24:10 +02:00
Maciej Walkowiak
14266d14d8 Fix typo.
Fix typo.
2022-07-26 11:50:04 +02:00
Maciej Walkowiak
d8623c7838 Deprecate SpringBootStreamHandler in favor of FunctionInvoker.
Resolves #898
2022-07-26 11:46:45 +02:00
Oleg Zhurakousky
02e9adf0c6 Relax logging in SimpleFunctionRegistry 2022-07-25 15:46:13 +02:00
Oleg Zhurakousky
0659593cfe GH-861 Add constant for aws-context
Resolves #861
2022-04-21 13:16:27 +02:00
Oleg Zhurakousky
490c91e849 Polishing previous commit as it's current version breaks the test 2022-04-21 10:19:56 +02:00
Twometer
e7c1244501 Fix ClassCastException with Spring Native 2022-04-21 09:10:57 +02:00
rahulmlokurte
ad486c4b23 Fix #844 issue custom object type conversion is failing, when it has headers as a variable name
Resolves #850
2022-04-21 09:04:35 +02:00
Oleg Zhurakousky
303b6459e2 GH-841 Add support for propagating errors from AWS Custom Runtime
Resolves #841
2022-04-20 19:56:36 +02:00
Twometer
868f943831 Add support for lambda authorizers
Resolves #842
2022-03-29 12:07:31 +02:00
Oleg Zhurakousky
2fc78b2899 GH-833 Add initial support for AWS APIGatewayCustomAuthorizerEvent
Resolves #833
2022-03-23 13:03:08 +01:00
Oleg Zhurakousky
aa38cb0e56 GH-784 Modified AWS example to NOT rely on web
Resolves #784
2022-01-26 18:26:37 +01:00
Oleg Zhurakousky
1cc78f7c28 GH-785 Ad initial support for ApplicationLoadBalancerRequestEvent in AWS
Resolves #785
2022-01-25 18:47:51 +01:00
Oleg Zhurakousky
f71b75c9b0 GH-787 Fix 'body' format in JSON output for AWS responses
Resolves #787
2022-01-25 14:00:56 +01:00
Oleg Zhurakousky
bfe4b93179 Cleanup version determination in CustomRuntimeEventLoop 2022-01-17 18:06:52 +01:00
Oleg Zhurakousky
061729673b GH-789 Propagate AWS FunctionInvoker exceptions
They will be handled by the AWS runtime and properly reported and recorded.
Resolves #789
2022-01-12 10:44:29 +01:00
Oleg Zhurakousky
15ab165158 GH-786 Fix regression with RoutingFunction over AWS APIGateway
Resolves #786
2022-01-03 14:42:31 +01:00
Oleg Zhurakousky
5f7313ff31 Add additional logging to CustomRuntimeEventLoop 2021-12-06 12:55:42 +01:00
Oleg Zhurakousky
fccd242987 Change format of user agent to be aligned with the original PR from @msailes 2021-11-12 15:23:25 +01:00
Oleg Zhurakousky
bc37fd5a28 Modified version determination for user-agent, added test 2021-11-12 12:58:06 +01:00
Mark Sailes
015d253106 Send a user-agent header with requests to the Lambda Runtime API.
Adding the author tag.
2021-11-12 12:08:25 +01:00
Oleg Zhurakousky
306895dc17 GH-751 Remove commented code 2021-11-02 12:25:28 +01:00
Oleg Zhurakousky
eeb5448a7d GH-751 Ensure RoutingFunction can be applied when function input type is AWS type 2021-11-02 12:15:08 +01:00
Oleg Zhurakousky
2addf5af7d Restructure and simplify AWS Custom Runtime code
Add Custom Runtime emulator to simplify integration testing
2021-10-20 17:52:52 +02:00
Oleg Zhurakousky
c8f146a98a Refactor CustomRuntimeEventLoop in AWS module to ensure it is spring aot native compatible 2021-09-21 16:08:09 +02:00
Oleg Zhurakousky
6f2759055c GH-743 Remove setting of HTTP 'export' properties for AWS Custom Runtime
Resolves #743
2021-09-16 11:27:17 +02:00
Oleg Zhurakousky
bfbf2d6e8c GH-722 Fix support for API Gateway v2 when Function signature is POJO
Resolves #722
2021-08-17 08:25:28 +02:00
Oleg Zhurakousky
41d0783b77 GH-718 Improve support for Function bean definition
Added sample for functional bean definition
2021-08-03 13:02:15 +02:00
Oleg Zhurakousky
ffd4e43d4b GH-716 Add support for returning custom status code
Resolves #716
2021-07-30 12:42:48 +02:00
Oleg Zhurakousky
619833092a Improve AWSLambdaUtils 2021-07-28 14:56:07 +02:00
Oleg Zhurakousky
3666bf73f7 GH-709, GH-684, GH-641 Upgrade AWS dependency
Refactor and simplify AWSLambdaUtils to work with AWS serialization libraries
Add support for API v2 gateway event

Resolves #709
Resolves #684
Resolves #641
2021-07-22 18:57:57 +02:00
Oleg Zhurakousky
c2d0590ec3 GH-698 Fix routing function support in AWS
Introduce auto-fallback to routing function if more then one function is present and no definition is provided.
Add explicit routing sample

Add documentation
2021-05-21 17:04:01 +02:00
Oleg Zhurakousky
c07aa97d15 Ensure user set headers in API Gateway are properly propagated to message headers 2021-05-18 16:33:04 +02:00
Oleg Zhurakousky
95a1d10dba Add tests for AWS CustomRuntimeEventLoop 2021-05-17 20:03:11 +02:00
Oleg Zhurakousky
fc42819357 GH-662 Fix support for reactive functions in AWS
This commit also includes other minor fixes around CustomRuntime which was getting in the way of this specific issue
 Added lookup for _HANDLER env variable
 Added few tests (will need more)
 Added support for Iterable for reactive functions

Resolves #662
2021-04-08 15:57:14 +02:00