Commit Graph

514 Commits

Author SHA1 Message Date
onobc
dc52af8df6 Improve ContextFunctionCatalogAutoConfiguration conditional loading
- Allow custom AvroSchemaServiceManager to be used
- Make AvroSchemaMessageConverter bean method specifically typed
- Make CloudEventsMessageConverter bean method specifically typed
- Add tests focusing on the conditional loading aspects of the auto configuration

Fixes gh-797
Resolves #814
2022-02-23 15:43:15 +01:00
Oleg Zhurakousky
be031cd315 GH-816 Enhance test validating collection output 2022-02-23 15:08:18 +01:00
Oleg Zhurakousky
95f9fbf417 Revert "GH-816 Fix support for function that returns Iterable with target-protocol set"
This reverts commit ed6642e18e.
2022-02-23 12:18:17 +01:00
Oleg Zhurakousky
ed6642e18e GH-816 Fix support for function that returns Iterable with target-protocol set
Resolves #816
2022-02-21 14:50:29 +01:00
Roman S Samarev
18677ca47c 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:31:55 +01:00
Soby Chacko
d49637c349 Revert "Remove skipConversion in FunctionAroundWrapper"
This reverts commit 240098fa10.
2022-02-11 12:38:51 -05:00
Soby Chacko
609035b918 Revert "* Simplify functionalTracingEnabled variable logic"
This reverts commit 159c82e4a9.
2022-02-11 12:38:40 -05:00
Soby Chacko
7704c2f530 Revert "fix checkstyle"
This reverts commit c6e32cbd42.
2022-02-11 12:38:15 -05:00
Oleg Zhurakousky
2d59a0d759 GH-804 Add support for case-insensitive Cloud Event determination
Resolves #804
2022-02-09 14:23:21 +01:00
Oleg Zhurakousky
5b4cec0db3 GH-804 Add support for case-insensitive routing 2022-02-09 13:58:01 +01:00
Oleg Zhurakousky
bb3c62a3cd GH-796 Fix error handling for reactive input/ouput conversion
Resolves #796
2022-02-07 18:56:18 +01:00
Oleg Zhurakousky
c6e32cbd42 fix checkstyle 2022-02-07 15:19:58 +01:00
Artem Bilan
159c82e4a9 * 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:09:51 +01:00
Artem Bilan
240098fa10 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:09:51 +01:00
Oleg Zhurakousky
19df9928a2 GH-802 Add exclusion filter to component scanning to ignore Spring annotated classes
Resolves #802
2022-02-07 15:06:05 +01:00
salaboy
a3b4e92137 fixing whcih typo 2022-02-03 09:29:46 +00:00
Oleg Zhurakousky
536d3d6e80 GH-794 Address regression with input type conversion of Maps
Resolves #794
2022-01-26 12:51:13 +01:00
Oleg Zhurakousky
012a4daa59 Cleanup and additional test 2022-01-24 16:19:26 +01:00
Oleg Zhurakousky
5074b7eee4 Finish migration to java17, boot 3.0, spring 6 2022-01-14 11:05:58 +01:00
Oleg Zhurakousky
fe060f6a6c GH-786 Fix regression with RoutingFunction over AWS APIGateway
Resolves #786
2022-01-04 11:01:58 +01:00
Oleg Zhurakousky
2924777d34 GH-780 Fix lifecycle of Kotlin function transformation
Resolves #780
2021-12-07 13:23:48 +01:00
Oleg Zhurakousky
99a49637d2 Fix bean name for FunctionsEndpoint 2021-12-01 17:13:03 +01:00
Oleg Zhurakousky
4076e88965 GH-768 Modified test to try to force the issue 2021-12-01 08:25:34 +01:00
Oleg Zhurakousky
b46946a218 GH-766 Simplify type description display purposes 2021-12-01 08:25:26 +01:00
Oleg Zhurakousky
2a66862360 GH-766 Polishing, check-styles, package name change 2021-12-01 08:25:20 +01:00
Oleg Zhurakousky
11a870d6a6 GH-766 Initial support to expose FunctionCatalog as actuator endpoint 2021-12-01 08:25:13 +01:00
Oleg Zhurakousky
4f2c24bcf9 GH-768 Add tests to validate proper map values conversion
Resolves #768
2021-11-30 15:27:04 +01:00
Oleg Zhurakousky
e8f7ae5387 GH-773 Fix wild card type matching in SmartCompositeMessageConverter
Resolves #773
2021-11-29 19:16:22 +01:00
Oleg Zhurakousky
a60ed7c0cc Re-enable ApplicationJsonMessageMarshallingConverter 2021-11-25 09:48:11 -05:00
Oleg Zhurakousky
97fc63d102 GH-771 Remove ApplicationJsonMessageMarshallingConverter from the list of available converters
Resolves #771
2021-11-19 16:04:48 +01:00
Oleg Zhurakousky
ec731664aa GH-769 Fix regression with FunctionArroundWrapper
Resolves #769
2021-11-17 16:00:13 +01:00
Oleg Zhurakousky
6def6291f2 Fix type discovery 2021-11-16 13:55:59 +01:00
Oleg Zhurakousky
c62b83d824 GH-725 Fix getNames() method to properly compute available function names
Resolves #725
2021-11-12 11:37:24 +01:00
Oleg Zhurakousky
8f67562cfc Remove commented code 2021-11-11 17:28:47 +01:00
Oleg Zhurakousky
34967ec770 GH-726 Enhance MessageRoutingCallback to optionally return enriched Message
Resolves #726
2021-11-11 17:28:40 +01:00
Oleg Zhurakousky
47b56ed44e Initial removal of dependencies on AbstractSpringFunctionAdapterInitializer 2021-11-10 16:02:10 +01:00
Oleg Zhurakousky
e297a36a06 Remove FunctionType and dependencies on it 2021-11-10 15:21:31 +01:00
Oleg Zhurakousky
db992a9f3e Remove FunctionInspector 2021-11-10 10:04:00 +01:00
Oleg Zhurakousky
53aa60d118 GH-764 Fix output header mapping timing
Resolves #764
2021-11-09 08:20:05 +01:00
Oleg Zhurakousky
0e2334b154 Additional removals of deprecated classes from core 2021-11-08 17:20:49 +01:00
Oleg Zhurakousky
0cfb2b413f Initial round of deprecation rmovals 2021-11-08 16:16:39 +01:00
Oleg Zhurakousky
f4171cae16 GH-764 Add support for output header enrichemnt
Resolves #764
2021-11-08 15:27:56 +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