My intention is to have two profiles in a spring boot application - development and production one. Development profile is meant just to override some variables of production pr
You could add a new profile in the application-bar.yaml:
application-bar.yaml
spring.profiles.include: foo,foo-override myproperty: 33 --- spring.profiles: foo-override myproperty: 55
The order is: 33 in bar overridden by 44 in foo overridden by 55 in foo-override.
33 in bar
44 in foo
55 in foo-override