-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support Multiple Labels In Environment Repositories #2449
Comments
I believe it should be supported. Have you tried it using the native file system as a back end to see if that supports multiple labels? |
Will check and let you know |
Not working with file system backend as well Spring cloud config server application.properties
Upon querying http://localhost:8888/auth/dev/master, i am getting empty output. But once i removed master from Is this desired behaviour? |
No I don't think so. When I try this using a native backend I am getting a 500 back from the config server, is that not what you are seeing? |
Nope, i didn’t get 500. I got empty response as said |
@ryanjbaxter I believe, currently, none of the environment repositories support multiple labels. |
There isn't much, but there is this mention of using multiple labels in the docs
I haven't checked other environment repositories other than JDBC and native |
You can check the code here: JdbcEnvironmentRepository.java The So multiple labels isn't supported in the latest GA version |
Yes it is clearly not supported today. |
* Support multiple labels in NativeEnvironmentRepository Related to #2449 * Reverse labels --------- Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
* Support multiple labels in JdbcEnvironmentRepository Fixes #2449 * Reversing labels --------- Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
My spring cloud config server is using JDBC as backend. My requirement is to use multiple labels to fetch config.
When fetching data using
http://localhost:8888/test_app,test_app2/dev,prod/master
URL i am getting the following responseBut getting empty response after adding another label,
http://localhost:8888/test_app,test_app2/dev,prod/master,feature
Is this supported by spring cloud config?
The text was updated successfully, but these errors were encountered: