You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to find: key=config.message and label=foo
Value with label foo does not exist, while values with empty label does exist.
Load from multiple labels does not work as expected when %00 (empty label) is used
It is expected to get a value with empty label
There seems to be a number of issues here. Documentation wise %00 is null which returns all values.
To get what you want your label value should be spring.cloud.azure.appconfiguration.stores[0].label= prod,, but that doesn't seem to work in the current version. I am looking into a solution to the issue.
There might be a bit of confusion here where the right most label has priority. So for example spring.cloud.azure.appconfiguration.stores[0].label= a,b,c
Key
Value
Label
/application/config.message
Label A
a
Label B
b
Label C
c
/application/config.second
Second Value
a
Second B
b
/application/config.third
Third Value
a
In this case the returned values would be
config.message= Label C
config.second= Second B
config.third= Third Value
@valmol This should be fixed in the new release 1.2.4, but is should be either
spring.cloud.azure.appconfiguration.stores[0].label=,foo
or
spring.cloud.azure.appconfiguration.stores[0].label=\0,foo
Try to find: key=config.message and label=foo
Value with label foo does not exist, while values with empty label does exist.
Load from multiple labels does not work as expected when %00 (empty label) is used
It is expected to get a value with empty label
bootstrap.properties:
App config:
Library:
Azure App Configuration for Spring Cloud:
https://github.com/microsoft/spring-cloud-azure/tree/master/spring-cloud-azure-starters/spring-cloud-starter-azure-appconfiguration-config
Expected Behavior
Get "Label"
Current Behavior
Get "Pro Label"
Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: