Commit Graph

256 Commits

Author SHA1 Message Date
bamboo
bd22e119c8 [artifactory-release] Release version 1.0.0.M2 2015-10-23 19:34:44 +00:00
Mark Pollack
1c374eead7 Tidy up maven dependency references to current project version 2015-10-23 15:17:34 -04:00
Eric Bottard
7023e16196 XD-3414: Create a new project for @RedisRule 2015-10-23 13:06:36 -04:00
Mark Pollack
1e4c8bd749 Update spring cloud commons and remove unecessary SI version property 2015-10-22 16:51:25 -04:00
Mark Pollack
02dd05ec22 Update to Spring Cloud Build M2 2015-10-22 16:20:13 -04:00
Ilayaperumal Gopinathan
7b08488f36 Remove explicit setting of jmx domain name
- It is assumed to be the responsibility of the user to specify the appropriate jmx domain name for the modules (either via s-c-dataflow or via module launcher)
2015-10-22 10:05:23 -04:00
Marius Bogoevici
4315b1d9d2 Update README file after removing default classifier from ModuleLauncher 2015-10-21 22:28:22 -04:00
Mark Fisher
c51cd5f2c0 no longer assuming "exec" classifier for modules 2015-10-21 15:24:20 -04:00
Eric Bottard
9b1e418411 XD-3355, XD-3582: Support options metadata 2015-10-20 14:24:52 -04:00
Dave Syer
04b0ad7dbf Revert profile and add comment 2015-10-20 09:34:47 -04:00
Dave Syer
b34b2014d2 Remove confusing profile from settings.xml 2015-10-20 09:27:59 -04:00
Dave Syer
5eaba5811c ChannelsEndpoint should return a Map<> (not a domain object)
This is a general rule for endpoints so they work OOTB with JMX.
2015-10-20 08:17:00 -04:00
Dave Syer
f51cc43d52 Add @Conditional to allow running in Cloud Foundry without connectors 2015-10-20 07:58:34 -04:00
Dave Syer
9b60ad07ec Fix tests (port conflict) 2015-10-20 07:57:03 -04:00
Dave Syer
3a1b030dc8 Add ChannelsEndpoint back for introspecting bindings
Bindable picks up 2 new methods to enumerate the binding names, and
then it's a simple matter to list all the inputs and outputs and their
properties.

Fixes gh-149
2015-10-16 18:05:38 -04:00
Dave Syer
6f8039c617 Remove unused imports 2015-10-16 18:02:30 -04:00
Mark Fisher
4bec17ca1c allow id & timestamp keys when converting to Tuple
also avoid possible NPE in the DefaultTuple toString() method
2015-10-16 17:28:15 -04:00
Mark Fisher
68ce2d3a02 adding Tuple and JSON PropertyAccessors by default 2015-10-16 12:16:33 -04:00
Marius Bogoevici
28d1bee0dc XD-3338 Prevent optional dependencies to be automatically added as includes 2015-10-09 11:13:46 -04:00
Marius Bogoevici
d992e0b852 XD-3597 Separate input, output and context start
JIRA: https://jira.spring.io/browse/XD-3597

Separates the functionality currently provided by the ChannelBindingLifecycle,
binding inputs and outputs separately at the latest, and earliest phases,
respectively - allowing for SmartLifecycle beans that subscribe to inputs at start
to subscribe before inputs start producing data.

The current functionality of automatically starting the context
on the ChannelBindingLifecycle auto-startup is deferred to a refresh listener.

Removes the call to application.stop() within the ChannelBindingLifecycle, which
is redundant (the ChannelBindingLifecycle would be stopped when the context itself
is stopped anyway).

Adding a test for binding lifecycle

Polishing
2015-10-07 17:56:28 -04:00
Dave Syer
6c8e6313a4 Use AnnotationUtils to synthesise annotation 2015-10-01 12:08:21 +01:00
Mark Fisher
cc71d66445 fixed doc typo: missing semicolon in code sample 2015-09-30 13:14:48 -04:00
Marius Bogoevici
deecae93a6 Allow configuration of Kafka embedded headers in the bus 2015-09-29 20:50:19 -04:00
Ilayaperumal Gopinathan
1a1ebe7b78 type conversion: address review comments
Fix supports check on FromMessageConverter: make sure the targetType is on the LHS

Fix PojoToStringMessageConverter: handle message payload tuple separately so that the tupleToString converter is set
2015-09-29 20:46:17 -04:00
Ilayaperumal Gopinathan
9a865a56d7 Add per-binding message type-conversion support
- For the message channels being created, set the corresponding `dataType` and `message-converters` based on the `contentType` value set per-binding
   - This is applicable for both direct-binding and the channels that connect to the binder
2015-09-28 10:28:00 -07:00
Ilayaperumal Gopinathan
638c18e490 Add message converters
- These are the message converters being used in Spring XD; porting them in S-C-S
2015-09-28 10:27:39 -07:00
Ilayaperumal Gopinathan
e92f9d3683 Add spring-cloud-stream-tuple project
- This is a temporary location for the `tuple` project and would eventually be moved to something like `spring-data-commons`
    - Note: This project currently removes `batch` package from the tuple project in XD
 - The corresponding test classes are yet to be moved.
