This is an automated email from the ASF dual-hosted git repository.
dengliming pushed a change to branch fix/#6862
in repository https://gitbox.apache.org/repos/asf/shenyu.git
from c2b4fe96f0 fix(kubernetes-controller): skip generic context path when
plugin enabled
add 7c4031579e fix: prevent NPE in instance state checks for null states
(#6706) (#7052)
add 567142e072 Fixed selector and rule match bug (#7055)
add b3c3169d6b test: add dedicated unit tests for zero-test
sync/register/protocol classes (#6813) (#7051)
add a79ef9a821 [type: feat] add copilot-instructions.md (#7050)
add e2ad1c6397 Fixes #6703:shut down invokeExecutor in
UpstreamCheckService.close() (#6921)
add dcbd08adb4 fix(mqtt): make bootstrap server shutdown deterministic
(#7064)
add d4f0005648 ci: remove windows build from workflow (#6916)
add f6d2f8a992 Refactor/decouple load balance metrics collection from
divide plugin (#6429)
add 0f5626ce80 fix: check duplicates before remapping handler ids in
discovery upstream import (#6532)
add f2b6d0ea69 fix: apply configured WAF statusCode to HTTP response
instead of hardcoded 403 (#6821)
add 824bcf5ebc fix: prevent ArrayIndexOutOfBoundsException in K8s ingress
protocol annotation parsing (#6892)
add c1033ecded fix: specify UTF-8 charset for SSE event and comment byte
encoding and add corresponding unit tests (#6930)
add bbe2a35b45 fix: docker-compose hardcoded JWT secret key allows forging
admin authentication (#7063)
add f6c55fd843 fix(admin): tag_relation updateByPrimaryKeySelective sets
non-existent name column (#6907)
add 4bb6d3bc39 fix: handle non-standard status codes in GlobalErrorHandler
(#6933)
add 1fcecc4d19 fix(dubbo): use Dubbo @Service in ServiceProcessor to set
beanPath (#6895)
add 88570bc1d9 fix: shut down Consul registry executors on close (#7044)
add 2f8066b14b fix: filter out the null URIRegisterDTO (#7068)
add 213f26a379 Merge branch 'master' into fix/#6862
No new revisions were added by this update.
Summary of changes:
.github/copilot-instructions.md | 56 +++++
.github/workflows/ci.yml | 25 +-
.gitignore | 5 +-
.idea/vcs.xml | 7 +
CLAUDE.md | 59 +++++
.../admin/config/properties/JwtProperties.java | 3 +-
.../shenyu/admin/model/vo/InstanceInfoVO.java | 6 +-
.../service/impl/DiscoveryUpstreamServiceImpl.java | 5 +-
.../admin/service/impl/InstanceCheckService.java | 15 +-
.../service/impl/InstanceInfoServiceImpl.java | 2 +
.../admin/service/impl/UpstreamCheckService.java | 3 +
.../main/resources/mappers/tag-relation-sqlmap.xml | 2 +-
.../admin/config/properties/JwtPropertiesTest.java | 8 +
.../shenyu/admin/mapper/TagRelationMapperTest.java | 17 ++
.../service/DiscoveryUpstreamServiceTest.java | 47 ++++
.../admin/service/UpstreamCheckServiceTest.java | 14 +-
.../service/impl/InstanceCheckServiceTest.java | 30 +++
.../AbstractContextRefreshedEventListener.java | 7 +-
.../dubbo/ApacheDubboServiceBeanListener.java | 37 +--
.../processor/extractor/DubboServiceProcessor.java | 28 +--
.../processor/extractor/ServiceProcessor.java | 29 ++-
.../extractor/DubboServiceProcessorTest.java | 175 ++++++++++++++
.../processor/extractor/ServiceProcessorTest.java | 175 ++++++++++++++
.../shenyu-client-dubbo-common/pom.xml | 6 +
.../dubbo/common/dto/DubboRpcExtBuilders.java | 65 +++++
.../dubbo/common/dto/DubboRpcExtBuildersTest.java | 140 +++++++++++
.../shenyu/common/constant/AdminConstants.java | 6 +
.../src/main/resources/docker-compose.yaml | 7 +-
.../docker-compose.yml | 2 +
.../shenyu/k8s/parser/DivideIngressParser.java | 7 +-
.../shenyu/k8s/parser/DubboIngressParser.java | 12 +-
.../shenyu/k8s/parser/DivideIngressParserTest.java | 153 ++++++++++++
.../shenyu/k8s/parser/DubboIngressParserTest.java | 155 ++++++++++++
.../shenyu/plugin/base/AbstractShenyuPlugin.java | 12 +-
.../mcp/server/transport/SseEventFormatter.java | 5 +-
.../server/transport/SseEventFormatterTest.java | 67 ++++++
.../apache/shenyu/plugin/divide/DividePlugin.java | 8 +-
.../shenyu/plugin/divide/DividePluginTest.java | 9 +-
.../tcp/handler/TcpUpstreamDataHandlerTest.java | 116 +++++++++
.../org/apache/shenyu/plugin/waf/WafPlugin.java | 5 +-
.../apache/shenyu/plugin/waf/WafPluginTest.java | 14 +-
.../shenyu/protocol/mqtt/MqttBootstrapServer.java | 16 +-
.../protocol/mqtt/MqttBootstrapServerTest.java | 101 ++++++++
.../shenyu/protocol/mqtt/MqttContextTest.java | 97 ++++++++
.../shenyu/protocol/mqtt/MqttFactoryTest.java | 186 +++++++++++++++
.../DefaultConnectionConfigProviderTest.java | 76 ++++++
.../tcp/connection/TcpConnectionBridgeTest.java | 132 ++++++++++
.../http/HttpClientRegisterRepositoryTest.java | 265 +++++++++++++++++++++
.../consul/ConsulInstanceRegisterRepository.java | 20 +-
.../shenyu/registry/consul/TtlScheduler.java | 7 +
.../ConsulInstanceRegisterRepositoryTest.java | 45 ++++
.../data/http/refresh/AbstractDataRefreshTest.java | 152 ++++++++++++
.../http/refresh/AiProxyApiKeyDataRefreshTest.java | 135 +++++++++++
.../data/http/refresh/DataRefreshFactoryTest.java | 107 +++++++++
.../handler/AiProxyApiKeyDataHandlerTest.java | 124 ++++++++++
.../handler/ProxySelectorDataHandlerTest.java | 116 +++++++++
.../shenyu/web/handler/GlobalErrorHandler.java | 13 +-
.../shenyu/web/handler/GlobalErrorHandlerTest.java | 35 ++-
58 files changed, 3019 insertions(+), 152 deletions(-)
create mode 100644 .github/copilot-instructions.md
create mode 100644 CLAUDE.md
create mode 100644
shenyu-client/shenyu-client-dubbo/shenyu-client-apache-dubbo/src/test/java/org/apache/shenyu/client/apache/dubbo/processor/extractor/DubboServiceProcessorTest.java
create mode 100644
shenyu-client/shenyu-client-dubbo/shenyu-client-apache-dubbo/src/test/java/org/apache/shenyu/client/apache/dubbo/processor/extractor/ServiceProcessorTest.java
create mode 100644
shenyu-client/shenyu-client-dubbo/shenyu-client-dubbo-common/src/main/java/org/apache/shenyu/client/dubbo/common/dto/DubboRpcExtBuilders.java
create mode 100644
shenyu-client/shenyu-client-dubbo/shenyu-client-dubbo-common/src/test/java/org/apache/shenyu/client/dubbo/common/dto/DubboRpcExtBuildersTest.java
create mode 100644
shenyu-kubernetes-controller/src/test/java/org/apache/shenyu/k8s/parser/DivideIngressParserTest.java
create mode 100644
shenyu-kubernetes-controller/src/test/java/org/apache/shenyu/k8s/parser/DubboIngressParserTest.java
create mode 100644
shenyu-plugin/shenyu-plugin-mcp-server/src/test/java/org/apache/shenyu/plugin/mcp/server/transport/SseEventFormatterTest.java
create mode 100644
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-tcp/src/test/java/org/apache/shenyu/plugin/tcp/handler/TcpUpstreamDataHandlerTest.java
create mode 100644
shenyu-protocol/shenyu-protocol-mqtt/src/test/java/org/apache/shenyu/protocol/mqtt/MqttBootstrapServerTest.java
create mode 100644
shenyu-protocol/shenyu-protocol-mqtt/src/test/java/org/apache/shenyu/protocol/mqtt/MqttContextTest.java
create mode 100644
shenyu-protocol/shenyu-protocol-mqtt/src/test/java/org/apache/shenyu/protocol/mqtt/MqttFactoryTest.java
create mode 100644
shenyu-protocol/shenyu-protocol-tcp/src/test/java/org/apache/shenyu/protocol/tcp/connection/DefaultConnectionConfigProviderTest.java
create mode 100644
shenyu-protocol/shenyu-protocol-tcp/src/test/java/org/apache/shenyu/protocol/tcp/connection/TcpConnectionBridgeTest.java
create mode 100644
shenyu-register-center/shenyu-register-client/shenyu-register-client-http/src/test/java/org/apache/shenyu/register/client/http/HttpClientRegisterRepositoryTest.java
create mode 100644
shenyu-sync-data-center/shenyu-sync-data-http/src/test/java/org/apache/shenyu/sync/data/http/refresh/AbstractDataRefreshTest.java
create mode 100644
shenyu-sync-data-center/shenyu-sync-data-http/src/test/java/org/apache/shenyu/sync/data/http/refresh/AiProxyApiKeyDataRefreshTest.java
create mode 100644
shenyu-sync-data-center/shenyu-sync-data-http/src/test/java/org/apache/shenyu/sync/data/http/refresh/DataRefreshFactoryTest.java
create mode 100644
shenyu-sync-data-center/shenyu-sync-data-websocket/src/test/java/org/apache/shenyu/plugin/sync/data/websocket/handler/AiProxyApiKeyDataHandlerTest.java
create mode 100644
shenyu-sync-data-center/shenyu-sync-data-websocket/src/test/java/org/apache/shenyu/plugin/sync/data/websocket/handler/ProxySelectorDataHandlerTest.java