Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
matrix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
matrix
Commits
89ecec02
Commit
89ecec02
authored
Jan 03, 2020
by
qiuweili123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.2.9
parent
d5461c95
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
105 additions
and
90 deletions
+105
-90
pom.xml
common-core/pom.xml
+1
-1
pom.xml
common-util/pom.xml
+1
-1
pom.xml
config-starter/pom.xml
+1
-1
pom.xml
elasticsearch-starter/pom.xml
+1
-1
pom.xml
logger-starter/pom.xml
+1
-1
pom.xml
matrix-datasource/matrix-datasource-core/pom.xml
+5
-5
AbsDataSource.java
matrix-datasource/matrix-datasource-core/src/main/java/com/secoo/mall/datasource/bean/AbsDataSource.java
+24
-34
MatrixDataSource.java
matrix-datasource/matrix-datasource-core/src/main/java/com/secoo/mall/datasource/bean/MatrixDataSource.java
+11
-0
MatrixDynamicDataSource.java
matrix-datasource/matrix-datasource-core/src/main/java/com/secoo/mall/datasource/bean/MatrixDynamicDataSource.java
+9
-0
pom.xml
matrix-datasource/matrix-datasource-druid/pom.xml
+1
-1
pom.xml
matrix-datasource/pom.xml
+2
-2
pom.xml
matrix-mq/matrix-rocketmq-core/pom.xml
+1
-1
pom.xml
matrix-mq/matrix-rocketmq-starter/pom.xml
+1
-1
pom.xml
matrix-mq/pom.xml
+1
-1
pom.xml
matrix-mybatis/matrix-mybatis-core/pom.xml
+1
-1
pom.xml
matrix-mybatis/matrix-mybatis-starter/pom.xml
+1
-1
pom.xml
matrix-mybatis/pom.xml
+4
-4
pom.xml
matrix-protocol/matrix-protocol-core/pom.xml
+1
-1
pom.xml
matrix-protocol/matrix-protocol-dubbo-core/pom.xml
+1
-1
pom.xml
matrix-protocol/matrix-protocol-dubbo-starter/pom.xml
+1
-1
pom.xml
matrix-protocol/matrix-protocol-web-core/pom.xml
+1
-1
pom.xml
matrix-protocol/matrix-protocol-web-starter/pom.xml
+1
-1
pom.xml
matrix-protocol/pom.xml
+6
-6
pom.xml
mongodb-starter/pom.xml
+1
-1
pom.xml
monitor-starter/pom.xml
+1
-1
pom.xml
openfeign-starter/pom.xml
+1
-1
pom.xml
pom.xml
+24
-19
pom.xml
redis-starter/pom.xml
+1
-1
No files found.
common-core/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
common-util/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
config-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
elasticsearch-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
logger-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-datasource/matrix-datasource-core/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-datasource
</artifactId>
<artifactId>
matrix-datasource
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -17,10 +17,6 @@
...
@@ -17,10 +17,6 @@
<artifactId>
spring-context
</artifactId>
<artifactId>
spring-context
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.security
</groupId>
<artifactId>
spring-security-crypto
</artifactId>
</dependency>
<dependency>
<groupId>
org.aspectj
</groupId>
<groupId>
org.aspectj
</groupId>
<artifactId>
aspectjweaver
</artifactId>
<artifactId>
aspectjweaver
</artifactId>
</dependency>
</dependency>
...
@@ -37,6 +33,10 @@
...
@@ -37,6 +33,10 @@
<artifactId>
spring-jdbc
</artifactId>
<artifactId>
spring-jdbc
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.javassist
</groupId>
<artifactId>
javassist
</artifactId>
</dependency>
<dependency>
<groupId>
com.ctrip.framework.apollo
</groupId>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo-client
</artifactId>
<artifactId>
apollo-client
</artifactId>
</dependency>
</dependency>
...
...
matrix-datasource/matrix-datasource-core/src/main/java/com/secoo/mall/datasource/bean/AbsDataSource.java
View file @
89ecec02
...
@@ -14,21 +14,24 @@ import java.lang.reflect.Method;
...
@@ -14,21 +14,24 @@ import java.lang.reflect.Method;
import
java.sql.Connection
;
import
java.sql.Connection
;
import
java.sql.SQLException
;
import
java.sql.SQLException
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.concurrent.locks.Lock
;
import
java.util.concurrent.locks.Lock
;
import
java.util.concurrent.locks.ReentrantLock
;
import
java.util.concurrent.locks.ReentrantLock
;
@Slf4j
@Slf4j
public
abstract
class
AbsDataSource
extends
AbstractDataSource
implements
DisposableBean
{
public
abstract
class
AbsDataSource
extends
AbstractDataSource
implements
DisposableBean
{
@Getter
private
Map
<
String
,
DataSource
>
dataSourceMap
=
new
HashMap
<>();
private
static
Lock
lock
=
new
ReentrantLock
();
private
static
Lock
lock
=
new
ReentrantLock
();
private
DataSourceProvider
dataSourceProvider
=
ServiceLoaderFactory
.
getInstance
(
DataSourceProvider
.
class
);
private
static
DataSourceProvider
dataSourceProvider
=
ServiceLoaderFactory
.
getInstance
(
DataSourceProvider
.
class
);
@Getter
private
static
Map
<
String
,
DataSource
>
dataSourceMap
=
dataSourceProvider
.
loadDataSources
();
public
AbsDataSource
()
{
public
AbsDataSource
()
{
loadDataSources
();
}
}
@Override
@Override
...
@@ -49,43 +52,30 @@ public abstract class AbsDataSource extends AbstractDataSource implements Dispos
...
@@ -49,43 +52,30 @@ public abstract class AbsDataSource extends AbstractDataSource implements Dispos
*/
*/
public
DataSource
getTargetDataSource
(
String
dsName
)
{
public
DataSource
getTargetDataSource
(
String
dsName
)
{
//如果数据源名字为空默认取一个,此种情况可以允许不使用@SelectDataSource指定数据源
//如果数据源名字为空默认取一个,此种情况可以允许不使用@SelectDataSource指定数据源
if
(
getDataSourceMap
()
.
containsKey
(
dsName
))
{
if
(
dataSourceMap
.
containsKey
(
dsName
))
{
return
getDataSourceMap
()
.
get
(
dsName
);
return
dataSourceMap
.
get
(
dsName
);
}
}
throw
new
BusinessException
(
DataSourceError
.
DATA_SOURCE_NOT_EXIST
,
dsName
);
throw
new
BusinessException
(
DataSourceError
.
DATA_SOURCE_NOT_EXIST
,
dsName
);
}
}
/*
***
* bean销毁
*
* @throws Exception
*/
@Override
@Override
public
void
destroy
()
throws
Exception
{
public
void
destroy
()
throws
Exception
{
log
.
info
(
"datasource start closing ...."
);
List
<
String
>
removeDsNames
=
getRemoveDsNames
();
for
(
Map
.
Entry
<
String
,
DataSource
>
item
:
dataSourceMap
.
entrySet
())
{
DataSource
dataSource
=
item
.
getValue
();
for
(
String
dsName:
removeDsNames
){
log
.
info
(
"datasource {} start closing ...."
,
dsName
);
DataSource
dataSource
=
dataSourceMap
.
get
(
dsName
);
Class
<?
extends
DataSource
>
clazz
=
dataSource
.
getClass
();
Class
<?
extends
DataSource
>
clazz
=
dataSource
.
getClass
();
try
{
try
{
Method
closeMethod
=
clazz
.
getDeclaredMethod
(
"close"
);
Method
closeMethod
=
clazz
.
getDeclaredMethod
(
"close"
);
closeMethod
.
invoke
(
dataSource
);
closeMethod
.
invoke
(
dataSource
);
}
catch
(
NoSuchMethodException
e
)
{
}
catch
(
NoSuchMethodException
e
)
{
log
.
warn
(
"datasource close the datasource named [{}] failed,"
,
item
.
getKey
());
log
.
warn
(
"datasource close the datasource named [{}] failed,"
,
dsName
);
}
}
log
.
info
(
"datasource all closed success"
);
}
}
removeDataSource
(
dsName
);
public
void
addDataSource
(
String
dsName
,
DataSource
dataSource
)
{
log
.
info
(
"datasource {} closed success"
,
dsName
);
lock
.
lock
();
log
.
info
(
"load dataSources lock {}"
,
dsName
);
if
(!
dataSourceMap
.
containsKey
(
dsName
))
{
dataSourceMap
.
put
(
dsName
,
dataSource
);
}
}
log
.
info
(
"load dataSources unlock {}"
,
dsName
);
lock
.
unlock
();
}
}
...
@@ -101,17 +91,17 @@ public abstract class AbsDataSource extends AbstractDataSource implements Dispos
...
@@ -101,17 +91,17 @@ public abstract class AbsDataSource extends AbstractDataSource implements Dispos
dataSourceMap
.
remove
(
dsName
);
dataSourceMap
.
remove
(
dsName
);
}
}
log
.
info
(
"remove dataSources unlock {}"
,
dsName
);
log
.
info
(
"remove dataSources unlock {}"
,
dsName
);
lock
.
unlock
();
lock
.
unlock
();
}
}
private
void
loadDataSources
()
{
Map
<
String
,
DataSource
>
dataSourceMap
=
dataSourceProvider
.
loadDataSources
();
for
(
Map
.
Entry
<
String
,
DataSource
>
dataSourceEntry
:
dataSourceMap
.
entrySet
())
{
addDataSource
(
dataSourceEntry
.
getKey
(),
dataSourceEntry
.
getValue
());
}
}
protected
abstract
DataSource
getDataSource
();
protected
abstract
DataSource
getDataSource
();
/**
* 确定要清除的数据源名称
* @return
*/
protected
abstract
List
<
String
>
getRemoveDsNames
();
}
}
matrix-datasource/matrix-datasource-core/src/main/java/com/secoo/mall/datasource/bean/MatrixDataSource.java
View file @
89ecec02
package
com
.
secoo
.
mall
.
datasource
.
bean
;
package
com
.
secoo
.
mall
.
datasource
.
bean
;
import
com.google.common.collect.Lists
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
javax.sql.DataSource
;
import
javax.sql.DataSource
;
import
java.lang.reflect.Method
;
import
java.util.Arrays
;
import
java.util.List
;
/**
/**
* 此数据源为指定数据源,支持xml进行定义
* 此数据源为指定数据源,支持xml进行定义
...
@@ -27,4 +31,11 @@ public class MatrixDataSource extends AbsDataSource {
...
@@ -27,4 +31,11 @@ public class MatrixDataSource extends AbsDataSource {
protected
DataSource
getDataSource
()
{
protected
DataSource
getDataSource
()
{
return
getTargetDataSource
(
this
.
dsName
);
return
getTargetDataSource
(
this
.
dsName
);
}
}
@Override
protected
List
<
String
>
getRemoveDsNames
()
{
return
Arrays
.
asList
(
dsName
);
}
}
}
matrix-datasource/matrix-datasource-core/src/main/java/com/secoo/mall/datasource/bean/MatrixDynamicDataSource.java
View file @
89ecec02
...
@@ -4,6 +4,10 @@ import com.secoo.mall.datasource.holder.DataSourceContextHolder;
...
@@ -4,6 +4,10 @@ import com.secoo.mall.datasource.holder.DataSourceContextHolder;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
javax.sql.DataSource
;
import
javax.sql.DataSource
;
import
java.lang.reflect.Method
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 此数据源为支持@selectDataSource注解的多数据源使用
* 此数据源为支持@selectDataSource注解的多数据源使用
...
@@ -25,5 +29,10 @@ public class MatrixDynamicDataSource extends AbsDataSource {
...
@@ -25,5 +29,10 @@ public class MatrixDynamicDataSource extends AbsDataSource {
return
getTargetDataSource
(
dsName
);
return
getTargetDataSource
(
dsName
);
}
}
@Override
protected
List
<
String
>
getRemoveDsNames
()
{
return
new
ArrayList
<>(
getDataSourceMap
().
keySet
());
}
}
}
matrix-datasource/matrix-datasource-druid/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-datasource
</artifactId>
<artifactId>
matrix-datasource
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-datasource/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-datasource-core
</artifactId>
<artifactId>
matrix-datasource-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<groupId>
com.alibaba
</groupId>
...
...
matrix-mq/matrix-rocketmq-core/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-mq
</artifactId>
<artifactId>
matrix-mq
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mq/matrix-rocketmq-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-mq
</artifactId>
<artifactId>
matrix-mq
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mq/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mybatis/matrix-mybatis-core/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-mybatis
</artifactId>
<artifactId>
matrix-mybatis
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mybatis/matrix-mybatis-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-mybatis
</artifactId>
<artifactId>
matrix-mybatis
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mybatis/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -25,17 +25,17 @@
...
@@ -25,17 +25,17 @@
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-mybatis-core
</artifactId>
<artifactId>
matrix-mybatis-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-datasource-druid
</artifactId>
<artifactId>
matrix-datasource-druid
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-mybatis-starter
</artifactId>
<artifactId>
matrix-mybatis-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<groupId>
com.baomidou
</groupId>
...
...
matrix-protocol/matrix-protocol-core/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-protocol
</artifactId>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-dubbo-core/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-protocol
</artifactId>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-dubbo-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-protocol
</artifactId>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-web-core/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-protocol
</artifactId>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-web-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-protocol
</artifactId>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -29,27 +29,27 @@
...
@@ -29,27 +29,27 @@
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-core
</artifactId>
<artifactId>
matrix-protocol-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-core
</artifactId>
<artifactId>
matrix-protocol-web-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-core
</artifactId>
<artifactId>
matrix-protocol-dubbo-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-starter
</artifactId>
<artifactId>
matrix-protocol-web-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-starter
</artifactId>
<artifactId>
matrix-protocol-dubbo-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<!-- Aapche Dubbo -->
<!-- Aapche Dubbo -->
...
...
mongodb-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
monitor-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
openfeign-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
pom.xml
View file @
89ecec02
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
...
@@ -46,92 +46,92 @@
...
@@ -46,92 +46,92 @@
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
logger-starter
</artifactId>
<artifactId>
logger-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
monitor-starter
</artifactId>
<artifactId>
monitor-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
common-core
</artifactId>
<artifactId>
common-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
config-starter
</artifactId>
<artifactId>
config-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
common-util
</artifactId>
<artifactId>
common-util
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
redis-starter
</artifactId>
<artifactId>
redis-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-datasource-druid
</artifactId>
<artifactId>
matrix-datasource-druid
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-mybatis-starter
</artifactId>
<artifactId>
matrix-mybatis-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
mongodb-starter
</artifactId>
<artifactId>
mongodb-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
elasticsearch-starter
</artifactId>
<artifactId>
elasticsearch-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-rocketmq-core
</artifactId>
<artifactId>
matrix-rocketmq-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-rocketmq-starter
</artifactId>
<artifactId>
matrix-rocketmq-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
openfeign-starter
</artifactId>
<artifactId>
openfeign-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-core
</artifactId>
<artifactId>
matrix-protocol-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-core
</artifactId>
<artifactId>
matrix-protocol-dubbo-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-starter
</artifactId>
<artifactId>
matrix-protocol-dubbo-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-core
</artifactId>
<artifactId>
matrix-protocol-web-core
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-starter
</artifactId>
<artifactId>
matrix-protocol-web-starter
</artifactId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
@@ -180,6 +180,11 @@
...
@@ -180,6 +180,11 @@
<artifactId>
guava
</artifactId>
<artifactId>
guava
</artifactId>
<version>
20.0
</version>
<version>
20.0
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.javassist
</groupId>
<artifactId>
javassist
</artifactId>
<version>
3.26.0-GA
</version>
</dependency>
<!--spring cloud-->
<!--spring cloud-->
<dependency>
<dependency>
...
...
redis-starter/pom.xml
View file @
89ecec02
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.
8
.RELEASE
</version>
<version>
1.2.
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment