Commit Graph

897 Commits

Author SHA1 Message Date
Oleg Zhurakousky
be96ec00cf Polish SI test binder after maven publishing
- Renamed classes and package to be consistent with the intentions of this binder (e.g., TestChannelBinder, TestChannelBinderConfiguration etc)
- Added package-info.java

Resolves #1241
2018-02-22 20:56:30 -05:00
Soby Chacko
e50801c824 Publish SI test binder jar as a maven artifact
- spring-cloud-stream module will build a new test-jar called spring-cloud-stream-<version>-test-binder.jar
 - This artifact contains all the classes from the package org/springframework/cloud/stream/binder/integration/
   in test source for spring-cloud-stream
2018-02-22 20:56:30 -05:00
Oleg Zhurakousky
cc9cc92a1b GH-1079 Removed old metrics infrustructure
Resolves #1079
2018-02-22 15:32:54 -05:00
Soby Chacko
28c22787fe Revert spring-integration bom change commit 2018-02-22 09:41:30 -05:00
Soby Chacko
26eea1c3d5 Overriding Spring Integration BOM temporarily 2018-02-22 09:22:43 -05:00
Oleg Zhurakousky
bb76df5258 Polished backward compatibility comments in MessageConverterConfigurer 2018-02-22 08:05:12 -05:00
Oleg Zhurakousky
d761e17a68 GH-1062 Polished BindingsEndpoint 2018-02-21 21:13:56 -05:00
Oleg Zhurakousky
67d310da8c GH-1062 Added initial support for actuator endpoint for input bindings
Resolves #1062
Resolves #1239
2018-02-21 17:32:53 -05:00
Oleg Zhurakousky
8ae311eb1e Merge remote-tracking branch 'upstream/master' 2018-02-20 17:46:40 -05:00
Oleg Zhurakousky
a591e345c1 GH-1098 Fixed argument resolution for typed collections
Resolves #1098
2018-02-20 17:43:20 -05:00
Gary Russell
aa5031e5d4 GH-1205: Partitioning Doc Polishing (#1235)
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1205
2018-02-20 15:30:53 -05:00
Oleg Zhurakousky
3ab33e947c @Ignored BindingServiceTests.testLateBindingConsumer - Inconsistent 2018-02-20 11:53:07 -05:00
Oleg Zhurakousky
faf88b201f GH-1233 adjusted code to recent changes in boot
Resolves #1233
2018-02-20 10:30:34 -05:00
Oleg Zhurakousky
402543a5cc GH-858 made RetryTemplate injectable
Resolves #858
2018-02-19 17:20:54 -05:00
Oleg Zhurakousky
c46135214e GH-1230 General cleanup of BindingServiceConfiguration
- removed BindableAdapter
- removed ChannelBindingServiceProperties
- other minor polishing

Resolves #1230
2018-02-18 15:57:24 -05:00
Oleg Zhurakousky
9dde0602e6 GH-1229 general cleanup in BinderAwareChannelResolver
Resolves #1229
2018-02-17 16:48:42 -05:00
Oleg Zhurakousky
09f4c8118f GH-1228 Type resolvers cleanup
- moved OriginalContentTypeResolver to avro module
- removed StringConvertingContentTypeResolver as it is no longer referenced anywhere
- deprecated KryoMessageConverter

Resolves #1228
2018-02-17 16:35:21 -05:00
Oleg Zhurakousky
82cb15b709 GH-1065 Polished POMs to pull boot managed rx version
Resolves #1065
2018-02-17 08:29:06 -05:00
Oleg Zhurakousky
f263746420 GH-1214 Fixed ClassUtils check for Servlet API
Resolves #1214
2018-02-17 07:42:42 -05:00
Oleg Zhurakousky
746dbc1bd3 GH-1219 Fixed channel instrumentation in BinderAwareChannelResolver
- added support for instrumenting dynamic channels with global interceptors
- added test

Resolves #1219
Resolves #1227
2018-02-17 07:30:01 -05:00
jmaxwell
275c212d47 1217 Disable Pretty Print
Resolves #1224
2018-02-14 13:44:38 -05:00
Oleg Zhurakousky
21d1dbea83 Polishing DefaultSchemaRegistryClient
- made RestTemplate final
- removed setter

Resolves #1222 #1223
2018-02-14 10:40:10 -05:00
jmaxwell
c2b3194fb9 1222 DefaultSchemaRegistryClient should accept a custom RestTemplate.
Added protected accessors to allow subclasses access to RestTemplate and endpoint fields.
2018-02-14 10:21:17 -05:00
Oleg Zhurakousky
d8a9471012 Polishing AvroSchemaRegistry stuff
- removed deprecated constructor from AvroSchemaRegistryClientMessageConverter
- fixed test
- formatting

Resolves #1221 #1218
2018-02-14 10:15:17 -05:00
jmaxwell
f5d625e9de 1218 Inconsistent use of AvroSchemaRegistryClientMessageConverter.AVRO_FORMAT 2018-02-14 09:50:53 -05:00
jmaxwell
a160cd7ea8 1215 CachingCachingRegistryClient stores data by wrong keys resulting in fetch operations always missing.
Resolves #1216
2018-02-13 20:37:42 -05:00
Oleg Zhurakousky
0463f7939d GH-1175 Removed dependency on spring-boot-starter-web
- Removed spring-boot-starter-web dependency from the core
- Polished AggregateApplicationBuilder to ensure it thriows meaningful exception when web is enabled but 'spring-boot-starter-web' is not on the classpath
- fixed Aggregator tests to defualt to no-web
- added spring-boot-starter-web to schema projects

Resolves #1175
2018-02-09 10:39:52 -05:00
Oleg Zhurakousky
0332d16c48 GH-1210 Fixed AbstractReplyProducingMessageHandler post processing
- addNotPropagatedHeaders(..) is now moved to simple ApplicationListener listening for ContextRefreshedEvent

Resolves #1210
2018-02-08 17:36:57 -06:00
Oleg Zhurakousky
6a95154302 GH-1209 upgraded to Reactor Bismuth.SR5
Resolves #1209
2018-02-06 10:44:22 -06:00
Soby Chacko
2124955281 Update spring-cloud-tools parent version 2018-02-06 07:34:54 -05:00
Soby Chacko
bac85f1a5b Back to 2.0.0.BUILD-SNAPSHOT 2018-02-05 13:54:26 -05:00
Soby Chacko
5a62215514 Update for 2.0.0.M4 Release 2018-02-05 13:30:40 -05:00
Oleg Zhurakousky
1211a273f6 Added support for framework provided converter to DefaultPollableMessageSource
- Merged SmartJsonMessageConverter with ApplicationJsonMessageMarshallingConverter
- Fixed Tests
- Fixed SpringIntegrationChannelBinder to enforce byte[] payload type for polling delegate
- Other minor polishings

Resolves #1197
2018-02-04 13:26:06 -05:00
Gary Russell
57f56dc6f5 Pollable Consumer Payload Conversion
- support payload conversion for polled consumers

Cache Types
2018-02-04 13:21:19 -05:00
Oleg Zhurakousky
ee06a605d9 addressed PR comments 2018-02-03 07:33:27 -05:00
Oleg Zhurakousky
9672a5b4df Fixed double conversion issue
- removed custom conversion from In/Out interceptors delegating everything to the available  MessageConverters
- added initial version of content-type TCK to validate various content-type conversion scenarious
- added initial content-type conversion matrix to the WIKI https://github.com/spring-cloud/spring-cloud-stream/wiki/Content-type-conversion-matrix

Resolves #1130
Resolves #1071
2018-02-03 07:33:27 -05:00
Oleg Zhurakousky
f4fb7c124b GH-1208 Added javadoc to Bind*Properties
Resolves #1208
2018-02-03 07:29:42 -05:00
jmaxwell
6a23cf95f5 1202 Inconsistent use of this.prefix in AvroSchemaRegistryClientMessageConverter.resolveSchemaForWriting
Resolves #1202
Resolves #1203
2018-02-01 08:37:13 -06:00
Gary Russell
b26a9819ee GH-1193: Fix Late Binding
LateBinding fields must be volatile for the test to be sure
to get the value (they should be volatile anyway).
2018-01-24 15:32:30 -05:00
Gary Russell
d0c7684ad6 GH-1193: Increase late binding test timeouts 2018-01-24 15:09:19 -05:00
Gary Russell
100e7fd8cd GH-1193: Fix test race condition
Fixes https://github.com/spring-cloud/spring-cloud-stream/issues/1193
2018-01-24 13:36:26 -05:00
Gary Russell
b12480c487 GH-1191: Add test support for pollable sources 2018-01-24 13:01:25 -05:00
Oleg Zhurakousky
d5bfddc7fc polishing
Resolves #1190
2018-01-24 09:58:29 -05:00
Gary Russell
cef7f0b70c GH-1186: Polled Consumer Documentation
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1186
2018-01-24 09:55:51 -05:00
Gary Russell
e040cf02b4 Pollable Consumer : Start Source if Lifecycle
When binding a `MessageSource`, start it if it implements `Lifecycle`.

Resolves #1189
2018-01-23 13:48:45 -05:00
Soby Chacko
c1749ca866 New abstraction for StreamListener method setup invoker.
StreamListenerMethodSetupOrchestrator is an API hook that allows
downstram binder implementations or applications to inject custom
strategies to alter the default StreamListener adapter method invocations.

This PR primarily focuses on allowing customizations on the oubound side.
For the inbound, StreamListenerMethodSetupOrchestrator interface provides
a default implementation.

Corresponding refactoring in StreamListenerAnnotationBeanPostProcessor.
By default StreamListenerAnnotationBeanPostProcessor will use the current
strategies used for invoking the StreamListener adapters. If beans are provided
for orchestration, they take precedence however.

Test changes.

Further polishing in StreamListenerAnnotationBeanPostProcessor.

Resolves #1177
Resolves #1179
2018-01-18 11:59:43 -05:00
Oleg Zhurakousky
9ef1181f7a Merge pull request #1184 from garyrussell/docFix
Various Doc Fixes
2018-01-16 15:45:45 -05:00
Gary Russell
cb25d7d369 Various Doc Fixes
- missing `}` in one code snippet caused syntax-highlighting problems in asciidoc-aware editors such as atom
- use spaces, not tabs for code snippets
- Change markdown to asciidoc for one snippet
2018-01-16 15:34:44 -05:00
Oleg Zhurakousky
00748985d6 Support @Beans for Partitioning Properties
Fixed support for partition properties to be Spring configured

- Fixed support for 'partitionKeyExtractor' and 'partitionSelector' to be Spring configured
- Added new producer properties 'partitionKeyExtractorName' and 'partitionSelectorName'
- Deprecated 'partitionKeyExtractorClass' and 'partitionSelectorClass' properties
- Removed InitilaizingBean from MessageConverterConfigurer
- Updated documentation
- Added additional tests
- Removed PartitionedProducerTest  as redundant
- Fixed unrelated to this effort BinderPropertiesTests due to recent Boot changes

polishing
2018-01-16 15:24:16 -05:00
Oleg Zhurakousky
b3d5c4f518 Simplified contentType negotiation
In preparation to contentType TCK, simplified InboundContentTypeConvertingInterceptor's logic
2018-01-15 14:49:24 -05:00