Commit Graph

1817 Commits

Author SHA1 Message Date
buildmaster
e4766dd2c8 Update SNAPSHOT to 3.1.3 2021-05-26 13:46:32 +00:00
Oleg Zhurakousky
e419b41968 GH-676 Fix mixed (index and not) input-header-mapping-expression 2021-05-26 15:21:12 +02:00
Oleg Zhurakousky
ad8f9dd044 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
3d1c1e2314 GH-692 Fix reactive support in Azure FunctionInvoker
Resolves #692
2021-05-25 17:25:06 +02:00
Oleg Zhurakousky
baf7747913 Update CE examples POM 2021-05-25 15:36:46 +02:00
Oleg Zhurakousky
8737a60321 GH-676 Add javadoc and minor polishing 2021-05-25 11:50:13 +02:00
Oleg Zhurakousky
22e945009a GH-676 Relax SpEL evaluation failures for input header enrichment
Add documentation

Resolves #676
2021-05-24 15:18:28 +02:00
Tsypov Dmitriy
9e8d7d3d19 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
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
86e141c199 Upgrade dependencies to ensure boot 2.5 compatibility 2021-05-20 17:03:56 +02:00
Oleg Zhurakousky
79f4540130 GH-676 Add split condition test for header enrichment 2021-05-20 07:32:49 +02:00
Tsypov Dmitriy
0db0a2f555 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
238ac301df GH-676 Improvements to header enrichment 2021-05-19 16:52:50 +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
03de819c4a GH-676 Add initial support for mapping/re-mapping input headers
Add BeanResolver
2021-05-14 10:16:41 +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
buildmaster
686176150b Bumping versions 2021-05-06 11:43:45 +00:00
Oleg Zhurakousky
8e5a9facde Add javadoc on new public method
Resolves #690
2021-04-26 15:16:47 +02:00
Soby Chacko
e16be9c50d 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
5e824f33aa polishing 2021-04-15 16:52:04 +02:00
Oleg Zhurakousky
6f6c87a134 GH-680 Add additional DEBUG logging to CloudEventsFunctionInvocationHelper 2021-04-14 20:01:54 +02:00
Oleg Zhurakousky
fe5f14c2f2 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
727322b1f0 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
623e5a9782 Update documentation that GCF is GA, not Alpha 2021-04-14 11:44:13 -04:00
Oleg Zhurakousky
b7edd1e1b7 GH-685 Update Kotlin documentation
Add test for collections

polishing
2021-04-13 09:23:56 +02:00
Oleg Zhurakousky
ecd9902ced GH-685 Move Kotlin configurations to s-c-function-context module
Resolves #685
2021-04-12 15:02:56 +02:00
Oleg Zhurakousky
ee0bc4e28f Merge additional test to ensure propper type conversion 2021-04-10 08:10:23 +02:00
Taras Danylchuk
5afbd25d1c gh-608 issue 2021-04-10 07:59:38 +02:00
Oleg Zhurakousky
a4c1358af4 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
bbcec718ce Bumping versions 2021-04-08 18:56:43 +00:00
Oleg Zhurakousky
2e133f9e9a Add test for FunctionAroundWrapper 2021-04-08 17:10:17 +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
c0ed41f9c7 GH-679 Add test to validate output conversion for composed functions
Resolves #679
2021-04-07 11:53:17 +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
Oleg Zhurakousky
004813dfd2 Fix NPE possibility for ConversionService not being present in the Bean Factory 2021-04-01 13:56:35 +02:00
buildmaster
11eda96661 Bumping versions 2021-03-26 18:57:23 +00:00
Oleg Zhurakousky
b8b04eb377 GH-668 Initial NPE fix in RequestProcessor when no path argument provided 2021-03-25 14:28:18 +01:00
Oleg Zhurakousky
7d848d5de5 Revert "Polishing"
This reverts commit 2ae8be6025.
2021-03-24 18:50:55 +01:00
Soby Chacko
2ae8be6025 Polishing 2021-03-24 13:47:53 -04:00
Oleg Zhurakousky
a88a8be223 Simplify FunctionInvocationHelper and its CE implementation 2021-03-24 16:31:41 +01:00
Oleg Zhurakousky
106435e91c GH-675 Made KotlinFunctionWrapper public 2021-03-23 13:48:09 +01:00
Oleg Zhurakousky
c871e5722a Polishing SDK CloudEvent integration 2021-03-19 15:52:57 +01:00
Oleg Zhurakousky
675889f549 Provide initial integration with SDK CloudEvent 2021-03-19 15:00:02 +01:00
Soby Chacko
be50084118 Array reification error with KStream[] in Kotlin
Exclude Kafka Streams functions with KStream[] return type as this
causes some array reification errors in Kotlin.

See this issue for more details: https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/1044

Resolves https://github.com/spring-cloud/spring-cloud-function/issues/669

Resolves #670
2021-03-18 19:58:07 +01:00
Oleg Zhurakousky
2f425abb3f Minor simplification in FunctionRSocketMessageHandler 2021-03-17 14:58:35 +01:00