Commit Graph

1035 Commits

Author SHA1 Message Date
Artem Bilan
6c8554d980 Fix SI sample for compatibility with latest SI
* Fix test `FunctionSampleSpringIntegrationApplicationTests` to use AssertJ
2020-09-01 13:22:44 +02:00
Oleg Zhurakousky
b053761be7 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
Oleg Zhurakousky
eb3595e780 Merge pull request #583 from spring-cloud/spencergibb-routing-tcp
Updates to new routing client broker tcp properties
2020-09-01 07:20:24 +02:00
Spencer Gibb
f0ad6bf8ac Updates to new routing client broker tcp properties 2020-08-31 19:14:58 -04:00
Oleg Zhurakousky
85b591cb89 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
6a13436723 Annotate FunctionRSocketMessageHandler @Primary 2020-08-31 13:58:23 +02:00
Oleg Zhurakousky
81e35490ea Code cleanup for rsocket module 2020-08-28 17:47:54 +02:00
Oleg Zhurakousky
5332dc72f8 Merge pull request #582 from spring-cloud/spencergibb-reenable-routingbrokertests
Re-enables RoutingBrokerTests
2020-08-28 16:47:51 +02:00
Spencer Gibb
87187692ae 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
8801efa445 Temporary disabling of RoutingBrokerTests 2020-08-28 09:16:05 +02:00
Oleg Zhurakousky
353fd2e8d0 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
Oleg Zhurakousky
41b6818f79 Merge pull request #581 from spring-cloud/spencergibb-patch-1
Updates property based metadata to use uppercase function name
2020-08-28 08:07:11 +02:00
Spencer Gibb
e4c999b3ea Updates property based metadata to use uppercase function name 2020-08-27 13:51:21 -04:00
Oleg Zhurakousky
b681fb96d6 Cherry-pick type of merge the work from Artem in #580
Resolves #580
2020-08-27 14:34:24 +02:00
Oleg Zhurakousky
2607cfc34b Formatting test code 2020-08-26 15:23:31 +02:00
Oleg Zhurakousky
9a1827d291 Ad initial support for propagating metadata as Message headers 2020-08-26 15:19:23 +02:00
Oleg Zhurakousky
91661c3887 Add RSocketRequester configuration for tests 2020-08-26 14:35:34 +02:00
Oleg Zhurakousky
0640de87dd Remove custom server creation logic and rely on boot instead
Resolves #579
2020-08-26 10:03:11 +02:00
Oleg Zhurakousky
78de449d25 Polish RoutingBrokerTests 2020-08-25 21:20:11 +02:00
spencergibb
87f71a55e5 Uses renamed RoutingMetadata 2020-08-25 14:17:36 -04:00
spencergibb
eb405e0af5 Creates RSocketRoutingAutoConfiguration.
Moves rsocket-routing-client-spring to an optional dependency.
2020-08-25 14:10:32 -04:00
spencergibb
21ce6ed517 Comment out SpringRouting 2020-08-25 12:16:34 -04:00
spencergibb
a0940a4863 Uses property based routing client request metadata 2020-08-25 12:14:01 -04:00
spencergibb
db28b7efdc Migrates to using rsocket-routing-broker 2020-08-24 15:49:31 -04:00
spencergibb
311d67c38b Initial rsocket-broker sample 2020-08-24 15:22:52 -04:00
Oleg Zhurakousky
8dee0b94c7 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
21e49aa8e2 GH-574 Fix String wrapping for input/output for AWS APIGateway
As suggested by the user we were improperly wrapping the String payload for input/output during APIGateway interaction

Resolves #574
2020-08-06 16:01:12 +02:00
Oleg Zhurakousky
9e9467fac0 Fix port discovery in GCF test 2020-08-06 15:51:26 +02:00
Oleg Zhurakousky
dcb3a9ffbc Add support for default function lookup to RSocket 2020-08-05 10:15:29 +02:00
Oleg Zhurakousky
99b158b932 GH-573 Ensure registered functions are accounted during the lookup
Resolves #573
2020-08-04 19:35:05 +02:00
Oleg Zhurakousky
ddba54dee6 Various polishing to accomodate boot, reactor and other changes 2020-08-04 19:21:14 +02:00
Oleg Zhurakousky
1670563de9 Polish docs POM 2020-07-31 19:03:33 +02:00
Oleg Zhurakousky
b245812c6b GH-562 Add type conversion documentation
Add test in AWS to showcase type conversion
Fix AWS FunctionInvoker to delegate to effectively delegate type conversion to the native mechanism of spring-cloud-function

Resolves #562
2020-07-29 20:17:03 +02:00
Oleg Zhurakousky
bdbba32849 Add POM entry for RSocket dependencies 2020-07-29 20:03:39 +02:00
Artem Bilan
74c8eb40c6 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
buildmaster
a760083e18 Bumping versions 2020-07-24 18:55:36 +00:00
Oleg Zhurakousky
fa1c27b754 GH-563 Add support for SNSEvent (AWS)
Resolves #563
2020-07-24 15:53:03 +02:00
Oleg Zhurakousky
cd9f594629 Add support for handling special types
There are certain cases where conversion has to be skiped. One such case is KafkaNull type which has to be sent as is.
2020-07-24 14:45:57 +02:00
Oleg Zhurakousky
0a831e39ae Fix getRegistration method 2020-07-24 14:17:05 +02:00
Oleg Zhurakousky
09dec44076 GH-555 Add missing maven resource support to function deployer
Resolves #555
2020-07-21 16:31:23 +02:00
buildmaster
63dd852ca5 Bumping versions 2020-07-20 18:55:28 +00:00
buildmaster
4213d19180 Going back to snapshots 2020-07-20 14:25:39 +00:00
buildmaster
ae4efc2b9d Update SNAPSHOT to 3.1.0-M2 2020-07-20 14:23:39 +00:00
Oleg Zhurakousky
87fd621585 Change docs packaging to pom 2020-07-20 15:40:03 +02:00
Oleg Zhurakousky
39fd3868f4 Updated shade plugin version 2020-07-20 15:08:46 +02:00
Oleg Zhurakousky
14b74d0bcb Remove s-c-task dependencies from POM 2020-07-20 14:44:04 +02:00
Oleg Zhurakousky
bc48a80291 Add ability to around advice function invocation 2020-07-17 07:24:41 +02:00
Oleg Zhurakousky
5296badeb2 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
cde6535d70 interim 2020-07-16 17:08:55 +02:00
Oleg Zhurakousky
bc7376f2a6 Cleanup 'requestChannel' logic
Add RSocketConnectionUtils to deal with connectivity logic
2020-07-16 15:58:22 +02:00