https://stackoverflow.com/questions/70782829/spring-cloud-config-match-resources-but-doesnt-return-the-config-to-the-client
Spring cloud config server handles partially the windows path (As shown in the debug logs, the .yml files are found and loaded correctly). The failure occurs almost at the end of the process, in the clean()
function of NativeEnvironmentRepository
class : Before sending the response to the config client, this function compares the location of the yml files to correct "patterns path", and this is where windows path are not handled correctly. (Locations are computed and mixes the two kinds of slashs : C:\Users\Edouard\myconfig/myapp/
)
Maybe it would be a good idea that spring cloud config throw a proper error, or handles it properly ?
Thanks for your work !
Comment From: ryanjbaxter
thanks @EdouardBavoux!
Would you be able to create a PR with a unit test that reproduces or shows the failure?
Comment From: spring-cloud-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-cloud-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.