Super-diamond Configuration Management System

Source: Internet
Author: User
Tags gz file

Super-diamond
    • Configuration management system to provide system parameters configuration management, such as database configuration information, configuration parameters can be pushed to the client in real time (based on Netty4), to facilitate the system to dynamically modify the operating parameters.

    • Multiple projects can be built, each of which is divided into three profiles (development, test, production) to control profile level permissions.

    • All parameters are configured by the development profile, and test and production profiles inherit the development profile configuration, or they can be overwritten. Test and production profile only provide modification functionality.

    • The client backs up the configuration information to the local file system and can use a local backup if the server is unavailable. The client can periodically re-connect the server to ensure that the client is highly available.

    • The client provides Configurationlistener, and when a property changes (add, update, clear), Configurationlistener can receive configurationevent.

Super-diamond-server Installation
    1. Download Super-diamond code: Git clone https://github.com/melin/super-diamond.git

    2. Enter Super-diamond directory, build super-diamond Parent project: mvn Install

    3. Super-diamond-server Embedded jetty Run, build deployment package: mvn install assembly:single-pproduction, build super-diamond-server-${version}- bin.tar.gz file, unzip run bin/server.sh start command.

    4. In the conf\meta-inf\scripts directory, MySQL and Oracle build table scripts are available, and the theory supports other databases in conf\meta-inf\res\ Modify the database configuration in the Config-production.properties file.

    5. In the Conf_user table, add user admin, password 000000 encryption value is: 670B14728AD9902AECBA32E22FA4F6BD, MySQL script: INSERT into Conf_user (Id,user_code, User_name,password,create_time) VALUES (1, ' admin ', ' admin ', ' 670b14728ad9902aecba32e22fa4f6bd ', Current_timestamp () );
      Commit

    6. Access Super-diamond-server,jetty default port is 8090 and can be modified in: Conf/meta-inf/res/jetty.properties. Http://localhost:8090/superdiamond

Super-diamond Configuration Management System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.