Commit Graph

79 Commits

Author SHA1 Message Date
Ilayaperumal Gopinathan
b98d91da39 Support proxy settings for Aether Module resolver
- Add `AetherProxyProperties` as a ConfigurationProperties for the proxy settings needed for the ProxySelector in Aether system
 - Update proxy settings in two places:
   1) Where the remote repositories are setup
   2) WHere the repository system session is created to resolve the artifacts

This resolves #272

Set authentication only for proxy settings

Set port type to `int`
2016-02-22 21:38:30 -05:00
Marius Bogoevici
bfa4c77e40 Post-release: Restore snapshot dependencies and module launcher default repo 2016-02-04 16:25:07 -05:00
bamboo
0a6fc90f3a [artifactory-release] Next development version 2016-02-04 19:38:45 +00:00
bamboo
082e5e7330 [artifactory-release] Release version 1.0.0.M4 2016-02-04 19:38:44 +00:00
Marius Bogoevici
62a60a4d47 Pre-release: update Spring Cloud versions and repository locations for Module Launcher 2016-02-04 14:06:14 -05:00
Ilayaperumal Gopinathan
32c727a5d4 Remove lattice profile usages/references 2016-02-04 13:40:53 +05:30
Ilayaperumal Gopinathan
a2486db905 Module launcher JMX domain name
- Module launcher needs to use its own jmx domain name so that it doesn't collide with any other default domains regisetered.

This resolves #286
2016-02-01 23:29:15 -05:00
Mark Pollack
373dd12fbb Change remoteRepositories default to libs-snapshot post release 2015-12-22 10:45:43 -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
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
Marius Bogoevici
2d245c0424 GH-204 consistent common classloader creation 2015-11-18 16:30:38 -05:00
bamboo
7dc9f2e324 [artifactory-release] Next development version 2015-10-23 19:34:46 +00:00
bamboo
bd22e119c8 [artifactory-release] Release version 1.0.0.M2 2015-10-23 19:34:44 +00: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
Marius Bogoevici
28d1bee0dc XD-3338 Prevent optional dependencies to be automatically added as includes 2015-10-09 11:13:46 -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
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
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
Ilayaperumal Gopinathan
13ba4271d6 Use JarLauncher for module launcher 2015-09-03 15:41:19 -07:00
Marius Bogoevici
0fd1e37a8f Aligns the classloader creation strategy of the aggregated module with the regular modules
- application classpath URLs are added to the launched aggregated module as well
2015-09-02 22:49:20 -04:00
Marius Bogoevici
bd47560bd5 Add support for direct binding
and refactor channel proxy behaviour

- Remove DirectChannelProxyFactory;
- Proxies create channels as necessary, including support for PollableChannels;
- Channel beans are using the bean factory methods for the proxies;
- Coordinate bind/unbind across a context through the internal Bindable interface;
- Add support for embedding modules as independent child contexts of the main module, wrapped in a Bindable interface;
- Add support for channel name namespacing;
- Use a shared channel registry (consulted by the proxies) to create direct bindings;

Restrict the use of SharedChannelRegistry to aggregation

Fixed copyrights

Polishing based on comments from the previous branch

Tweaks

- namespacing takes into account module index, so multiple modules with the same class can partiticipate
- fix how properties are passes to parent/child
- Split ChannelBindingLifecycle from ChannelBindingAdapter and register it with each child;

Javadoc updates

Pass only  prefixed properties

Actually use the filtering method

Lifecycle simplifications

- Removing BindableChannelWrapper and UnbindOnCloseApplicationListener and relying on ChannelBindingListener solely;
- Some code cleanup

Further simplifications

More cleanup

Remove BindableUtils, rename ChannelBindingAdapter

Minor improvements

Addressing some comments, renaming, etc

More polishing
2015-09-02 15:52:19 -04:00
Marius Bogoevici
80391fa876 Set extension classloader as parent for the module classloader 2015-09-02 15:19:22 -04:00
Eric Bottard
3561ac4aa2 Copy parent URLs when creating CL 2015-09-02 14:59:32 -04:00
Mark Fisher
6a1787ffe3 polishing 2015-08-27 15:57:07 -04:00
Eric Bottard
74d85cd9d2 Use the full Environment for module args
Rename to ModuleLaunchRequest

Add documentation for the format

Move request construction

Document launcher order

Fix empty args case

Update docs
2015-08-27 15:43:42 -04:00
Ilayaperumal Gopinathan
0a927b6711 Update documentation
- update steps to run the `s-c-s-module-launcher` on standalone, docker and lattice
 - update recent changes into readme
 - Fix docker compose to use the common binding name so that `time | log` works

Remove explicit cloud profile for lattice run

Remove tap reference

Remove explicit server.port for docker-compose

Update port mapping for docker run
2015-08-26 14:25:01 -04:00
Ilayaperumal Gopinathan
7663372062 ModuleRunner enhancements
- Move the launcher property `modules` to `ModuleLauncherProperties`
 - This will make the `ModuleRunner` to be `Component` bean only; Also, it only needs to enable the configuration properties of `ModuleLauncherProperties`

Separate module resolver/launcher properties

Add validator dependency to module launcher
2015-08-26 11:26:57 +02:00
David Turanski
31168b6f5b minor changes to @Ignored test 2015-08-24 12:29:16 -04:00
Eric Bottard
1ce40497c9 Fix copyrights 2015-08-23 15:19:09 +02: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
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
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
Glenn Renfro
4be452c089 Removed the -exec qualifier from module launcher. 2015-08-12 09:59:50 -04: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