c3b99a630c | ||
---|---|---|
deploy | ||
gradle/wrapper | ||
src | ||
.editorconfig | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
azure-pipelines.yaml | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |
README.md
Steeltoe InitializrConfigServer
A Spring Cloud Config Server for Steeltoe InitializrApi
Build
$ ./gradlew bootJar
Docker
$ docker build -t initializr-config-server .
Run
Using Application Jar
$ java -jar build/libs/InitializrConfigServer-*.jar <args>
Using Gradle
$ ./gradlew bootRun -Pargs=<args>
Using Docker
$ docker -it --rm -p 8888:8888 initializr-config-server <args>
Deploy
Kubernetes
$ kubectl apply -f deploy/manifest/local.yaml
Cloud Foundry
$ cf push -f deploy/cloud-foundry/manifest.yaml
Options
Logging
logging.level.io.steeltoe={error,warn,info,debug,trace}
Git Backend
spring.cloud.config.server.git.uri=<url>
Local Backend
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=file://<path>
Sample URL paths
# development profile
/SteeltoeInitializr/Development
# development profile per a branch
/SteeltoeInitializr/Development/master
# development profile per a tag
/SteeltoeInitializr/Development/0.1.0
# development profile per a commit
/SteeltoeInitializr/Development/f425c275a3bff305b0b3bf2b1c4586fa7400b527