Commit Graph

1003 Commits

Author SHA1 Message Date
Oleg Zhurakousky
6b9ce4cb0c 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
48b8f4ce89 Add POM entry for RSocket dependencies 2020-07-29 20:03:39 +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
buildmaster
6ca9c2f072 Bumping versions 2020-07-24 18:55:36 +00:00
Oleg Zhurakousky
4ce94f7d54 GH-563 Add support for SNSEvent (AWS)
Resolves #563
2020-07-24 15:53:03 +02:00
Oleg Zhurakousky
6a4bddc042 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
621a925507 Fix getRegistration method 2020-07-24 14:17:05 +02:00
Oleg Zhurakousky
4e322d3fa0 GH-555 Add missing maven resource support to function deployer
Resolves #555
2020-07-21 16:31:23 +02:00
buildmaster
ae37b3bb67 Bumping versions 2020-07-20 18:55:28 +00:00
buildmaster
83c6236f84 Going back to snapshots 2020-07-20 14:25:39 +00:00
buildmaster
f097ad64fc Update SNAPSHOT to 3.1.0-M2 2020-07-20 14:23:39 +00:00
Oleg Zhurakousky
264be1e9ec Change docs packaging to pom 2020-07-20 15:40:03 +02:00
Oleg Zhurakousky
0d5ed83edb Updated shade plugin version 2020-07-20 15:08:46 +02:00
Oleg Zhurakousky
a5da9925dd Remove s-c-task dependencies from POM 2020-07-20 14:44:04 +02:00
Oleg Zhurakousky
60fba08c83 Add ability to around advice function invocation 2020-07-17 07:24:41 +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
Oleg Zhurakousky
610e2a53fe GH-560 Add explicit support for S3 AWS Event
Resolves #560
2020-07-16 09:41:23 +02:00
Oleg Zhurakousky
718f785ae1 GH-554 Fix condition check for annotation processor in initializer
Resolves #554
2020-07-15 12:24:28 +02:00
Oleg Zhurakousky
ecc625b6d8 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
b495074f9f add plugin repositories to fix gcp-background sample
Resolves #558
2020-07-15 10:13:29 +02:00
Oleg Zhurakousky
5fd54ab9fd 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
aa04fca466 Fix error propagation for GCP adapter
Fix tests
2020-06-22 09:08:15 +02:00
Oleg Zhurakousky
d6272d38df GH-551 Fix support for AWS SQSEvent
Resolves #551
2020-06-22 08:21:04 +02:00
Oleg Zhurakousky
c7eae3e16f GH-550 Add support for wrapping value into Message if necessary
Resolves #550
2020-06-19 15:26:28 +02:00
Oleg Zhurakousky
4c32024ceb 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
9e5e35f700 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
75c718f060 Merge pull request #546 from bountin/typos
Improve language and typos
2020-06-17 08:46:20 +02:00
Oleg Zhurakousky
627eb633e8 Merge pull request #547 from bountin/function-registry-logger
Improve FunctionRegistry Logger
2020-06-17 08:45:55 +02:00
Martin Prebio
c17350f3c9 Fix language and typos 2020-06-16 20:39:44 +02:00
Martin Prebio
b0044890fa Reduce logger's visibility 2020-06-16 20:34:16 +02:00
Martin Prebio
355c0653fa Correct logger class name to use runtime class 2020-06-16 20:33:49 +02:00
Oleg Zhurakousky
53b385680f 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
5bed9c66ee GH-538 Fix default lookup on FunctionRegistration
Resolves #538
2020-06-11 19:17:32 +02:00
Oleg Zhurakousky
c9e0801b1d GH-503 Add test to demonstrate custom message converter usage
Resolves #503
2020-06-11 15:36:27 +02:00
Oleg Zhurakousky
b4e5315a10 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
af192a5adf 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
anshlykov
8bcfad48fa Migrate to JUnit 5
spring-cloud-function-context

spring-cloud-function-context: fix

spring-cloud-function-web

spring-cloud-function-adapters

spring-cloud-function-samples

spring-cloud-function-deployer; spring-cloud-function-kotlin

Resolves #535
2020-06-10 16:43:04 +02:00
Marcin Grzejszczak
a6b0d7ef23 Changed packaging to jar 2020-06-08 17:11:42 +02:00
buildmaster
24574800e7 Bumping versions 2020-06-04 18:55:44 +00:00
Oleg Zhurakousky
52104f451a Change from v.BUILD-SNAPSHOT to v-SNAPSHOT 2020-06-03 14:56:41 +02:00
Marcin Grzejszczak
f1b4c13938 Unskipping deployment of docs 2020-06-02 13:57:53 +02:00
buildmaster
ef1f1f1ddd Bumping versions 2020-05-30 18:55:30 +00:00
buildmaster
b4d5a19bd2 Bumping versions 2020-05-27 18:55:34 +00:00
Oleg Zhurakousky
469c86e7b6 Polishing 7c8ba881c9 2020-05-27 14:51:51 +02:00
dzou
1462a1e8eb Fix the GCP integration tests 2020-05-27 13:58:20 +02:00