From 15d49603b4fe93120ddb9a446723591fdbeafeeb Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 1 Feb 2018 23:25:48 +0000 Subject: [PATCH] Sync docs from 1.4.x to gh-pages --- 1.4.x/spring-cloud-config.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/1.4.x/spring-cloud-config.xml b/1.4.x/spring-cloud-config.xml index ed494114..7277e75a 100644 --- a/1.4.x/spring-cloud-config.xml +++ b/1.4.x/spring-cloud-config.xml @@ -274,10 +274,10 @@ working copy as a cache. This repository implementation maps the {label} parameter of the HTTP resource to a git label (commit id, branch name or tag). If the git branch or tag name contains a slash ("/") then the label in the -HTTP URL should be specified with the special string "(_)" instead (to +HTTP URL should be specified with the special string "()" instead (to avoid ambiguity with other URL paths). For example, if the label is foo/bar, replacing the slash would result in a label that looks like -foo(_)bar. The inclusion of the special string "(\_)" can also be +foo()bar. The inclusion of the special string "(_)" can also be applied to the {application} parameter. Be careful with the brackets in the URL if you are using a command line client like curl (e.g. escape them from the shell with quotes ''). @@ -296,7 +296,7 @@ using (for example): uri: https://github.com/myorg/{application} or a "one repo per profile" policy using a similar pattern but with {profile}. -Additionally, using the special string "(\_)" within your +Additionally, using the special string "(_)" within your {application} parameters can enable support for multiple organizations (for example): spring: @@ -306,7 +306,7 @@ organizations (for example): git: uri: https://github.com/{application} where {application} is provided at request time in the format -"organization(\_)application". +"organization(_)application".
Pattern Matching and Multiple Repositories