Skip to content

Commit 5f4e099

Browse files
committed
Added Spring Labels to F.A.Q.
1 parent f824e71 commit 5f4e099

File tree

1 file changed

+11
-1
lines changed
  • articles/azure-app-configuration

1 file changed

+11
-1
lines changed

articles/azure-app-configuration/faq.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,17 @@ sections:
145145
Yes. While you can manage feature flags and Key Vault references in App Configuration through the Azure portal or CLI, you can also create and update them programmatically using App Configuration SDKs. Therefore, you can write your customized management portal or manage them in your CI/CD programmatically. The feature flag and Key Vault reference APIs are available in SDKs of all supported languages. Check out the [sample links](https://github.com/Azure/AppConfiguration#sdks) for examples in each supported language.
146146
147147
Evaluating and consuming feature flags in your application requires the App Configuration provider and feature management libraries, which are available in .NET and Java Spring. Check out the _Feature management_ section under _Quickstarts_ and _Tutorials_ for more information.
148-
148+
149+
- question: How to support profiles in Spring applications?
150+
answer: |
151+
Your Spring profile(s) are the default value of your selected keys. This can be overridden by setting a label in your bootstrap failed.
152+
153+
```yaml
154+
spring.cloud.azure.appconfiguration.stores[0].selects[0].label-filter: my-label
155+
```
156+
157+
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 right most label(s) take priority when duplicate keys are found.
158+
149159
- question: How can I receive announcements on new releases and other information related to App Configuration?
150160
answer: |
151161
Subscribe to our [GitHub announcements repo](https://github.com/Azure/AppConfiguration-Announcements).

0 commit comments

Comments
 (0)