Spring Cloud Config Server for Steeltoe.Initializr.WebApi
Перейти к файлу
Chris Cheetham 061538e8b3 Update path to jar 2020-10-22 10:35:56 -04:00
deploy Update path to jar 2020-10-22 10:35:56 -04:00
gradle/wrapper Initial setup 2020-06-25 15:42:12 -04:00
src Log important Spring Config Server properties 2020-10-13 12:05:06 -04:00
.editorconfig Initial setup 2020-06-25 15:42:12 -04:00
.gitignore Ignore local notes 2020-07-15 10:13:34 -04:00
Dockerfile Rename project to Steeltoe.InitializrConfigServer 2020-10-09 15:41:45 -04:00
LICENSE Initial commit 2020-06-25 15:10:52 -04:00
README.md Add Kubernetes support [#11] 2020-09-22 08:08:09 -04:00
azure-pipelines.yaml Remove Cloud Foundry CLI install from dev build 2020-09-11 06:29:03 -04:00
build.gradle Rename project to Steeltoe InitializrConfigServer 2020-08-03 10:00:39 -04:00
gradle.properties Basic DevOps pipeline [Closes #4] 2020-06-30 12:37:26 -04:00
gradlew Initial setup 2020-06-25 15:42:12 -04:00
gradlew.bat Initial setup 2020-06-25 15:42:12 -04:00
settings.gradle Rename project to Steeltoe.InitializrConfigServer 2020-10-09 15:41:45 -04:00

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