boot-support
Boot Support 致力于为微服务架构开发提供通用解决方案,此项目包含开发分布式应用微服务的必需组件,方便开发者通过 Spring Boot、Spring Cloud、Spring Cloud Alibaba 编程模型轻松使用这些组件来开发分布式应用服务
项目依托 Spring Boot、Spring Cloud、Spring Cloud Alibaba,引入项目后,只需要添加一些注解和少量配置,就可以快速开发此类型的项目,使用一套架构,既可开发Spring Boot项目,也可开发Spring Cloud项目,还可以开发Dubbo项目!
主要功能
- 常用web开发快速配置:支持统一异常处理、数据库映射代码自动生成、跨域配置、请求日志记录、统一Response响应、Swagger日志快速集成
 - 集成Hutool常用工具类:支持引用Hutool所有工具类
 - 快速集成Mysql:配合Mybatis、通用Mapper、PageHelper快速使用Mysql
 - 快速集成Redis:快速配置Redis单机/集群模式,提供Redis分布式锁
 - Spring Cloud Gateway集成:对Spring Cloud Gateway进行二次封装,支持重定向服务降级、Gateway端的统一异常处理、统一Response响应
 
参考文档 请查看 WIKI 。
Boot Support 的目录结构
.
├── boot-support-commons
│   ├── boot-support-commons-web 
|   ├── boot-support-commons-generator
│   ├── boot-support-commons-exception
│   ├── boot-support-commons-response
│   └── boot-support-commons-utils
├── boot-support-db-aggregation
│   ├── boot-support-db
│   ├── boot-support-db-mysql
│   └── boot-support-db-redis
├── boot-support-dependencies
├── boot-support-gateway
└── boot-support-parent 
boot-support-dependencies定义统一的组件依赖boot-support-commonscommons常用工具与配置boot-support-db-aggregation数据库封装组件,实现快速引用boot-support-gateway经过封装的Spring Cloud Gateway网关boot-support-parent主要负责实现在具体项目中的引用
boot-support-dependencies主要组件依赖
| 依赖 | 版本 | 
|---|---|
| Spring Boot | 2.3.4.RELEASE | 
| Spring Cloud | Hoxton.RELEASE | 
| Spring Cloud Alibaba | 2.3.4.RELEASE | 
| Hutool | 5.4.4 | 
| Mybatis Starter | 2.1.3 | 
| 通用 Mapper | 2.1.5 | 
| Page Helper | 1.3.0 | 
| Druid Starter | 1.1.23 | 
| Jasypt Starter | 3.0.3 | 
| Swagger Knife4j | 2.0.4 | 
| Mybatis Generator | 1.3.7 | 
| javapoet | 1.13.0 |