Commit Graph

1331 Commits

Author SHA1 Message Date
Oleg Zhurakousky
84f29c51a3 Add common interface for function constants 2019-09-30 11:32:03 -04:00
Oleg Zhurakousky
ba49a81474 Change naming convention for multiple in/out 2019-09-30 10:56:25 -04:00
Oleg Zhurakousky
60d59ca24e Added jackson dependencies 2019-09-27 16:59:47 -04:00
Oleg Zhurakousky
d965d92b42 Add Spring Integration as function sample
Add Spring Integration as function docs

Addressed PR comments

polishing
2019-09-26 13:17:02 -04:00
Oleg Zhurakousky
8cf1dae6e8 GH-1809 Add docs for 'partitionKeyExtractorName' and 'partitionSelectorName'
Resolves #1809
2019-09-25 09:48:46 -04:00
Oleg Zhurakousky
3464f9c1e1 Update .travis.yml 2019-09-25 08:53:46 -04:00
Oleg Zhurakousky
5db1be12df Fix doc links 2019-09-24 10:06:23 -04:00
Oleg Zhurakousky
ec3b337ab4 Fix doc links 2019-09-24 09:47:45 -04:00
Oleg Zhurakousky
a10a239260 Fix doc links 2019-09-24 09:29:48 -04:00
Oleg Zhurakousky
58b8147319 Fix doc links 2019-09-24 08:48:53 -04:00
Oleg Zhurakousky
deb56012f2 Fix doc links 2019-09-24 08:27:21 -04:00
Oleg Zhurakousky
71d4cf1a5f Fix doc links 2019-09-24 08:01:06 -04:00
buildmaster
ba7cc8bd7f Bumping versions 2019-09-24 11:34:53 +00:00
buildmaster
30e8d3b1dd Going back to snapshots 2019-09-23 17:14:47 +00:00
buildmaster
8f4eea2c2b Update SNAPSHOT to 3.0.0.M4 2019-09-23 17:13:54 +00:00
Oleg Zhurakousky
cdeca51949 Update function to M3 2019-09-23 13:10:22 -04:00
Oleg Zhurakousky
4c94974261 Fix handling of native encoding/decoding for functions 2019-09-23 11:28:41 -04:00
Oleg Zhurakousky
19f843ed18 Changed '_' to '.' for convention used for function bean name delimiter
Disconneced MessageChannelConfigurer from function processing

Upgraded to SCF M3 and Californium SR11
2019-09-23 07:30:31 -04:00
Oleg Zhurakousky
c56b4d1ea9 Add initial support for functions wih multiple inputs/outputs as well as multiple functions
- Currently there is no multi-out support for Supplier and I am not really sure what the use case would be so holding off.
- The logic in FunctionConfiguration effectively split in bootstrapping simple functions (e.g., Function<String, String>) vs. multi-in/out (e.g., Function<Tuple2<Flux<String>, Flux<String>>, Flux<String>>). This is temporary given that multi-in/out is still considered WIP. Once it becomes stable we can merge the two two for consistency.
- Added multiple input/output support for TestBinder
- Updated documentation

Resolves #1746
Resolves #1745
Resolves #1314
2019-09-18 13:22:40 +02:00
Oleg Zhurakousky
1723a40786 Added test for the previously fixed NPE 2019-09-16 10:14:43 +02:00
Marcin Grzejszczak
0f635c32f7 Added a NPE guard 2019-09-16 08:38:24 +02:00
Oleg Zhurakousky
5013103fcf GH-1794 Additional fixes and refactoring 2019-09-13 17:45:25 +02:00
Oleg Zhurakousky
808c7ead77 Put @AutoConfigureBefore back to FunctionConfiguration 2019-09-11 20:49:28 +02:00
Oleg Zhurakousky
d93f170f2e GH-1710 Added note on adding custom Validator
Resolves #1710
2019-09-11 16:19:37 +02:00
Oleg Zhurakousky
752cf6003c GH-1781 Fall back on JAXB dependencies provided by boot
Resolves #1781
2019-09-11 15:41:43 +02:00
Oleg Zhurakousky
bfbf8bfd31 GH-1802 Add ConsumerProperties usage to reactive function configuration
Resolves #1802
2019-09-11 15:29:21 +02:00
Oleg Zhurakousky
284d37fa2b GH-1799 Defer channel initialization until it is configured
Resolves #1799
2019-09-11 14:33:29 +02:00
Oleg Zhurakousky
043bf8e8c6 GH-1803 Propagate BindingProperties to FunctionConfiguration
Resolves #1803
2019-09-10 15:59:19 +02:00
Oleg Zhurakousky
f3b696f35e GH-1748 - Enhance routing function with SpEL and application properties
Resolves #1748
2019-09-10 14:40:32 +02:00
Oleg Zhurakousky
aa495ac4ae GH-1801 Fix NPE when factory method is null
Fixed NPE for cases when factory method is null by attemptimng to discover factory method via source.MethodMetadata
Added tests

