sunglasses88

Results 4 issues of sunglasses88

Fixes #5004 Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [ ] You submit test cases (unit or integration tests) that back your changes. - [x]...

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior ![image](https://github.com/apache/shenyu/assets/38178396/26e264c8-17ed-4bbf-a4d1-5a207f5f6283) ![image](https://github.com/apache/shenyu/assets/38178396/49f32cce-ba8e-46bb-8084-2c01bf4f0ae5) ### Expected Behavior The name of the rule registered...

type: bug

Support nacos-to-nacos cluster-level synchronization by specifying serviceName and groupName as ‘ALL’

nacos-sync默认是Service级别的服务同步,需要在控制台配置ServiceName和GroupName才可以进行服务同步。 自[pr304](https://github.com/nacos-group/nacos-sync/pull/304)之后也支持基于Ns-Group级别的服务同步。 ![image](https://github.com/nacos-group/nacos-sync/assets/38178396/c38129d7-4456-424e-83fb-a549b9f8a379) 通过将ServiceName配置为”ALL“以实现Group级别的同步。 这个pr给了我很大的帮助,我在这个基础上做了一些拓展,让nacos-sync支持Cluster级别的服务同步,只需要在新建同步任务的时候将ServiceName和GroupName均配置为”ALL“即可。 主要改动点在com.alibaba.nacossync.timer.CheckRunningStatusAllThread#run 改动前逻辑:根据GroupName查询服务列表,然后进行同步 改动后逻辑:判断GroupName是否为ALL,如果为false,逻辑和之前一致,根据GroupName查询服务列表,然后进行同步; 如果为true,通过增强后的NacosEnhanceNamingService查询集群下所有服务列表,然后进行同步。 对原有功能无影响。 ``` public void run() { Long startTime = System.currentTimeMillis(); try { // 查找所有ServiceName为”ALL“的任务 List taskDOS = taskAccessService.findServiceNameIsNull() .stream().filter(t -> t.getStatus()...