Spring Cloud Config Server for Steeltoe.Initializr.WebApi
Перейти к файлу
Tim Hess ddc87e5d3f fix path to jar 2024-02-07 11:55:41 -06:00
.github/workflows fix path to jar 2024-02-07 11:55:41 -06:00
gradle/wrapper move from devops to gha, update deps 2024-02-07 11:39:24 -06:00
src Set default label to main 2021-10-12 14:13:30 -04:00
.dockerignore Remove cruft from Docker build 2021-07-02 12:16:36 -04:00
.editorconfig Initial setup 2020-06-25 15:42:12 -04:00
.gitignore Use YTT to generate k8s manifests 2021-09-27 11:09:10 -04:00
Dockerfile move from devops to gha, update deps 2024-02-07 11:39:24 -06:00
LICENSE Initial commit 2020-06-25 15:10:52 -04:00
README.md move from devops to gha, update deps 2024-02-07 11:39:24 -06:00
azure-pipelines.yaml Only publish manifests when image pushed 2022-05-12 09:23:08 -04:00
build.gradle move from devops to gha, update deps 2024-02-07 11:39:24 -06:00
gradle.properties Use pipeline to set version 2021-10-12 15:51:19 -04:00
gradlew Bump Spring Boot to 2.5.2 2021-07-01 12:25:47 -04:00
gradlew.bat Bump Spring Boot to 2.5.2 2021-07-01 12:25:47 -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/Steeltoe.InitializrConfigServer-*.jar <args>

Using Gradle

./gradlew bootRun -Pargs=<args>

Using Docker

docker run -it --rm -p 8888:8888 initializr-config-server <args>

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