Commit Graph

16 Commits

Author SHA1 Message Date
Spencer Gibb
045b88f7c3 Look for launched server config files in ~/.spring-cloud/
Also moved some debug to trace

fixes gh-31
2016-09-15 12:48:21 -06:00
Spencer Gibb
af4e68719f Add javaOptions to Deployable.
Example command:
```
spring cloud -d configserver -- --logging.level.org.springframework.cloud.launcher.deployer=DEBUG --spring.cloud.launcher.deployables.configserver.java-options=-Dmy.system.prop=myval,-Dmy.system.prop2=yourval
```

fixes gh-18
2016-09-12 15:20:48 -06:00
Spencer Gibb
621ee6e4b9 Ignoring LauncherCommandTests.
Similar tests exist in DeployerThreadTests.

See gh-27
2016-09-02 14:09:20 -06:00
Dave Syer
68c9614be5 Add 'disabled' properties to deployable 2016-08-16 14:21:39 +01:00
Dave Syer
f26bdea6d9 Use map for deployables, not array (key is the name) 2016-08-16 14:09:57 +01:00
Dave Syer
9c443a1c04 Add non-option arguments after "--" to deployer command line
This allows user to play nice tricks with the deployer configuration (e.g.
changing the spring profile).

Fixes gh-25
2016-08-16 13:46:42 +01:00
Dave Syer
15a2a83fb0 Determine deployable app version dynamically
The deployer now checks its own version and uses that to set
up the app versions via "launcher.version" on the command line.

Closes gh-16
2016-08-15 17:05:58 +01:00
Dave Syer
9d44ed2631 Document the new local config YAML features
Also remove --git-url command line flag (since you can
put it in configserver.yml now).
2016-08-15 16:46:46 +01:00
Dave Syer
072cb9de21 File path starts with ./ 2016-08-15 15:44:12 +01:00
Dave Syer
656a1bd75d Ensure config files have / prefixes 2016-08-15 15:42:54 +01:00
Dave Syer
1a28da5d83 Load application properties from <name>.yml
(also try config/<name>.yml). In this way user can easily launch config
server with custom uri, h2 with custom tcp endpoints, etc. The local
app deployer puts these properties in sys env vars (a bit yuck), but
that's not in our control here.
2016-08-15 15:34:52 +01:00
Spencer Gibb
cf7f060cd1 polish 2016-08-11 16:23:16 -06:00
Spencer Gibb
7f713e0d59 Add git.uri option.
spring cloud --git-uri=http://mygit/myrepo.git configserver

Above command option changes configserver to use the git profile with the configured git url.

fixes gh-24
2016-08-11 16:17:31 -06:00
Dave Syer
6aee631561 Add a bunch of new things
* support for zipkin server

* if eureka isn't running disable the client

* add --list option to list deployables
2016-07-08 09:44:08 +01:00
Spencer Gibb
6e19c35b98 Only start config server, eureka and hystrix dashboard by default. 2016-07-05 16:46:49 -06:00
Spencer Gibb
76749c4683 Create cloud cli command.
Downloads and launches eureka,kafka,configserver,h2 server & hystrix dashboard.
2016-07-05 12:34:18 -06:00