Socket
Socket
Sign inDemoInstall

@choerodon/manager

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@choerodon/manager

This service is the management center of the Choerodon Microservices Framework. It`s main functions include configuration management, route management, and swagger management.


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Manager Service

This service is the management center of the Choerodon Microservices Framework. It`s main functions include configuration management, route management, and swagger management.

Installation and Getting Started

Create a manager_service database in MySQL:

CREATE USER 'choerodon'@'%' IDENTIFIED BY "123456";
CREATE DATABASE manager_service DEFAULT CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON manager_service.* TO choerodon@'%';
FLUSH PRIVILEGES;

New file of init-local-database.sh in the root directory of the manager-service project:

mkdir -p target
if [ ! -f target/choerodon-tool-liquibase.jar ]
then
    curl http://nexus.choerodon.com.cn/repository/choerodon-release/io/choerodon/choerodon-tool-liquibase/0.6.0.RELEASE/choerodon-tool-liquibase-0.6.0.RELEASE.jar -o target/choerodon-tool-liquibase.jar
fi
java -Dspring.datasource.url="jdbc:mysql://localhost/manager_service?useUnicode=true&characterEncoding=utf-8&useSSL=false" \
 -Dspring.datasource.username=choerodon \
 -Dspring.datasource.password=123456 \
 -Ddata.drop=false -Ddata.init=true \
 -Ddata.dir=src/main/resources \
 -jar target/choerodon-tool-liquibase.jar

And executed in the root directory of the manager-service project:

sh init-local-database.sh

Then run the project in the root directory of the project:

mvn spring-boot:run

Usage

  1. Configuration management:
    • Manager provides configuration of new, update, and delete operations.
    • You can use the json, yaml, or properties text formats.
    • You can create or modify a configuration item for a version of a configuration.
    • After updating a configuration, the manager informs the config-server service and the corresponding service pulls the new configuration.
  2. Route Management:
    • The initial route can be obtained by initializing the configuration of the api-gateway service.
    • You can create, edit, and edit routes.
    • After modifying the route, the manager will notify the config-server service and
  • Change Log

How to Contribute

Pull requests are welcome! Follow this link for more information on how to contribute.

FAQs

Package last updated on 21 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc