Commit Graph

93 Commits

Author SHA1 Message Date
Marius Bogoevici
37204febe2 support for binding descriptors per channel name 2015-07-23 11:22:53 -04:00
Glenn Renfro
70e1ff006c Note on how to work around redis local binding. 2015-07-23 10:19:20 -04:00
Mark Fisher
c8e0d76997 addressed minor PR comments 2015-07-23 09:23:58 -04:00
Mark Fisher
69fda684f8 initial commit of module launcher 2015-07-22 08:28:44 -04:00
Marius Bogoevici
1a51c32f59 Renamed spring.cloud.channels to spring.cloud.stream in configuration 2015-07-21 23:22:12 -04:00
Marius Bogoevici
dca40fec59 Generate proper qualifiers for channel beans 2015-07-21 23:15:03 -04:00
Ilayaperumal Gopinathan
bb25e6b46e Remove rabbit analytics xml import 2015-07-21 16:31:12 -07:00
David Turanski
93f278e839 Cleanup after Binder renaming
one more...

one more comment change
2015-07-21 17:47:38 -04:00
Ilayaperumal Gopinathan
46100b2f8f Rename kafka binder classes
- Move pkg name to `org.springframework.cloud.stream.binder.kafka`
2015-07-21 17:33:15 -04:00
Ilayaperumal Gopinathan
06190b1353 Remove spring-xd-module dependency
- Remove `spring-xd-module` dependency from spring-cloud-stream
 - Move `DateFormat` validation class to sample
2015-07-21 17:22:14 -04:00
David Turanski
35b74b00b3 Renamed MessageBus to Binder
- Renamed MessageBus to Binder
- Parameterized Binder interface
- Restored exclusion of spring-xd-codec
2015-07-21 15:34:29 -04:00
Marius Bogoevici
11e9f269db Disable Kafka tests 2015-07-17 17:40:00 -04:00
Marius Bogoevici
518c182dd6 Add logback configuration for spring-cloud-stream-binding tests 2015-07-17 17:04:49 -04:00
Marius Bogoevici
0c76a1edd3 Enables Kafka binding tests 2015-07-17 17:01:42 -04:00
Dave Syer
1a34f37bce Fix typo in docs sink->source 2015-07-17 09:38:37 +01:00
Mark Fisher
545bf250c9 re-generated README 2015-07-16 22:01:29 -04:00
Mark Fisher
93f9f2c7b0 copyright headers 2015-07-16 21:51:57 -04:00
Dave Syer
c09b292d79 Use @EnableModule(Channels.class) instead of field declarations
Standard channel interface types of Sink, Source, Processor
are provided, but user can create others with @Input and
@Output MessageChannel methods.

To get the declared channels in an app you can use the
@ModuleChannels qualifier to inject the interface, e.g.
@ModuleChannels(Cafe.class) injects the channels defined
in the Cafe.
2015-07-16 21:44:05 -04:00
Mark Fisher
460bb140f2 fixed source/sink samples' input/output properties 2015-07-16 18:38:37 -04:00
Mark Fisher
23a818d79d streams->stream and other edits 2015-07-16 18:29:00 -04:00
Glenn Renfro
f0f7187892 Code cleanup & port change for source & sink examples 2015-07-16 18:07:26 -04:00
Mark Fisher
102fb07576 streams->stream in spring-cloud-stream.adoc 2015-07-16 17:48:16 -04:00
Mark Fisher
31915df2fe re-generated README 2015-07-16 13:36:35 -04:00
David Turanski
b76cee6725 Mirrors codec enhancements in XD 1.2.x 2015-07-16 09:00:08 -04:00
Eric Bottard
587c084183 Cleanup README to better reflect current codebase 2015-07-15 16:50:10 +01:00
Gunnar Hillert
b05ebc2abd gh-21 Fix docs generation 2015-07-15 11:24:16 -04:00
Gunnar Hillert
27532d08bf Update README - Fix build status image
Fix name of project name in the Travis CI link to `spring-cloud-stream`
2015-07-15 10:55:05 -04:00
Dave Syer
dafa0773b5 Change streams->stream 2015-07-15 08:25:44 +01:00
Ilayaperumal Gopinathan
09c0cf5573 Remove xd-runner 2015-07-13 20:02:34 -07:00
David Turanski
5377eaf258 XD-3242 created spring-cloud-streams-codec
Port MessageBus code from XD (XD-3244)
Fix Deprecated API Usage; Fix Imports (GH-9)
Change poms to compile using JDK7
Move transport specific test classes into binding-<transport> projects
2015-07-13 18:36:59 -04:00
Ilayaperumal Gopinathan
cb75353aeb Add tap sample and remove xd-samples 2015-07-10 16:27:02 -04:00
Marius Bogoevici
a68321e8d5 Identify bindings with annotations, not names
Refactor support for channel beans

