From 73e2a44d16b0e086ef1d581c80b7e6a493d85e4b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 07:20:12 +0000 Subject: [PATCH 1/2] Bump com.alibaba.nacos:nacos-client from 2.3.3 to 2.4.0 Bumps [com.alibaba.nacos:nacos-client](https://github.com/alibaba/nacos) from 2.3.3 to 2.4.0. - [Release notes](https://github.com/alibaba/nacos/releases) - [Changelog](https://github.com/alibaba/nacos/blob/develop/CHANGELOG.md) - [Commits](https://github.com/alibaba/nacos/commits/2.4.0) --- updated-dependencies: - dependency-name: com.alibaba.nacos:nacos-client dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dubbo-dependencies-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-dependencies-bom/pom.xml b/dubbo-dependencies-bom/pom.xml index 7accecdb1b7..a5437a4c156 100644 --- a/dubbo-dependencies-bom/pom.xml +++ b/dubbo-dependencies-bom/pom.xml @@ -133,7 +133,7 @@ 3.15.6.Final 1.9.13 8.5.100 - 2.3.3 + 2.4.0 1.65.1 0.8.1 1.2.2 From e033095395b2b028d94d04f44735f1b083a864d4 Mon Sep 17 00:00:00 2001 From: Albumen Kevin Date: Thu, 25 Jul 2024 10:05:54 +0800 Subject: [PATCH 2/2] Fix compile --- .../dubbo/registry/nacos/MockNamingService.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dubbo-registry/dubbo-registry-nacos/src/test/java/org/apache/dubbo/registry/nacos/MockNamingService.java b/dubbo-registry/dubbo-registry-nacos/src/test/java/org/apache/dubbo/registry/nacos/MockNamingService.java index 81bfe0b631f..7ce02a5fd34 100644 --- a/dubbo-registry/dubbo-registry-nacos/src/test/java/org/apache/dubbo/registry/nacos/MockNamingService.java +++ b/dubbo-registry/dubbo-registry-nacos/src/test/java/org/apache/dubbo/registry/nacos/MockNamingService.java @@ -24,6 +24,7 @@ import com.alibaba.nacos.api.naming.pojo.Instance; import com.alibaba.nacos.api.naming.pojo.ListView; import com.alibaba.nacos.api.naming.pojo.ServiceInfo; +import com.alibaba.nacos.api.naming.selector.NamingSelector; import com.alibaba.nacos.api.selector.AbstractSelector; public class MockNamingService implements NamingService { @@ -251,4 +252,19 @@ public String getServerStatus() { @Override public void shutDown() {} + + @Override + public void subscribe(String s, NamingSelector namingSelector, EventListener eventListener) throws NacosException {} + + @Override + public void subscribe(String s, String s1, NamingSelector namingSelector, EventListener eventListener) + throws NacosException {} + + @Override + public void unsubscribe(String s, NamingSelector namingSelector, EventListener eventListener) + throws NacosException {} + + @Override + public void unsubscribe(String s, String s1, NamingSelector namingSelector, EventListener eventListener) + throws NacosException {} }