暂无描述

Chris Lim c0d8bd4e97 Mini guide on how to configure Spring Cloud Config. 9 年之前
admin 36f5d75204 Name refactoring. 9 年之前
registration 6374b7699e Additional config changes. 9 年之前
README.md c0d8bd4e97 Mini guide on how to configure Spring Cloud Config. 9 年之前
registration-dev.yml 6374b7699e Additional config changes. 9 年之前
registration-staging.yml 6374b7699e Additional config changes. 9 年之前
registration.yml 7320030a68 Additional config testing. 9 年之前

README.md

NOTES:

Default config should be for the current deployment environment (e.g. Staging or Production). The reason being, it should not require additional command line config to run the services. Developers should instead specify the additional command line config when executing the services.

These are the options for the developers:

  1. git branch Spring Cloud Config is able to handle git branches. This config is ideal if you have config experimentation and don't want to impact other developers. Specify -Dspring.cloud.config.label= when running the service.

  2. Spring profile To load a spring profile: -Dspring.cloud.config.profile=

  3. There should also be a corresponding file in the git repository with the format -.yml