Skip to content

Commit 80c1395

Browse files
committed
Update faq.yml
1 parent 0a02a52 commit 80c1395

File tree

1 file changed

+2
-2
lines changed
  • articles/azure-app-configuration

1 file changed

+2
-2
lines changed

articles/azure-app-configuration/faq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ sections:
148148
149149
- question: How to use Java Spring profiles in App Configuration?
150150
answer: |
151-
Spring profiles can be used to either separate sections of an application or to change execution based on the profile. They are set using the `spring.profiles.active` property.
151+
Spring profiles provide a way to separate parts of your application, including configuration, and make it only available in certain environments or when specific libraries are used.
152152
153-
You are recommended to set the label of your key-values to match your Spring profiles. By default, the App Configuration Spring provider library will load the key-values with the label matching the current active Spring profile(s) (`${spring.profiles.active}`) if the label filter isn't set explicitly. If there is no active Spring profile set, key-values with "no label" will be loaded.
153+
You are recommended to set the label of your key-values to match your Spring profiles. By default, the App Configuration Spring provider library will load the key-values with the label(s) matching the current active Spring profile(s) (`${spring.profiles.active}`) if the label filter isn't set explicitly. If there is no active Spring profile set, key-values with "no label" will be loaded.
154154
155155
For example, with profiles `dev` and `prod`, you create key-values accordingly with the following labels.
156156

0 commit comments

Comments
 (0)