Commit Graph

1329 Commits

Author SHA1 Message Date
buildmaster
c2d7d110bd Bumping versions 2021-06-22 11:43:59 +00:00
Oleg Zhurakousky
ddc08de2d1 GH-708 Consolidate web request processing for Flux and MVC endpoints" 2021-06-17 20:38:06 +02:00
Oleg Zhurakousky
293ccd7425 Add support for handling Supplier to FunctionAroundWrapper 2021-06-17 10:42:39 +02:00
Oleg Zhurakousky
ae8062efb1 GH-708 Removed RequestProcessor from Flux FunctionController
Resolves #708

polish
2021-06-16 17:09:52 +02:00
Oleg Zhurakousky
e245114875 GH-708 Removed RequestProcessor from MVC FunctionController 2021-06-15 19:53:02 +02:00
Oleg Zhurakousky
4cc88f1124 GH-708 Initial refactoring and consolidation of s-c-function-web MVC part. 2021-06-15 15:15:26 +02:00
Oleg Zhurakousky
eddfa97b85 Fix checkstyle 2021-06-11 09:32:00 +02:00
Oleg Zhurakousky
5d1a1cf5b3 GH-706 Fix application context caching for JDK11 class loaders
Resolves #706
2021-06-08 20:36:23 +02:00
Oleg Zhurakousky
cebd1fde67 GH-707 Fix Concurrent Modification exception on lookup
Rare condition but it appears that in some runtimes there could be multiple threads invoking lookup operation
Added test to validate

Resolves #707
2021-06-08 14:07:32 +02:00
Oleg Zhurakousky
82fd6f008f Change wrapper version to 1.0.27.BUILD-SNAPSHOT to be boot 2.5 compatible 2021-05-27 09:02:50 +02:00
buildmaster
1864a09fc4 Bumping versions to 3.1.4-SNAPSHOT after release 2021-05-26 13:50:55 +00:00
buildmaster
40f1c2ad7c Going back to snapshots 2021-05-26 13:50:54 +00:00
buildmaster
af2298caaa Update SNAPSHOT to 3.1.3 2021-05-26 13:46:32 +00:00
Oleg Zhurakousky
db6e8ce7b4 GH-676 Fix mixed (index and not) input-header-mapping-expression 2021-05-26 15:21:12 +02:00
Oleg Zhurakousky
ef696a64a2 Temporary fix for s-c-stream GH-2178
This removes 'spring.cloud.stream.sendto.destination' headers from each incoming message
2021-05-26 14:09:42 +02:00
Oleg Zhurakousky
7e5eaeeb49 GH-692 Fix reactive support in Azure FunctionInvoker
Resolves #692
2021-05-25 17:25:06 +02:00
Oleg Zhurakousky
1e6bac470c Update CE examples POM 2021-05-25 15:36:46 +02:00
Oleg Zhurakousky
3b9343df2c GH-676 Add javadoc and minor polishing 2021-05-25 11:50:13 +02:00
Oleg Zhurakousky
3611716dd3 GH-676 Relax SpEL evaluation failures for input header enrichment
Add documentation

Resolves #676
2021-05-24 15:18:28 +02:00
Tsypov Dmitriy
dc2076c77a Fixed a bug where the consumer function could not subscribe to the incoming flow
Resolves #701
Resolves #702
2021-05-24 13:59:19 +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
33b8ed10b1 Upgrade dependencies to ensure boot 2.5 compatibility 2021-05-20 17:03:56 +02:00
Oleg Zhurakousky
9ad2788183 GH-676 Add split condition test for header enrichment 2021-05-20 07:32:49 +02:00
Tsypov Dmitriy
fe2edeef38 GH-699 Fixed a bug where Kotlin Lambda was incorrectly converted to a consumer function
Fixed consumer type

Fixed tests

Added javadoc @author tag

Resolves #699
Resolves #700
2021-05-20 06:58:10 +02:00
Oleg Zhurakousky
b14c86a3d1 GH-676 Improvements to header enrichment 2021-05-19 16:52:50 +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
25387b83be AWS POM cleanup 2021-05-17 20:05:29 +02:00
Oleg Zhurakousky
95a1d10dba Add tests for AWS CustomRuntimeEventLoop 2021-05-17 20:03:11 +02:00
Oleg Zhurakousky
280b8844c7 GH-676 Add initial support for mapping/re-mapping input headers
Add BeanResolver
2021-05-14 10:16:41 +02:00
Oleg Zhurakousky
ea6d15e0aa Change deprecate json mapper property
Resolves #693
2021-05-11 15:51:09 +02:00
dzou
1c87e71aa8 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
buildmaster
d9f2bb4079 Bumping versions 2021-05-06 11:43:45 +00:00
Oleg Zhurakousky
7d053862ce Add javadoc on new public method
Resolves #690
2021-04-26 15:16:47 +02:00
Soby Chacko
007d1f06ea GH-689: Native compilation related changes
Provide mutator/accessor for enhancer filed in FunctionInvocationWrapper
in SimpleFunctionRegistry. This is required by graalvm native compilation in
Spring Cloud Stream applications.

Resolves https://github.com/spring-cloud/spring-cloud-function/issues/689
2021-04-22 19:57:50 -04:00
Oleg Zhurakousky
8f8e5172ba polishing 2021-04-15 16:52:04 +02:00
Oleg Zhurakousky
c5ce314032 GH-680 Add additional DEBUG logging to CloudEventsFunctionInvocationHelper 2021-04-14 20:01:54 +02:00
Oleg Zhurakousky
f35258dd9f Merge pull request #687 from meltsufin/gcf-not-alpha
Update documentation that GCF is GA, not Alpha
2021-04-14 19:41:12 +02:00
Oleg Zhurakousky
15c58fd63f GH-680 Add support for strict (or not) dependency on target-protocol header for CE
Resolves #680
2021-04-14 18:49:01 +02:00
Mike Eltsufin
5646821158 Update documentation that GCF is GA, not Alpha 2021-04-14 11:44:13 -04:00
Oleg Zhurakousky
05907134f0 GH-685 Update Kotlin documentation
Add test for collections

polishing
2021-04-13 09:23:56 +02:00
Oleg Zhurakousky
d22d66bc20 GH-685 Move Kotlin configurations to s-c-function-context module
Resolves #685
2021-04-12 15:02:56 +02:00
Oleg Zhurakousky
92468bcd53 Merge additional test to ensure propper type conversion 2021-04-10 08:10:23 +02:00
Taras Danylchuk
2c82cf91f8 gh-608 issue 2021-04-10 07:59:38 +02:00
Oleg Zhurakousky
376aae2d67 GH-677 Add spring.cloud.function.preferred-json-mapper property
Deprecate spring.http.converters.preferred-json-mapper
Resolves #677
2021-04-09 15:50:50 +02:00
buildmaster
c93e2c3b9d Bumping versions 2021-04-08 18:56:43 +00:00
Oleg Zhurakousky
4837efdcca Add test for FunctionAroundWrapper 2021-04-08 17:10:17 +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
Oleg Zhurakousky
cf58cdc700 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
324a978dab GH-679 Add test to validate output conversion for composed functions
Resolves #679
2021-04-07 11:53:17 +02:00
Oleg Zhurakousky
ba8dd58db6 GH-678 Fix race condition leading to NPE in Azure FunctionInvoker
Resolves #678
2021-04-06 14:02:04 +02:00