Skip to content

Commit

Permalink
config server added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherali Obidov committed Jul 29, 2017
1 parent 75d70a9 commit 71a9a65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -17,11 +17,11 @@ Once we run our config server at default 8888 port, we can get all configs using
**profile** is the name of profiles set by `spring.profiles.active` on the client side , separated by comma
**label** is the label name to pull remote config files. if it is git label is _master_ by default

/{application}/{profile}[/{label}] such as http://localhost:8888/api-gateway/default
/{application}-{profile}.yml
`/{application}/{profile}[/{label}]` such as http://localhost:8888/api-gateway/default
`/{application}-{profile}.yml
/{label}/{application}-{profile}.yml
/{application}-{profile}.properties
/{label}/{application}-{profile}.properties
/{label}/{application}-{profile}.properties`

#### Tweaks
If you want to store remote config in filesystem, besides providing git repo url you should also use `spring.profiles.active.native` profile

0 comments on commit 71a9a65

Please sign in to comment.