I am using config server against a git repository. This git repostiory has two files, application.yml and foo.yml (my app is named foo).
example:
application.yml
myglobalsectionwithwhateverelse
---
spring.config.activate.on-profile: myprofile
myproperty: value1
foo.yml
myproperty: value2
---
spring.config.activate.on-profile: myprofile
... other properties
The property being resolved in my application when i use profile myprofile is value1, where I would expect it to be value2. This is because any properties in the app specific yaml should be more important.
I am using spring cloud starter config version 4.3.2
I am using config server against a git repository. This git repostiory has two files, application.yml and foo.yml (my app is named foo).
example:
application.yml
foo.yml
The property being resolved in my application when i use profile myprofile is value1, where I would expect it to be value2. This is because any properties in the app specific yaml should be more important.
I am using spring cloud starter config version 4.3.2