Commit Graph

1463 Commits

Author SHA1 Message Date
Oleg Zhurakousky
8a30fea67a GH-1924 Add support for dynamic destinations to StramBridge
Resolves #1924
2020-03-24 17:09:07 +01:00
Oleg Zhurakousky
ef6ba54d88 GH-1927 Add SpelConverter to child ConversionService
Resolves #1927
2020-03-24 12:20:55 +01:00
Oleg Zhurakousky
b45309372e GH-1932 Add support for propagating customizer to child context
Given that ListenerContainerCustomizer is reggistered with the parent context and for multi-binder or binder environment customization such context is not set as a parent to binder context beans such as ListenerContainerCustomizer were not visible. This fix copies ListenerContainerCustomizer(s) from parent context to child context for such cases.

Resolves #1932
2020-03-24 11:12:28 +01:00
Oleg Zhurakousky
d16acf6475 GH-1931 Enhance header propagation in StreamBridge
Given that StreamBridge is just a bridge and should honor whetever user sends through it, this fix ensures that message headers set by user are propagated

Resolves #1931
2020-03-23 16:30:45 +01:00
Oleg Zhurakousky
270d3b79f7 Update issue templates 2020-03-15 08:41:11 +01:00
Oleg Zhurakousky
7de0037627 Update issue templates 2020-03-15 08:13:55 +01:00
Oleg Zhurakousky
655e48ea3a Update issue templates 2020-03-15 08:13:13 +01:00
Oleg Zhurakousky
4e044ae06e Update issue templates 2020-03-15 08:08:21 +01:00
Oleg Zhurakousky
c254777da8 Update issue templates 2020-03-15 08:07:11 +01:00
Oleg Zhurakousky
639f0de771 Update issue templates 2020-03-15 08:04:26 +01:00
Oleg Zhurakousky
957976adfa Bump s-c-function to 3.0.4.B-S
Change docs reference of StreamBridgeUtils to StreamBridge
2020-03-09 20:11:53 +01:00
Soby Chacko
8b3b0815a4 Update s-c-build to 3.0.0 snapshot 2020-03-04 20:05:22 +01:00
Oleg Zhurakousky
3d941329e7 Put back producer property description 2020-03-02 17:53:11 +01:00
Oleg Zhurakousky
eee1b1385c GH-1920 Add MessageConverter filtering logic
This way we ensure that only custom converters and converters defined by stream are included
effectively eliminating the possibility of other auto-configuration interfering with their converters

Resolves #1920
2020-03-02 13:13:31 +01:00
Oleg Zhurakousky
ad7bf9563f GH-1919 Fix function+consumer composition
Ensured that when composing Function and Consumer no output binding is created. The initila fix was part of #1911 which addressed the reactive function/consumer combination. This fix does the same for imperative function/consumer combination

Resolves #1919
2020-03-02 09:58:36 +01:00
Oleg Zhurakousky
e52266c01f Fix typo 2020-02-28 04:48:07 +01:00
Oleg Zhurakousky
0debb8d64f GH-1912 Added support for non-reactive-source messaging bridge
Currently the use of reactive EmitterProcessor is the only way to connect foreign sources such as HTTP with spring-cloud-stream
The newly added StreamBridgeUtils class provides a simpler mechanism to brideg non-stream application with stream application without requiring reactor API while also honoring the same type conversion and partitioning contract used by functions

Added docs

Resolves #1912

Address PR comments

Resolves #1918
2020-02-27 18:13:26 +01:00
Oleg Zhurakousky
6d4ab48358 GH-1911 Fix support for Function<Flux, Mono<Void>>
Basically the Function<Flux, Mono<Void>> shoudl be treated as Consumer while allowing reference to the Flux so additional operations coudl be applied, but it will no longer result in creation of dummy output destination

Resolves #1911
2020-02-27 16:00:36 +01:00
Oleg Zhurakousky
58efbb1586 Polishing previous work 2020-02-26 19:47:27 +01:00
Oleg Zhurakousky
f25d37683f GH-1917 add missing support for composing reactive function
Added missing support for composing reactive function to an existing legacy source. Imperative functions already had such support
Added tests as well as minor refactoring/cleanup in FunctionConfiguration

Resolves #1917
2020-02-26 09:51:11 +01:00
Oleg Zhurakousky
b5e9444d0c GH-1916 Fix partition support for reactive functions
Fixed output partition support for reactive functions. For imperative functions it was already addressed with https://github.com/spring-cloud/spring-cloud-stream/issues/1893
Added tests

