This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.2 by this push:
new f7a32be429 Remove unused dependency (#13554)
f7a32be429 is described below
commit f7a32be429e815e9bc70f0dec31d67461e5c695e
Author: huazhongming <[email protected]>
AuthorDate: Fri Dec 22 10:25:53 2023 +0800
Remove unused dependency (#13554)
Signed-off-by: crazyhzm <[email protected]>
---
.licenserc.yaml | 1 -
codecov.yml | 1 -
.../configcenter/TreePathDynamicConfiguration.java | 1 -
.../main/resources/security/serialize.blockedlist | 1 -
.../context/annotation/EnableDubboConfigTest.java | 1 -
.../src/test/resources/META-INF/config.properties | 1 -
.../ConsulDubboServiceConsumerBootstrap.java | 55 -------
.../ConsulDubboServiceProviderBootstrap.java | 46 ------
.../bootstrap/DubboServiceConsumerBootstrap.java | 13 --
.../bootstrap/DubboServiceProviderBootstrap.java | 10 --
.../DubboServiceProviderMinimumBootstrap.java | 1 -
.../EtcdDubboServiceConsumerBootstrap.java | 56 --------
.../EtcdDubboServiceProviderBootstrap.java | 90 ------------
.../DubboInterfaceConsumerBootstrap.java | 3 -
.../context/annotation/EnableDubboConfigTest.java | 1 -
dubbo-dependencies-bom/pom.xml | 160 ---------------------
dubbo-metadata/dubbo-metadata-processor/pom.xml | 12 --
17 files changed, 453 deletions(-)
diff --git a/.licenserc.yaml b/.licenserc.yaml
index f19fa8a6d0..b39488919d 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -38,7 +38,6 @@ header:
- '**/*.fc'
- '**/*.javascript'
- '**/*.properties'
- - '**/*.thrift'
- '**/*.sh'
- '**/*.bat'
- '**/*.md'
diff --git a/codecov.yml b/codecov.yml
index 921ea5f110..983b659221 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -32,4 +32,3 @@ ignore:
- "**/dubbo-native-plugin/**"
- "**/dubbo-common/src/main/java/org/apache/dubbo/common/json/*.java" #
internal JSON impl is deprecate, ignore test coverage for them
-
"**/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java"
# Deprecated
- - "**/dubbo-rpc/dubbo-rpc-thrift/**"
diff --git
a/dubbo-common/src/main/java/org/apache/dubbo/common/config/configcenter/TreePathDynamicConfiguration.java
b/dubbo-common/src/main/java/org/apache/dubbo/common/config/configcenter/TreePathDynamicConfiguration.java
index bea7893177..b013bba1aa 100644
---
a/dubbo-common/src/main/java/org/apache/dubbo/common/config/configcenter/TreePathDynamicConfiguration.java
+++
b/dubbo-common/src/main/java/org/apache/dubbo/common/config/configcenter/TreePathDynamicConfiguration.java
@@ -32,7 +32,6 @@ import static
org.apache.dubbo.common.utils.PathUtils.normalize;
* <ul>
* <li>{@link FileSystemDynamicConfiguration "file"}</li>
* <li>{@link
org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfiguration
"zookeeper"}</li>
- * <li>{@link
org.apache.dubbo.configcenter.consul.ConsulDynamicConfiguration "consul"}</li>
* </ul>
*
* @see DynamicConfiguration
diff --git a/dubbo-common/src/main/resources/security/serialize.blockedlist
b/dubbo-common/src/main/resources/security/serialize.blockedlist
index 07bc753ccf..0faf555cbf 100644
--- a/dubbo-common/src/main/resources/security/serialize.blockedlist
+++ b/dubbo-common/src/main/resources/security/serialize.blockedlist
@@ -130,7 +130,6 @@ org.apache.commons.fileupload
org.apache.commons.jelly.
org.apache.commons.logging.
org.apache.commons.proxy.
-org.apache.cxf.jaxrs.provider.
org.apache.hadoop.shaded.com.zaxxer.hikari.
org.apache.http.auth.
org.apache.http.conn.
diff --git
a/dubbo-compatible/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
b/dubbo-compatible/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
index ba5392a02d..07e2978661 100644
---
a/dubbo-compatible/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
+++
b/dubbo-compatible/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
@@ -115,7 +115,6 @@ class EnableDubboConfigTest {
configManager.getProtocol("dubbo").get();
configManager.getProtocol("rest").get();
- configManager.getProtocol("thrift").get();
// asserts aliases
// assertTrue(hasAlias(context, "applicationBean2",
"dubbo-demo-application2"));
diff --git a/dubbo-compatible/src/test/resources/META-INF/config.properties
b/dubbo-compatible/src/test/resources/META-INF/config.properties
index 51b587ea4f..b22451e116 100644
--- a/dubbo-compatible/src/test/resources/META-INF/config.properties
+++ b/dubbo-compatible/src/test/resources/META-INF/config.properties
@@ -20,7 +20,6 @@ dubbo.protocol.name = dubbo
dubbo.protocol.port = 20880
dubbo.protocols.rest.port=8080
-dubbo.protocols.thrift.port=9090
## monitor
dubbo.monitor.address = zookeeper://127.0.0.1:32770
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/ConsulDubboServiceConsumerBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/ConsulDubboServiceConsumerBootstrap.java
deleted file mode 100644
index c72c843676..0000000000
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/ConsulDubboServiceConsumerBootstrap.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.config.bootstrap;
-
-import org.apache.dubbo.config.bootstrap.rest.UserService;
-
-import static
org.apache.dubbo.common.constants.CommonConstants.DEFAULT_METADATA_STORAGE_TYPE;
-
-/**
- * Dubbo Provider Bootstrap
- *
- * @since 2.7.5
- */
-public class ConsulDubboServiceConsumerBootstrap {
-
- public static void main(String[] args) throws Exception {
-
- DubboBootstrap bootstrap = DubboBootstrap.getInstance()
- .application("consul-dubbo-consumer", app ->
app.metadata(DEFAULT_METADATA_STORAGE_TYPE))
- .registry("zookeeper", builder -> builder.address(
-
"consul://127.0.0.1:8500?registry-type=service&subscribed-services=consul-dubbo-provider")
- .useAsConfigCenter(true)
- .useAsMetadataCenter(true))
- .reference("echo", builder ->
builder.interfaceClass(EchoService.class)
- .protocol("dubbo"))
- .reference("user", builder ->
builder.interfaceClass(UserService.class)
- .protocol("rest"))
- .start();
-
- EchoService echoService = bootstrap.getCache().get(EchoService.class);
- UserService userService = bootstrap.getCache().get(UserService.class);
-
- for (int i = 0; i < 5; i++) {
- Thread.sleep(2000L);
- System.out.println(echoService.echo("Hello,World"));
- System.out.println(userService.getUser(i * 1L));
- }
-
- bootstrap.stop();
- }
-}
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/ConsulDubboServiceProviderBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/ConsulDubboServiceProviderBootstrap.java
deleted file mode 100644
index a08d876eb0..0000000000
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/ConsulDubboServiceProviderBootstrap.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.config.bootstrap;
-
-import org.apache.dubbo.config.bootstrap.rest.UserService;
-import org.apache.dubbo.config.bootstrap.rest.UserServiceImpl;
-
-import static
org.apache.dubbo.common.constants.CommonConstants.DEFAULT_METADATA_STORAGE_TYPE;
-
-/**
- * TODO
- */
-public class ConsulDubboServiceProviderBootstrap {
-
- public static void main(String[] args) {
- DubboBootstrap.getInstance()
- .application("consul-dubbo-provider", app ->
app.metadata(DEFAULT_METADATA_STORAGE_TYPE))
- .registry(builder ->
builder.address("consul://127.0.0.1:8500?registry-type=service")
- .useAsConfigCenter(true)
- .useAsMetadataCenter(true))
- .protocol("dubbo", builder -> builder.port(-1).name("dubbo"))
- .protocol("rest", builder -> builder.port(8081).name("rest"))
- .service("echo", builder ->
builder.interfaceClass(EchoService.class)
- .ref(new EchoServiceImpl())
- .protocolIds("dubbo"))
- .service("user", builder ->
builder.interfaceClass(UserService.class)
- .ref(new UserServiceImpl())
- .protocolIds("rest"))
- .start()
- .await();
- }
-}
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceConsumerBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceConsumerBootstrap.java
index 28971f1689..1c3f5fd96c 100644
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceConsumerBootstrap.java
+++
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceConsumerBootstrap.java
@@ -32,24 +32,11 @@ public class DubboServiceConsumerBootstrap {
DubboBootstrap bootstrap = DubboBootstrap.getInstance()
.application("dubbo-consumer-demo")
.protocol(builder -> builder.port(20887).name("dubbo"))
- // Eureka
- // .registry(builder ->
- //
builder.address("eureka://127.0.0.1:8761?registry-type=service&subscribed-services=dubbo-provider-demo"))
-
- // Zookeeper
.registry(
"zookeeper",
builder ->
builder.address(ZookeeperRegistryCenterConfig.getConnectionAddress()
+
"?registry-type=service&subscribed-services=dubbo-provider-demo"))
.metadataReport(new
MetadataReportConfig(ZookeeperRegistryCenterConfig.getConnectionAddress()))
-
- // Nacos
- // .registry("nacos", builder ->
- //
builder.address("nacos://127.0.0.1:8848?registry.type=service&subscribed.services=dubbo-provider-demo"))
-
- // Consul
- // .registry("consul", builder ->
- //
builder.address("consul://127.0.0.1:8500?registry.type=service&subscribed.services=dubbo-provider-demo").group("namespace1"))
.reference("echo", builder ->
builder.interfaceClass(EchoService.class)
.protocol("dubbo"))
.reference("user", builder ->
builder.interfaceClass(UserService.class)
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderBootstrap.java
index 945d3ba79a..2fef821a9b 100644
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderBootstrap.java
+++
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderBootstrap.java
@@ -55,27 +55,17 @@ public class DubboServiceProviderBootstrap {
ServiceConfig<EchoService> echoService = new ServiceConfig<>();
echoService.setInterface(EchoService.class.getName());
echoService.setRef(new EchoServiceImpl());
- // echoService.setRegistries(Arrays.asList(interfaceRegistry,
serviceRegistry));
ServiceConfig<UserService> userService = new ServiceConfig<>();
userService.setInterface(UserService.class.getName());
userService.setRef(new UserServiceImpl());
userService.setProtocol(restProtocol);
- // userService.setRegistries(Arrays.asList(interfaceRegistry,
serviceRegistry));
ApplicationConfig applicationConfig = new
ApplicationConfig("dubbo-provider-demo");
applicationConfig.setMetadataType("remote");
DubboBootstrap.getInstance()
.application(applicationConfig)
- // Zookeeper in service registry type
- // .registry("zookeeper", builder ->
- //
builder.address("zookeeper://127.0.0.1:2181?registry.type=service"))
- // Nacos
- // .registry("zookeeper", builder ->
- //
builder.address("nacos://127.0.0.1:8848?registry.type=service"))
.registries(Arrays.asList(interfaceRegistry, serviceRegistry))
- //
- //
.registry(RegistryBuilder.newBuilder().address("consul://127.0.0.1:8500?registry.type=service").build())
.protocol(builder -> builder.port(-1).name("dubbo"))
.metadataReport(new
MetadataReportConfig(ZookeeperRegistryCenterConfig.getConnectionAddress()))
.service(echoService)
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderMinimumBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderMinimumBootstrap.java
index f22154b683..f291f5a821 100644
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderMinimumBootstrap.java
+++
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/DubboServiceProviderMinimumBootstrap.java
@@ -30,7 +30,6 @@ public class DubboServiceProviderMinimumBootstrap {
.application("dubbo-provider-demo")
.registry(builder -> builder.address(
ZookeeperRegistryCenterConfig.getConnectionAddress() +
"?registry-type=service"))
- // .registry(builder ->
builder.address("eureka://127.0.0.1:8761?registry-type=service"))
.protocol(builder -> builder.port(-1).name("dubbo"))
.service("echo", builder ->
builder.interfaceClass(EchoService.class)
.ref(new EchoServiceImpl()))
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/EtcdDubboServiceConsumerBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/EtcdDubboServiceConsumerBootstrap.java
deleted file mode 100644
index 729211830a..0000000000
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/EtcdDubboServiceConsumerBootstrap.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.config.bootstrap;
-
-import org.apache.dubbo.config.MetadataReportConfig;
-import org.apache.dubbo.config.bootstrap.rest.UserService;
-
-/**
- * Dubbo Provider Bootstrap
- *
- * @since 2.7.5
- */
-public class EtcdDubboServiceConsumerBootstrap {
-
- public static void main(String[] args) throws Exception {
-
- DubboBootstrap bootstrap = DubboBootstrap.getInstance()
- .application("dubbo-consumer-demo")
- // Zookeeper
- .protocol(builder -> builder.port(20887).name("dubbo"))
- .registry(
- "etcd3",
- builder -> builder.address(
-
"etcd3://127.0.0.1:2379?registry-type=service&subscribed-services=dubbo-provider-demo"))
- .metadataReport(new
MetadataReportConfig("etcd://127.0.0.1:2379"))
- // Nacos
- // .registry("consul", builder ->
- //
builder.address("consul://127.0.0.1:8500?registry.type=service&subscribed.services=dubbo-provider-demo").group("namespace1"))
- .reference("echo", builder ->
builder.interfaceClass(EchoService.class)
- .protocol("dubbo"))
- .reference("user", builder ->
builder.interfaceClass(UserService.class)
- .protocol("rest"))
- .start();
-
- EchoService echoService = bootstrap.getCache().get(EchoService.class);
-
- for (int i = 0; i < 500; i++) {
- Thread.sleep(2000L);
- System.out.println(echoService.echo("Hello,World"));
- }
- }
-}
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/EtcdDubboServiceProviderBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/EtcdDubboServiceProviderBootstrap.java
deleted file mode 100644
index 7647448fa3..0000000000
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/EtcdDubboServiceProviderBootstrap.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.config.bootstrap;
-
-import org.apache.dubbo.config.ApplicationConfig;
-import org.apache.dubbo.config.ProtocolConfig;
-import org.apache.dubbo.config.RegistryConfig;
-import org.apache.dubbo.config.ServiceConfig;
-import org.apache.dubbo.config.bootstrap.rest.UserService;
-import org.apache.dubbo.config.bootstrap.rest.UserServiceImpl;
-
-import java.util.Arrays;
-
-/**
- * Dubbo Provider Bootstrap
- *
- * @since 2.7.5
- */
-public class EtcdDubboServiceProviderBootstrap {
-
- public static void main(String[] args) {
- multipleRegistries();
- }
-
- private static void multipleRegistries() {
- ProtocolConfig restProtocol = new ProtocolConfig();
- restProtocol.setName("rest");
- restProtocol.setId("rest");
- restProtocol.setPort(-1);
-
- RegistryConfig interfaceRegistry = new RegistryConfig();
- interfaceRegistry.setId("interfaceRegistry");
- interfaceRegistry.setAddress("etcd3://127.0.0.1:2379");
-
- RegistryConfig serviceRegistry = new RegistryConfig();
- serviceRegistry.setId("serviceRegistry");
-
serviceRegistry.setAddress("etcd3://127.0.0.1:2379?registry-type=service");
-
- ServiceConfig<EchoService> echoService = new ServiceConfig<>();
- echoService.setInterface(EchoService.class.getName());
- echoService.setRef(new EchoServiceImpl());
- // echoService.setRegistries(Arrays.asList(interfaceRegistry,
serviceRegistry));
-
- ServiceConfig<UserService> userService = new ServiceConfig<>();
- userService.setInterface(UserService.class.getName());
- userService.setRef(new UserServiceImpl());
- userService.setProtocol(restProtocol);
- // userService.setRegistries(Arrays.asList(interfaceRegistry,
serviceRegistry));
-
- ApplicationConfig applicationConfig = new
ApplicationConfig("dubbo-provider-demo");
- // applicationConfig.setMetadataType("remote");
- DubboBootstrap.getInstance()
- .application(applicationConfig)
- // Zookeeper in service registry type
- // .registry("zookeeper", builder ->
- //
builder.address("zookeeper://127.0.0.1:2181?registry.type=service"))
- // Nacos
- // .registry("zookeeper", builder ->
- //
builder.address("nacos://127.0.0.1:8848?registry.type=service"))
- .registries(Arrays.asList(interfaceRegistry, serviceRegistry))
- //
- //
.registry(RegistryBuilder.newBuilder().address("consul://127.0.0.1:8500?registry.type=service").build())
- .protocol(builder -> builder.port(-1).name("dubbo"))
- // .metadataReport(new
MetadataReportConfig("etcd://127.0.0.1:2379"))
- .service(echoService)
- .service(userService)
- .start()
- .await();
- }
-
- private static void testSCCallDubbo() {}
-
- private static void testDubboCallSC() {}
-
- private static void testDubboTansormation() {}
-}
diff --git
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/compatible/DubboInterfaceConsumerBootstrap.java
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/compatible/DubboInterfaceConsumerBootstrap.java
index 6e559fbea0..1a0e141f44 100644
---
a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/compatible/DubboInterfaceConsumerBootstrap.java
+++
b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/compatible/DubboInterfaceConsumerBootstrap.java
@@ -38,9 +38,6 @@ public class DubboInterfaceConsumerBootstrap {
.application("dubbo-consumer-demo")
// Zookeeper
.registry(interfaceRegistry)
- // Nacos
- // .registry("consul", builder ->
- //
builder.address("consul://127.0.0.1:8500?registry.type=service&subscribed.services=dubbo-provider-demo"))
.reference("echo", builder ->
builder.interfaceClass(EchoService.class)
.protocol("dubbo"))
.reference("user", builder ->
builder.interfaceClass(UserService.class)
diff --git
a/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
b/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
index ba5392a02d..07e2978661 100644
---
a/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
+++
b/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
@@ -115,7 +115,6 @@ class EnableDubboConfigTest {
configManager.getProtocol("dubbo").get();
configManager.getProtocol("rest").get();
- configManager.getProtocol("thrift").get();
// asserts aliases
// assertTrue(hasAlias(context, "applicationBean2",
"dubbo-demo-application2"));
diff --git a/dubbo-dependencies-bom/pom.xml b/dubbo-dependencies-bom/pom.xml
index 7e25d87f81..23f79987b0 100644
--- a/dubbo-dependencies-bom/pom.xml
+++ b/dubbo-dependencies-bom/pom.xml
@@ -96,8 +96,6 @@
<bytebuddy.version>1.14.10</bytebuddy.version>
<netty_version>3.2.10.Final</netty_version>
<netty4_version>4.1.104.Final</netty4_version>
- <mina_version>2.2.3</mina_version>
- <grizzly_version>2.4.4</grizzly_version>
<httpclient_version>4.5.14</httpclient_version>
<httpcore_version>4.4.16</httpcore_version>
<fastjson_version>1.2.83</fastjson_version>
@@ -106,12 +104,6 @@
<curator_version>5.1.0</curator_version>
<curator_test_version>2.12.0</curator_test_version>
<jedis_version>3.10.0</jedis_version>
- <consul_version>1.4.5</consul_version>
- <consul_process_version>2.2.1</consul_process_version>
- <consul_client_version>1.5.3</consul_client_version>
- <xmemcached_version>1.4.3</xmemcached_version>
- <cxf_version>3.6.2</cxf_version>
- <thrift_version>0.19.0</thrift_version>
<hessian_version>4.0.66</hessian_version>
<protobuf-java_version>3.25.1</protobuf-java_version>
<javax_annotation-api_version>1.3.2</javax_annotation-api_version>
@@ -123,14 +115,9 @@
<hibernate_validator_new_version>7.0.5.Final</hibernate_validator_new_version>
<jel_version>3.0.1-b12</jel_version>
<jcache_version>1.1.1</jcache_version>
- <kryo_version>4.0.3</kryo_version>
- <kryo_serializers_version>0.45</kryo_serializers_version>
- <fst_version>2.57</fst_version>
- <avro_version>1.11.3</avro_version>
<apollo_client_version>2.2.0</apollo_client_version>
<snakeyaml_version>2.2</snakeyaml_version>
<commons_lang3_version>3.14.0</commons_lang3_version>
- <protostuff_version>1.8.0</protostuff_version>
<envoy_api_version>0.1.35</envoy_api_version>
<micrometer.version>1.12.1</micrometer.version>
@@ -146,7 +133,6 @@
<resteasy_version>3.15.6.Final</resteasy_version>
<codehaus-jackson_version>1.9.13</codehaus-jackson_version>
<tomcat_embed_version>8.5.96</tomcat_embed_version>
- <jetcd_version>0.7.6</jetcd_version>
<nacos_version>2.2.4</nacos_version>
<grpc.version>1.60.0</grpc.version>
<grpc_contrib_verdion>0.8.1</grpc_contrib_verdion>
@@ -162,26 +148,18 @@
<embedded_redis_version>0.13.0</embedded_redis_version>
- <!-- Eureka -->
- <eureka.version>1.10.18</eureka.version>
-
- <!-- Fabric8 for Kubernetes -->
- <fabric8_kubernetes_version>6.9.2</fabric8_kubernetes_version>
-
<!-- Alibaba -->
<alibaba_spring_context_support_version>1.0.11</alibaba_spring_context_support_version>
<jaxb_version>2.2.7</jaxb_version>
<activation_version>1.2.0</activation_version>
<test_container_version>1.19.3</test_container_version>
- <etcd_launcher_version>0.7.6</etcd_launcher_version>
<hessian_lite_version>3.2.13</hessian_lite_version>
<swagger_version>1.6.12</swagger_version>
<snappy_java_version>1.1.10.5</snappy_java_version>
<bouncycastle-bcprov_version>1.70</bouncycastle-bcprov_version>
<metrics_version>2.0.6</metrics_version>
- <sofa_registry_version>5.4.3</sofa_registry_version>
<gson_version>2.10.1</gson_version>
<jackson_version>2.16.0</jackson_version>
<mortbay_jetty_version>6.1.26</mortbay_jetty_version>
@@ -253,16 +231,6 @@
<artifactId>netty</artifactId>
<version>${netty_version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.mina</groupId>
- <artifactId>mina-core</artifactId>
- <version>${mina_version}</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.grizzly</groupId>
- <artifactId>grizzly-core</artifactId>
- <version>${grizzly_version}</version>
- </dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
@@ -321,33 +289,6 @@
<artifactId>jedis</artifactId>
<version>${jedis_version}</version>
</dependency>
- <dependency>
- <groupId>com.ecwid.consul</groupId>
- <artifactId>consul-api</artifactId>
- <version>${consul_version}</version>
- </dependency>
- <dependency>
- <groupId>com.pszymczyk.consul</groupId>
- <artifactId>embedded-consul</artifactId>
- <version>${consul_process_version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.orbitz.consul</groupId>
- <artifactId>consul-client</artifactId>
- <version>${consul_client_version}</version>
- </dependency>
- <!-- Eureka -->
- <dependency>
- <groupId>com.netflix.eureka</groupId>
- <artifactId>eureka-client</artifactId>
- <version>${eureka.version}</version>
- </dependency>
- <dependency>
- <groupId>com.netflix.eureka</groupId>
- <artifactId>eureka-core</artifactId>
- <version>${eureka.version}</version>
- </dependency>
<!-- Alibaba -->
<dependency>
@@ -356,26 +297,6 @@
<version>${alibaba_spring_context_support_version}</version>
</dependency>
- <dependency>
- <groupId>com.googlecode.xmemcached</groupId>
- <artifactId>xmemcached</artifactId>
- <version>${xmemcached_version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-frontend-simple</artifactId>
- <version>${cxf_version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-transports-http</artifactId>
- <version>${cxf_version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- <version>${thrift_version}</version>
- </dependency>
<dependency>
<groupId>com.caucho</groupId>
<artifactId>hessian</artifactId>
@@ -482,36 +403,6 @@
<artifactId>cache-api</artifactId>
<version>${jcache_version}</version>
</dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>kryo</artifactId>
- <version>${kryo_version}</version>
- </dependency>
- <dependency>
- <groupId>de.javakaffee</groupId>
- <artifactId>kryo-serializers</artifactId>
- <version>${kryo_serializers_version}</version>
- </dependency>
- <dependency>
- <groupId>de.ruedigermoeller</groupId>
- <artifactId>fst</artifactId>
- <version>${fst_version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.avro</groupId>
- <artifactId>avro</artifactId>
- <version>${avro_version}</version>
- </dependency>
- <dependency>
- <groupId>io.protostuff</groupId>
- <artifactId>protostuff-core</artifactId>
- <version>${protostuff_version}</version>
- </dependency>
- <dependency>
- <groupId>io.protostuff</groupId>
- <artifactId>protostuff-runtime</artifactId>
- <version>${protostuff_version}</version>
- </dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
@@ -578,21 +469,6 @@
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat_embed_version}</version>
</dependency>
- <dependency>
- <groupId>io.etcd</groupId>
- <artifactId>jetcd-core</artifactId>
- <version>${jetcd_version}</version>
- <exclusions>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http2</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler-proxy</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
<!-- Log libs -->
<dependency>
<groupId>org.slf4j</groupId>
@@ -722,19 +598,6 @@
<version>${metrics_version}</version>
</dependency>
- <!-- for dubbo-registry-sofa -->
- <dependency>
- <groupId>com.alipay.sofa</groupId>
- <artifactId>registry-client-all</artifactId>
- <version>${sofa_registry_version}</version>
- </dependency>
- <dependency>
- <groupId>com.alipay.sofa</groupId>
- <artifactId>registry-test</artifactId>
- <version>${sofa_registry_version}</version>
- <scope>test</scope>
- </dependency>
-
<!-- Test lib -->
<dependency>
<groupId>com.github.codemonstur</groupId>
@@ -778,18 +641,6 @@
<artifactId>portlet-api</artifactId>
<version>${portlet_version}</version>
</dependency>
- <!-- for dubbo-configcenter-etcd -->
- <dependency>
- <groupId>io.etcd</groupId>
- <artifactId>jetcd-launcher</artifactId>
- <version>${etcd_launcher_version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-annotations</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
@@ -846,17 +697,6 @@
<artifactId>jprotoc</artifactId>
<version>${jprotoc_version}</version>
</dependency>
- <dependency>
- <groupId>io.fabric8</groupId>
- <artifactId>kubernetes-client</artifactId>
- <version>${fabric8_kubernetes_version}</version>
- </dependency>
- <dependency>
- <groupId>io.fabric8</groupId>
- <artifactId>kubernetes-server-mock</artifactId>
- <version>${fabric8_kubernetes_version}</version>
- <scope>test</scope>
- </dependency>
<!-- tri compress support-->
<dependency>
<groupId>org.apache.commons</groupId>
diff --git a/dubbo-metadata/dubbo-metadata-processor/pom.xml
b/dubbo-metadata/dubbo-metadata-processor/pom.xml
index 32ae35bf52..f42ccb5580 100644
--- a/dubbo-metadata/dubbo-metadata-processor/pom.xml
+++ b/dubbo-metadata/dubbo-metadata-processor/pom.xml
@@ -87,18 +87,6 @@
<groupId>com.alibaba</groupId>
<artifactId>hessian-lite</artifactId>
</exclusion>
- <exclusion>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>kryo</artifactId>
- </exclusion>
- <exclusion>
- <groupId>de.javakaffee</groupId>
- <artifactId>kryo-serializers</artifactId>
- </exclusion>
- <exclusion>
- <groupId>de.ruedigermoeller</groupId>
- <artifactId>fst</artifactId>
- </exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>