Oleg Zhurakousky
2d473e7642
Ensure RoutingFuunction can't route to itself
2023-04-25 13:45:19 +02:00
Oleg Zhurakousky
6f521fb38f
GH-1017 Ensure conversionHint is properly interpreted
...
Resolves #1017
2023-03-28 10:36:09 +02:00
groat-mike
28cef69ea3
Use logger instead of System.out; Fixes gh-1005
2023-03-03 19:49:04 -05:00
nagarro-nikhiljagtiani
1962f6b27e
Avoiding classCast exception
...
Resolves #991
When messageconverters list has CloudEventMessageConverter before AvroSchemaRegisteryClientMessageConverter,
and message has header contentType = application/*+avro
It results in ClassCastException hence fixing the same.
2023-02-22 14:15:05 +01:00
Oleg Zhurakousky
b554d52359
GH-986 Fix regression to NOT attempt output conversion of Message<byte[]>
...
Resolves #986
2023-01-17 14:15:34 +01:00
Oleg Zhurakousky
e63d0d734f
GH-964, GH-959 Fix Kotlin type discovery
...
Resolves #964
Resolves #959
2022-12-15 12:40:23 +01:00
Oleg Zhurakousky
48957b24ef
polish
2022-11-29 11:34:58 -08:00
Oleg Zhurakousky
3c87e00d8e
GH-958 Add support for default routing
...
Resolves #958
2022-11-17 15:59:22 +01:00
Oleg Zhurakousky
4273d86f5c
GH-939 & GH-956 Fix Kotlin function registration regression
...
Resolves #939
Resolves #956
polishing
2022-11-14 15:32:27 +01:00
Oleg Zhurakousky
13c79f5283
GH-932 Fix registration of AWSTypesMessageConverter for functional spring applications
...
Resolves #932
2022-11-10 12:13:57 +01:00
Mathias Nicolajsen Kjærgaard
0299d0762a
Make CloudEventsFunctionExtensionConfiguration public to allow manual import
...
It is not possible to load CloudEventsFunctionExtensionConfiguration using @ImportAutoConfiguration() if it is package private.
2022-11-03 20:22:10 -04:00
Neokeld
9ade4da70e
functionRegistration cant be null
...
Resolves #950
2022-11-02 10:07:56 +01:00
Oleg Zhurakousky
0f5dbfd637
GH-949 Clean up output conversion logic
...
Resolves #949
2022-11-01 12:58:12 +01:00
Oleg Zhurakousky
1facb670fd
GH-947 Ensure FunctionAroundWrapper is not registered
...
In 4.x it will not since it is not a function, but here we needed a filtering logic during the default lookup
Resolves #947
2022-10-31 15:54:57 +01:00
Neokeld
1b3810ce60
mcList is always not empty
2022-10-31 10:51:48 +01:00
Oleg Zhurakousky
a32d239c1f
Clean up applicability of FunctionAroundWraapper
2022-10-31 09:18:08 +01:00
Oleg Zhurakousky
2f552baa47
SLEUTH-2051 Ensure that sleuth is not applied when reactive and non-message inputs are used
2022-10-27 15:16:45 +02:00
Neokeld
e77498eec5
Simple refactor: function is always null, see l121
...
Resolves #934
2022-10-18 15:05:50 +02:00
Soby Chacko
87f6013e22
Conditional loading of AVRO message converter
...
Introducing a property to disable loading the AVRO message converter.
When spring.cloud.stream.avro.enabled is set to false, the converter
is not loaded. By default, it is enabled.
Resolves https://github.com/spring-cloud/spring-cloud-function/issues/854
2022-09-21 17:17:49 -04:00
Oleg Zhurakousky
715033c269
Polishing previous commit
2022-09-20 18:35:27 +02:00
Oleg Zhurakousky
e956967804
GH-925 Fix regression with Kotlin @Component regstration
...
Resolves #925
2022-09-20 18:10:46 +02:00
Oleg Zhurakousky
d3c90cb380
GH-924 Fix regression with structured CE cnversion into Message
...
Resolves #924
2022-09-08 15:47:50 +02:00
Oleg Zhurakousky
4d9c233ac5
GH-919 Fix regression that was modifying result message
...
Resolves #919
2022-08-24 16:19:44 +02:00
Oleg Zhurakousky
271e2d1bce
GH-918 Fix Kotlin function invocation
...
For some reason it contained code that was doing some special checking for array and was returning null.
Resolves #918
2022-08-17 18:42:38 +02:00
Oleg Zhurakousky
1edb0ae701
GH-917 Fix regression with sanitizing headers
...
Resolves #917
2022-08-16 16:43:38 +02:00
Oleg Zhurakousky
72079829af
GH-915 Make Kotlin initialization 'lazy'
...
This way just like with any other function, Kotlin initialization, type discovery etc will be performed on function lookup
This will also ensure that order of various post processors doesn't get in the way.
Resolves #915
2022-08-11 16:59:09 +02:00
Oleg Zhurakousky
95d0ca7d7c
GH-909 Fix spelling of the method
...
Resolves #909
2022-08-08 15:32:57 +02:00
Oleg Zhurakousky
c1920eff14
GH-905 Relax handling of incompatible BiFunctions
...
Resolves #905
2022-08-03 18:02:38 +02:00
Oleg Zhurakousky
762afc05ca
GH-901 add more logging around failed conversion of input messages
...
Resolves #901
2022-07-26 17:36:12 +02:00
Maciej Walkowiak
c08cf7ffcb
Fix typo.
...
Fix typo.
2022-07-26 11:50:04 +02:00
Oleg Zhurakousky
8bb5746487
Relax logging in SimpleFunctionRegistry
2022-07-25 15:46:13 +02:00
Oleg Zhurakousky
efb2b43409
Remove reflection usage to accomodate AOT
2022-07-25 15:14:45 +02:00
Oleg Zhurakousky
f4e714882b
GH-895 Remove reflection usage form CloudEventMessageUtils
2022-07-13 13:53:29 +02:00
Oleg Zhurakousky
30728c07e1
Fix function eligibility filtering
2022-06-17 15:49:44 +02:00
Oleg Zhurakousky
3e6a9ffb27
GH-884 Add initial support for BiConsumer
2022-06-15 16:17:19 +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
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