* create utility methods for registering input/output channel beans
* use utility methods within tests

Remove source-xml and rely on the @Input/@Output model entirely
2015-07-10 16:18:24 -04:00
Marius Bogoevici
23e4cbc7ac Add support for @EnableModule, @Input and @Output
* enable the component model based on @EnableModule with existing functionality
* any field annotated with Input/Output will trigger the creation and injection of a channel
* update examples and tests
* update README
2015-07-10 13:56:30 -04:00
Marius Bogoevici
2fa5724cee Set spring-cloud-streams-parent as parent for docs 2015-07-10 07:47:09 -04:00
Dave Syer
76ba8c8f5d Add descriptions of samples to README 2015-07-10 09:35:25 +01:00
Dave Syer
0ba24af395 Re-instate search=CURRENT for config properties
In order to run a module as a child context (namespaceing the channels)
you need to have a separate ChannelBindingProperties per context,
so the condition has to have search=CURRENT. For an XD module this
was a problem because the ModuleProperties (a subclass) is needed and that
has to be added in bootstrap (i.e. in the parent context). Fixed by
registering the ModuleProperties as a singleton in the child context.
2015-07-10 08:44:58 +01:00
Dave Syer
99db6d5177 Add redis to travis build 2015-07-10 08:16:42 +01:00
Dave Syer
e5e5551e92 Remove lattice from sample 2015-07-10 08:14:46 +01:00
Dave Syer
35fd979fc6 Move lattice dependency to profile 2015-07-10 07:43:36 +01:00
Dave Syer
4d53ca9dc4 Add travis build 2015-07-10 07:08:11 +01:00
Dave Syer
1823f32569 Add docs and travis config 2015-07-10 07:08:11 +01:00
Ilayaperumal Gopinathan
e3b3bd82fc Rename vanilla-samples
- Change the name to spring-cloud-streams-samples which is already used in pom.xml
2015-07-09 19:05:02 -04:00
Ilayaperumal Gopinathan
e4cc9e5222 Fix source configuration in the sample 2015-07-09 18:52:29 -04:00
Ilayaperumal Gopinathan
a1ca7e8963 Remove SearchStrategy.CURRENT
This was set on the ChannelBindingProperties bean. However, since the ModuleProperties
(which is of type ChannelBindingProperties) might have been initialized by the initializer,
the search strategy for the conditional bean needs to look at the hierarchy.

Added a TODO comment indicating this can be set to CURRENT once the initializer is removed.
2015-07-09 18:11:26 -04:00
Dave Syer
6e33369318 Add aggregate builder and sample applications
No need to specify channel names (just spring.cloud.streams.name). Example
app:

@SpringBootApplication
@EnableChannelBinding
public class ExtendedApplication implements AggregateConfigurer {

	@Override
	public void configure(AggregateBuilder builder) {
		builder
		.from(TimeSource.class).as("source")
		.via(LoggingTransformer.class)
		.via(LoggingTransformer.class).profiles("other")
		.to(LogSink.class);
	}
}

Fixes gh-2
2015-07-09 17:42:12 +01:00
David Turanski
0c82a37360 XD-3242 created spring-cloud-streams-codec
Fixes gh-3
2015-07-09 17:39:53 +01:00
Dave Syer
e6962c514f Add vanilla-samples
The aim is that these will converge over time with the XD samples
2015-07-09 14:04:17 +01:00
Dave Syer
671b57bdc0 Add scm tag to parent pom 2015-07-09 13:46:00 +01:00
Dave Syer
926d6be531 Add parent pom so deployment works OOTB 2015-07-09 13:44:11 +01:00
Dave Syer
fc2397b11d Check simple XD samples are working 2015-07-09 10:01:07 +01:00