Commit Graph

982 Commits

Author SHA1 Message Date
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
anshlykov
dfa02750c1 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
6ea91a77a8 Changed packaging to jar 2020-06-08 17:11:42 +02:00
buildmaster
675fe8fb79 Bumping versions 2020-06-04 18:55:44 +00:00
Oleg Zhurakousky
c6dc8f9a72 Change from v.BUILD-SNAPSHOT to v-SNAPSHOT 2020-06-03 14:56:41 +02:00
Marcin Grzejszczak
8d73c5b847 Unskipping deployment of docs 2020-06-02 13:57:53 +02:00
buildmaster
38e1b79efd Bumping versions 2020-05-30 18:55:30 +00:00
buildmaster
7fd8131ed5 Bumping versions 2020-05-27 18:55:34 +00:00
Oleg Zhurakousky
d6bfac3684 Polishing 0df050ec32 2020-05-27 14:51:51 +02:00
dzou
e085c2d0be Fix the GCP integration tests 2020-05-27 13:58:20 +02:00
Oleg Zhurakousky
0df050ec32 Fix AWS FunctionInvoker to ensure it properly interprets translation of incoming APIGateway request to user FunctionInvoker
This assumes that
- 'body' will be extracted for cases such as POJO or String input
- Map input will simply represent the incoming request
- APIGatewayProxyRequestEvent input represents native representation of API Gateway request

Similar fixes went for Kinesis side of things
Added additional tests for both Kinesis and ApiGateway
2020-05-27 13:51:30 +02:00
buildmaster
fe66d6020f Bumping versions 2020-05-26 18:55:14 +00:00
谭繁华
1f8b5a4a5a Fix GCP test
Resolves #521
Resolves #522
2020-05-26 16:10:20 +02:00
Oleg Zhurakousky
ce28ce2cb6 GH-514 Remove 'proxyInvokerIfNecessary()' method
It is really not needed as it does not add much value other then allows user to cast POJO function to its actual type. The reality is that the actual goald of POJO function is to make sure they can be looked at as plain Functions.

Resolves #514
2020-05-26 15:46:42 +02:00
buildmaster
79becb3f6b Bumping versions 2020-05-25 18:55:20 +00:00
Marcin Grzejszczak
d606fde3ef Skipping deployment of samples 2020-05-25 16:12:56 +02:00
Marcin Grzejszczak
fb4ae2d64c Setting up repository for docs.spring.io migration 2020-05-25 14:39:01 +02:00
Marcin Grzejszczak
8fd60ec602 Setting up repository for docs.spring.io migration 2020-05-25 13:40:53 +02:00
Oleg Zhurakousky
63be04cd19 GH-524 Fix AWS documentation
Removed reference to the old request handlers which was the source of confusion

Resolves #524
2020-05-22 14:14:48 +02:00
dzou
a4788aba08 Add docs and updates for background function support
rename fuction-sample-gcp to function-sample-gcp-http

refdoc polish

background sample polish

Resolves #525
Update pub/sub bg function to use base64 encoding
2020-05-22 12:24:24 +02:00
谭繁华
f279010aab Polish checkstyles in GCP module
Resolves #520
2020-05-22 12:19:15 +02:00
Mike Eltsufin
d74111785d Re-enable GCP sample test and fix mvn not found
enable test output temporarily for Travis

Revert "enable test output temporarily for Travis"

This reverts commit a797ca75e8c7a48e57f988360e5d57dbb497a6fb.

Resolves #527
2020-05-21 11:26:15 +02:00
dzou
17c3f185bc Move Layout into adapter class
pr comments, mv package, make work locally.

revert pom change to parent

Rm provided scope - this is problematic for spring-boot-maven plugin to build jar

Detach sample from spring-cloud-function-parent

Update readmes

cleanup

Add comment

fix javadoc
Resolves #518
2020-05-20 15:25:48 +02:00
Oleg Zhurakousky
8ca1b45c81 Temporarily ignore GCF sample test 2020-05-20 15:23:52 +02:00
dzou
cbc41aecb4 Add gcp adapter to dep mgmt
Resolves #517
2020-05-20 15:02:08 +02:00
Mike Eltsufin
dc3fd039d3 Add Integration Test for GCP Sample
Fixes: #505.

add the json dependency to fix it

remove json dep
Resolves #507
2020-05-20 15:01:02 +02:00
Oleg Zhurakousky
417e54e0af Add special handling for collections NegotiatingMessageConverterWrapper
This will ensure that Function<List<String>>...> can still be handled with regular converters
2020-05-20 14:56:33 +02:00
Oleg Zhurakousky
a6f59babf0 Polish POM for function-sample-supplier-exporter 2020-05-07 12:10:04 +02:00
Oleg Zhurakousky
5aeb77a073 Add Supplier Exporter sample 2020-05-07 10:28:25 +02:00
Oleg Zhurakousky
07e4de71d2 Fix Message unwrapping condition 2020-05-07 09:26:58 +02:00
Oleg Zhurakousky
10e9350697 Fix styles 2020-05-05 14:44:56 +02:00