Extract config server properties to Java bean
ConfigServerProperties is now used to store global properties for the config server (like the path prefix and bootstrap flag) under spring.cloud.config.server.* so git specific ones have been pushed down to spring.cloud.config.server.git.* (similarly for git->native). At the same time introduce spring.cloud.config.server.defaultLabel for the deafult git label (defaults to "master"). Fixes gh-28
This commit is contained in:
@@ -18,7 +18,7 @@ $ curl localhost:8888/foo/development
|
||||
----
|
||||
|
||||
The default strategy for locating property sources is to clone a git
|
||||
repository (at "spring.cloud.config.server.uri") and use it to
|
||||
repository (at "spring.cloud.config.server.git.uri") and use it to
|
||||
initialize a mini `SpringApplication`. The mini-application's
|
||||
`Environment` is used to enumerate property sources and publish them
|
||||
via a JSON endpoint. The service has resources in the form:
|
||||
|
||||
Reference in New Issue
Block a user