Commit Graph

171 Commits

Author SHA1 Message Date
Ilayaperumal Gopinathan
44bf181ff0 AutoConfigure redisCloud before redis auto-config 2015-08-20 17:48:49 -07:00
Ilayaperumal Gopinathan
55591889e1 Add auto-config for Local binder
- Make `local` binder compile dependency as optional
 - Add `local` binder auto configuration
    - This imports local binder properties and binder
 - Add `spring.factories` to enable auto configuration when this archive
is on the classpath
2015-08-20 15:08:17 +02:00
Marius Bogoevici
1c57a85a52 Allow method parameters as target for @Input and @Output
So that they can qualify @Bean method arguments
2015-08-19 21:42:12 -04:00
Eric Bottard
2ab2d5c1a9 Add a converter String->Expression 2015-08-19 16:29:36 -04:00
Mark Fisher
a20d151217 default matcher timeout is now 5 seconds 2015-08-19 16:23:50 -04:00
Eric Bottard
645b49129d Make immediate receive the default 2015-08-19 16:23:50 -04:00
Ilayaperumal Gopinathan
06762afed2 TimeSource uses default autoStartup=true
- Since the ChannelBindingAdapter is `SmartLifecycle` bean and it starts before
the message producing time source adapter we can remove explicit `autoStartup=false` for TimeSource sample
2015-08-19 13:16:33 -07:00
Ilayaperumal Gopinathan
a335704833 Remove ChannelBindingAdapterRunner
- Since `ChannelBindingAdapter` implements `SmartLifecycle`, it is expected to start with the highest precedence when the lifecycle beans are started.
 - Remove `autoStartup` from `ChannelBindingProperties`
   - This property was used by the CBARunner to start the CBA if autoStartup is true
     - Since all the lifecycle beans (inbound/outbound channel adapters) are started with appropriate phase and autoStartup flag the ChannelBindingProperties's autoStartup isn't needed.
2015-08-19 11:21:32 -07:00
Ilayaperumal Gopinathan
e5ffdc8334 Set outputchannel after CBA stop() in tests 2015-08-19 08:43:40 -07:00
Ilayaperumal Gopinathan
d688dc76bd Add SmartLifecycle to ChannelBindingAdapter
- Also set Integer.MIN_VALUE as the phase value for CBA that enables this lifecycle bean to start
before any other message producing lifecycle beans
2015-08-18 17:07:51 -07:00
Marius Bogoevici
108ac82df3 Also honour ApplicationContextAware 2015-08-18 17:07:28 -04:00
Marius Bogoevici
79c13a8ab2 DirectChannelFactoryBean should set the bean name and bean factory on created instance 2015-08-18 16:49:29 -04:00
Ilayaperumal Gopinathan
3dac86a18a Remove throws InterruptedException from sample main 2015-08-17 15:21:46 -07:00
David Turanski
f39b190492 remove .idea/copyright 2015-08-17 16:12:38 -04:00
Eric Bottard
e2497efa39 XD-3381: Provide test support for modules 2015-08-17 13:33:15 -04:00
Dave Syer
6d01a2ef79 Add getter to array property for binding
@ConfigurationProperties cannot bind to an array without a getter
2015-08-16 08:17:29 +01:00
Eric Bottard
b8f23770f7 Check in copyright settings 2015-08-15 13:21:03 -04:00
Marius Bogoevici
70de593da7 Enable 'spring' profile by default 2015-08-14 15:55:00 -04:00
Marius Bogoevici
9b0ff80a52 Remove @MessageEndpoint from @EnableModule 2015-08-14 15:34:42 -04:00
Marius Bogoevici
76eb34256e Set autoStartup to false on the TimeSource
Prevents the endpoint from starting before it's bound, thus throwing Dispatcher errors
2015-08-14 15:24:03 -04:00
Dave Syer
690f69420f Fix .travis.yml to use wrapper 2015-08-14 10:14:27 +01:00
Dave Syer
bf10975967 Move repository declarations into profile 2015-08-14 10:13:35 +01:00
Dave Syer
64aaf24f25 Fix .travis.yml 2015-08-14 10:12:16 +01:00
Dave Syer
cc1c76f852 Add missing Maven wrapper 2015-08-14 10:08:25 +01:00
Marius Bogoevici
54fe8021a3 DirectChannelFactoryBean now advertises DirectChannel as bean type 2015-08-13 15:24:03 -04:00
Ilayaperumal Gopinathan
4ab01b6e7b Support comma separated remote repos
- Change `remoteRepository` option to `remoteRepositories` that accepts comma separated string values.
 - AetherModuleResolver would expect set of remote repositories and create `RemoteRepository` list
