Skip to content

Conversation

@YoWuwuuuw
Copy link
Contributor

@YoWuwuuuw YoWuwuuuw commented Oct 29, 2025

Ⅰ. Describe what this PR did

  1. Enhance the Consul registry center with metadata registration and discovery capabilities based on branch 'gsoc-2025-meta-registry'.
  2. Fix the logic in RegistryHeartBeats from the previous refactoring.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Because the TCP check in the original implementation class would be marked as unhealthy by Consul in the test environment, the integration test class ConsulRegistryServiceImplTest uses a mock implementation class (replaced with TTL connection) for testing.

YoWuwuuuw and others added 30 commits June 24, 2025 22:49
* fix: fix client spring version compatible

* fix: fix client spring version compatible

* fix: fix client spring version compatible

* bugfix: fix client spring version compatible

* bugfix: fix client spring version compatible
# Conflicts:
#	changes/en-us/2.x.md
#	changes/zh-cn/2.x.md
#	common/src/main/java/org/apache/seata/common/metadata/ServiceInstance.java
#	common/src/test/java/org/apache/seata/common/metadata/ServiceInstanceTest.java
#	core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingClient.java
#	discovery/seata-discovery-consul/src/main/java/org/apache/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java
#	discovery/seata-discovery-core/src/main/java/org/apache/seata/discovery/loadbalance/WeightedRandomLoadBalance.java
#	discovery/seata-discovery-etcd3/src/main/java/org/apache/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java
#	discovery/seata-discovery-eureka/src/main/java/org/apache/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java
#	discovery/seata-discovery-namingserver/src/main/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImpl.java
#	discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java
#	discovery/seata-discovery-raft/src/main/java/org/apache/seata/discovery/registry/raft/RaftRegistryServiceImpl.java
#	seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/test/java/org/apache/seata/spring/boot/autoconfigure/properties/server/filter/ServerHttpFilterXssPropertiesTest.java
#	server/src/main/resources/application.raft.example.yml
…to gsoc-metadata-support-consul

# Conflicts:
#	README.md
#	changes/en-us/2.x.md
#	changes/zh-cn/2.x.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants