Commit 80068c3c by 李秋伟

Merge branch 'dev' into 'master'

Dev

See merge request mall/arch/matrix!10
parents 2806718e cbf6569f
......@@ -4,25 +4,28 @@ Matrix (矩阵)是一套组件增强套件,包括redis、rocketmq等中间件
# 组件
- [common-core](https://gitee.com/baomidou/mybatisplus-spring-mvc):提供通用bean,核心注解,定义通用业务异常。
- [common-core](common-core/README.md):提供通用bean,核心注解,定义通用业务异常。
- [common-util](common-util/README.md): 提供BeanUtil,BeanChecker、CollectionUtil等工具类。
- [config-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 配置中心统一分装
- [redis-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):redis统一封装
- [mybatis-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):基于Mybatis-Plus进行二次包装
- [mongodb-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): mogodb统一封装
- [elasticsearch-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):访问elasticsearch统一封装
- [openfeign-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 对spring-cloud进行封装
- [monitor-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):提供支持dubbo等组件日志监控功能
- [logger-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 统一日志格式,增加应用透明性
- [protocol-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 服务发布模块提供http、dubbo协议增强,包括自定义filter、swagger支持等
- [config-starter](config-starter/README.md): 配置中心统一分装
- [redis-starter]((redis-starter/README.md)):redis统一封装
- [mybatis-starter](mybaties-starter/README.md):基于Mybatis-Plus进行二次包装
- [mongodb-starter](mongodb-starter/README.md): mogodb统一封装
- [elasticsearch-starter](elasticsearch-starter/README.md):访问elasticsearch统一封装
- [openfeign-starter](openfeign-starter/README.md): 对spring-cloud进行封装
- [monitor-starter](/README.md):提供支持dubbo等组件日志监控功能
- [logger-starter](logger-starter/README.md): 统一日志格式,增加应用透明性
- [protocol-starter](protocol-starter/README.md): 服务发布模块提供http、dubbo协议增强,包括自定义filter、swagger支持等
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:Last Version为最新的版本号,详情查看[此处](http://gitlab.secoo.com:8090/mall/arch/matrix/tags )**
**注意:**
1. **Last Version为最新的版本号,最新版本请查看[此处](http://gitlab.secoo.com:8090/mall/arch/matrix/tags )**
2. **<font color=red>此依赖为前置条件,否则其它组件将无法引入</font>**
```xml
<parent>
<groupId>com.secoo.mall</groupId>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
common-uti
common-uti通用工具类套件。提供基于file、collection、json等通用操作的工具包装。
# 组件
# 常用工具类
- [common-util](https://gitee.com/baomidou/mybatisplus-spring-mvc): 提供BeanUtil,BeanChecker、CollectionUtil等工具类。
- [config-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 配置中心统一分装
- [redis-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):redis统一封装
- [mybatis-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):基于Mybatis-Plus进行二次包装
- [mongodb-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): mogodb统一封装
- [elasticsearch-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):访问elasticsearch统一封装
- [openfeign-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 对spring-cloud进行封装
- [monitor-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc):提供支持dubbo等组件日志监控功能
- [logger-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 统一日志格式,增加应用透明性
- [protocol-starter](https://gitee.com/baomidou/mybatisplus-spring-mvc): 服务发布模块提供http、dubbo协议增强,包括自定义filter、swagger支持等
- BeanUtil
- BeanChecker
- JSONUtil
- RepsonseUtil
- StringUtil
- ThreadPoolUtil
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:Last Version为最新的tag,点击[此处]查看。(http://gitlab.secoo.com:8090/mall/arch/matrix/tags )**
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<parent>
<groupId>com.secoo.mall</groupId>
<artifactId>matrix</artifactId>
<version>Last Version</version>
</parent>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>common-util</artifactId>
</dependency>
```
# 期望
> 欢迎提出[issue](http://gitlab.secoo.com:8090/mall/arch/matrix/issues),帮助完善!
# 关注
\ No newline at end of file
# 示例
\ No newline at end of file
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
config-starter。
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>config-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
elasticsearch-starter。
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>elasticsearch-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
logger-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>logger-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>logger-starter</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -5,7 +5,7 @@
<parent>
<artifactId>logger-starter</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
mongodb-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>mongodb-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
monitor-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>monitor-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
mybatis-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>mybatis-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
openfeign-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>openfeign-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -6,7 +6,7 @@
<groupId>com.secoo.mall</groupId>
<artifactId>matrix</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
......@@ -45,67 +45,67 @@
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>secoo-log-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>secoo-log</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>monitor-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>common-core</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>config-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>common-util</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>redis-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>mybatis-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>mongodb-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>elasticsearch-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>protocol-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>rocketmq-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>openfeign-starter</artifactId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
......
# 介绍
protocol-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>protocol-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
redis-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>redis-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
# 介绍
rocketmq-starter
# 特点
-
# 开始
- 添加依赖
- Maven:需要在自己项目的pom.xml增加,以下配置。
**注意:前置条件需要依赖项目中需要设置matrix的parent**
```xml
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>rocketmq-starter</artifactId>
</dependency>
```
# 示例
......@@ -5,7 +5,7 @@
<parent>
<artifactId>matrix</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.11.RELEASE</version>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment