Commit Graph

1012 Commits

Author SHA1 Message Date
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
Oleg Zhurakousky
f725b5aeb8 Add StepVerifier to RSocket tests 2020-07-16 13:35:21 +02:00
Oleg Zhurakousky
76dde19b89 Add initial support for 'requestChannel' intergration for RSocket 2020-07-16 13:35:21 +02:00
Oleg Zhurakousky
c91e2a00e4 Initial Committ of RSocket integration 2020-07-16 13:35:21 +02:00
Oleg Zhurakousky
cefe52365b GH-560 Add explicit support for S3 AWS Event
Resolves #560
2020-07-16 09:41:23 +02:00
Oleg Zhurakousky
66fd153a1b GH-554 Fix condition check for annotation processor in initializer
Resolves #554
2020-07-15 12:24:28 +02:00
Oleg Zhurakousky
d6e36081f6 GH-557 Add special handling for wild-card content type and subtype
Add special handling for wild-card content type and subtype to NegotiatingMessageConverterWrapper
Add author tags

Resolves #557
2020-07-15 10:36:57 +02:00
dsolomakha
4f0ebbe546 add plugin repositories to fix gcp-background sample
Resolves #558
2020-07-15 10:13:29 +02:00
Oleg Zhurakousky
2e5c670a28 Add condition to reset content-type only if it isd not already set
Polish some of the POMs to address missing dependencies
Temporary disconnect gcp background sample until errors are fixed
2020-07-13 14:21:02 +02:00
dzou
07421a6062 Fix error propagation for GCP adapter
Fix tests
2020-06-22 09:08:15 +02:00
Oleg Zhurakousky
840646991c GH-551 Fix support for AWS SQSEvent
Resolves #551
2020-06-22 08:21:04 +02:00
Oleg Zhurakousky
62ab95196e GH-550 Add support for wrapping value into Message if necessary
Resolves #550
2020-06-19 15:26:28 +02:00
Oleg Zhurakousky
4936a8676d Polish previous commit
Add author tag
Rename 'getPayloadType' method to 'getGenericType' and ad javadoc

Resolves #543
2020-06-17 09:29:40 +02:00
anshlykov
a97bdcafd4 SimpleFunctionRegistryTests: reactive function test case
FunctionTypeUtils#isTypeCollection: unwrap publisher

JsonMessageConverter: handler for a ParameterizedType conversionHint

refactor
2020-06-17 08:58:46 +02:00
Oleg Zhurakousky
fdbbcc4e45 Merge pull request #546 from bountin/typos
Improve language and typos
2020-06-17 08:46:20 +02:00
Oleg Zhurakousky
be7e44ceb6 Merge pull request #547 from bountin/function-registry-logger
Improve FunctionRegistry Logger
2020-06-17 08:45:55 +02:00
Martin Prebio
ce0d5c9e64 Fix language and typos 2020-06-16 20:39:44 +02:00
Martin Prebio
dadbccdec9 Reduce logger's visibility 2020-06-16 20:34:16 +02:00
Martin Prebio
c100de2326 Correct logger class name to use runtime class 2020-06-16 20:33:49 +02:00
Oleg Zhurakousky
116c6c95cd GH-537 Fix JsonMapper creation
This fix insures that 'spring.http.converters.preferred-json-mapper' property is only used as mechanism to break tie in the event both jackson and gson are available in classpath or AC

Resolves #537
2020-06-11 20:54:11 +02:00
Oleg Zhurakousky
59cb91103e GH-538 Fix default lookup on FunctionRegistration
Resolves #538
2020-06-11 19:17:32 +02:00
Oleg Zhurakousky
00ffb59b99 GH-503 Add test to demonstrate custom message converter usage
Resolves #503
2020-06-11 15:36:27 +02:00
Oleg Zhurakousky
c294816e7a GH-500 Fix NPE in FunctionEndpointInitializer
This ensures that posting to the consumer does not result in NPE given that there is no body

Resolves #500
2020-06-10 19:44:27 +02:00
Oleg Zhurakousky
6bfc614f9f GH-531 Fail function registration for incompatible types
Given that we now can auto-discover function type from provided target object, this fix will fail function registration if provided type is not compatible (assignableFrom. . .)

Resolves #531
2020-06-10 18:28:28 +02:00