The Spring official tutorial for Centralized Configuration (https://spring.io/guides/gs/centralized-configuration/) says that:
It will also send all the values from any file named application.properties or application.yml in the Git repository.
I would like to use a few properties from that file inside the specific property file a-bootiful-client.properties
.
Is it possible? I tried but the placeholders did not work for me.
For example, I have a key-value pair key1=val1
in the application.properties file. Then in the a-bootiful-client.properties
file I tried to access that key as another.key=${key1}-extraVal
.
Thanks