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
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
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
Oleg Zhurakousky
ffbc7fec78
Revert "Bumping versions"
...
This reverts commit da075793f6 .
2021-01-11 10:44:04 +01: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
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
c977a50239
GH-618 Remove dependency on FunctionInspector from AWS FunctionInvoker
...
Resolves #618
2020-12-08 15:00:56 +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
e95279daae
Polish to fix build
2020-11-03 15:38:27 +01:00
Oleg Zhurakousky
e47fc2d5cf
Disconnect FunctionInspector from adapter request handlers and Kotlin module
2020-10-20 13:58:51 +02:00
Oleg Zhurakousky
b8d462678a
Deprecate and remove all usages of FunctionInspector
2020-10-19 18:11:11 +02:00
Oleg Zhurakousky
10b1f808ba
Consolidate isMessage() operation
2020-10-19 14:57:55 +02:00
Oleg Zhurakousky
72f05fc591
Refactor FunctionCatalog implementation
2020-10-16 17:59:06 +02:00
buildmaster
85f70f30a6
Going back to snapshots
2020-10-02 09:22:55 +00:00
buildmaster
bd05ea44cf
Update SNAPSHOT to 3.1.0-M4
2020-10-02 09:20:53 +00:00
buildmaster
ed13099779
Going back to snapshots
2020-09-23 14:34:33 +00:00
buildmaster
861e4611b1
Update SNAPSHOT to 3.1.0-M3
2020-09-23 14:32:21 +00:00
Oleg Zhurakousky
95d8b54c80
GH-574 Fix String wrapping for input/output for AWS APIGateway
...
As suggested by the user we were improperly wrapping the String payload for input/output during APIGateway interaction
Resolves #574
2020-08-06 16:01:12 +02:00
Oleg Zhurakousky
c8b609b965
Fix port discovery in GCF test
2020-08-06 15:51:26 +02:00
Oleg Zhurakousky
6b9ce4cb0c
GH-562 Add type conversion documentation
...
Add test in AWS to showcase type conversion
Fix AWS FunctionInvoker to delegate to effectively delegate type conversion to the native mechanism of spring-cloud-function
Resolves #562
2020-07-29 20:17:03 +02:00
Oleg Zhurakousky
4ce94f7d54
GH-563 Add support for SNSEvent (AWS)
...
Resolves #563
2020-07-24 15:53:03 +02:00
buildmaster
83c6236f84
Going back to snapshots
2020-07-20 14:25:39 +00:00
buildmaster
f097ad64fc
Update SNAPSHOT to 3.1.0-M2
2020-07-20 14:23:39 +00:00
Oleg Zhurakousky
610e2a53fe
GH-560 Add explicit support for S3 AWS Event
...
Resolves #560
2020-07-16 09:41:23 +02:00
Oleg Zhurakousky
5fd54ab9fd
Add condition to reset content-type only if it isd not already set
...
Polish some of the POMs to address missing dependencies
Temporary disconnect gcp background sample until errors are fixed
2020-07-13 14:21:02 +02:00
dzou
aa04fca466
Fix error propagation for GCP adapter
...
Fix tests
2020-06-22 09:08:15 +02:00
Oleg Zhurakousky
d6272d38df
GH-551 Fix support for AWS SQSEvent
...
Resolves #551
2020-06-22 08:21:04 +02:00
anshlykov
8bcfad48fa
Migrate to JUnit 5
...
spring-cloud-function-context
spring-cloud-function-context: fix
spring-cloud-function-web
spring-cloud-function-adapters
spring-cloud-function-samples
spring-cloud-function-deployer; spring-cloud-function-kotlin
Resolves #535
2020-06-10 16:43:04 +02:00
buildmaster
24574800e7
Bumping versions
2020-06-04 18:55:44 +00:00
Oleg Zhurakousky
52104f451a
Change from v.BUILD-SNAPSHOT to v-SNAPSHOT
2020-06-03 14:56:41 +02:00
Oleg Zhurakousky
469c86e7b6
Polishing 7c8ba881c9
2020-05-27 14:51:51 +02:00
Oleg Zhurakousky
7c8ba881c9
Fix AWS FunctionInvoker to ensure it properly interprets translation of incoming APIGateway request to user FunctionInvoker
...
This assumes that
- 'body' will be extracted for cases such as POJO or String input
- Map input will simply represent the incoming request
- APIGatewayProxyRequestEvent input represents native representation of API Gateway request
Similar fixes went for Kinesis side of things
Added additional tests for both Kinesis and ApiGateway
2020-05-27 13:51:30 +02:00
dzou
a4788aba08
Add docs and updates for background function support
...
rename fuction-sample-gcp to function-sample-gcp-http
refdoc polish
background sample polish
Resolves #525
Update pub/sub bg function to use base64 encoding
2020-05-22 12:24:24 +02:00