From 996e0bf567401024a5487d4e8d064a6c27754a96 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 6 Oct 2016 08:48:04 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-cli.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/spring-cloud-cli.html b/spring-cloud-cli.html index 9d270b7..8129e93 100644 --- a/spring-cloud-cli.html +++ b/spring-cloud-cli.html @@ -596,6 +596,40 @@ do something like this to locate a local git repository for the backend:

uri: file://${user.home}/dev/demo/config-repo +
+

Adding Additional Applications

+
+

Additional applications can be added to ./config/cloud.yml (not +./config.yml because that would replace the defaults), e.g. with

+
+
+
config/cloud.yml
+
+
spring:
+  cloud:
+    launcher:
+      deployables:
+        source:
+          coordinates: maven://com.example:source:0.0.1-SNAPSHOT
+          port: 7000
+        sink:
+          coordinates: maven://com.example:sink:0.0.1-SNAPSHOT
+          port: 7001
+
+
+
+

when you list the apps:

+
+
+
+
$ spring cloud --list
+source sink configserver dataflow eureka h2 hystrixdashboard kafka zipkin
+
+
+
+

(notice the additional apps at the start of the list).

+
+