Commit Graph

316 Commits

Author SHA1 Message Date
Dave Syer
8036c6712e Add spring profiles for repos 2016-01-08 13:16:38 +00:00
Dave Syer
a036e5ed04 Add extra dependencies module 2016-01-08 12:33:54 +00:00
Ilayaperumal Gopinathan
fa89e5bcb6 Handle binder config in BindingProperties
- Per-binding properties defined in `BindingProperties` need to hold the binder specific configurations needed when binding producer/consumers.
Previously, these were added in `ChannelBindingServiceProperties` as producer/consumer properties. Since these configuration properties are for
per-binding based on the input/output (consumer/producer) channel being bound it is better to move these properties into `BindingProperties`.
 - Add some of the supported producer/consumer properties into BindingProperties

- This fixes #256

Rename CommonBinderProperties -> BinderPropertyKeys

Rename class AbstractBinderPropertiesAccessor.java -> AbstractBindingPropertiesAccessor.java
2015-12-30 14:08:56 -05:00
Mark Pollack
373dd12fbb Change remoteRepositories default to libs-snapshot post release 2015-12-22 10:45:43 -05:00
Ilayaperumal Gopinathan
e858e0ba81 Correct BindingProperties' toString() 2015-12-22 20:37:57 +05:30
Ilayaperumal Gopinathan
2df173202d Fix PartitionedConsumerTest's local variable name 2015-12-22 19:52:14 +05:30
Ilayaperumal Gopinathan
62865679a7 Remove tap sample
Use correct URL
2015-12-22 00:22:06 -05:00
Mark Pollack
b9b09b08b8 Change remoteRepositories default to libs-milestone for M3 release 2015-12-21 18:00:53 -05:00
Mark Fisher
98863db7c2 reverted to snapshot repo for module resolution 2015-12-21 17:07:34 -05:00
bamboo
b869cb8c4b [artifactory-release] Next development version 2015-12-21 17:18:25 +00:00
bamboo
f3d46fc120 [artifactory-release] Release version 1.0.0.M3 2015-12-21 17:18:25 +00:00
Mark Pollack
17d49bebde Default repository location for ModuleResolverProperties should be libs-milestone 2015-12-21 11:53:48 -05:00
Ilayaperumal Gopinathan
7550a89a25 Fix doc 2015-12-21 13:25:21 +05:30
Gary Russell
7ee5df4033 RabbitMQ Cleanup (New Tests).
Simple polishing.
2015-12-18 22:24:12 -05:00
Ilayaperumal Gopinathan
100a68c1bf GH-196 Add Message History Tracking
- Add `MessageChannelConfigurer` that any class that configures the message channel would implement
   - Have `message-converter` and `message-history-tracking` configurer implement this interface
  - Autowire all available configurers and use them to configure the message channel
  - For the message history tracking
    - add `channel-binding` properties as part of message header along with `timestamp`

 - Introduce CompositeMessageChannelConfigurer

Remove field injection of messageChannelConfigurer

Add tests for message track history configurer

Add content-type configurer test

Address review comments

 - Add `toString` to BindingProperties
 - Add test case to depict producer/consumer properties

Remove processor channels from tests
2015-12-18 20:13:40 -05:00
Mark Pollack
001ad52f4a Add additional doc correction 2015-12-18 16:59:29 -05:00
Marius Bogoevici
7b077817e5 GH-240 GH-235 Documentation review, partitioning
* Add multibinder docs

Resolves #240, #235
2015-12-18 16:52:39 -05:00
Mark Pollack
56f6874627 Update to spring-cloud-commons 1.1.0.M3 2015-12-18 10:59:13 -05:00
Mark Pollack
fb215413e8 Use small jre8 docker image for module launcher 2015-12-18 10:51:42 -05:00
Eric Bottard
286ba44ff1 Remove TODOs 2015-12-18 16:44:08 +01:00
Mark Pollack
de2463a4e6 Update to spring-cloud-build 1.1.0.M4 and spring-cloud-common 1.1.0.M3
* tidy up pom to remove redundant section
* provide simple fall back for building non branch changes in travis
* Add -s .settings.xml to .mvn/maven.config
2015-12-18 10:34:04 -05:00
Mark Fisher
9dfa9c9218 renamed ChannelFactory to BindableChannelFactory
This clarifies the contract as this interface is intended for
creation/configuration of the bindable channels only.
2015-12-18 09:17:27 -05:00
Ilayaperumal Gopinathan
3afa3d8bd3 Remove configuring shared message channel
Simplify ChannelFactory interface

 - Use separate methods for each message channel type (Subscribable/Pollable)
2015-12-18 09:07:48 -05:00
Mark Pollack
13247b191a Build docs on PR requests in Travis CI 2015-12-17 22:39:11 -05:00
Gary Russell
2672858982 GH-236: EmbeddedHeadersMessageConverter Multibyte
Fixes #236

