Commit Graph

217 Commits

Author SHA1 Message Date
Oleg Zhurakousky
30728c07e1 Fix function eligibility filtering 2022-06-17 15:49:44 +02:00
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
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
ff0808d823 GH-791 Add support for propagating input headers
Resolves #791
2022-05-04 13:20:01 +02:00
Oleg Zhurakousky
a313556bcc Fix compilation error in test 2022-03-25 14:44:04 +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
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
5a024de166 Revert "* Simplify functionalTracingEnabled variable logic"
This reverts commit d37f603aa4.
2022-02-11 12:41:27 -05: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
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
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
00d823b872 GH-768 Modified test to try to force the issue 2021-11-30 22:09:27 +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
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
1a07eba067 GH-762 Fix condition for parsing JSON collection strings into individual messages
Resolves #762
2021-11-08 11:10:47 +01: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
e32482ed39 WIP 2021-10-25 12:06:14 +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
Oleg Zhurakousky
7c8d32246a GH-752 Add support to stop caching functions in FunctionCatalog
Resolves #752
2021-10-07 15:03:17 +02:00
Oleg Zhurakousky
ab9422907e GH-746 Fix support for Cloud Event properly enriching Function<Mono, Mono>
Resolves #746
2021-09-27 18:03:32 +02:00
Soby Chacko
0e2663bd55 Migrate Avro message converter artifacts
Migrate Avro message converter (non-schema-registry) artifacts
from Spring Cloud Schema Registry to Spring Cloud Function.

Resolves https://github.com/spring-cloud/spring-cloud-function/issues/732
Resolves #733
2021-08-30 14:54:23 +02:00
Oleg Zhurakousky
eca03a49d8 Re-enable FunctionAroundWrapper 2021-07-28 11:26:23 +02:00
Oleg Zhurakousky
166937cdab Temporarily disabled calls to FunctionAroundWrapper 2021-07-26 17:18:31 +02:00
Oleg Zhurakousky
5a625b4ad0 GH-708 Initial refactoring and consolidation of s-c-function-web MVC part. 2021-06-15 15:15:26 +02:00
Oleg Zhurakousky
378f0d33ab GH-707 Fix Concurrent Modification exception on lookup
Rare condition but it appears that in some runtimes there could be multiple threads invoking lookup operation
Added test to validate

Resolves #707
2021-06-08 14:07:32 +02:00
Oleg Zhurakousky
e419b41968 GH-676 Fix mixed (index and not) input-header-mapping-expression 2021-05-26 15:21:12 +02:00
Oleg Zhurakousky
22e945009a GH-676 Relax SpEL evaluation failures for input header enrichment
Add documentation

Resolves #676
2021-05-24 15:18:28 +02:00
Oleg Zhurakousky
79f4540130 GH-676 Add split condition test for header enrichment 2021-05-20 07:32:49 +02:00
Oleg Zhurakousky
238ac301df GH-676 Improvements to header enrichment 2021-05-19 16:52:50 +02:00
Oleg Zhurakousky
03de819c4a GH-676 Add initial support for mapping/re-mapping input headers
Add BeanResolver
2021-05-14 10:16:41 +02:00
Oleg Zhurakousky
727322b1f0 GH-680 Add support for strict (or not) dependency on target-protocol header for CE
Resolves #680
2021-04-14 18:49:01 +02:00
Oleg Zhurakousky
ee0bc4e28f Merge additional test to ensure propper type conversion 2021-04-10 08:10:23 +02:00
Taras Danylchuk
5afbd25d1c gh-608 issue 2021-04-10 07:59:38 +02:00
Oleg Zhurakousky
2e133f9e9a Add test for FunctionAroundWrapper 2021-04-08 17:10:17 +02:00
Oleg Zhurakousky
b2f36936ac GH-662 Fix support for reactive functions in AWS
This commit also includes other minor fixes around CustomRuntime which was getting in the way of this specific issue
 Added lookup for _HANDLER env variable
 Added few tests (will need more)
 Added support for Iterable for reactive functions

Resolves #662
2021-04-08 15:57:14 +02:00
Oleg Zhurakousky
c0ed41f9c7 GH-679 Add test to validate output conversion for composed functions
Resolves #679
2021-04-07 11:53:17 +02:00