Config Server
Choerodon's configuration service, configuration center for unified management of service configuration files. The local service directly applies the configuration of the local configuration file. The online service except manager-service
, register-server
, and config-server
pulls from config-sever
, and the config-server
obtain configuration from the manager-service
. The configuration of the service needs to import the service configuration into the manager-service
database through choerodon-tool-config
.
-
Pull configuration rules.
If the service includes the configuration version when pulling configurations, the corresponding version configuration is pulled, otherwise, the default configuration is pulled.
Requirements
- This service is an eureka client service. The local executing needs to cooperate with
eureka-server
, and the online executing needs to cooperate withgo-register-server
. - The
config-server
obtains the configuration from themanager-service
management service and needs to start themanager-service
. - The configuration of other services needs to be imported into the
manager-service
database by usingchoerodon-tool-config
.
Installation and Getting Started
- run
eureka-server
- switch into the project directory and run
mvn spring-boot:run
Dependencies
go-register-server
: Registration servicemanager-service
: Management service
Links
How to Contribute
Pull requests are welcome! Follow to know for more information on how to contribute.
Note
- Local service uses the configuration in the configuration file directly, without starting the service
- It need to work with
manager-service
when execute online, and Online needs to be used in conjunction withmanager-service
, And the configuration of the service needs to import service configuration intomanager-service
database bychoerodon-tool-config
.