Commit 0dd75d10 by QIANGLU

修改结构体

parent 2bbd5b17
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>monitor-starter</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>monitor-core</artifactId>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>monitor-starter</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>monitor-http</artifactId>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.1.7.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>monitor-core</artifactId>
<version>1.0.1-DEV-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>monitor-starter</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>monitor-rpc</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>2.7.2</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>monitor-core</artifactId>
<version>1.0.1-DEV-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
...@@ -10,19 +10,30 @@ ...@@ -10,19 +10,30 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>monitor-starter</artifactId> <artifactId>monitor-starter</artifactId>
<packaging>pom</packaging>
<modules>
<module>monitor-rpc</module>
<module>monitor-http</module>
<module>monitor-core</module>
</modules>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.secoo.mall</groupId> <groupId>ch.qos.logback</groupId>
<artifactId>monitor-core</artifactId> <artifactId>logback-classic</artifactId>
<version>1.0.1-DEV-SNAPSHOT</version> </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.1.7.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>2.7.2</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
package com.secoo.matrix.monitor.intercepter; package com.secoo.matrix.monitor.http.intercept;
import com.secoo.matrix.monitor.utils.TraceIDUtils; import com.secoo.matrix.monitor.utils.TraceIDUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
...@@ -14,7 +14,7 @@ import java.util.concurrent.ConcurrentMap; ...@@ -14,7 +14,7 @@ import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicInteger;
/** /**
* @author Liu * @author qianglu
* <p> * <p>
* 为了在Http请求入口生成TRACE_ID,日志ID * 为了在Http请求入口生成TRACE_ID,日志ID
* </p> * </p>
......
package com.secoo.matrix.monitor.filter; package com.secoo.matrix.monitor.rcp.filter;
import com.secoo.matrix.monitor.constant.MonitorConstant; import com.secoo.matrix.monitor.constant.MonitorConstant;
import com.secoo.matrix.monitor.utils.TraceIDUtils; import com.secoo.matrix.monitor.utils.TraceIDUtils;
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
<module>dubbo-starter</module> <module>dubbo-starter</module>
<module>web-starter</module> <module>web-starter</module>
<module>openfeign-starter</module> <module>openfeign-starter</module>
<module>monitor-starter</module>
<module>rocketmq-starter</module> <module>rocketmq-starter</module>
<module>config-starter</module> <module>config-starter</module>
<module>monitor-starter</module>
</modules> </modules>
<parent> <parent>
......
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