From 8dc57b8848ef2ef7a7d13cabcdf9513b2ab10fd6 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 24 Nov 2015 13:29:10 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud.html | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/spring-cloud.html b/spring-cloud.html index 500ae6c..61133cb 100644 --- a/spring-cloud.html +++ b/spring-cloud.html @@ -1377,37 +1377,22 @@ repositories:

git: uri: https://github.com/spring-cloud-samples/config-repo repos: - simple: https://github.com/simple/config-repo + simple: https://github.com/pattern1/config-repo special: pattern: pattern*,*pattern1* - uri: https://github.com/special/config-repo + uri: https://github.com/pattern2/config-repo local: pattern: local* uri: file:/home/configsvc/config-repo
-

In the above example, if {application} does not match any of the +

In the above example, if {application} does not match to any of the patterns, it will use the default uri defined under "spring.cloud.config.server.git.uri". For the "simple" repository, the -pattern is "simple" (i.e. it only matches one application named "simple"). -The pattern format is a comma-separated list of application names with -wildcards (a pattern beginning with a wildcard may need to be quoted).

-
-
- - - - - -
-
Note
-
-the "one-liner" short cut used in the "simple" example above can -only be used if the only property to be set is the URI. If you need to -set anything else (credentials, pattern, etc.) you need to use the full -form. -
+pattern is "simple" (i.e. it only matches one application). The +pattern format is a comma-separated list of application names with +wildcards.

Every repository can also optionally store config files in @@ -3546,7 +3531,7 @@ AQAjPgt3eFZQXwt8tsHAVv/QHiY5sI2dRcR+...