Commit Graph

311 Commits

Author SHA1 Message Date
Oleg Zhurakousky
2db9ce1bba Fix dependency version 2021-10-18 16:02:04 +02:00
Oleg Zhurakousky
caf3cd79fb GH-754 Add initial support for specifying grpc service
The newly added support allows one to actually specify which groc service to bootstrap in the event multiple services are available in the classpath

Resolves #754
2021-10-11 20:46:43 +02:00
Oleg Zhurakousky
41043479f5 GH-750 Add support for pluggable protobufs
This initial support adds plugin extension to support CloudEvent proto as well as the example
Additional plugins could be provided in the same ay as CloudEvent plugin extension

Resolves #750
2021-10-11 14:03:24 +02:00
buildmaster
8c92be5a06 Going back to snapshots 2021-10-01 09:42:57 +00:00
buildmaster
0d7fa4fc0a Update SNAPSHOT to 3.2.0-M2 2021-10-01 09:39:36 +00:00
Oleg Zhurakousky
495b42bbe7 Refactor CustomRuntimeEventLoop in AWS module to ensure it is spring aot native compatible 2021-09-21 16:08:09 +02:00
Oleg Zhurakousky
3b4b7aae5c GH-743 Remove setting of HTTP 'export' properties for AWS Custom Runtime
Resolves #743
2021-09-16 11:27:17 +02:00
Oleg Zhurakousky
334d2d8e8a GH-722 Fix support for API Gateway v2 when Function signature is POJO
Resolves #722
2021-08-17 08:25:28 +02:00
Israel Perales
9ec8fe0206 Bugfix #712
Resolves https://github.com/spring-cloud/spring-cloud-function/issues/712
Resolves #719
2021-08-06 15:50:59 +02:00
Oleg Zhurakousky
873860571b GH-718 Improve support for Function bean definition
Added sample for functional bean definition
2021-08-03 13:02:15 +02:00
buildmaster
723f1b8180 Going back to snapshots 2021-07-30 10:58:36 +00:00
buildmaster
fae1e4ab94 Update SNAPSHOT to 3.2.0-M1 2021-07-30 10:55:41 +00:00
Oleg Zhurakousky
d9db0af13d GH-716 Add support for returning custom status code
Resolves #716
2021-07-30 12:42:48 +02:00
Oleg Zhurakousky
e87506bb4e Revert "Update SNAPSHOT to 3.2.0-M1"
This reverts commit 2897285217.
2021-07-30 12:41:34 +02:00
Oleg Zhurakousky
26ed4cbb25 Revert "Going back to snapshots"
This reverts commit c3a556faf6.
2021-07-30 12:41:23 +02:00
buildmaster
c3a556faf6 Going back to snapshots 2021-07-30 08:15:06 +00:00
buildmaster
2897285217 Update SNAPSHOT to 3.2.0-M1 2021-07-30 08:12:01 +00:00
Oleg Zhurakousky
7e81cdd552 Improve AWSLambdaUtils 2021-07-28 14:56:07 +02:00
Oleg Zhurakousky
dc98f0b49f 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
2a73a7a0a3 Fix POMs for 3.2 2021-07-13 16:23:02 +02:00
Oleg Zhurakousky
bb400b8386 Fix checkstyle 2021-06-11 09:32:00 +02:00
Oleg Zhurakousky
bfb62150e8 GH-706 Fix application context caching for JDK11 class loaders
Resolves #706
2021-06-08 20:36:23 +02:00
buildmaster
7af4275f4e Bumping versions to 3.1.4-SNAPSHOT after release 2021-05-26 13:50:55 +00:00
buildmaster
6f0a1065b2 Going back to snapshots 2021-05-26 13:50:54 +00:00
buildmaster
e4766dd2c8 Update SNAPSHOT to 3.1.3 2021-05-26 13:46:32 +00:00
Oleg Zhurakousky
3d1c1e2314 GH-692 Fix reactive support in Azure FunctionInvoker
Resolves #692
2021-05-25 17:25:06 +02:00
Oleg Zhurakousky
039387d9c6 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
c86ce12484 Ensure user set headers in API Gateway are properly propagated to message headers 2021-05-18 16:33:04 +02:00
Oleg Zhurakousky
4e937d4b84 AWS POM cleanup 2021-05-17 20:05:29 +02:00
Oleg Zhurakousky
704df35bb8 Add tests for AWS CustomRuntimeEventLoop 2021-05-17 20:03:11 +02:00
Oleg Zhurakousky
cfec6eceec Change deprecate json mapper property
Resolves #693
2021-05-11 15:51:09 +02:00
dzou
566c3a93d6 try upgrading sample version
try upgrading sample version of adapter dependency

Restore GSON mapper preference

default to GSON if impl not specified
2021-05-11 15:37:24 +02:00
Oleg Zhurakousky
b2f36936ac 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
Oleg Zhurakousky
866eac9ca1 GH-673 Change the logic to recognize AWS CustomRuntime
Prior to this it was based on existance of AWS_LAMBDA_RUNTIME_API env variable which turned out to be not very reliable since it is present in Java 11 runtime
With this commit it simple ensures that the handler is neither FunctionInvoker nor AbstractSpringFunctionAdapterInitializer

Resolves #673
2021-04-07 16:13:11 +02:00
Oleg Zhurakousky
7ca389fc18 GH-678 Fix race condition leading to NPE in Azure FunctionInvoker
Resolves #678
2021-04-06 14:02:04 +02:00
Oleg Zhurakousky
8fb29fac14 GH-570 Remove hard dependency on Gson for GCP
Resolves #570
2021-04-06 12:20:39 +02:00
buildmaster
dd00e15102 Bumping versions to 3.1.3-SNAPSHOT after release 2021-03-16 13:20:48 +00:00
buildmaster
395097bc63 Going back to snapshots 2021-03-16 13:20:47 +00:00
buildmaster
a27e3620a3 Update SNAPSHOT to 3.1.2 2021-03-16 13:17:55 +00:00
Oleg Zhurakousky
98fe5bc8eb GH-437 Refactor Azure request handler
This approach simplifies the existing request handlers while also fixing the invocation model to ensure AC is not created multiple times and ExecutionContext is properly propagated via Message headers
The old request handlers are deprecated
Documentation updates as well as tests
Resolves #437
2021-03-15 11:08:36 +01:00
Oleg Zhurakousky
e82f54d69e GH-600 Fix logic in Azure adapter to ensure proper handling of sveral functions
This also addresses re-initialization of AC when the second function is invoked
Added second function to the azure examples

Resolves #600
2021-03-11 15:26:06 +01:00
Oleg Zhurakousky
29ad49cbf6 GH-437 Pass ExecutionContext via MessageHeader
Caching it as part of ApplicationContext was not the right idea so this changes it
2021-03-10 18:53:25 +01:00
pguti778
827c7025ef AWS: Change Default environment values
I've faced the "The key must start with a letter and can only contain letters, numbers, and underscores." issue in the AWS lambda. So both _HANDLER and spring.cloud.function.definition were not enabled to be added as environment variables. Let me know your thoughts.
2021-03-02 22:09:41 -03:00
Oleg Zhurakousky
f3573f359d GH-639 Fix NPE for when using Supplier with AWS API Gateway
Resolves #639
2021-02-08 10:36:00 +01:00
buildmaster
36de6289ba Bumping versions 2021-02-01 18:56:47 +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
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