Commit Graph

874 Commits

Author SHA1 Message Date
Oleg Zhurakousky
21d68ff3c8 GH-475 Fix support for Flux<List> type conversion
At the moment support is rudimentary but given that BeanFactoryAwareFunctionRegistry provides all the necessary type conversion functionality the true fix should consider utilizing it.

Resolves #475
2020-03-31 14:46:37 +02:00
Oleg Zhurakousky
1d784c199d GH-467 Added initial support for GET method to FunctionEndpointInitializer
At the moment support is rudimentary as it does not include any type conversion, but neither does POST so it is consistent.
Given that BeanFactoryAwareFunctionRegistry provides all that functionality already perhaps the proper fix with regard to converter would be to use it or part of it in place of InMemoryFunctionCatalog currently used.

Resolves #467
2020-03-31 14:14:33 +02:00
Oleg Zhurakousky
1ec107abbd GH-474 Add TypeResolver library and simplify type discovery
For complex cases where deep hierarchies are used there was still an issue with the fix in #473.
By adding TypeResolver library we essentially simplify our discovery process

Resolves #474
2020-03-30 17:26:01 +02:00
Oleg Zhurakousky
73c8f9c1a4 Merge pull request #472 from GeniusV/master
Fix a spell miss
2020-03-30 10:57:02 +02:00
Oleg Zhurakousky
86d12f3a84 GH-473 Fix type discovery for generic parameters
Resolves #473
2020-03-30 10:56:00 +02:00
Eliot Daniel
9ead9853a8 Fix a spell miss 2020-03-29 16:59:36 +08:00
Eliot Daniel
2206fa544a Fix a Fix a spell miss 2020-03-29 16:44:57 +08:00
Oleg Zhurakousky
9434a68bd2 GH-461 Add to register more than one functional class
Similar to the way we allow multiple functions to be listed with 'definition' property, this enhancement allows several functional classes to be deployed

Resolves #461
2020-03-23 14:51:56 +01:00
Oleg Zhurakousky
85000ee084 GH-460 Add support for function filtering
Added support for function filtering in the event there are more then one function in catalog. This is primarily to ensure that
we have a mechanism to specify which functions to export as web enpoints (instead of all)

Resolves #460
2020-03-23 11:19:40 +01:00
Oleg Zhurakousky
919b9902e9 Improved handling of output Message conversion
remove the check for 'accept' header
added test

Resolves #465
2020-03-18 17:01:55 +01:00
Eric Bottard
b28c7c5cfc Add a test for accept being multi-valued and tested in order 2020-03-18 16:59:09 +01:00
Oleg Zhurakousky
fb095f7ac3 Improve output type conversion handling
- Re-enable, clean and improve  special handling for collection/array output type
- Add tests to validate and demonstrate the differences in  special handling of collection of Messages ve collection of non-Messages

Resolves #464
2020-03-18 15:50:55 +01:00
Eric Bottard
b1d9890e0c Don't treat byte[] or collections in a special way. 2020-03-18 13:59:21 +01:00
Oleg Zhurakousky
0acff2b1d3 Enhancements to content-type negotiation
- Added logic to wrap custom (user) message converters with NegotiatingMessageConverterWrapper
- Removed 'addDefaultConverters' flag from ContextFunctionCatalogAutoConfiguration as it is more confusing then useful
- Added test which uses wild card accept content-type with several converters available to ensure the appropriate one is used
- Made NegotiatingMessageConverterWrapper package private and moved it and it's test to a contex.config package

Resolves #462
2020-03-18 11:15:03 +01:00
Florent Biville
046913de99 Add tests to NegotiatingMessageConverterWrapper 2020-03-18 11:05:16 +01:00
Eric Bottard
161ac0efae Introduce better content-type negotiation when converting to messages.
This commit introduces a MessageConverter wrapper that supports a
wildcard-aware Accept header.
2020-03-18 11:05:16 +01:00
Florent Biville
e71cf28c1a Remove contribution guide and link to Spring Cloud Build
This commit adds a default, empty suppression configuration file
needed to set up Checkstyle.

Resolves #463
2020-03-17 13:32:39 +01:00
Arno
013e714c42 Add consumer lookup, for single consumer in catalog
Related to issue #454

Resolves #455
2020-03-16 09:05:42 +01:00
disc99
1d2377ef85 Remove duplicate plugin
Resolves #457
2020-03-16 08:42:19 +01:00
Oleg Zhurakousky
005611b682 Polish javadoc in RoutingFunction 2020-03-11 09:04:58 +01:00
Oleg Zhurakousky
b71c793dab GH-458 Remove default dependency on ApplicationJsonMessageMarshallingConverter
Resolves #458
2020-03-10 16:13:28 +01:00
Oleg Zhurakousky
777f0d8afa GH-453 Provide continuation model for reactive consumer
Modified invocation model of the reactive consumer to ensure it provides reasonable continuation path via MonoIgnoreElements (Mono.. . .then())

