Commit Graph

500 Commits

Author SHA1 Message Date
Oleg Zhurakousky
fc1e02022e Merge cleanup 2022-02-09 14:41:40 +01:00
Oleg Zhurakousky
37e974d019 GH-804 Add support for case-insensitive Cloud Event determination
Resolves #804
2022-02-09 14:25:47 +01:00
Oleg Zhurakousky
ad2da5cfc5 GH-804 Add support for case-insensitive routing 2022-02-09 14:24:05 +01:00
Oleg Zhurakousky
2a7db056fb GH-796 Fix error handling for reactive input/ouput conversion
Resolves #796
2022-02-07 18:56:44 +01:00
Oleg Zhurakousky
28e3b6cee2 fix checkstyle 2022-02-07 15:21:28 +01:00
Artem Bilan
d37f603aa4 * Simplify functionalTracingEnabled variable logic
* Add `BeanFactoryAwareFunctionRegistryTests.testWrappedWithAroundAdviseNotMessageReturnConfiguration()`
to verify that non-Message return from the target function is wrapped to the `Message` before return
to the `FunctionAroundWrapper`
2022-02-07 15:21:19 +01:00
Artem Bilan
d4aa4f0e41 Remove skipConversion in FunctionAroundWrapper
Currently, the `FunctionAroundWrapper` set `targetFunction.setSkipOutputConversion(true);`
which is not what expected by the `TraceFunctionAroundWrapper`.
This one has a logic based on the `Message` as an output from the target function
and its headers to correlate tracing headers.

* Remove the `setSkipOutputConversion(true)` from the `FunctionAroundWrapper`
to satisfy `TraceFunctionAroundWrapper` expectation - we cannot enforce
all the end-user function to always return a `Message<?>` for us.
* Some other refactoring in the `FunctionAroundWrapper` for cleaner code

