Skip to content

Commit

Permalink
vole commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gavenwangcn committed Dec 4, 2018
0 parents commit 691858e
Show file tree
Hide file tree
Showing 1,510 changed files with 195,834 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/target/
!.mvn/wrapper/maven-wrapper.jar

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/build/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
70 changes: 70 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<img src="./docs/images/logo.jpg" height=80></img>

[![Gitter](https://badges.gitter.im/fagongzi/gateway.svg)](https://gitter.im/fagongzi/gateway?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Build Status](https://api.travis-ci.org/fagongzi/gateway.svg)](https://travis-ci.org/fagongzi/gateway)

Vole
-------
Vole 是一个基于最新的SpringCloud2.0的商业开发脚手架,支持公司全方位应用架构搭建

## Features
* 基于Eureka的服务管理
* 基于Spring-Cloud-Config的配置管理
* 基于Spring-Oauth2的jwt鉴权服务
* 基于Zuul的网关服务
* 基于Elastic-Job的分布式job
* 基于ShardingSphere的分库分表
* 基于SpringAdmin的监控服务
* 基于Zipkin的链路监控服务
* 基于SpringCloudStream的消息驱动
* 基于SpringSecurity的cookie的sso统一登陆服务
* 支持分布式后台portal统一服务
* 支持网关的动态配置和流量控制
* 支持SpringSession的session管理
* 支持Redis的数据服务缓存
* 支持Hystrix的服务熔断管理
* 支持swagger2的api管理
* 支持Kafka,RabbitMQ,Rocketmq的消息接入
* 支持Spring-Oauth2的sso
* 支持Spring-Security的cas客户端
* 支持Spring-Security的cas客户端
* 支持FastDfs的客户端


## Docker
使用 docker-compose 部署Docker镜像


## 架构
![](./docs/images/arch.png)


## 组件
vole由`eureka`, `auth`,`config`,`gateway`,`mps`,`passport`,`portal`,`modules`组成

### Eureka
Eureka服务发现管理,支持高可用配置[更多](./docs/eureka.md)

### Auth
Spring Oauth2鉴权管理支持jwt鉴权[更多](./docs/auth.md)

### Config
Spring config的配置服务管理[更多](./docs/config.md)

### Gateway
Zuul的网关服务,支持动态配置网关[更多](./docs/gateway.md)

### Mps
会员管理中心[更多](./docs/mps.md)

### Passport
后台统一登陆管理[更多](./docs/passport.md)

### Portal
后台管理中心[更多](./docs/portal.md)

### Modules
相关任务,消息,监控等组件[更多](./docs/modules.md)

# 交流方式-微信
![](./docs/images/wx.jpg)
16 changes: 16 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Roadmap
这个文档定义了vole的roadmap.

## Features
- [x] 基于springcloud2.0的微服务脚手架
- [x] 支持分库分表
- [x] 支持分布式job
- [x] 支持分布式统一后台服务
- [x] 支持基于cookie的sso
- [ ] 支持灰度发布
- [ ] 支持resilience4熔断器
- [ ] 支持SpringCloudGateway网关
- [ ] 支持统一验证码服务



6 changes: 6 additions & 0 deletions docs/auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
auth
------
auth 主要负责对网关服务的鉴权服务,使用的是spring oauth2架构,验证信息使用jwt方式

## 生成token
![](./images/auth.png)
5 changes: 5 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config
------
在分布式系统中,由于服务数量巨多,为了方便服务配置文件统一管理,实时更新,所以需要分布式配置中心组件。

vole 中的config 是微服务高可用模式
Binary file added docs/db/.DS_Store
Binary file not shown.
Loading

0 comments on commit 691858e

Please sign in to comment.