2015-09-28 10:23:14 -07:00
Marius Bogoevici
10c1f5051c Typesafe BindingProperties
- Create BindingProperties and Converter to replace the current Map-based logic
2015-09-25 08:57:16 -07:00
Marius Bogoevici
9ab7f24f2c Basic support for Kafka on Lattice 2015-09-14 10:02:53 -04:00
bamboo
e630998101 [artifactory-release] Next development version 2015-09-11 19:53:41 +00:00
bamboo
83f762a31e [artifactory-release] Release version 1.0.0.BUILD 2015-09-11 19:53:39 +00:00
Mark Pollack
edd36c4990 Update snapshot deps to milestone deps 2015-09-11 10:36:04 -04:00
Ilayaperumal Gopinathan
bb326ec32f Minor cleanup 2015-09-10 19:41:36 -07:00
Marius Bogoevici
d9c4f949c0 Add support for including/excluding dependencies when launching a module
- adding includes/excludes properties for modules
- includes and their transitive deps are mandatory, excludes can be pattern-based
- supports both individual module launch and aggregation

Allow exclusions to apply to all artifacts

Fixing classloading issues when LaunchedUrlClassloader is used with JARs from the Maven repository

Javadoc enhancements
2015-09-10 18:27:08 -07:00
Marius Bogoevici
745a4bd2dd Use 'args.aggregate' for aggregate parameters 2015-09-10 16:58:24 -04:00
Dave Syer
62c232f785 Updgrade Spring Integration to stable version 2015-09-10 15:44:52 -04:00
Dave Syer
4c6dd3c393 Add a default poller for Spring Integration
Useful for simple implementations of @EnableModule(Source) without
having to specify a poller explicitly
2015-09-10 14:19:19 -04:00
Marius Bogoevici
f4f6cb509d Add per-binding configuration for partitioning
- consumer and producer partitioning properties are defined per-binding
- unit tests
- Kafka binding fixes for partitioning
2015-09-09 21:09:49 -07:00
Marius Bogoevici
e003141336 Ensure that Boot dependencies are inherited from Spring Cloud Parent 2015-09-09 09:40:28 -04:00
Dave Syer
9b2b6d0df1 Use AnnotatedElementUtils to extend the reach of BindingBeansRegistrar
The annotation metadata coming into an ImportBeanDefinitionRegistrar does not
include overrides or inherrited/merged attributes from meta-annotated custom
annotations. This change makes it possible to extend @EnableBinding if
users want to do that.

Per https://jira.spring.io/browse/SPR-13448
2015-09-09 09:46:42 +01:00
Marius Bogoevici
139d6a5c6a Add support for 'args.*' 2015-09-07 15:52:29 -04:00
Marius Bogoevici
6ad3ca5f84 Add option for the resolver and module-launcher to operate in offline mode 2015-09-06 16:16:36 -04:00
Dave Syer
94639cb72e Some javadocs for clarifying meaning of properties 2015-09-05 10:34:28 +01:00
Mark Fisher
b39c609fb0 renamed port properties 2015-09-04 09:47:50 -04:00
Marius Bogoevici
e82bfe6c91 Add support for Kafka in Cloud Foundry
- use the VCAP properties to find brokers and ports

Corrections to pom, renamed zkAddress to zkNodes
2015-09-04 09:47:47 -04:00
Ilayaperumal Gopinathan
13ba4271d6 Use JarLauncher for module launcher 2015-09-03 15:41:19 -07:00
Marius Bogoevici
ac0a4ed529 Added test for regular Lifecycle beans 2015-09-03 17:46:32 -04:00
Ilayaperumal Gopinathan
28a23c90a0 Start/Stop lifecycle components after bind/unbinding
- Explicit call is needed to start/stop the non-smart lifecycle components after bind/unbinding

Avoid recursive calls to applicationContext.start()
2015-09-03 17:11:57 -04:00
Marius Bogoevici
b8ffa630f7 Use the binding value to determine binding target
Remove 'topic:' prefix for topics

Reverted sample change, added test
2015-09-03 16:44:57 -04:00
Ilayaperumal Gopinathan
2b1ccc4c7c Support RxJava module
- Add a way to enable `RxJava` module
   - Add `EnableRxJavaModule` annotation that inherits `EnableModule` for `Processor` type.
      - It also registers the custom `MessageHandler` that sets up RxJava `Observable/Subscriber` to process the incoming message reactively.
      - Introduce `RxJavaProcessor` that is expected to be implemented by the module author with the input/output being `Observable`. This processor is autowired into the message handler registered above.
 - Add moving average sample

Add project `spring-cloud-stream-rxjava`

 - This project extends `spring-cloud-stream` so that any RxJava processing module would have this as a dependency
2015-09-03 11:33:11 -04:00