Support profile negation in YAML sub-documents

See gh-4953
This commit is contained in:
Matt Benson
2016-01-15 16:38:12 -06:00
committed by Phillip Webb
parent 65a41d2f5b
commit bd010494c9
3 changed files with 179 additions and 3 deletions

View File

@@ -678,6 +678,10 @@ profile, and it would have to be explicitly reset in all other profiles as neces
password: weak
----
Spring profiles designated using the "spring.profiles" element may optionally be
negated using the {@code !} character. If both negated and non-negated profiles
are specified for a single document, at least one non-negated profile must match
and no negated profiles may match.
[[boot-features-external-config-yaml-shortcomings]]