Placeholders in Git Search Paths

Spring Cloud 配置服务同样也支持在search path 中的{application} , {profile} ,{label} 占位符。例如

spring:
  cloud:
    config:
      server:
        git:
          uri: https://github.com/spring-cloud-samples/config-repo
          searchPaths: '{application}'

在相同目录搜索仓库中的文件(包括顶级目录),在含有占位符的search path中,通配符也是有效的(将包括所有匹配到的目录)

results matching ""

    No results matching ""