Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 1.17 KB

File metadata and controls

33 lines (30 loc) · 1.17 KB

Config Server Demonstration

##Pre-requisite

  • Four applications are running
  • A demo-onlinestore-ui app is bound to Pivotal Config Server
  • Read basic information
  • Pivotal Spring Cloud Config Server
  • Create Github repository for storing configurations. e.g. config
  • Create application.yml file in config repository and add below lines and restart demo-onlinestore-ui.
security:
  basic:
    enabled: true
management:
  security:
    enabled: true

##1. Creating Config Server

##2. How to demostration

  1. Access to demo-onlinestore-ui app and the app request basic authentication. This is because application.yml setting.
  2. Edit application.yml.
security:
  basic:
    enabled: false
management:
  security:
    enabled: false
  1. Restart app and access again. Basic authentication is not required. Configuration is injected with no re-build, re-complie and re-deploy! Configuration is distributed by config server.