Commit Graph

813 Commits

Author SHA1 Message Date
buildmaster
cc740db82e Update SNAPSHOT to 4.0.3 2023-05-24 18:16:08 +00: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
buildmaster
7365debf44 Bumping versions to 4.0.3-SNAPSHOT after release 2023-03-28 13:52:40 +00:00
buildmaster
ed7f99de1b Going back to snapshots 2023-03-28 13:52:40 +00:00
buildmaster
a4775ff22a Update SNAPSHOT to 4.0.2 2023-03-28 13:47:59 +00: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
Oleg Zhurakousky
98e88e7314 GH-1015 Fix Kotlin dependencies
GH-1015 Fix Kotlin dependencies
2023-03-20 18:46:09 +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
buildmaster
d59bbdb83d Bumping versions to 4.0.2-SNAPSHOT after release 2023-01-25 14:08:24 +00:00
buildmaster
0053b415fb Going back to snapshots 2023-01-25 14:08:24 +00:00
buildmaster
866d6140c0 Update SNAPSHOT to 4.0.1 2023-01-25 14:03:21 +00: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
buildmaster
8cd3b569d3 Bumping versions 2022-12-18 05:34:45 +00:00
buildmaster
bf1c03c2f2 Bumping versions 2022-12-16 05:34:56 +00:00
buildmaster
dae98b645b Bumping versions to 4.0.1-SNAPSHOT after release 2022-12-15 19:58:16 +00:00
buildmaster
153c60ed75 Going back to snapshots 2022-12-15 19:58:15 +00:00
buildmaster
5c032abb6b Update SNAPSHOT to 4.0.0 2022-12-15 19:53:31 +00:00
Oleg Zhurakousky
d4e6d7f05b GH-964, GH-959 Fix Kotlin type discovery
Resolves #964
Resolves #959
2022-12-15 12:54:51 +01:00
buildmaster
b251725737 Going back to snapshots 2022-12-01 17:09:42 +00:00
buildmaster
d5a0bf0ede Update SNAPSHOT to 4.0.0-RC3 2022-12-01 17:05:31 +00: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
buildmaster
1f066f6fd2 Going back to snapshots 2022-11-17 16:45:34 +00:00
buildmaster
fb70104047 Update SNAPSHOT to 4.0.0-RC2 2022-11-17 16:41:19 +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
buildmaster
b36e8eb533 Going back to snapshots 2022-10-27 21:20:25 +00:00
buildmaster
3582ca0cfa Update SNAPSHOT to 4.0.0-RC1 2022-10-27 21:16:03 +00: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
Oleg Zhurakousky
09b1317620 Refactor and simplify Observability related code 2022-10-24 17:14:41 +02:00
Oleg Zhurakousky
5cfa934da3 Change conditional on ObservationAutoConfiguration 2022-10-24 13:01:25 +02:00