Commit Graph

464 Commits

Author SHA1 Message Date
Oleg Zhurakousky
86b76122a3 GH-771 Remove ApplicationJsonMessageMarshallingConverter from the list of available converters
Resolves #771
2021-11-19 16:04:33 +01:00
Oleg Zhurakousky
140249dc3a GH-769 Fix regression with FunctionArroundWrapper
Resolves #769
2021-11-17 15:43:46 +01:00
Oleg Zhurakousky
414b16c0a7 Fix type discovery 2021-11-16 13:55:39 +01:00
Oleg Zhurakousky
4c5b34025c GH-725 Fix getNames() method to properly compute available function names
Resolves #725
2021-11-12 11:37:05 +01:00
Oleg Zhurakousky
fc39f09f1a GH-726 Enhance MessageRoutingCallback to optionally return enriched Message
Resolves #726
2021-11-11 17:17:48 +01:00
Oleg Zhurakousky
e436a48bcb Partially merging a91df5f52e from GreenRover 2021-11-11 09:29:32 +01:00
Oleg Zhurakousky
28eea09bc8 GH-764 Fix output header mapping timing
Resolves #764
2021-11-09 08:20:27 +01:00
Oleg Zhurakousky
255211df85 GH-764 Add support for output header enrichemnt
Resolves #764
2021-11-08 15:29:15 +01:00
Oleg Zhurakousky
5447465cc8 GH-762 Fix condition for parsing JSON collection strings into individual messages
Resolves #762
2021-11-08 11:11:07 +01:00
Oleg Zhurakousky
11e528f38a GH-758 Change kotlinToFunctionTransformer to SmartInitializingSingleton
Resolves #758
2021-10-28 09:00:27 +02:00
Oleg Zhurakousky
baeecb6ea6 GH-SCST-2235 Fix Partitioning issue with FunctionAroundWrapper" 2021-10-19 18:23:53 +02:00
Oleg Zhurakousky
0cb5483d0a Relax type rules for outputMessageEnricher 2021-10-15 19:21:56 +02:00
Oleg Zhurakousky
a1b2c07221 GH-752 Add support to stop caching functions in FunctionCatalog
Resolves #752
2021-10-07 15:07:26 +02:00
Oleg Zhurakousky
709a1536e1 GH-746 Fix support for Cloud Event properly enriching Function<Mono, Mono>
Resolves #746
2021-09-27 18:34:41 +02:00
Oleg Zhurakousky
ff11dd07b8 polish 2021-09-16 13:43:36 +02:00
Oleg Zhurakousky
37fb710c75 GH-741 Fix race condition while composing functions
Resolves #741
2021-09-14 14:23:38 +02:00
Oleg Zhurakousky
84840f79ba GH-731 Add support for SDK CloudEvent type
The type itself comes form cloud event sdk. And while s-c-function provides native support for cloud events, this is necessary for cases when user uses CloudEvent type in the signature of a function

Resolves #731
2021-08-31 17:25:45 +02:00
Oleg Zhurakousky
41fba8b918 Don't wrap collection of messages into Message 2021-07-30 18:33:01 +02:00
Oleg Zhurakousky
85a0b7be3b Re-enable FunctionAroundWrapper 2021-07-28 11:26:53 +02:00
Oleg Zhurakousky
8bc3c57291 Temporarily disabled calls to FunctionAroundWrapper 2021-07-26 17:19:08 +02:00
Oleg Zhurakousky
05d69338aa GH-717 Change List to Collection 2021-07-26 13:48:33 +02:00
Oleg Zhurakousky
de848e460f GH-717 Add support for adding MessageConverters to FunctionCatalog
Resolves #717
2021-07-26 13:11:48 +02:00
Oleg Zhurakousky
a9c9aa2647 GH-713 Add support for default function for HTTP
Resolves #713
2021-07-14 14:46:52 +02:00
Oleg Zhurakousky
4d0452a5dc Put guard to make sure reactve supplier is not instrumented by sleuth 2021-07-09 16:20:15 +02:00
Oleg Zhurakousky
3b244ea0a5 GH-711 Add initial support for source/target types determination
Resoves #711
2021-07-01 17:06:15 +02:00
Oleg Zhurakousky
c86890806e GH-710 Fix output conversion logic for when Function is wrapped in around advice 2021-06-28 19:02:34 +02:00
Oleg Zhurakousky
7d1144ffbb GH-710 Set skipOutputConversion flag is FunctionAroundWrapper is present
Resolves #710
2021-06-28 17:13:26 +02:00
Oleg Zhurakousky
293ccd7425 Add support for handling Supplier to FunctionAroundWrapper 2021-06-17 10:42:39 +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
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
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
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
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
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
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
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
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
Oleg Zhurakousky
4837efdcca Add test for FunctionAroundWrapper 2021-04-08 17:10:17 +02:00