'Where to keep default config file (app1name.yaml and application.yaml)in config server in case searchlocations = file:///tosomelocation/{profile}

I am trying some Spring cloud config server. I have a scenerio. if u provide searchlocations = file:///tosomelocation/{profile}
then u have to provide ur applications configuration this way
Inside tosomelocation/dev

     app1.yml
     app1-dev.yaml
     app2.yaml
     app2-dev.yaml
     application.yaml

But these configurations are picked by applications(app1 and app2) only when they run in dev PROFILE.

Now, If in int PROFILE too, i want app1.yml to be read, then where should i place this app1.yml file ???

right now i am placing app1.yaml in all profile specific folders

int folder

dev folder

e.t.c

Any help on this one ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source