Commit Graph

525 Commits

Author SHA1 Message Date
Oleg Zhurakousky
bbf56b0744 GH-830 Fix conversioin exception for custom converters
Resolves #830
2022-03-23 17:17:49 +01:00
Oleg Zhurakousky
e09954913e GH-832 Change OffsetTime to OffsetDateTime in CloudEventMessageBuilder
Resolves #832
2022-03-23 13:17:35 +01:00
Oleg Zhurakousky
2ce45726ab Performance improvements related to SCST-2303 2022-03-22 13:53:48 +01:00
Oleg Zhurakousky
5ef56a90f0 checkstyle 2022-03-21 16:37:18 +01:00
Oleg Zhurakousky
c5f176b978 Perf improvement 2022-03-18 14:47:44 +01:00
Oleg Zhurakousky
b777988086 Add SocketUtils 2022-03-17 16:10:34 +01:00
Oleg Zhurakousky
bb3f33f1c5 Fix deprecations and breaking changes caused by dependencies 2022-03-17 14:59:04 +01:00
Oleg Zhurakousky
d18ca9790f Merge pull request #818 from FalkWoldmann6232/main
Fix typo
2022-03-08 15:14:54 +01:00
Oleg Zhurakousky
a364aaf86a GH-823 Polishing
Resolves #823
2022-03-04 17:03:07 +01:00
Marcin Grzejszczak
ea3be5ef39 GH-823 Add initial support for Observability 2022-03-04 16:59:43 +01:00
FalkWoldmann6232
d398449eae Fix typo 2022-02-24 12:44:48 +01:00
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