Oleg Zhurakousky
5a43e94ebe
GH-661 Fix KafkaNull as input type conversion
...
Basically KafkaNull gets a special treatement where if we see it as Message payload and input type of the function is Message we give it as is and if the input type is POJO then we simply return null
Resolves #661
2021-03-05 12:20:29 +01:00
Oleg Zhurakousky
694d831adf
GH-660 Add initial suppport for sending/receiving Messages
...
Resolves #660
2021-03-03 06:38:33 +01:00
Oleg Zhurakousky
1f43bbce28
GH-654 Remove FunctionProperties injection from MessageRoutingCallbackRSocketTests
2021-02-24 13:31:31 +01:00
Oleg Zhurakousky
410d494467
GH-654 Add more tests, cleanup and initial javadoc
2021-02-24 08:49:53 +01:00
Oleg Zhurakousky
a838f31be6
GH-654 remove route(Publisher) from MessageRoutingCallback
2021-02-23 17:26:08 +01:00
Oleg Zhurakousky
29115aeb64
GH-654 Initial support for non-SpEL based routing mechanism
2021-02-23 06:19:45 +01:00
Oleg Zhurakousky
c01b25f2fa
SCST-GH-2115 Ensure that in a case of KafkaNull we just return a payload
2021-02-22 16:10:05 +01:00
Oleg Zhurakousky
73bd787c8d
GH-649 Ignire factory bean names during discovery of a function
...
Resolves #649
2021-02-15 17:53:12 +01:00
Oleg Zhurakousky
c4dfffe0ba
GH-640 Fix NPE with non-Message json conversion
...
Resolves #640
Added test
2021-02-05 16:12:31 +01:00
buildmaster
315ed4612d
Bumping versions
2021-02-01 18:56:47 +00:00
buildmaster
06872f573a
Bumping versions
2021-01-27 18:56:44 +00:00
buildmaster
043668db4b
Bumping versions to 3.1.2-SNAPSHOT after release
2021-01-27 17:16:38 +00:00
buildmaster
0b8d00b1df
Going back to snapshots
2021-01-27 17:16:37 +00:00
buildmaster
ea03395bb3
Update SNAPSHOT to 3.1.1
2021-01-27 17:11:29 +00:00
Oleg Zhurakousky
a6cb0fde3c
Fix RSocket CloudEvents sample
2021-01-27 15:29:16 +01:00
Oleg Zhurakousky
2a356812ac
GH-632 Fix type discovery on Kotlin function
...
Fix the way FunctionTypeUtils deals with Kotllin function when it attempts to discover their type.
Basically it checks if function-name + '_registration' nean exists and if so it skip discovery and uses the types available in FunctionRegistration which for Kotlin scenarios will always exist.
Resolves #632
2021-01-26 12:04:05 +01:00
Oleg Zhurakousky
0e6260942b
Stream GH-2092 Make log statement on discovery of default function more informative
2021-01-26 08:12:04 +01:00
Oleg Zhurakousky
fbc2ca815a
GH-635 Fix support for returning empty Collections
...
Resolves #635
2021-01-22 16:43:55 +01:00
Oleg Zhurakousky
3d4bd14926
GH-620 Add BeanResolver support for RoutingFunction
...
Resolves #620
polish
2021-01-22 14:52:04 +01:00
Oleg Zhurakousky
b28087d6a3
Revert "Bumping versions"
...
This reverts commit cbd0bee65f .
2021-01-14 12:36:38 +01:00
buildmaster
cbd0bee65f
Bumping versions
2021-01-13 18:56:32 +00:00
Oleg Zhurakousky
5894433ed5
Revert "Bumping versions"
...
This reverts commit 6a3bde7d64 .
2021-01-11 10:44:04 +01:00
Oleg Zhurakousky
d9a0add8b8
Fix getItemType() in SimpleFunctionRegistry to account for Message<?>
2021-01-11 10:43:44 +01:00
ncheema
9bbb86be2d
method already has a condition to retrieve immediateGenericType for a message
...
This condition was meant to be removed as part of #543
Resolves #624
2021-01-11 10:43:09 +01:00
Oleg Zhurakousky
d0a0da24bc
GH-628 Clean up logging levels
...
Resolves #628
2021-01-11 09:51:39 +01:00
buildmaster
6a3bde7d64
Bumping versions
2020-12-21 18:56:08 +00:00
Oleg Zhurakousky
1f1ba66764
Fix snapshot versions
2020-12-21 18:04:32 +01:00
buildmaster
2f933b9b01
Bumping versions to 3.1.1.SNAPSHOT after release
2020-12-21 11:57:51 +00:00
buildmaster
45161d683d
Going back to snapshots
2020-12-21 11:57:50 +00:00
buildmaster
3a0ed3941f
Update SNAPSHOT to 3.1.0
2020-12-21 11:54:46 +00:00
Oleg Zhurakousky
bc4b5b3f80
Add stream (kafka, Rabbit) and Rsocket examples for Cloud Event
2020-12-18 16:44:29 +01:00
Oleg Zhurakousky
eb95e1dd78
Modify logic for header copy from input to output
...
This is primarily related to Cloud Events. Since we delegate to a separate class for post processing, if outpt message is Cloud Event we will not be doing anything to with regard to header copy in SimpleFunctionRegistry and unstead delegate it to CloudEventFunctionInvocationHelper
2020-12-18 16:44:19 +01:00
Oleg Zhurakousky
285fd66858
Fix payload extraction during output conversion
...
Also, restructured CloudEventsFunctionInvocationHelper's postProcessig logic
2020-12-12 13:48:47 +01:00
buildmaster
9e31994901
Going back to snapshots
2020-12-11 13:43:19 +00:00
buildmaster
794d59317a
Update SNAPSHOT to 3.1.0-RC1
2020-12-11 13:41:19 +00:00
Oleg Zhurakousky
e86d397433
Cleaned up Cloud Event support around reactive functions
...
Added reactive tests
Restructured CloudEventsFunctionInvocationHelper
2020-12-11 14:34:32 +01:00
Oleg Zhurakousky
7403a51464
SCST-2065 Fix deserialization error when multi IO signature
...
Fix deserializatioin error when using complex signatures such as Function<Tuple2<Flux<Message<String>>
The issue originated from spring cloud stream https://github.com/spring-cloud/spring-cloud-stream/issues/2065
2020-12-10 15:53:05 +01:00
Oleg Zhurakousky
9edc08d97e
interim
2020-12-10 07:56:15 +01:00
Oleg Zhurakousky
90c3c35f68
Polish previous commit
...
Add FunctionInspector dependency back to SimpleFunctionRegistry since we can't remove it yet to avoid backward comatibility issues
Resolves #617
2020-12-08 18:44:16 +01:00
Mingyuan Wu
271bc22969
Disconnect FunctionInspector from AbstractComposableFunctionRegistry and SimpleFunctionRegistry
2020-12-08 17:31:56 +01:00
Oleg Zhurakousky
bdcb232e42
Minor improvements and clean up Cloud Event package
2020-12-03 20:31:17 +01:00
Oleg Zhurakousky
c8d9a3bfe4
Consolidate Cloud Events attribute prefix swap logic
2020-12-02 18:56:51 +01:00
Oleg Zhurakousky
848866686e
Fix Cloud Events support for Message functions
...
Ensured Cloud Event completness by adding assertion for required attributes as well as generation of default values for attributes such as ID and SPECVERSION
2020-12-02 18:22:17 +01:00
Oleg Zhurakousky
c07722dab3
Tidy up logic around canonicalization of attributes
...
Added initial test to validate builder and utils
2020-12-02 15:17:17 +01:00
Oleg Zhurakousky
a318b88da7
interim
2020-12-02 13:10:05 +01:00
Oleg Zhurakousky
4c69ca1cd6
interim
2020-12-02 12:45:45 +01:00
Oleg Zhurakousky
98c9d56442
Change canonical format of Cloud Event Message attributes to have 'ce-' prefix
2020-12-02 11:24:03 +01:00
Oleg Zhurakousky
6c506f3ae1
Minor cleanup and javadocs
2020-12-02 09:20:50 +01:00
Oleg Zhurakousky
28184039de
Restructure Cloud Events support to optionally support Cloud Events SDK
2020-12-01 22:12:34 +01:00
Oleg Zhurakousky
dd6c09a4cb
Revert "Add a new strategy for header enrichment"
...
This reverts commit 1925b490dc .
2020-11-30 15:23:42 +01:00