Commit Graph

640 Commits

Author SHA1 Message Date
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
buildmaster
c6540befdf Bumping versions to 3.2.2-SNAPSHOT after release 2021-12-01 16:31:25 +00:00
buildmaster
28a862d5e1 Going back to snapshots 2021-12-01 16:31:24 +00:00
buildmaster
e71bb5170f Update SNAPSHOT to 3.2.1 2021-12-01 16:26:31 +00:00
Oleg Zhurakousky
7d95a5976b Fix bean name for FunctionsEndpoint 2021-12-01 17:12:27 +01:00
Oleg Zhurakousky
201e7361b1 Update project version 2021-12-01 15:01:36 +01:00
buildmaster
fd4f91f5a5 Bumping versions 2021-12-01 11:43:35 +00:00
buildmaster
3b4fc9acd9 Bumping versions to 3.2.1-SNAPSHOT after release 2021-12-01 09:12:26 +00:00
buildmaster
523a9a8319 Going back to snapshots 2021-12-01 09:12:25 +00:00
buildmaster
20af1c99f0 Update SNAPSHOT to 3.2.0 2021-12-01 09:07:04 +00:00
Oleg Zhurakousky
4de06e3064 Update Kotlin version 2021-12-01 09:53:47 +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
buildmaster
9c69c333bb Going back to snapshots 2021-11-03 07:00:01 +00:00
buildmaster
1fa1b57c2c Update SNAPSHOT to 3.2.0-RC1 2021-11-03 06:56:29 +00: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
buildmaster
598ca3e27c Going back to snapshots 2021-10-19 08:16:39 +00:00
buildmaster
e497988307 Update SNAPSHOT to 3.2.0-M3 2021-10-19 08:13:10 +00: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