Commit Graph

504 Commits

Author SHA1 Message Date
Roman S Samarev
3fa021b4fa SimpleFunctionRegistry: Fixed: compose of supplier...consumer pipeline produces a supplier type. This fix allows testing of composed pipelines without input and output
SimpleFunctionRegistry: added info. No functional changes

Resolves #809
2022-02-15 20:40:46 +01:00
Soby Chacko
30ba6fd238 Revert "Remove skipConversion in FunctionAroundWrapper"
This reverts commit 80305e630b.
2022-02-11 12:41:36 -05:00
Soby Chacko
0cbd5e8fbf Revert "* Simplify functionalTracingEnabled variable logic"
This reverts commit 49e027a0ee.
2022-02-11 12:41:27 -05:00
Soby Chacko
a8ac826254 Revert "fix checkstyle"
This reverts commit e1713929e5.
2022-02-11 12:41:18 -05:00
Oleg Zhurakousky
f99b900885 Merge cleanup 2022-02-09 14:41:40 +01:00
Oleg Zhurakousky
7a6e43fc3d GH-804 Add support for case-insensitive Cloud Event determination
Resolves #804
2022-02-09 14:25:47 +01:00
Oleg Zhurakousky
32e88693d0 GH-804 Add support for case-insensitive routing 2022-02-09 14:24:05 +01:00
Oleg Zhurakousky
ea47a37611 GH-796 Fix error handling for reactive input/ouput conversion
Resolves #796
2022-02-07 18:56:44 +01:00
Oleg Zhurakousky
e1713929e5 fix checkstyle 2022-02-07 15:21:28 +01:00
Artem Bilan
49e027a0ee * 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
80305e630b 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
0dc7d3308f 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
8ed36b99e6 GH-794 Address regression with input type conversion of Maps
Resolves #794
2022-01-26 12:52:00 +01:00
Oleg Zhurakousky
f992c448de Cleanup and additional test 2022-01-24 16:19:47 +01:00
Oleg Zhurakousky
15ab165158 GH-786 Fix regression with RoutingFunction over AWS APIGateway
Resolves #786
2022-01-03 14:42:31 +01:00
Oleg Zhurakousky
e06f65e494 GH-780 Fix lifecycle of Kotlin function transformation
Resolves #780
2021-12-07 13:23:07 +01:00
Oleg Zhurakousky
44fc7526a6 Fix bean name for FunctionsEndpoint 2021-12-01 17:12:27 +01:00
Oleg Zhurakousky
ec3f324ff7 GH-768 Modified test to try to force the issue 2021-11-30 22:09:27 +01:00
Oleg Zhurakousky
6cf64d2994 GH-766 Simplify type description display purposes 2021-11-30 21:47:18 +01:00
Oleg Zhurakousky
77ce49a063 GH-766 Polishing, check-styles, package name change 2021-11-30 19:06:18 +01:00
Oleg Zhurakousky
06db5a56e5 GH-766 Initial support to expose FunctionCatalog as actuator endpoint 2021-11-30 18:53:58 +01:00
Oleg Zhurakousky
ad88298de8 GH-768 Add tests to validate proper map values conversion
Resolves #768
2021-11-30 15:26:23 +01:00
Oleg Zhurakousky
624b204242 GH-773 Fix wild card type matching in SmartCompositeMessageConverter
Resolves #773
2021-11-29 17:11:35 +01:00
Oleg Zhurakousky
661c98b0b5 Re-enable ApplicationJsonMessageMarshallingConverter 2021-11-25 09:14:54 -05:00
Oleg Zhurakousky
21b7bacfc5 GH-771 Remove ApplicationJsonMessageMarshallingConverter from the list of available converters
Resolves #771
2021-11-19 16:04:10 +01:00
Oleg Zhurakousky
12b2e6d41f GH-769 Fix regression with FunctionArroundWrapper
Resolves #769
2021-11-17 15:44:14 +01:00
Oleg Zhurakousky
8d2125cad3 Fix type discovery 2021-11-16 13:55:14 +01:00
Oleg Zhurakousky
405d38a294 GH-725 Fix getNames() method to properly compute available function names
Resolves #725
2021-11-12 11:36:40 +01:00
Oleg Zhurakousky
b6dc4103f4 Remove commented code 2021-11-11 17:28:14 +01:00
Oleg Zhurakousky
9374fd93cd GH-726 Enhance MessageRoutingCallback to optionally return enriched Message
Resolves #726
2021-11-11 17:16:19 +01:00
Oleg Zhurakousky
a76625c80f GH-764 Fix output header mapping timing
Resolves #764
2021-11-09 08:19:44 +01:00
Oleg Zhurakousky
c1e3bb1e21 GH-764 Add support for output header enrichemnt
Resolves #764
2021-11-08 15:26:11 +01:00
Oleg Zhurakousky
a91df5f52e Merge pull request #763 from GreenRover/main
Performance improvements
2021-11-08 11:14:21 +01:00
Oleg Zhurakousky
9c621f6d04 GH-762 Fix condition for parsing JSON collection strings into individual messages
Resolves #762
2021-11-08 11:10:47 +01:00
ue85540
f2193c95d5 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
eeb5448a7d GH-751 Ensure RoutingFunction can be applied when function input type is AWS type 2021-11-02 12:15:08 +01:00
Oleg Zhurakousky
037f1b8bfe GH-758 Change kotlinToFunctionTransformer to SmartInitializingSingleton
Resolves #758
2021-10-28 08:45:15 +02:00
Oleg Zhurakousky
cd9b117415 GH-760 Cleanup FunctionAroundWrapper
Resolves #760
2021-10-27 15:59:25 +02:00
Oleg Zhurakousky
82e68d4221 Minor cleanup 2021-10-26 15:25:59 +02:00
Oleg Zhurakousky
27734c7f6e Fix FunctionTypeUtils outout type logic for Supplier 2021-10-26 12:01:35 +02:00
Oleg Zhurakousky
40fe70d44c Polishing related to merginng the previous commit as well as upgrade of Kotlin libs 2021-10-25 13:28:31 +02:00
Marcin Grzejszczak
4b96b36a09 Changes for consumer 2021-10-25 12:07:13 +02:00
Marcin Grzejszczak
fade29b33b WIP 2021-10-25 12:06:14 +02:00
Oleg Zhurakousky
f7112d1ef5 GH-SCST-2235 Fix Partitioning issue with FunctionAroundWrapper" 2021-10-19 18:26:37 +02:00
Oleg Zhurakousky
1466c58207 Fixing poms 2021-10-18 16:22:11 +02:00
Oleg Zhurakousky
7fc755e157 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
150f140196 GH-752 Add support to stop caching functions in FunctionCatalog
Resolves #752
2021-10-07 15:03:17 +02:00
Oleg Zhurakousky
9c95129fef Polishing 2021-10-01 10:25:47 +02:00
Oleg Zhurakousky
c7ffb1cd49 GH-747 Fix Kotlin function bootstrapping in AWS adapter
Resolves #747
2021-10-01 10:16:52 +02:00
Oleg Zhurakousky
ed50d7c252 GH-746 Fix support for Cloud Event properly enriching Function<Mono, Mono>
Resolves #746
2021-09-27 18:03:32 +02:00