Spring Boot and Spring Cloud Config based property file generator
Loads profiles from Spring Cloud Config server and generates a bootstrap.properties file.
At least: Java 11 and Maven 3.5
Running: https://github.com/wlanboy/ServiceConfig
mvn package -DskipTests=true
java -jar target/cloudconfigpropertygenerator-0.0.1-SNAPSHOT.jar
vim bootstrap.properties
set proper values to: spring.profiles.active, spring.application.name and PROPERTY_FILE_TO_WRITE.
It will load all properties for the given application name and properties and writes them to a java properties files. This is a side car for Java applications which are not able to use Spring Boot (Java version < 8) but should still be able to be configured with a Spring Cloud Config server.
https://hub.docker.com/repository/docker/wlanboy/propertygenerator