Commit Graph

649 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
buildmaster
3f8e1dd037 Bumping versions to 3.2.2-SNAPSHOT after release 2021-12-01 16:31:25 +00:00
buildmaster
fc6212ed7f Going back to snapshots 2021-12-01 16:31:24 +00:00
buildmaster
6ad75b58d3 Update SNAPSHOT to 3.2.1 2021-12-01 16:26:31 +00:00
Oleg Zhurakousky
44fc7526a6 Fix bean name for FunctionsEndpoint 2021-12-01 17:12:27 +01:00
Oleg Zhurakousky
ea348e761f Update project version 2021-12-01 15:01:36 +01:00
buildmaster
1c453b374c Bumping versions 2021-12-01 11:43:35 +00:00
buildmaster
7c127312b7 Bumping versions to 3.2.1-SNAPSHOT after release 2021-12-01 09:12:26 +00:00
buildmaster
f92e1d97ba Going back to snapshots 2021-12-01 09:12:25 +00:00
buildmaster
3e3cc0c51e Update SNAPSHOT to 3.2.0 2021-12-01 09:07:04 +00:00
Oleg Zhurakousky
bf6c4e9e6d Update Kotlin version 2021-12-01 09:53:47 +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
buildmaster
90cec8e350 Going back to snapshots 2021-11-03 07:00:01 +00:00
buildmaster
c8c5e0a2f9 Update SNAPSHOT to 3.2.0-RC1 2021-11-03 06:56:29 +00: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