Skip to content

Commit

Permalink
Clarified documentation on custom environment repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjbaxter committed Dec 21, 2016
1 parent 404d9c6 commit 84db9b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/src/main/asciidoc/spring-cloud-config.adoc
Expand Up @@ -600,7 +600,11 @@ repo does not contain a branch called `master` the entire request will fail.
It is also possible to provide your own `EnvironmentRepository` bean
to be included as part of a composite environment in addition to
using one of the environment repositories from Spring Cloud. To do this your bean
must implement both the `EnvironmentRepository` and `Ordered` interfaces.
must implement the `EnvironmentRepository` interface. If you would like to control
the priority of you custom `EnvironmentRepository` within the composite
environment you should also implement the `Ordered` interface and override the
`getOrdered` method. If you do not implement the `Ordered` interface than your
`EnvironmentRepository` will be given the lowest priority.

==== Property Overrides

Expand Down

0 comments on commit 84db9b9

Please sign in to comment.