Skip to content

Commit f5c0bc8

Browse files
committed
Updating from review comments.
1 parent bcfbdb7 commit f5c0bc8

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

articles/azure-app-configuration/faq.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ sections:
150150
answer: |
151151
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.
152152
153-
Preferably set the App Configuration label of your keys to the value of a matching Spring profile. By default, App Configuration will load the values matching the label and current active Spring profile(s).
153+
Your 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).
154154
155-
For example, with the keys values:
155+
For example, with profiles `dev` and `prod``, you create key-values accordingly with the following labels.
156156
157157
| Key | Label | Value |
158158
| --- | ----- | ----- |
@@ -161,13 +161,13 @@ sections:
161161
162162
When the Spring profile is set to `dev`, the value of `config.message` will be `Hello from dev`. When the Spring profile is set to `prod`, the value of `config.message` will be `Hello from prod`.
163163
164-
This can be overridden by setting a label in your bootstrap file.
164+
This default behavior can be overridden by setting the label filter in your bootstrap file.
165165
166166
```yaml
167167
spring.cloud.azure.appconfiguration.stores[0].selects[0].label-filter: my-label
168168
```
169169
170-
To select other labels with your Spring profile(s), you can put up to 5 labels in a single select, including all Spring profiles. For example, `',${spring.profiles.active}'` will select all keys without a label and the ones matching your Spring profiles. The rightmost label(s) take priority when duplicate keys are found.
170+
To select other labels with your Spring profile(s), including all Spring profiles. For example, `',${spring.profiles.active}'` will select all keys without a label and the ones matching your Spring profiles. The rightmost label(s) take priority when duplicate keys are found.
171171
172172
- question: How can I receive announcements on new releases and other information related to App Configuration?
173173
answer: |

0 commit comments

Comments
 (0)