Resolves #453
2020-03-05 08:56:46 +01:00
Oleg Zhurakousky
c85d4f1629 Change spring-cloud-build version to 2.2.3.RELEASE 2020-03-04 14:16:22 +01:00
buildmaster
87dd0dd113 Bumping versions to 3.0.4.BUILD-SNAPSHOT after release 2020-03-03 15:23:14 +00:00
buildmaster
568fd9affd Going back to snapshots 2020-03-03 15:23:14 +00:00
buildmaster
340a5cc3f3 Update SNAPSHOT to 3.0.3.RELEASE 2020-03-03 14:53:54 +00:00
Oleg Zhurakousky
93e3e9880d Merge pull request #452 from reese1v1/master
Fix a spell miss of AWS adapter intro documentation
2020-03-03 08:08:04 +01:00
reese
b14ceb1790 Fix a spell miss of AWS adapter intro documentation 2020-03-03 10:58:49 +09:00
Oleg Zhurakousky
202d617edd Add Message and MessageConverter to the list of classes loaded by deployer 2020-03-02 15:14:48 +01:00
Oleg Zhurakousky
df32fd6954 Add MessageConverter filtering logic
Aligned ApplicationJsonMessageMarshallingConverter with the same from s-c-Stream
2020-03-02 13:08:45 +01:00
Oleg Zhurakousky
e6814e7714 GH-451 Fix AWS functional bean documentation
Resolves #451
2020-03-02 10:08:37 +01:00
Oleg Zhurakousky
127f716a6d Merge pull request #450 from eddumelendez/azure_adapter_typos
Fix typos
2020-03-02 10:02:46 +01:00
Oleg Zhurakousky
2b4f8c7958 Clean up FunctionTypeUtils.isOfType method 2020-03-02 09:55:45 +01:00
Oleg Zhurakousky
67a4642b2d Polish/cleanup FunctionTypeUtils 2020-02-27 13:48:21 +01:00
Oleg Zhurakousky
f4530e0d89 Fix to-Message conversion logic
Fixed  logic to ensure that for cases where user may return a Message with no contentType set, the property-set content type is propagated
2020-02-22 08:24:27 +01:00
Eddú Meléndez
a3597614df Fix typos 2020-02-14 21:33:29 -06:00
buildmaster
9eb98bd545 Bumping versions to 3.0.3.BUILD-SNAPSHOT after release 2020-02-12 17:43:00 +00:00
buildmaster
28baf6fc04 Going back to snapshots 2020-02-12 17:42:59 +00:00
buildmaster
36a4e69a31 Update SNAPSHOT to 3.0.2.RELEASE 2020-02-12 17:31:16 +00:00
Oleg Zhurakousky
016f1ec010 Made Kotlin config class public to satisfy sonatype 2020-02-12 18:25:01 +01:00
Oleg Zhurakousky
57e23ddb52 Revert "Disconnected javadoc plugin from Kotlin module"
This reverts commit baf7e5fa5b.
2020-02-12 18:23:05 +01:00
Oleg Zhurakousky
b71d012d02 Revert "Update SNAPSHOT to 3.0.2.RELEASE"
This reverts commit 669e8eaabe.
2020-02-12 18:22:55 +01:00
Oleg Zhurakousky
a899c8365e Revert "Going back to snapshots"
This reverts commit d6affef18e.
2020-02-12 18:22:48 +01:00
Oleg Zhurakousky
a460d2f6ed Revert "Bumping versions to 3.0.3.BUILD-SNAPSHOT after release"
This reverts commit 8e8df4206d.
2020-02-12 18:22:40 +01:00
buildmaster
8e8df4206d Bumping versions to 3.0.3.BUILD-SNAPSHOT after release 2020-02-12 16:56:40 +00:00
buildmaster
d6affef18e Going back to snapshots 2020-02-12 16:56:39 +00:00
buildmaster
669e8eaabe Update SNAPSHOT to 3.0.2.RELEASE 2020-02-12 16:41:19 +00:00
Oleg Zhurakousky
baf7e5fa5b Disconnected javadoc plugin from Kotlin module 2020-02-12 16:16:00 +01:00
Oleg Zhurakousky
6c4b5051c3 Minor enhancements to the previosu commit
Resolves #448
2020-02-10 20:43:33 +01:00
Eric Bottard
005d87181f Throw identifiable exceptions on input/output conversion failure. 2020-02-10 19:23:39 +01:00