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