Buffer overflow when converting multi-byte characters from
Unicode to UTF-8.
2015-12-17 19:28:51 -05:00
Gary Russell
cd8a9ffd16 GH-234: Update SI to 4.2.4.RELEASE
Resolves #234
2015-12-17 19:07:17 -05:00
Mark Fisher
df1817cc51 polishing 2015-12-17 18:38:35 -05:00
Marius Bogoevici
a4f97b364e Binders with default settings inherit from module's configuration
Resolve #229

* Optimizes connection factory creation for binders that can use Boot's autoconfiguration
* Make binder contexts a child of main context when creating a Binder with default configuration settings
* Inherit environment from main context when the Binder context is not a child, and make that optional
* Default environment inheritance to true
* Tests
2015-12-17 11:51:10 -05:00
Dave Syer
44d3fa4a90 Inherit Environment from main context when creating a Binder
The DefaultBinderFactory makes use of SpringApplicationBuilder to
build a context containing a binder. It has access to the Environment
of the surrounding context, but doesn't use it, and doesn't use it
(before this change). Users will be surprised if (for instance) they
change the default rabbitmq hostname and the change doesn't propagate
to the binder.
2015-12-17 15:00:19 +00:00
Eric Bottard
81b04de222 Expose configuration metadata groups 2015-12-15 10:39:41 -05:00
Mark Pollack
c96c6fcd22 Add -s .settings.xml back to .travis.yml maven command 2015-12-11 17:23:24 -05:00
Marius Bogoevici
bf178360ee Remove autoconfig
Ensure that the autoconfig and the cloud config don't overlap

Removed SeedConfiguration
2015-12-10 13:35:26 -05:00
Marius Bogoevici
029cacb419 Make error message check on converter missing more lenient in tuple tests 2015-12-10 12:59:36 -05:00
Mark Pollack
e7712bf122 Travis updates
* No need to reference .settings.xml as it is picked up automatically
* Switch to force snapshot updates on PR builds
2015-12-10 11:04:32 -05:00
Marius Bogoevici
a4fe3efaef Disabling SpringApplicationAdmin for binders, as they are under the control of the main application 2015-12-09 17:58:12 -05:00
Mark Pollack
1336440533 Add maven based docs, remove ./docs directory 2015-12-09 16:28:37 -05:00
Gary Russell
d64a2e1335 GH-224: Update to SI 4.2.3.RELEASE
resolves #224
2015-12-09 15:08:57 -05:00
Marius Bogoevici
95b3c4e47b Change test binder to always override existing binders 2015-12-09 14:21:09 -05:00
Marius Bogoevici
96f96f7621 Initial implementation of multibinder support
- Addresses #138,#172,#173 with support for multiple binders in an application
- Binders can be of multiple types (e.g. Rabbit or Kafka), as well as multiple binders of the same type connecting to different system (e.g. multiple Rabbit binders connecting to different Rabbit clusters)
- Binders are now created in a separate context, allowing for multiple configurations
- Adds the `spring.cloud.spring.binders` namespace that allows for creating configuration properties for multiple binders
- Add support for default binder, modify Kafka tests to use multiple brokers when running embedded
2015-12-09 11:08:04 -05:00
Sabby Anandan
ac395f84e5 Add waffle badges and Bamboo build icon 2015-12-07 17:21:49 -05:00
Mark Pollack
1302808918 Add missing colon to travis.yml 2015-12-07 15:49:51 -05:00
Mark Pollack
ed2c4f3146 Add missing quote for .travis.yml script command 2015-12-07 15:33:57 -05:00
Eric Bottard
d8c1971c43 GH-92: Remove build log noise
Resolves spring-cloud/spring-cloud-stream#92

Also

* Remove publishing build configuration from .travis.yml

This are not needed as we use Bamboo for release managment

* javadoc and surefire plugins added to pom.xml
2015-12-04 12:26:45 -05:00
Mark Fisher
4e5277c0d0 removed unnecessary dependencies 2015-11-30 18:02:18 -05:00
Marius Bogoevici
bcff75b20b GH-213 Merge Binder SPI into Core
- Moved contents of `spring-cloud-stream-binder-spi` into `spring-cloud-stream`
- Removed `spring-cloud-stream-binder-local` and used local binder implementation for tests exclusively
2015-11-30 17:28:24 -05:00
Gary Russell
6f1f246dfb GH-211: PubSub Group Default to Random UUID
Resolves #211

Add a default UUID to the `BindingProperties.group` so a pubsub binding is
unique unless the group is specifically set.
2015-11-30 13:32:31 -05:00
Mark Pollack
3241e46c91 Add support for arrays in tuple conversion and general tuple tests 2015-11-27 10:08:12 +05:30
Ilayaperumal Gopinathan
73ba7b059d Fix deprecated use of boot's showBanner
- Use setBannerMode instead
2015-11-20 08:37:59 -05:00
Marius Bogoevici
770047871b Moved Rabbit management outside with the Rabbit bus 2015-11-19 17:15:02 -05:00
Ilayaperumal Gopinathan
ae770cec69 Use ChannelFactory
- ChannelFactory to create message channels and configure message converters

Autowire ChannelFactory

Create message channel on demand

ChannelFactory implementation to use SharedChannelRegistry

Create ChannelFactory interface
2015-11-19 14:52:33 -05:00