You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by ji...@apache.org on 2026/04/30 14:03:12 UTC
(incubator-seata) branch 2.x updated: optimize: change console consoleRemotingFilter order to lowest precedence (#8086)
This is an automated email from the ASF dual-hosted git repository.
funky-eyes pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push:
new 5ca7bb1e21 optimize: change console consoleRemotingFilter order to lowest precedence (#8086)
5ca7bb1e21 is described below
commit 5ca7bb1e217ca2a00bdc9815708d77f3c99028a1
Author: funkye <ji...@apache.org>
AuthorDate: Thu Apr 30 22:03:06 2026 +0800
optimize: change console consoleRemotingFilter order to lowest precedence (#8086)
---
changes/en-us/2.x.md | 1 +
changes/zh-cn/2.x.md | 2 +-
.../src/main/java/org/apache/seata/namingserver/config/WebConfig.java | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 2d4c5e875e..9d7bc9b09d 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -77,6 +77,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#8003](https://github.com/apache/incubator-seata/pull/8003)] Enhance NacosRegistryServiceImplTest with additional mocks for service name group and cluster
- [[#7915](https://github.com/apache/incubator-seata/pull/7915)] add unit tests for saga-engine low coverage components
- [[#8051](https://github.com/apache/incubator-seata/pull/8051)] isolate compatibility tests from transport protocol leakage
+- [[#8086](https://github.com/apache/incubator-seata/pull/8086)] change console consoleRemotingFilter order to lowest precedence
### refactor:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 6453d1fdd1..3b2d1ecc53 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -68,7 +68,7 @@
- [[#8069](https://github.com/apache/incubator-seata/pull/8069)] 将 org.assertj:assertj-core 从 3.12.2 版本升级到 3.27.7
- [[#8075](https://github.com/apache/incubator-seata/pull/8075)] 将 at.yawk.lz4:lz4-java 从 1.9.0 版本升级到 1.10.1
- [[#8077](https://github.com/apache/incubator-seata/pull/8077)] namingserver 移除 okhttp3 依赖
-
+- [[#8086](https://github.com/apache/incubator-seata/pull/8086)] 修改consoleRemotingFilter优先级
### security:
diff --git a/namingserver/src/main/java/org/apache/seata/namingserver/config/WebConfig.java b/namingserver/src/main/java/org/apache/seata/namingserver/config/WebConfig.java
index 78afca5151..4c89bb74f3 100644
--- a/namingserver/src/main/java/org/apache/seata/namingserver/config/WebConfig.java
+++ b/namingserver/src/main/java/org/apache/seata/namingserver/config/WebConfig.java
@@ -52,7 +52,7 @@ public class WebConfig {
FilterRegistrationBean<Filter> registration = new FilterRegistrationBean<>();
registration.setFilter(consoleRemotingFilter);
registration.addUrlPatterns("/*");
- registration.setOrder(Ordered.HIGHEST_PRECEDENCE);
+ registration.setOrder(Ordered.LOWEST_PRECEDENCE);
return registration;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org