Commit Graph

78 Commits

Author SHA1 Message Date
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
Oleg Zhurakousky
afcf85d23c Cherry-pick type of merge the work from Artem in #580
Resolves #580
2020-08-27 14:34:24 +02:00
Oleg Zhurakousky
9922a0ca32 Formatting test code 2020-08-26 15:23:31 +02:00
Oleg Zhurakousky
ddd95cda17 Ad initial support for propagating metadata as Message headers 2020-08-26 15:19:23 +02:00
Oleg Zhurakousky
18b0f436d3 Add RSocketRequester configuration for tests 2020-08-26 14:35:34 +02:00
Oleg Zhurakousky
c1240ebb91 Remove custom server creation logic and rely on boot instead
Resolves #579
2020-08-26 10:03:11 +02:00
Oleg Zhurakousky
30572cf0fc Polish RoutingBrokerTests 2020-08-25 21:20:11 +02:00
spencergibb
95016d27ba Uses renamed RoutingMetadata 2020-08-25 14:17:36 -04:00
spencergibb
cd776902e9 Creates RSocketRoutingAutoConfiguration.
Moves rsocket-routing-client-spring to an optional dependency.
2020-08-25 14:10:32 -04:00
spencergibb
045976321a Comment out SpringRouting 2020-08-25 12:16:34 -04:00
spencergibb
306dff3d0f Uses property based routing client request metadata 2020-08-25 12:14:01 -04:00
spencergibb
d02b6998c3 Migrates to using rsocket-routing-broker 2020-08-24 15:49:31 -04:00
spencergibb
f04e355026 Initial rsocket-broker sample 2020-08-24 15:22:52 -04:00
Oleg Zhurakousky
b6c0578352 Clean up RSocketAutoConfiguration
Clean up RSocketAutoConfiguration to better allign with Spring's idioms
Upgraded to Kotlin 1.4.0
2020-08-21 16:03:10 +02:00
Oleg Zhurakousky
99a3be029c Add support for default function lookup to RSocket 2020-08-05 10:15:29 +02:00
Artem Bilan
8d316f906c Improve RSocketForwardingFunction
* Use `Mono<RSocket>` for lazy connection on target subscription
returned from the `RSocketForwardingFunction`
* Propagate `retry` into an `RSocketConnector`

Resolves #566
2020-07-29 15:07:48 +02:00
Oleg Zhurakousky
4547580d9d Split RSocketFuntion
Split RSocketFunction into RSocketForwardingFunction and RSocketListenerFunction to ensure function composition over rsocket works the same way as with simple functions.
2020-07-16 19:26:41 +02:00
Oleg Zhurakousky
638c98cfb7 interim 2020-07-16 17:08:55 +02:00
Oleg Zhurakousky
13aa4700b1 Cleanup 'requestChannel' logic
Add RSocketConnectionUtils to deal with connectivity logic
2020-07-16 15:58:22 +02:00
Oleg Zhurakousky
6589164949 Add StepVerifier to RSocket tests 2020-07-16 13:35:21 +02:00
Oleg Zhurakousky
ce6f357117 Add initial support for 'requestChannel' intergration for RSocket 2020-07-16 13:35:21 +02:00
Oleg Zhurakousky
b0398e35df Initial Committ of RSocket integration 2020-07-16 13:35:21 +02:00