Resolves #1916
2020-02-24 16:39:24 +01:00
Oleg Zhurakousky
1361e2b092 Update POMs for Ivyland 2020-02-14 10:48:02 +01:00
Oleg Zhurakousky
6d2a07c601 Remove schema and reactive modules 2020-02-14 10:36:20 +01:00
buildmaster
54b9fb63a7 Bumping versions to 3.0.3.BUILD-SNAPSHOT after release 2020-02-13 08:02:28 +00:00
buildmaster
59709fb6d2 Going back to snapshots 2020-02-13 08:02:28 +00:00
buildmaster
cda48351a0 Update SNAPSHOT to 3.0.2.RELEASE 2020-02-13 07:59:55 +00:00
Oleg Zhurakousky
4dff694beb upgraded to lates s-c-function and s-c-build
cleaned javadoc errors in some modules
2020-02-12 19:07:27 +01:00
Oleg Zhurakousky
f742dca2a7 Added temporary fix to avoid breaking change due to new functionality in functions 2020-02-12 15:43:25 +01:00
Oleg Zhurakousky
6fc3b85481 GH-1876 Some cleanup on functional and annotation mix
Some plishing and cleanup as well as re-enabling few tests,. but as explained in GH issue there is really nothing to fix here since the behav ior is by design.
2020-02-11 14:09:59 +01:00
Oleg Zhurakousky
897cb670aa GH-1897 Fixed javadocs
Fixed javadocs issues that were preventing javadocs from being generated

Resolves #1897
2020-02-11 09:25:40 +01:00
Soby Chacko
a8dd003b34 Add missing properties in DefaultPollerProperties
cron and initialDelay properties in DefaultPollerProperties

Resolves #1903
2020-02-10 16:53:39 +01:00
Oleg Zhurakousky
51f6187e39 GH-1893 Added partition support for Supplier
- Expended functional support for SpEL-based partitioning of outgoing messages that was added cce66f338a to Supplier.
- Added tests

- polished docs

Resolves #1893
2020-02-10 16:42:56 +01:00
Oleg Zhurakousky
968d3581df Updated initializr image 2020-02-06 14:48:50 +01:00
Oleg Zhurakousky
2dc7e89345 GH-1902 Added support for contentType value as byte[]
changed stream overview image to showcase functional programming model

Resolves #1902
2020-02-06 14:31:19 +01:00
Oleg Zhurakousky
cce66f338a GH-1893 Fix SpEL partition support
Consolidated code around PartitionHandler and interceptor

Consolidated ContentTypeConfiguration and the returning CompositeMessageConverter

Added support (reluctantly) to allow SpEL expressions for determining partition for function programming model. In other words something like  would work

That said, it is highly recommended to never use payload as a source for any kind of expressions (input or output) as payload constitutes privileged information that should only be accessible to he producer and consumer.

Resolves #1893
Resolves #1877
2020-02-05 17:48:04 +01:00
Oleg Zhurakousky
2fca323654 Additional enhancements to dynamic binding test feature 2020-02-03 13:23:43 +01:00
Oleg Zhurakousky
ce221adf0d Fixing check styles in last commit 2020-01-31 07:05:19 +01:00
Oleg Zhurakousky
a1449d6524 Adding utility for manual binding for testing 2020-01-31 05:43:47 +01:00
Oleg Zhurakousky
93a489ac9a Updated testing section with destination naming
Related to #1894
2020-01-29 11:03:48 +01:00
Oleg Zhurakousky
41ab7abc51 GH-1894 Added test to demonstrate testing with explicit bindings
Resolves #1894
2020-01-27 17:56:42 +01:00
Oleg Zhurakousky
67b36959fd GH-1885, GH-1896 Added tests for conversion of collection of messages
Also, fixed the routing exception when function returns a publisher

Resolves #1885
Resolves #1896
2020-01-27 17:29:10 +01:00
Oleg Zhurakousky
4077b0d728 GH-1898 Fix map/collection tyoe conversion
Delegated conversion of individual collection elements that are  non-String and non-byte[] to ObjectMapper
In the future we can potentially explore delegation to Spring's ConversionService

Resolves #1898
2020-01-27 11:33:47 +01:00
Oleg Zhurakousky
a94e533a50 GH-1894 Added support for named destination in test binder
Deprecated indexed operations
Modified several tests to use new operators

Resolves #1894
2020-01-24 19:16:21 +01:00
Oleg Zhurakousky
e1a3b72027 GH-1894 interim 2020-01-24 18:18:40 +01:00
Oleg Zhurakousky
badd024207 GH-1895 Made test binder not eligible as default
This effectively ensures that it has to be explicitly added

Resolves #1895
2020-01-24 17:53:14 +01:00
Oleg Zhurakousky
92379f60c7 GH-1891 Updated the doc by adding a note on Consumer 2020-01-24 13:21:48 +01:00
Oleg Zhurakousky
358dc106ca GH-1891 Added test to validate propper behavior of stateful functions
While the original issue was addressed with the reversak of a5e990b2d0 commit
this commit simply adds a test to validate the expected behavior

Resolves #1891
2020-01-23 19:27:35 +01:00
Oleg Zhurakousky
664629573f Polished subscribtion logic in FunctionConfiguration 2020-01-23 18:13:56 +01:00
Oleg Zhurakousky
a5e990b2d0 Revert "Additional consolidation and simplification of logic around bootstrapping multiple argument and single arguments functions"
This reverts commit c614e15f10.
2020-01-23 16:33:52 +01:00
Stephen Oakey
3461b97286 Add @ConditionalOnAvailableEndpoint to Actuator Endpoints
Resolves #1889

- Added @ConditionalOnAvailableEndpoint to endpoint bean
definitions so that they may be managed by Spring Boot's
configuration properties.
2020-01-21 20:23:13 +01:00