Superdiamond - Configuration Management Server

The application of superdiamond in the project is summarized as follows:

       Superdiamond - Configuration Management Server

       Features and Benefits:

1. As a configuration management center, it manages various types of configuration information for other services to obtain and call.

2. Multiple projects can be created (the project code is used as a unique identifier), and each project is divided into several profile levels (development, test, build, production), and these configuration items can inherit or cover other configuration items as a whole.

3. For services and applications, the configuration information can be added and modified directly in superdiamond without relying on the project. The service focuses on its own business implementation. After the package is completed, it can be applied to the deployment of various environments (the original environment is often needed The deployment is modified to the configuration information of what environment, and then repackaged).

        Integration and configuration:

                 Under windows system:

                  Add the superdiamond configuration to the Java project of eclipse. The steps are as follows:

         1. Right-click on the project, select Profile as->Profile Configurations to open the configuration panel, and then select Arguments.

         2. Add your deployed superdiamond server and port configuration after the existing contents of the VM arguments, such as -Dsuperdiamond.projcode=project code-Dsuperdiamond.host=server address-Dsuperdiamond.port=port-Dsuperdiamond.profile=production (test The environment is generally test), and then restart the application.

 

                   Under linux system:

                    Add the superdiamond configuration to the Java project under tomcat. The steps are as follows:

          Just modify the configuration content in catalina.sh in the tomcat deployed by the Java service (or application), and add -Dsuperdiamond.projcode=project code-Dsuperdiamond.host=server address-Dsuperdiamond.port after the original content of JAVA_OPTS =port-Dsuperdiamond.profile=production

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325336079&siteId=291194637