Commit Graph

532 Commits

Author SHA1 Message Date
Oleg Zhurakousky
8789c7ebd7 GH-884 Add initial support for BiFunction
Resolves #884
2022-06-14 09:08:31 +02:00
Oleg Zhurakousky
78dea0aad7 GH-883 Add support for filtering out ineligible functions
Resolves #883
2022-06-13 15:47:29 +02:00
Oleg Zhurakousky
a1a3f5b343 Add author 2022-06-09 15:03:44 +02:00
Oleg Zhurakousky
651cf187fb checkstyle 2022-06-09 14:51:45 +02:00
Oleg Zhurakousky
a14a8d9e9d SCST-GH-2355 Add support for batch processing of collections with different types
Specifically KafkaNull. But this commit effectively paves a path for any type
2022-06-09 14:51:35 +02:00
Oleg Zhurakousky
a181c50426 Initial commit of KafkaNull changes to SmartCompositeMessageConverter 2022-06-09 14:51:24 +02:00
Oleg Zhurakousky
d3840daacd KafkaNull batch attempt 2022-06-09 14:51:14 +02:00
Oleg Zhurakousky
2d32f8d8ac Back-port of https://github.com/spring-cloud/spring-cloud-function/pull/871 2022-06-07 16:51:51 +02:00
Oleg Zhurakousky
94bd64456e GH-873 Fix JsonNode conversion
Resolves #873
2022-05-30 14:38:34 +02:00
Oleg Zhurakousky
319db4d7f2 GH-878 Fix concurrency issue during registration and lookup of functions
Resolves #878
2022-05-30 12:10:58 +02:00
Oleg Zhurakousky
a7514613a9 GH-739 Add DEBUG log statement for when type conversion fails
Resolves #739
2022-05-04 15:09:57 +02:00
Oleg Zhurakousky
ff0808d823 GH-791 Add support for propagating input headers
Resolves #791
2022-05-04 13:20:01 +02:00
Oleg Zhurakousky
8d6849c9e1 GH-856 Fix logic in determining Cloud Event prefix
Resolves #856
2022-04-26 08:39:48 +02:00
REMY David
5e1b8d3912 Change OffsetTime to OffsetDateTime in CloudEventMessageUtils
Resolves #855
2022-04-21 11:02:38 +02:00
Oleg Zhurakousky
a313556bcc Fix compilation error in test 2022-03-25 14:44:04 +01:00
Oleg Zhurakousky
f0bdf80ac4 Fix conversion logic in SmartCompositeMessageConverter 2022-03-25 14:25:05 +01:00
Oleg Zhurakousky
19dc7ca7da GH-828 Add support for configuring additional routers
Resolves #828
2022-03-24 18:27:28 +01:00
Oleg Zhurakousky
fa40b69cf1 GH-830 Fix conversioin exception for custom converters
Resolves #830
2022-03-23 17:17:24 +01:00
Oleg Zhurakousky
2cb3739dd1 GH-832 Change OffsetTime to OffsetDateTime in CloudEventMessageBuilder
Resolves #832
2022-03-23 13:18:04 +01:00
Oleg Zhurakousky
e47447186b Fix typo 2022-03-22 16:39:18 +01:00
Oleg Zhurakousky
537d19ceb1 Polishing 2022-03-22 15:56:26 +01:00
Oleg Zhurakousky
a022defb3c Perf improvement 2022-03-22 15:45:13 +01:00
Oleg Zhurakousky
cb35adb588 Performance improvements related to SCST-2303 2022-03-22 13:54:26 +01:00
Oleg Zhurakousky
2cda32ebc6 Clean up code 2022-03-08 14:38:34 +01:00
onobc
fc8ffa607c 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:44:27 +01:00
Oleg Zhurakousky
e347e20e80 GH-816 Enhance test validating collection output 2022-02-23 15:17:08 +01:00
Oleg Zhurakousky
3785a7c0b0 Revert "GH-816 Fix support for function that returns Iterable with target-protocol set"
This reverts commit 3f36528341.
2022-02-23 15:16:55 +01:00
Oleg Zhurakousky
3f36528341 GH-816 Fix support for function that returns Iterable with target-protocol set
Resolves #816
2022-02-21 14:51:32 +01:00
Roman S Samarev
b8856bf0e7 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
fa11dcb6d8 Revert "Remove skipConversion in FunctionAroundWrapper"
This reverts commit d4aa4f0e41.
2022-02-11 12:41:36 -05:00
Soby Chacko
5a024de166 Revert "* Simplify functionalTracingEnabled variable logic"
This reverts commit d37f603aa4.
2022-02-11 12:41:27 -05:00
Soby Chacko
610d93c860 Revert "fix checkstyle"
This reverts commit 28e3b6cee2.
2022-02-11 12:41:18 -05:00
Oleg Zhurakousky
fc1e02022e Merge cleanup 2022-02-09 14:41:40 +01:00
Oleg Zhurakousky
37e974d019 GH-804 Add support for case-insensitive Cloud Event determination
Resolves #804
2022-02-09 14:25:47 +01:00
Oleg Zhurakousky
ad2da5cfc5 GH-804 Add support for case-insensitive routing 2022-02-09 14:24:05 +01:00
Oleg Zhurakousky
2a7db056fb GH-796 Fix error handling for reactive input/ouput conversion
Resolves #796
2022-02-07 18:56:44 +01:00
Oleg Zhurakousky
28e3b6cee2 fix checkstyle 2022-02-07 15:21:28 +01:00
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
Oleg Zhurakousky
7d95a5976b Fix bean name for FunctionsEndpoint 2021-12-01 17:12:27 +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