I have a Spring Boot application which uses the default application.yml to define configuration properties. At the moment, this file has some environment specific information such as SMTP server details, which I would like to externalize to a database table. I tried to modify this example given for a traditional Spring application here http://www.javacodegeeks.com/2012/11/spring-3-1-loading-properties-for-xml-configuration-from-database.html but so far no luck.
What is the best approach for doing this with Spring Boot?