mirror of
https://gitee.com/huoyo/ko-time.git
synced 2025-12-06 16:58:26 +08:00
update:remove a verification for Spring filters
This commit is contained in:
parent
5527f2808e
commit
f330b540e5
33
pom.xml
33
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>cn.langpy</groupId>
|
<groupId>cn.langpy</groupId>
|
||||||
<artifactId>ko-time</artifactId>
|
<artifactId>ko-time</artifactId>
|
||||||
<version>2.5.0</version>
|
<version>2.5.1</version>
|
||||||
<name>KoTime</name>
|
<name>KoTime</name>
|
||||||
<description>A springboot tool for tracking the paths of the methods,which can help you find method's performances easily.</description>
|
<description>A springboot tool for tracking the paths of the methods,which can help you find method's performances easily.</description>
|
||||||
<licenses>
|
<licenses>
|
||||||
@ -23,6 +23,7 @@
|
|||||||
<developerConnection>scm:git:https://gitee.com/huoyo/ko-time.git</developerConnection>
|
<developerConnection>scm:git:https://gitee.com/huoyo/ko-time.git</developerConnection>
|
||||||
</scm>
|
</scm>
|
||||||
<properties>
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<aspecttj.version>1.9.9.1</aspecttj.version>
|
<aspecttj.version>1.9.9.1</aspecttj.version>
|
||||||
<tomcat.version>9.0.43</tomcat.version>
|
<tomcat.version>9.0.43</tomcat.version>
|
||||||
<spring-context.version>5.3.24</spring-context.version>
|
<spring-context.version>5.3.24</spring-context.version>
|
||||||
@ -173,16 +174,26 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.sonatype.central</groupId>
|
||||||
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||||
|
<version>0.7.0</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<publishingServerId>central</publishingServerId>
|
||||||
|
<autoPublish>true</autoPublish>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<distributionManagement>
|
<!-- <distributionManagement>-->
|
||||||
<repository>
|
<!-- <repository>-->
|
||||||
<id>snapshots</id>
|
<!-- <id>snapshots</id>-->
|
||||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>-->
|
||||||
</repository>
|
<!-- </repository>-->
|
||||||
<snapshotRepository>
|
<!-- <snapshotRepository>-->
|
||||||
<id>snapshots</id>
|
<!-- <id>snapshots</id>-->
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
|
||||||
</snapshotRepository>
|
<!-- </snapshotRepository>-->
|
||||||
</distributionManagement>
|
<!-- </distributionManagement>-->
|
||||||
</project>
|
</project>
|
||||||
@ -122,9 +122,9 @@ public class DataBase implements GraphService {
|
|||||||
if (sourceMethodNode.getId().equals(targetMethodNode.getId())) {
|
if (sourceMethodNode.getId().equals(targetMethodNode.getId())) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (targetMethodNode.getMethodType()==MethodType.Controller && !"Controller.dispatch".equals(sourceMethodNode.getName())) {
|
// if (targetMethodNode.getMethodType()==MethodType.Controller && !"Controller.dispatch".equals(sourceMethodNode.getName())) {
|
||||||
return null;
|
// return null;
|
||||||
}
|
// }
|
||||||
try {
|
try {
|
||||||
List<Map<String, Object>> query = DataBaseUtil.query(getWriteConnection(), KoSqlConstant.queryMethodRe, new Object[]{sourceMethodNode.getId() + targetMethodNode.getId()});
|
List<Map<String, Object>> query = DataBaseUtil.query(getWriteConnection(), KoSqlConstant.queryMethodRe, new Object[]{sourceMethodNode.getId() + targetMethodNode.getId()});
|
||||||
if (query.size() > 0) {
|
if (query.size() > 0) {
|
||||||
|
|||||||
@ -105,9 +105,9 @@ public class MemoryBase implements GraphService {
|
|||||||
if (sourceMethodNode.getId().equals(targetMethodNode.getId())) {
|
if (sourceMethodNode.getId().equals(targetMethodNode.getId())) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (targetMethodNode.getMethodType()==MethodType.Controller && !"Controller.dispatch".equals(sourceMethodNode.getName())) {
|
// if (targetMethodNode.getMethodType()==MethodType.Controller && !"Controller.dispatch".equals(sourceMethodNode.getName())) {
|
||||||
return null;
|
// return null;
|
||||||
}
|
// }
|
||||||
if (methodRelations.containsKey(targetMethodNode.getId()+sourceMethodNode.getId())) {
|
if (methodRelations.containsKey(targetMethodNode.getId()+sourceMethodNode.getId())) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -111,9 +111,9 @@ public class RedisBase implements GraphService {
|
|||||||
if (sourceMethodNode.getId().equals(targetMethodNode.getId())) {
|
if (sourceMethodNode.getId().equals(targetMethodNode.getId())) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (targetMethodNode.getMethodType()==MethodType.Controller && !"Controller.dispatch".equals(sourceMethodNode.getName())) {
|
// if (targetMethodNode.getMethodType()==MethodType.Controller && !"Controller.dispatch".equals(sourceMethodNode.getName())) {
|
||||||
return null;
|
// return null;
|
||||||
}
|
// }
|
||||||
if (redisTemplate.hasKey(methodRelationPre + targetMethodNode.getId() + sourceMethodNode.getId())) {
|
if (redisTemplate.hasKey(methodRelationPre + targetMethodNode.getId() + sourceMethodNode.getId())) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user