**Cherry-pick to `3.2.x`**
2022-02-07 15:21:04 +01:00
Oleg Zhurakousky
4a0f686b36 GH-802 Add exclusion filter to component scanning to ignore Spring annotated classes
Resolves #802
2022-02-07 15:06:23 +01:00
Oleg Zhurakousky
da4819640f GH-794 Address regression with input type conversion of Maps
Resolves #794
2022-01-26 12:52:00 +01:00
Oleg Zhurakousky
68d425b392 Cleanup and additional test 2022-01-24 16:19:47 +01:00
Oleg Zhurakousky
4f3cef17be GH-786 Fix regression with RoutingFunction over AWS APIGateway
Resolves #786
2022-01-03 14:42:31 +01:00
Oleg Zhurakousky
14cfa0aa4f GH-780 Fix lifecycle of Kotlin function transformation
Resolves #780
2021-12-07 13:23:07 +01:00
Oleg Zhurakousky
7d95a5976b Fix bean name for FunctionsEndpoint 2021-12-01 17:12:27 +01:00
Oleg Zhurakousky
00d823b872 GH-768 Modified test to try to force the issue 2021-11-30 22:09:27 +01:00
Oleg Zhurakousky
21d095a687 GH-766 Simplify type description display purposes 2021-11-30 21:47:18 +01:00
Oleg Zhurakousky
0ccf84671f GH-766 Polishing, check-styles, package name change 2021-11-30 19:06:18 +01:00
Oleg Zhurakousky
24847cfffa GH-766 Initial support to expose FunctionCatalog as actuator endpoint 2021-11-30 18:53:58 +01:00
Oleg Zhurakousky
56092df2c5 GH-768 Add tests to validate proper map values conversion
Resolves #768
2021-11-30 15:26:23 +01:00
Oleg Zhurakousky
d16f58fa9e GH-773 Fix wild card type matching in SmartCompositeMessageConverter
Resolves #773
2021-11-29 17:11:35 +01:00
Oleg Zhurakousky
1c045e54ae Re-enable ApplicationJsonMessageMarshallingConverter 2021-11-25 09:14:54 -05:00
Oleg Zhurakousky
6d96fb2516 GH-771 Remove ApplicationJsonMessageMarshallingConverter from the list of available converters
Resolves #771
2021-11-19 16:04:10 +01:00
Oleg Zhurakousky
2ae0c12b84 GH-769 Fix regression with FunctionArroundWrapper
Resolves #769
2021-11-17 15:44:14 +01:00
Oleg Zhurakousky
7d8b041d9d Fix type discovery 2021-11-16 13:55:14 +01:00
Oleg Zhurakousky
5e568cc417 GH-725 Fix getNames() method to properly compute available function names
Resolves #725
2021-11-12 11:36:40 +01:00
Oleg Zhurakousky
1528ad22c5 Remove commented code 2021-11-11 17:28:14 +01:00
Oleg Zhurakousky
ad901f23eb GH-726 Enhance MessageRoutingCallback to optionally return enriched Message
Resolves #726
2021-11-11 17:16:19 +01:00
Oleg Zhurakousky
d69b2d2076 GH-764 Fix output header mapping timing
Resolves #764
2021-11-09 08:19:44 +01:00
Oleg Zhurakousky
e370b040e3 GH-764 Add support for output header enrichemnt
Resolves #764
2021-11-08 15:26:11 +01:00
Oleg Zhurakousky
5af3d14918 Merge pull request #763 from GreenRover/main
Performance improvements
2021-11-08 11:14:21 +01:00
Oleg Zhurakousky
1a07eba067 GH-762 Fix condition for parsing JSON collection strings into individual messages
Resolves #762
2021-11-08 11:10:47 +01:00
ue85540
f000736140 Performance improvements
Avoid generating strings and implicit toString() calls that will be garbage most of the time.
2021-11-05 09:53:26 +01:00
Oleg Zhurakousky
f61739fa08 GH-751 Ensure RoutingFunction can be applied when function input type is AWS type 2021-11-02 12:15:08 +01:00
Oleg Zhurakousky
4c43d66264 GH-758 Change kotlinToFunctionTransformer to SmartInitializingSingleton
Resolves #758
2021-10-28 08:45:15 +02:00
Oleg Zhurakousky
034532ab3f GH-760 Cleanup FunctionAroundWrapper
Resolves #760
2021-10-27 15:59:25 +02:00
Oleg Zhurakousky
630d4e2243 Minor cleanup 2021-10-26 15:25:59 +02:00
Oleg Zhurakousky
83a96483e3 Fix FunctionTypeUtils outout type logic for Supplier 2021-10-26 12:01:35 +02:00
Oleg Zhurakousky
e58741b6cb Polishing related to merginng the previous commit as well as upgrade of Kotlin libs 2021-10-25 13:28:31 +02:00
Marcin Grzejszczak
4c7dfa7a73 Changes for consumer 2021-10-25 12:07:13 +02:00
Marcin Grzejszczak
e32482ed39 WIP 2021-10-25 12:06:14 +02:00
Oleg Zhurakousky
f5707e88c4 GH-SCST-2235 Fix Partitioning issue with FunctionAroundWrapper" 2021-10-19 18:26:37 +02:00
Oleg Zhurakousky
56980271b9 Fixing poms 2021-10-18 16:22:11 +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
Oleg Zhurakousky
7c8d32246a GH-752 Add support to stop caching functions in FunctionCatalog
Resolves #752
2021-10-07 15:03:17 +02:00
Oleg Zhurakousky
2471d0be60 Polishing 2021-10-01 10:25:47 +02:00
Oleg Zhurakousky
353f914361 GH-747 Fix Kotlin function bootstrapping in AWS adapter
Resolves #747
2021-10-01 10:16:52 +02:00
Oleg Zhurakousky
ab9422907e GH-746 Fix support for Cloud Event properly enriching Function<Mono, Mono>
Resolves #746
2021-09-27 18:03:32 +02:00
Oleg Zhurakousky
ebec01f21b GH-567 Add KotlinModule when present to jacksonObjectMapperBuilder
Resolves #567
2021-09-27 17:01:35 +02:00
Oleg Zhurakousky
70a789da69 GH-744 Add initial biStreaming support for Function<Flux, Flux> in gRPC module 2021-09-22 17:53:00 +02:00
Oleg Zhurakousky
28b1c86849 GH-745 Ensure RSocket support is ready to receive non-Message 2021-09-22 17:24:37 +02:00
Oleg Zhurakousky
d562d8cb09 GH-741 Fix race condition while composing functions
Resolves #741
2021-09-14 14:23:04 +02:00