Spring Cloud Config

Skeleton E1

Cloud Config Server

Spring Property Values

spring.application.name=skeleton

spring.active.profiles=e1,ssl

label=e1

git pull
SCM Polling

Alerts E2

spring.application.name=alerts

spring.active.profiles=e2,ssl

label=e2

Spring Property Values

Proposed Repo Structure

E1,E2,E3 branches
.
├── application.properties
└── skeleton
    ├── application.properties
    └── application-ssl.properties

spring.application.name

label set in local properties

to amexenvlevel

  • Properties from Cloud Config take priority
Cloud Config, E1 Branch
.
├── application.properties
├── application-ssl.properties
└── skeleton
    ├── application.properties
    └── application-ssl.properties
Local, E1 Skeleton
.
├── application.properties
└── application-ssl.properties

Highest

Spring Cloud Vault

Being explored as an enterprise solution this year

Short Lived Credentials

Can be added as another property source to Cloud Config Server

Made with Slides.com