Oleg Zhurakousky
d70079eb4d
GH-1117 Enhance support for function composition to handle null returns
...
Resolves #1117
2024-03-27 19:05:21 +01:00
Oleg Zhurakousky
8745f32ac2
GH-1097 Ensure empty POJO converted to {} instead of null
...
Resolves #1097
2024-03-27 18:31:32 +01:00
Oleg Zhurakousky
aceae479d5
GH-1121 Change login levels on RoutingFunction
...
Resolves #1121
2024-03-27 16:45:11 +01:00
Romain
f9954d7dbd
style: code simplification
...
Resolves #1129
2024-03-27 16:33:37 +01:00
sheheryar aamir
7969d06fc8
GH-1127 Fix String cast to OffsetDateTime issue for CloudEventMessageUtils
...
Resolves #1127
Resolves #1128
2024-03-27 16:26:18 +01:00
Oleg Zhurakousky
0d4b12f620
Add KotlinUtils to the repo
2024-03-26 16:52:35 +01:00
Oleg Zhurakousky
caee17dd75
Add KotlinUtils
2024-03-26 16:48:51 +01:00
Oleg Zhurakousky
3931ea4f14
GH-1104 Add support for case insensitive routing header names
...
Resolves #1104
2024-01-31 13:53:24 +01:00
Sergey Zolotarev
0f6aaaec45
Update function definition name in log message to avoid confusion
...
Resolves #1102
2024-01-31 11:00:11 +01:00
Jeffrey Douangpaseuth
fb0af94da2
fix JsonMessageConverter mimetype NPE
2024-01-30 17:21:53 -05:00
Oleg Zhurakousky
7e85c360bd
Disable FAIL_ON_EMPTY_BEANS feature
2023-11-30 17:11:50 +01:00
Oleg Zhurakousky
8e9948c4c3
GH-1075 Fix conversion of complex types
...
Resolves #1075
2023-10-13 10:25:35 +02:00
Oleg Zhurakousky
afb419d701
GH-1063 Fix header propagation in composed function
...
Resolves #1063
2023-09-25 13:11:59 +02:00
Oleg Zhurakousky
42336c852c
GH-1071 Add getter for Message in FunctionContext
2023-09-25 10:31:02 +02:00
Soby Chacko
19d1f320de
GH-1060 Fix KafkaNull regression issue
...
Fixing a KafkaNull related regression issue where consumers
receive null values for payload erasing any headers completely.
Resolves https://github.com/spring-cloud/spring-cloud-function/issues/1060
2023-08-30 12:33:41 -04:00
Oleg Zhurakousky
9f04138e4f
GH-1065 Fix Collection discovery in JsonMapper
...
Resolves #1065
2023-08-30 15:22:52 +02:00
Chris Bono
7bc499ddea
Do not convert text/plain content to JSON
...
Fixes bug and removes test comments from previous commit.
Resolves #1056
2023-08-07 14:22:52 +02:00
Chris Bono
c97c0b2a96
Add tests to illustrate the bug
2023-08-07 14:16:18 +02:00
Oleg Zhurakousky
aff82e1457
GH-1052 Fix collection/array processing for AWS invocations with Publisher input type functions
...
Resolves #1052
2023-07-13 15:22:40 +02:00
Oleg Zhurakousky
351e73b7f4
GH-992 Add MessageUtils AOT hints
...
Resolves #992
2023-07-11 14:46:39 +02:00
Oleg Zhurakousky
6969ec9720
GH-1043 Add support for communicating type via MimeType parameter for JsonMessageConverter
...
Resolves #1043
2023-06-01 16:58:46 +02:00
Oleg Zhurakousky
e3a44c3cf3
Ensure RoutingFuunction can't route to itself
2023-04-25 13:21:25 +02:00
Oleg Zhurakousky
71243f2179
GH-1023 Add no-op apply method to PostProcessingFunction
...
Resolves #1023
2023-04-18 13:14:11 +02:00
Oleg Zhurakousky
278d917543
GH-1023 Add support for post function processing
2023-04-18 13:14:03 +02:00
Oleg Zhurakousky
55eb78190c
GH-1017 Ensure conversionHint is properly interpreted
...
Resolves #1017
2023-03-28 10:07:53 +02:00
Soby Chacko
0ba011a903
Function wrapping BiConsumer improvements
...
When a BiConsumer user function is provided, we wrap it inside a Function
when registering it in FunctionRegstration. FunctionInvocationWrapper sees
this as a Function and downstream clients (such as Spring Cloud Stream) does
not have visibility into the user function type from a FunctionInvocationWrapper
API perspective. This commit propagates the BiConsumer targer user function info
as part of FunctionInvocationWrapper API.
For more information, see: https://github.com/spring-cloud/spring-cloud-stream/issues/2670
Resolves #1016
2023-03-24 11:39:29 +01:00
Soby Chacko
dda6d3cb21
Unncessary warning for multiple functions found
...
Currently we show a warning for multiple functions found even when there
are no functions found and spring.cloud.function.definition is not set.
Resolves https://github.com/spring-cloud/spring-cloud-function/issues/1011
2023-03-09 16:26:41 -05:00
Oleg Zhurakousky
21dbe4cd1f
GH-1002 Cleane up non-jackarta dependencies
...
Resolves #1002
2023-02-24 11:13:20 +01:00
nagarro-nikhiljagtiani
65b17b820c
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:13:40 +01:00
Oleg Zhurakousky
6b9b9995ab
Revert "GH-986 Fix regression to NOT attempt output conversion of Message<byte[]>"
...
This reverts commit b1237c2ab2 .
2023-01-19 17:19:03 +01:00
Oleg Zhurakousky
b1237c2ab2
GH-986 Fix regression to NOT attempt output conversion of Message<byte[]>
...
Resolves #986
2023-01-17 14:15:10 +01:00
Oleg Zhurakousky
4dcf0be7b3
GH-985 Ensure PassThruFunction is not pre/post processed
...
Resolves #985
2023-01-11 16:35:37 +01:00
Lars Bilger
2be70c5829
fix: resolve function type from non-parameterized Kotlin class that implements a function type
...
Resolves #925
Resolves #940
Resolves #956
Resolves #964
Resolves #982
2023-01-09 16:26:17 +01:00
Soby Chacko
8a5eafa58f
KafkaNull check improvements
...
Related to f5e606dc55
Resolves #983
2023-01-09 16:04:17 +01:00
Oleg Zhurakousky
49ec082746
Enhance warning message when default function can not be determined
2023-01-09 15:54:55 +01:00
Soby Chacko
f5e606dc55
KafkaNull related improvements
...
When using KafkaNull on the outbound (StreamBridge for ex),
there is a bug that prevents it from working properly.
See https://github.com/spring-cloud/spring-cloud-stream/issues/2614 for more details.
Resolves #981
2023-01-06 09:52:14 +01:00
Oleg Zhurakousky
d4e6d7f05b
GH-964, GH-959 Fix Kotlin type discovery
...
Resolves #964
Resolves #959
2022-12-15 12:54:51 +01:00
Neokeld
a8f25efceb
Corrects some branching for readability
...
Resolves #960
2022-11-29 11:50:12 -08:00
Iván Rodríguez Murillo
5c0e88b4a7
Replaced System.out call with logger.debug. Fixes gh-962
2022-11-21 18:29:15 +00:00
Oleg Zhurakousky
9491c9ce04
GH-958 Add support for default routing
...
Resolves #958
2022-11-17 11:27:32 +01:00
Oleg Zhurakousky
04df79482d
GH-939 & GH-956 Fix Kotlin function registration regression
...
Resolves #939
Resolves #956
2022-11-14 15:01:19 +01:00
Oleg Zhurakousky
672066b43a
GH-932 Fix registration of AWSTypesMessageConverter for functional spring applications
...
Resolves #932
2022-11-10 12:17:21 +01:00
Oleg Zhurakousky
fd5a78e8a9
Make CloudEventsFunctionExtensionConfiguration public
2022-11-09 10:20:19 +01:00
Oleg Zhurakousky
643f360a54
Enhance JsonMessage converter to handle byte[]
2022-11-03 18:08:52 +01:00
Neokeld
acf86d53bd
functionRegistration cant be null
...
Resolves #950
2022-11-02 10:07:07 +01:00
Oleg Zhurakousky
c7b2f7ebb4
GH-949 Clean up output conversion logic
...
Resolves #949
polish
2022-11-01 13:13:52 +01:00
Neokeld
73a1b5fa11
mcList is always not empty
2022-10-31 10:51:13 +01:00
Oleg Zhurakousky
4c83f34c9b
Remove deprecations
2022-10-25 16:21:06 +02:00
Oleg Zhurakousky
fd65decdb6
GH-944 Remove deprecations and update documentation for MessageRoutingCallback
...
Resolves #944
2022-10-25 16:01:06 +02:00
Oleg Zhurakousky
32d18786c2
polish
2022-10-24 17:25:18 +02:00