Describe the bug
According to the spring cloud config docs for a given application name foo the server creates an Environment from application.yml (shared between all clients) and foo.yml (with foo.yml taking precedence).
This is not the case if the application name start with application (e.g. applicationfoobar). In this case the Environment from application.yml is ignored and only the one from applicationfoobar.yml is crated.
Looking at the NativeEnvironmentRepository source in the line number 228 one can see the reason:
if (!config.startsWith("application")) {
config = "application," + config;
}
I didn't find anything in the docs to indicate if this is intended behaviour or a bug.