Resolves #1801
2019-09-06 17:32:18 +02:00
Soby Chacko
e870c6505a Move Schema Registry out of Spring Cloud Stream
Migrated to https://github.com/spring-cloud/spring-cloud-schema-registry

Resolves #1786
2019-08-27 15:44:01 +02:00
Walliee
ea924ffb95 GH-1793 Fix BinderErrorChannel subscriber count
Also, set component name on BinderErrorChannel object
so it doesn't show up as "unknown.channel.name"
Fix build

Resolves #1793
Resolves #1796
2019-08-27 15:39:48 +02:00
Phillip Webb
db0fff9d32 Migrate from deprecated CompositeHealthIndicator
Migrate `BindersHealthIndicatorAutoConfiguration` to use a
custom `CompositeHealthContributor` implementation rather
than the deprecated `CompositeHealthIndicator` class.
Resolves #1788
2019-08-27 15:25:51 +02:00
Sabby Anandan
d98471d86d Add RocketMQ to the binders list 2019-08-27 15:12:57 +02:00
Oleg Zhurakousky
51c4991b0d GH-1794 Disabled function initialization for legacy cases
Fix bypassing of the functional configuration for cases where legacy configuration elements are present (e.g., EnableBinding)
Resolves #1794
2019-08-27 15:04:03 +02:00
Oleg Zhurakousky
1d56f143d0 GH-1797 Added support for PollableSupplier annotation
Resolves #1797
2019-08-27 13:10:03 +02:00
Oleg Zhurakousky
6bf1714374 add test for implicit consumer binding 2019-08-22 20:43:34 +02:00
jmaxwell
0ad15247f6 GH-1760 Deprecated findBySubjectAndVersionadded findBySubjectAndFormat
Note also refactored and moved ServerController test class.
Increased coverage of ServerController to 100%.

polishing
2019-08-19 18:50:24 -04:00
Soby Chacko
8dbea0719c Restore a test in ConfluentSchemaRegistryClientTests
This test was removed in the previous PR commit 10b6d16ca3.
However, after making some slight adjustments, we can
still test this scenario.
2019-08-19 18:29:26 -04:00
zhouzhou19950825
10b6d16ca3 Mismatch with server receive parameter format
Making ConfluentSchemaRegistry registration process more consitent
with registering the Spring Cloud Stream ScheamRegistry server.
2019-08-19 17:56:03 -04:00
Oleg Zhurakousky
433bea8f26 GH-1784 Fix support for Consumer-type handlers
Resolves #1784
2019-08-19 19:01:38 +02:00
Oleg Zhurakousky
99581a6158 Ser s-c-function back to 3.0.0.B-S 2019-08-13 12:22:43 +02:00
buildmaster
4e04277fe3 Going back to snapshots 2019-08-13 07:37:28 +00:00
buildmaster
07d895b202 Update SNAPSHOT to 3.0.0.M3 2019-08-13 07:36:18 +00:00
Oleg Zhurakousky
35bdb9164b Adjusted docs with recent s-c-build updates
Upgraded to SCF 3.0.0.M2
2019-08-13 09:04:08 +02:00
Oleg Zhurakousky
6c772bba08 GH-1742 Adjusted previous commit to new function infrustructure
Resolves #1738
Resolves #1742
2019-08-07 16:18:14 +02:00
Gary Russell
9fd674909a GH-1742 Support Batch Listeners in Core (Function)
- Support `batchMode` in function properties so, for binders that support batch listeners, a message
  payload of `List<byte[]>` can be properly converted.
- In batch mode, handle
    `public Function<List<Person>, Person> func()`
    `public Function<List<List<Person>>, Person> func()`
    `Function<Message<List<Person>>, Person> func()`
- Also use `ParameterizedType` as a conversion hint for `public Function<List<Person>, Person> func()`
  when not in batch mode (json: `[{\"name\":\"bob\"},{\"name\":\"jill\"}]`). Previously, just the'
  class was used without generic type information.

Move batchMode to ConsumerProperties.

Fix imports

Remove duplicate test from if test for message conversion.
2019-08-07 15:58:59 +02:00
Oleg Zhurakousky
562a025cda GH-1762 Fixed binding lifecycle control to ensure it is based on bindingName
Resolves #1762
2019-08-07 11:10:02 +02:00
Oleg Zhurakousky
10682c6805 GH-1770 additional fixes on BindingService lifecycle 2019-08-07 10:46:33 +02:00
Oleg Zhurakousky
c35e362d10 GH-1772 remove temporary scope declaration
Resolves #1772
2019-08-07 09:20:30 +02:00