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
Arno
013e714c42
Add consumer lookup, for single consumer in catalog
...
Related to issue #454
Resolves #455
2020-03-16 09:05:42 +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
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
df32fd6954
Add MessageConverter filtering logic
...
Aligned ApplicationJsonMessageMarshallingConverter with the same from s-c-Stream
2020-03-02 13:08:45 +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
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
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
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
Oleg Zhurakousky
72a3c44bcb
Upgraded access modifier in FunctionInvocationWrapper
2020-02-10 16:16:10 +01:00
Oleg Zhurakousky
8c335c6a20
Fixed POM description
2020-02-06 16:22:55 +01:00
Oleg Zhurakousky
0f4c8b21cf
GH-449 Added initial support for providing a message enriching callback
...
For now an undocumented feature as it may need some more work
Resolves #449
2020-02-05 16:50:04 +01:00
Oleg Zhurakousky
912dc31568
Streamlined output conversion logic
2020-02-03 13:22:34 +01:00
Oleg Zhurakousky
313f10946d
GH-439 Fixed main class discovery
...
The regression was caused by filtering main classes that are @SpringVootApplication only, essentially excluding @SpringBootConfiguration
Resolves #439
2020-01-29 18:38:09 +01:00
Oleg Zhurakousky
d334ed609c
GH-444 Fixed support for default function lookup
...
Given that function can be looked up with no definition, the fallback alternative should be 'spring.cloud.function.definition' property
Resolves #444
2020-01-28 15:50:42 +01:00
Oleg Zhurakousky
35d3c45959
GH-1896Stream Fixed conversion of collection of messages
2020-01-27 17:25:21 +01:00
Oleg Zhurakousky
2a8c3cdda6
Minor fix to avoid NPE when output content type is not present
2020-01-15 07:02:08 +01:00
buildmaster
b8c3565251
Bumping versions to 3.0.2.BUILD-SNAPSHOT after release
2019-12-18 16:13:27 +00:00
buildmaster
c1c744973b
Going back to snapshots
2019-12-18 16:13:27 +00:00
buildmaster
cc15b53b08
Update SNAPSHOT to 3.0.1.RELEASE
2019-12-18 15:47:36 +00:00
Oleg Zhurakousky
52b0fdea50
GH-434 Added generic FunctionInvoker for AWS
...
- Added generic FunctionInvoker capable of handling the request generically without requiring user to implemen specific AWS request handler
Resolves #434
2019-12-16 14:27:41 +01:00
Oleg Zhurakousky
0f38ea47b8
GGH-431 Fixed discovery of a start class
...
- Ensured that FunctionClassUtils performs additional check to ensure that located star class is SpringBootApplication
- Added additional lookup to look for Main-Class if nothing was found in Start-Class primarily to support Azure
- Updated Azure samples
- Updated documentation
Resolves #431
2019-12-12 15:15:36 +01:00
Oleg Zhurakousky
12f4260271
GH-421 Fix Start-Class discovery logic
...
- Fixed logic behind discovery of Start-Class which didn't work well with some JVMs
- Isolated the Start-Class in a separate utility class as it is going to be used elsewhere
Resolves #421
2019-12-11 16:58:22 +01:00
Oleg Zhurakousky
3fb38e45c9
Revert "Bumping versions"
...
This reverts commit ef8d03645d .
2019-12-06 15:31:52 +01:00
Oleg Zhurakousky
a0f072a11d
GH-429 Fixed logic behind 'composed' flag
...
Fixed and simplified logic behind 'composed' flag in FunctionInvocationWrapper and added additional test
Resolves #429
2019-12-06 09:27:22 +01:00
Oleg Zhurakousky
8fac135937
Quick fix in the logic to determine 'composed' flag
2019-12-05 21:39:29 +01:00
buildmaster
ef8d03645d
Bumping versions
2019-11-22 18:55:20 +00:00
buildmaster
a42fc82586
Bumping versions to 3.0.1.BUILD-SNAPSHOT after release
2019-11-22 11:18:20 +00:00
buildmaster
1bb5f26040
Going back to snapshots
2019-11-22 11:18:20 +00:00
buildmaster
ca8842445e
Update SNAPSHOT to 3.0.0.RELEASE
2019-11-22 10:57:03 +00:00
Oleg Zhurakousky
744e32aed4
Changed default value of 'splittable' attribute of PollableBean annotation to 'true'
2019-11-22 10:32:15 +01:00
buildmaster
b9cc254eea
Going back to snapshots
2019-11-08 07:03:49 +00:00