Commit Graph

173 Commits

Author SHA1 Message Date
Oleg Zhurakousky
427669a97c Fix spelling error in constant name 2021-02-22 14:11:27 +01:00
Oleg Zhurakousky
386931966c GH-653 Retain original 'lookupDestination' while adding 'reconsiledLookupDestination'
This is necessary to retain user provided information while also prpviding a way to reconsile the actual destination/function
2021-02-22 14:08:02 +01:00
Oleg Zhurakousky
59d0314435 GH-652 Improve error messaging and function exist check
FunctionRSocketUtils looks up function by a bean name hen it attempts  to determine if there is a remote routing. That is not correct since bean name may not exist if function was manually registered. Also, the error message 'Must only contain one output redirect' was not clear as it was not showing the actual function name for propper debugging

Resolves #651
2021-02-22 12:19:57 +01:00
Oleg Zhurakousky
27acfd8cc3 GH-653 Add documentation and additional test to validate function definition order for RSocket
Resolves #653
2021-02-22 11:41:06 +01:00
Oleg Zhurakousky
56b3c49120 GH-653 Make consistent priority order of function definition in RSocket
With this commit spring.cloud.function.routing-expression property takes precedence over all, then route(<function.definition>) and then spring.cloud.function.definition property
2021-02-22 11:11:55 +01:00
Oleg Zhurakousky
a161dfa660 Simplified RoutingFunction configuration
If routing-expression is provided there is no need to explicitely set function.definition to 'functionRouter'
2021-02-18 15:35:26 +01:00
Oleg Zhurakousky
e437fa2181 Add initial RSocket test with RoutingFunction 2021-02-18 14:42:14 +01:00
buildmaster
36de6289ba Bumping versions 2021-02-01 18:56:47 +00:00
buildmaster
44d583493a Bumping versions 2021-01-27 18:56:44 +00:00
buildmaster
d6fb9cfaf8 Bumping versions to 3.1.2-SNAPSHOT after release 2021-01-27 17:16:38 +00:00
buildmaster
329a805fcf Going back to snapshots 2021-01-27 17:16:37 +00:00
buildmaster
047f5f95cb Update SNAPSHOT to 3.1.1 2021-01-27 17:11:29 +00:00
Oleg Zhurakousky
b2e783490c Fix RSocket CloudEvents sample 2021-01-27 15:29:16 +01:00
Oleg Zhurakousky
099671bb3a Revert "Bumping versions"
This reverts commit 1356831897.
2021-01-14 12:36:38 +01:00
buildmaster
1356831897 Bumping versions 2021-01-13 18:56:32 +00:00
Oleg Zhurakousky
ffbc7fec78 Revert "Bumping versions"
This reverts commit da075793f6.
2021-01-11 10:44:04 +01:00
buildmaster
da075793f6 Bumping versions 2020-12-21 18:56:08 +00:00
Oleg Zhurakousky
fde7da34d1 Fix snapshot versions 2020-12-21 18:04:32 +01:00
buildmaster
48605a9ac3 Bumping versions to 3.1.1.SNAPSHOT after release 2020-12-21 11:57:51 +00:00
buildmaster
d7fc2a251e Going back to snapshots 2020-12-21 11:57:50 +00:00
buildmaster
902c9f94e0 Update SNAPSHOT to 3.1.0 2020-12-21 11:54:46 +00:00
Oleg Zhurakousky
e20fadbeae GH-590 change README extension 2020-12-21 10:28:21 +01:00
Oleg Zhurakousky
d27dcbb7de GH-590 Add initial RSocket documentation 2020-12-21 10:26:55 +01:00
Oleg Zhurakousky
8ece3d3083 Add stream (kafka, Rabbit) and Rsocket examples for Cloud Event 2020-12-18 16:44:29 +01:00
buildmaster
7675a9da27 Going back to snapshots 2020-12-11 13:43:19 +00:00
buildmaster
00f1a8d711 Update SNAPSHOT to 3.1.0-RC1 2020-12-11 13:41:19 +00:00
buildmaster
ccbcb11409 Going back to snapshots 2020-11-17 16:13:28 +00:00
buildmaster
e4ad754beb Update SNAPSHOT to 3.1.0-M5 2020-11-17 16:11:20 +00:00
Oleg Zhurakousky
14918ebf16 Clean up FunctionTypeUtils 2020-10-19 14:44:37 +02:00
Oleg Zhurakousky
72f05fc591 Refactor FunctionCatalog implementation 2020-10-16 17:59:06 +02:00
buildmaster
85f70f30a6 Going back to snapshots 2020-10-02 09:22:55 +00:00
buildmaster
bd05ea44cf Update SNAPSHOT to 3.1.0-M4 2020-10-02 09:20:53 +00:00
Spencer Gibb
a8a0664b3a Updates rsocket-routing.version to 0.1.0 2020-09-30 13:52:47 -04:00
Oleg Zhurakousky
bf001bc754 Revert "Temporarily disable rsocket-routing-broker integration"
This reverts commit 63f655fb45.
2020-09-23 17:12:46 +02:00
buildmaster
ed13099779 Going back to snapshots 2020-09-23 14:34:33 +00:00
buildmaster
861e4611b1 Update SNAPSHOT to 3.1.0-M3 2020-09-23 14:32:21 +00:00
Oleg Zhurakousky
63f655fb45 Temporarily disable rsocket-routing-broker integration 2020-09-23 16:24:01 +02:00
Oleg Zhurakousky
54b0b3b376 Re-enable routing broker tests after fixes in routing broker 2020-09-17 11:43:54 +02:00
Oleg Zhurakousky
e19ed2ff68 GH-587 Add support for inferring 'accept' content type for simple types
This fix also introduces new Function property 'accept' with no default value which implicitely would default to application/json unless the output type of the function is String at which point it would default to text/plain. However, if it was explicitely set in FunctionProperties it will be used regardless of the function output type.
Resolves #587
2020-09-16 18:14:40 +02:00
Oleg Zhurakousky
a4763ee879 Inject LOOKUP_DESTINATION_HEADER if definition property is not used 2020-09-15 13:51:49 +02:00
Oleg Zhurakousky
a057fea6b0 Remove dead code from FunctionRSocketMessageHandler
Add and clean up tests
2020-09-02 08:27:51 +02:00
Oleg Zhurakousky
f2f1432912 GH-585 Add initial support for passing/parsing Message headers
This woudl allow Message headers to be passed as JSON string via rsocket metadata

