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:
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
-
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>
-
Demo program
using demo framework, refer csx-bsf-demo
use various components, refer to the relevant documents module. -
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