Color food fresh revenue base frame csx-bsf-all open source [] [original]

Open source csx-bsf-all

Git address

https://gitee.com/yhcsx/csx-bsf-all

Technology Architecture

 Color food fresh technology Architecture Overview

Introduction

BSF shorthand for the base service framework, defined as the basic framework Yonghui color food fresh technical team for business integration and has nothing to do with the underlying technology infrastructure services integration.

BSF integrated monitoring alarm self-development, to monitor the performance of individual services and abnormal alarm system. Integrated and packaged Apollo, Rocket MQ, Redis, Elastic Search, ELK, XXLJOB, Sharding JDBC, Cat, Eureka, third-party middleware cloud seven cows, providing ease of use of the underlying framework.

Vision

In order to better support business development, allows developers to liberate out from middleware, focused on business development in order to improve efficiency. At the same time the basic framework of centralized optimization middleware-related services and use, provide high performance for developers, more convenient service interface and basic tools.

Project structure specification

All-BSF-CSX      
    - CSX-BSF-Core (core program library)     
    - CSX-BSF-Demo (Integrated item using Demo)     
    - CSX-BSF-Dependencies (pom defined in dependent projects)         
        - README.md ( documentation, must have)     
    - CSX-BSF-Starter (project full-start package)     
    - CSX-BSF-Elk (ELK integration)     
    - CSX-BSF-the Job (JOB XXL-integrated)     
    - CSX-bsf- cat (CAT monitor integration)     
    - CSX-BSF-Apollo (Apollo configuration center integration)     
    - CSX-BSF-message (message - SMS - message staple integration)     
    - CSX-BSF-shardingjdbc (integrated sub-library sub-table shardingJDBC )      
    - CSX-BSF-MQ (Rocket MQ message queue integration)      
    - CSX-BSF-Redis (cache Redis integration)     
    - CSX-BSF-Eureka (service registration and discovery integration)     
    - CSX-BSF-file (file services integration)     
    - CSX-BSF-elasticsearch (ES integration)     
    - csx-bsf-health (self-study health check)     
    - frame name (e.g.: csx-bsf-elk, cat, apollo, etc.)

Related Documents

The system integrates sub-modules respectively corresponding middleware services dispensed, the following documents:

  1. csx-bsf-core

  2. csx-bsf-demo

  3. csx-bsf-dependencies

  4. csx-bsf-starter

  5. csx-bsf-each

  6. csx-bsf-job

  7. csx-bsf-cat

  8. csx-bsf-apollo

  9. csx-bsf-message

  10. csx-bsf-shardingjdbc

  11. csx-bsf-mq

  12. csx-bsf-redis

  13. csx-bsf-eureka

  14. csx-bsf-file

  15. csx-bsf-elasticsearch

  16. csx-bsf-health

Compile Description

mvn install csx-bsf-dependencies

mvn install csx-bsf-all

Upgrade / switch

NOTE: Format: 1.0.0-RELEASE (version number + - + RELEASE / SNAPSHOT) 
cd csx-bsf-dependencies
mvn versions:set -DgenerateBackupPoms=false
或
mvn versions:set -DgenerateBackupPoms=false -DnewVersion={version}

Instructions for use

  1. Dependent reference

    Inheritance csx-bsf-dependencies

 <parent>        
        <groupId>com.yh.csx.bsf</groupId>        
        <artifactId>csx-bsf-dependencies</artifactId>        
        <version>1.7.1-SNAPSHOT</version>    
    </parent>
Or introducing dependent csx-bsf-starter
<dependency>        
        <groupId>com.yh.csx.bsf</groupId>        
        <artifactId>csx-bsf-dependencies</artifactId>        
        <version>1.7.1-SNAPSHOT</version>        
        <type>pom</type>        
        <scope>import</scope>    
    </dependency>    
    <dependency>       
        <artifactId>csx-bsf-starter</artifactId>       
        <groupId>com.yh.csx.bsf</groupId>       
        <version>1.7.1-SNAPSHOT</version>    
    </dependency>
  1. Demo program
    using demo framework, refer csx-bsf-demo
    use various components, refer to the relevant documents module.

  2. Reference properties configuration file
    resources / application.properties

Participation contribution

Architect:  car Jiang Yi
Development: Huangzhao Ping, Liu Jianqiang
maintenance: Wang Zhibin

by car Jiang Yi

Color food fresh technology blog

 

Guess you like

Origin www.cnblogs.com/chejiangyi/p/12144489.html