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
9c075380
Commit
9c075380
authored
Feb 21, 2020
by
李秋伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature_protocol' into 'master'
Feature protocol See merge request mall/arch/matrix!56
parents
57d87a18
34e5b97a
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
59 additions
and
55 deletions
+59
-55
pom.xml
common-core/pom.xml
+1
-1
pom.xml
common-util/pom.xml
+1
-1
pom.xml
config-starter/pom.xml
+1
-1
ApolloContextInitializer.java
config-starter/src/main/java/com/secoo/mall/config/internals/ApolloContextInitializer.java
+5
-0
pom.xml
elasticsearch-starter/pom.xml
+1
-1
pom.xml
logger-starter/pom.xml
+1
-2
pom.xml
matrix-datasource/matrix-datasource-core/pom.xml
+1
-1
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
+20
-20
pom.xml
redis-starter/pom.xml
+1
-1
pom.xml
rocketmq-starter/pom.xml
+1
-1
No files found.
common-core/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
common-util/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
config-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
config-starter/src/main/java/com/secoo/mall/config/internals/ApolloContextInitializer.java
View file @
9c075380
...
...
@@ -9,6 +9,8 @@ import org.springframework.core.Ordered;
import
org.springframework.core.env.ConfigurableEnvironment
;
import
org.springframework.util.StringUtils
;
import
java.util.Optional
;
/**
* @author qianglu
*/
...
...
@@ -31,6 +33,9 @@ public class ApolloContextInitializer implements ApplicationContextInitializer<C
System
.
setProperty
(
"apollo.bootstrap.eagerLoad.enabled"
,
"true"
);
System
.
setProperty
(
"apollo.bootstrap.namespaces"
,
namespaces
);
}
//设置全局环境变量参数,如果存在springboot的配置,则进行全局
Optional
.
ofNullable
(
environment
.
getProperty
(
"spring.profiles.active"
)).
ifPresent
(
env
->
System
.
setProperty
(
"env"
,
env
));
}
...
...
elasticsearch-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
logger-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
@@ -37,7 +37,6 @@
<dependency>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo-client
</artifactId>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
matrix-datasource/matrix-datasource-core/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-datasource
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-datasource/matrix-datasource-druid/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-datasource
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-datasource/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
@@ -21,7 +21,7 @@
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-datasource-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
...
...
matrix-mq/matrix-rocketmq-core/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-mq
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mq/matrix-rocketmq-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-mq
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mq/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mybatis/matrix-mybatis-core/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-mybatis
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mybatis/matrix-mybatis-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-mybatis
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-mybatis/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
@@ -25,17 +25,17 @@
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-mybatis-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-datasource-druid
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-mybatis-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
...
...
matrix-protocol/matrix-protocol-core/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-dubbo-core/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-dubbo-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-web-core/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/matrix-protocol-web-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix-protocol
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-protocol/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
@@ -29,27 +29,27 @@
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<!-- Aapche Dubbo -->
...
...
mongodb-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
monitor-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
openfeign-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
pom.xml
View file @
9c075380
...
...
@@ -6,7 +6,7 @@
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
<packaging>
pom
</packaging>
...
...
@@ -53,97 +53,97 @@
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
logger-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
monitor-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
common-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
config-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
common-util
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
redis-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-datasource-druid
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-mybatis-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
mongodb-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
elasticsearch-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-rocketmq-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
rocketmq-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-rocketmq-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
openfeign-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-dubbo-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-core
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix-protocol-web-starter
</artifactId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</dependency>
<dependency>
...
...
redis-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
rocketmq-starter/pom.xml
View file @
9c075380
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.2.1
1
.RELEASE
</version>
<version>
1.2.1
2
.RELEASE
</version>
</parent>
<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