Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wlanboy/cloudconfigpropertygenerator
Spring based property generator
https://github.com/wlanboy/cloudconfigpropertygenerator
spring-boot spring-cloud spring-cloud-config spring-profile spring-properties
Last synced: 6 days ago
JSON representation
Spring based property generator
- Host: GitHub
- URL: https://github.com/wlanboy/cloudconfigpropertygenerator
- Owner: wlanboy
- License: apache-2.0
- Created: 2019-04-05T07:47:29.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-15T03:50:57.000Z (4 months ago)
- Last Synced: 2024-09-15T08:46:48.328Z (4 months ago)
- Topics: spring-boot, spring-cloud, spring-cloud-config, spring-profile, spring-properties
- Language: Java
- Size: 111 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![Java CI with Maven](https://github.com/wlanboy/CloudConfigPropertyGenerator/workflows/Java%20CI%20with%20Maven/badge.svg?branch=master)
# Spring Cloud Config property file generator
Spring Boot and Spring Cloud Config based property file generator
> Loads profiles from Spring Cloud Config server and generates a bootstrap.properties file.## Dependencies
At least: Java 11 and Maven 3.5Running: https://github.com/wlanboy/ServiceConfig
## Build
mvn package -DskipTests=true## Run property generator
java -jar target/cloudconfigpropertygenerator-0.0.1-SNAPSHOT.jar## Konfigure property generator
vim bootstrap.propertiesset 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.## Docker hub
https://hub.docker.com/repository/docker/wlanboy/propertygenerator