SpringBlade/blade-ops/blade-config-server
smallchill f2cc1950e9 🎉 2.0.0-RC2.
2019-01-16 10:24:04 +08:00
..
src/main 🎉 2.0.0-RC1. 2019-01-02 00:54:50 +08:00
Dockerfile 🎉 2.0.0-RC1. 2019-01-01 23:00:53 +08:00
pom.xml 🎉 2.0.0-RC2. 2019-01-16 10:24:04 +08:00
README.md 🎉 2.0.0-RC1. 2019-01-01 23:00:53 +08:00

bladex-config

##bladex配置文件仓库部署步骤

1.建好git仓库并建好文件夹respo

2.将/config下的文件放到respo文件夹下并push到git

3.到/resources/bootstrap.yml文件修改spring.cloud.config.git节点下对应的配置

4.启动工程,开启config-server服务

##访问请求

在浏览器里输入:http://localhost:7005/application/dev/masterhttp://localhost:7005/application-dev.ymlhttp://localhost:7005/application-dev.properties

证明配置服务中心可以从远程程序获取配置信息http请求地址和资源文件映射如下: ·        /{application}/{profile}/{label} ·        /{application}-{profile}.yml ·        /{label}/{application}-{profile}.yml ·        /{application}-{profile}.properties ·        /{label}/{application}-{profile}.properties