for the given set.

Use String[] for remoteRepositories

 - This will let spring boot's ConfigurationProperties handle the properties
and use the Map<String,String> for remoteProperties in AetherModuleResolver
 - Generate ID for the map
2015-08-13 14:20:24 -04:00
Dave Syer
15e3c6066f Re-instate lazy lookup for Binder in DestinationResolver
It's important not to depend on something heavyweight like a Binder
in a BeanPostProcessor. The usual trick (as implemented here) is
to do a lazy lookup of the thing that is eventually injected in the
post processes beans.

Fixes gh-82
2015-08-13 13:34:05 -04:00
Dave Syer
dafa0fdf40 Fix dependencies
In order to join the Spring Cloud release train we have to align the
dependencies and (more importantly) the dependency management strategy.
The strategy is to not put version  ids in <dependencies> (only
in <dependencyManagement>) where possible. And more importantly
we cannot use the releae train itself (creates a cycle).

This change achieves most of that (and mkae it possible for client
apps to use spring-cloud-starter-parent:Brixton.BUILD-SNAPSHOT)

Add spring-integration bom
2015-08-13 13:22:46 -04:00
Eric Bottard
47d84a8dc4 Fix launcher ClassLoader parent 2015-08-13 12:44:09 -04:00
Marius Bogoevici
b7296705f3 Remove application.yml and initialize properties within ModuleLauncherProperties
Add javadoc
2015-08-13 16:18:48 +02:00
Dave Syer
a736ade417 Remove old roadmap
It was out of date and hard to maintain.
2015-08-13 12:02:25 +01:00
Dave Syer
83e8017cc2 Add comment explaining why we need Boot package 2015-08-13 12:01:15 +01:00
Ilayaperumal Gopinathan
e078e29db4 ModuleConfiguration properties
- Add `prefix` based module configuration properties
 - Add default properties in `application.yml`
 - Move the properties into separate `ConfigurationProperties` bean rather than being inside `Configuration` bean
2015-08-12 19:06:15 -04:00
Marius Bogoevici
2aa33ca010 Cleanup 2015-08-12 18:07:45 -04:00
Marius Bogoevici
9d75d5b4f1 Properly set the parent classloader for the launched module 2015-08-12 17:32:11 -04:00
David Turanski
05e12efb84 replaced CodecConfiguration with spring.factories
add new line
2015-08-12 12:43:52 -07:00
Glenn Renfro
4be452c089 Removed the -exec qualifier from module launcher. 2015-08-12 09:59:50 -04:00
Dave Syer
8b2c73a71a Tweak some dependencies 2015-08-12 14:52:28 +01:00
Dave Syer
e81ed1eace Align dockerization process with spring.io guides
(And with existing Spring Cloud projects.) Uses a maven plugin to
build the image. It can be pushed manually, or else using
-Ddocker.image.prefix=<path_to_repo>. Removes some of the hard-coded
host names and stuff that came with the old version.
2015-08-11 09:30:02 +01:00
Dave Syer
818ad6e3e8 Add configuration processor as an optional dependency 2015-08-10 10:52:44 -04:00
David Turanski
770dafc577 renamed defaultPrefix .xdbus->.binder 2015-08-10 10:48:57 -04:00
Eric Bottard
38cf0cd738 XD-3380: Use AutoConfiguration for Binder Configurations 2015-08-10 10:44:31 -04:00
Mark Fisher
476664e38d removed redundant dependency 2015-08-10 08:46:44 -04:00
Eric Bottard
53c228239b Propagate Exception 2015-08-09 20:48:23 -04:00
David Turanski
0a84afd6ea Refactored Binder and Codec configuration
- replaced XML-based configuration with Java configuration
- removed optional on spring-cloud-stream-codec
- removed unnecessary test
2015-08-09 20:11:52 -04:00
Marius Bogoevici
31daf48cc2 boot-based ModuleLauncher
deprecates default constructor for ModuleLauncher until dependencies are refactored
2015-08-03 21:38:28 -04:00
Mark Fisher
95a34f6ab0 removed auto-startup=FALSE from sample source 2015-08-03 18:30:12 -04:00
Mark Fisher
d4c0666487 removed unnecessary number in README 2015-08-01 10:13:23 -04:00
Thomas Risberg
7866725596 Added port to log-sink ltc command 2015-08-01 10:03:32 -04:00
Mark Fisher
84287ad046 removing cloud connector from module-launcher pom 2015-08-01 09:28:22 -04:00