Yaml Spring云配置服务器能否用于获取普通资源(未与应用程序配置合并)
我有从common application.yml配置继承的应用程序配置文件。问题是我是否可以拥有一些资源,这些资源将在不与其他配置合并的情况下获取?一些yml文件可以让它保持原样而不做任何修改吗 感谢您添加了另一个存储库(基于模式),其中没有application.yml公共配置文件-适合我Yaml Spring云配置服务器能否用于获取普通资源(未与应用程序配置合并),yaml,spring-cloud,Yaml,Spring Cloud,我有从common application.yml配置继承的应用程序配置文件。问题是我是否可以拥有一些资源,这些资源将在不与其他配置合并的情况下获取?一些yml文件可以让它保持原样而不做任何修改吗 感谢您添加了另一个存储库(基于模式),其中没有application.yml公共配置文件-适合我 config: server: git: uri: http://host:port/configuration/git/app.git username: c
config:
server:
git:
uri: http://host:port/configuration/git/app.git
username: configserver
password: password
repos:
data-config:
uri: http://host:port/configuration/data-config.git
username: configserver
password: password
pattern: data_*
您还可以从1.0.1开始使用新的SearchPath设置
config:
服务器:
吉特:
uri:http://host:port/configuration/git/app.git
回购协议:
团队1配置:
uri:http://host:port/configuration/config.git
搜索路径:团队1*
模式:团队1_*
团队2配置:
uri:http://host:port/configuration/config.git
搜索路径:团队2*
模式:团队2*