Source code | Package (Maven) | README | Product documentation | Samples
Source code web | Package (Maven) web | Product documentation
Active development has moved to group
com.azure.spring
and artifactsspring-cloud-azure-appconfiguration-config
andspring-cloud-azure-appconfiguration-config-web
. See SpringCloudAzureAppConfigurationConfig for more information.
- Add a refresh interval
spring.cloud.azure.appconfiguration.refresh-interval
that can be used to periodically reload all the key-value pairs in a configuration store. This can also be used to force update Key Vault References. - Added support for parsing and using sync-token from push notifications received from Event Grid. Using sync-token ensures that users get the latest key-values from App Configuration on any subsequent request.
- Dependency updates
- Fixed a bug where
spring.cloud.application
was still used in a location. This caused a refresh bug where a null value was used on refresh.spring.cloud.application
has now been replaced bykey-filter
.
- Fixed a bug where content-type json configurations that used numbers literals inside of tables/lists wouldn't resolve.
- Fixed a bug where a watch key may not work as expected. If you use a key with no label as the watch key and delete the key in App Configuration, if the key has values with other labels, the key with another label could be used as the watch key.
- Fixed a bug where adding or deleting a feature flag in App Configuration wouldn't cause the feature flag to be added or deleted in users' applications. #24049
-
Added Health Monitor support with Spring Actuator. #21982
-
Added new API which allows users to configure the behavior when a Key Vault reference which cannot be resolved.
KeyVaultSecretProvider
can be used to resolve the references using itsgetSecret
method, which provides a URI to the requested secret.@Bean public KeyVaultSecretProvider keyVaultSecretProvider() { return new KeyVaultSecretProvider() { @Override public String getSecret(String uri) { ... return mySecret; } }; }
- Enables loading from multiple App Configuration stores.
- Each store can load configurations by using key/label
selects
. Manyselects
can be used, default is key =/applicaiton/*
with label =${spring.profiles.active}
or if null\0
. See README for full configuration. - Authentication via Connection String, Managed Identity, or any method supported by Azure Identity SDK, see Token Credential Provider in README.
- App Configuration stores can be monitored for changes. This is done by a specified configuration know as a trigger being checked in the App Configuration store on a set interval. Each individual App Configuration store can be enabled/disabled for monitoring and have a different interval in which they are checked. Monitoring can be done through either a Push or Pull model.
- Pull Monitoring checks the config store for changes strictly based on how long it has been since the last check and activity in the application.
- Push Monitoring has the App Configuration store notify the Application that configurations have changed through a web-hook.
- Feature Flag loading can be enabled per config store
spring.cloud.azure.appconfiguration.stores[0].feature-flags.enable
- A single label can be used to load feature flags, default
\0
i.e. (No Label). - A cache expiration can be set for feature flags.
- A single label can be used to load feature flags, default
- Configurations can be set using: Key-Value, Key Vault Reference, Placeholder Values i.e.
${my.config}
, Json