Resolves #585
2020-09-01 13:21:58 +02:00
Spencer Gibb
d120f49025 Updates to new routing client broker tcp properties 2020-08-31 19:14:58 -04:00
Oleg Zhurakousky
f450e4a2eb Add special handling for JSON Strings
Added support to JsonMessageConverter to pass string as is if input type is String
Added guard condition to RSocketListenerFunction to avoid NPE if target function can not be discovered
2020-08-31 16:35:18 +02:00
Oleg Zhurakousky
4215c92936 Annotate FunctionRSocketMessageHandler @Primary 2020-08-31 13:58:23 +02:00
Oleg Zhurakousky
e4e8d22f7f Code cleanup for rsocket module 2020-08-28 17:47:54 +02:00
Spencer Gibb
940aab1e31 Re-enables RoutingBrokerTests
Also updates comments on `.route("uppercase")` as this is now required for `FunctionRSocketMessageHandler`
2020-08-28 10:45:59 -04:00
Oleg Zhurakousky
4007b88efb Temporary disabling of RoutingBrokerTests 2020-08-28 09:16:05 +02:00
Oleg Zhurakousky
123ced3fb6 Fix distributed composition test
Added override of handleMessage(..) to FunctionRSocketMessageHandler to be able to register functions on demand instead of pre-registering all of them during the init
2020-08-28 09:14:57 +02:00
Spencer Gibb
6554d27751 Updates property based metadata to use uppercase function name 2020-08-27 13:51:21 -04:00