Commit Graph

101 Commits

Author SHA1 Message Date
huazhongming 730695a7a2
[3.2]Use spotless to format the code (#13320)
* Use spotless to format the code

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Support develop with JDK 21

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-11-07 15:40:13 +08:00
ken.lj 970964a012
Fix curator5 compatibility (#9749)
fixes #9738
2022-03-10 17:07:48 +08:00
ken.lj 1b31bb5551
Try to remove curator5 module (#9559) 2022-01-11 20:04:14 +08:00
Gong Dewei 1bdf359b1a
[3.0] Manage global resources and executor services, fix zk client connections (#9033)
* shutdown scheduledExecutors and executorServiceRing

* fix NPE of configuration

* Fix notify loop after executor service is shutdown

* improve registry center in tests

* polish unregister shutdown hook log

* Fix systemConfiguration NPE

* enable surefire reuseForks for fast testing

* Fix checking DubboShutdownHook is alive

* fix SPI/Bean instantiation constructor matching

* shutdown share executor

* release zk client

* Improve application destroy processing

* Add GlobalResourcesRepository to manager static resources, including ExecutorService and HashedWheelTimer

* revert zk client address mapping

* Fix zk client early close problem

* improve executor service

* improve both start by module and by application

* release sharedScheduledExecutor and fix AccessLogFilter

* Fix tests

* checking zk registry if destroyed

* fix testSystemPropertyOverrideReferenceConfig config error

* improve KeepRunningOnSpringClosedTest

* SPI extension/scope bean prefers parameterized constructor instead of default constructor

* Support compatible usage of ZookeeperRegistryFactory

* Improve the application/module destroy process, the deployer destruction is divided into pre-destroy and post-destroy

* Destroy NacosDynamicConfiguration

* Destroy MetadataReportFactory

* Recreate adaptive classes

* Destroy global resources on dubbo shutdown

* Fix zk thread leaks when create client failed

* Improve protocol destroying

* Improve thread name of protocol port

* Manage global EventLoopGroup, HashedWheelTimer, etc.

* Protected metadata info in memory

* Support checking unclosed threads when finish test class

* Improve application check started

* add test log4j.properties

* add pom.xml of dubbo-test-check

* fix CodecSupport.checkSerialization error

* Fix ReferenceCountExchangeClientTest log msg checking

* Fix ServiceInstanceMetadataUtilsTest and MigrationInvokerTest

* Fix protocol destroy problem

* rename test check jvm args

* cancel asyncMetadataFuture and unregisterServiceInstance in pre-destroy application

* Ignore refresh metadata if application is stopping

* Remove unused destroyDynamicConfigurations method

* Change ZookeeperTransporter to application scope

* Add testMultiProviderApplicationsStopOneByOne

* Destroy ZookeeperTransporter in RemotingScopeModelInitializer

* support specify test check report file
2021-10-19 10:11:53 +08:00
赵延 dcdfe5afa4
Compatible for curator5. (#8263)
* compatible for curator5.

* compatible for curator5.

* fix ut.

* dependency fix.

* for compatible, dubbo-sample CompatibleRegistry use setMethod.

* ut fix.

* use curator as the default ZookeeperTransporter.

* ut fix.

* code clean. make ZookeeperTransporter inject at constructor.
2021-07-13 22:47:25 +08:00
ken.lj b2353107f2
refactor dependencies after sub modules moved to dubbo-spi-extensions (#6685) 2020-09-03 17:47:23 +08:00
ken.lj 8bdecea7ef
Move some SPI extensions to apache/dubbo-spi-extensions, add sub package modules (#6157) 2020-08-17 13:38:04 +08:00
Mercy Ma e7ce16d992
Dubbo Cloud Native (#4764)
* Polish apache/dubbo#4542 : [Enhancement] Adapt the Java standard Event/Listener mechanism

* Polish apache/dubbo#4541 : [Feature] Add local File System DynamicConfigurationFactory‘s extension

* Polish apache#4541 : Bugfix

* Polish apache/dubbo#4541 : Optimization

* Polish apache/dubbo#4541 : Add the compatibility for PollingWatchService on the some platforms

* Polish apache/dubbo#4541 : Add delay publish without ThreadPoolExecutor

* Polish apache/dubbo#4541 : Refactor the extension name

* Polish apache/dubbo#4541 : Add remove ops

* Polish apache/dubbo#4541 : Add testable constructor

* Polish apache/dubbo#4541 : Add getConfigGroups method

* Polish apache/dubbo#4610 : [Refactor] Refactor the bootstrap module

* Polish apache/dubbo#4541 : Fix the nulling URL issue

* Polish apache/dubbo#4622 : [Refactor] Refactor ConfigManager

* Polish apache/dubbo#4622 : [Refactor] Refactor ConfigManager

* Polish apache/dubbo#4622 : Support multiple configcenters

* Polish apache/dubbo#4671 : ServiceNameMapping will not map the group, version and protocol

* update referenceCount log (#4683)

Add comments to support multiple shared connections

* Polish /apache/dubbo#4687 : Remove the duplicated test code in dubbo-config-spring (#4688)

* #4685  修改代码if判断false问题 if (hasException == false)修改成if (!hasException) (#4695)

* Fixed Service annotation method parameters are not in effect (#4598)

* keep demo simple, and switch to use zookeeper as registry center (#4705)

* keep demo simple, and switch to use zookeeper as registry center

* remove comment

* @Reference auto-wires the instance of generic interface #4594 (#4677)

* try to shorten maven output to make travis build pass (#4710)

* use CountDownLatch to check zk registry if establish connection (#4589)

* Minor change

* Rename the extension name of WritableMetadataService

* Polish apache/dubbo#4759 : [Refactor] Change the signature of methods of MetadataService #4759

* Merge remote-tracking branch 'upstream/master' into dubbo-cloud-native

# Conflicts:
#	dubbo-all/pom.xml
#	dubbo-bom/pom.xml
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ApplicationConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/RegistryConfig.java
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
#	dubbo-configcenter/dubbo-configcenter-api/src/main/java/org/apache/dubbo/configcenter/DynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-api/src/test/java/org/apache/dubbo/configcenter/mock/MockDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-consul/src/main/java/org/apache/dubbo/configcenter/consul/ConsulDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-etcd/src/test/java/org/apache/dubbo/configcenter/support/etcd/EtcdDynamicConfigurationTest.java
#	dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java
#	dubbo-configcenter/dubbo-configcenter-nacos/src/test/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfigurationTest.java
#	dubbo-configcenter/dubbo-configcenter-zookeeper/src/main/java/org/apache/dubbo/configcenter/support/zookeeper/ZookeeperDynamicConfiguration.java
#	dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/definition/model/MethodDefinition.java
#	dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifier.java
#	dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java
#	dubbo-metadata/dubbo-metadata-api/src/test/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifierTest.java
#	dubbo-metadata/dubbo-metadata-definition-protobuf/src/main/java/org/apache/dubbo/metadata/definition/protobuf/ProtobufTypeBuilder.java
#	dubbo-metadata/dubbo-metadata-definition-protobuf/src/test/java/org/apache/dubbo/metadata/definition/protobuf/ProtobufTypeBuilderTest.java
#	dubbo-metadata/pom.xml
#	dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/AbstractConfiguratorListener.java
#	dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistry.java
#	dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistryFactory.java
#	dubbo-rpc/dubbo-rpc-xml/src/main/java/org/apache/dubbo/xml/rpc/protocol/xmlrpc/XmlRpcProtocol.java

* Polish apache/dubbo#3984 : Add the implementation of Page<ServiceInstance> getInstances(String serviceName, int offset, int pageSize, boolean healthyOnly)

* Code merge
2019-08-08 10:42:14 +08:00
ken.lj 59dab14ceb Use maven CI friendly versions: revision. (#3851) 2019-04-12 11:41:51 +08:00
Ian Luo bc67770d64 [maven-release-plugin] prepare for next development iteration 2019-03-18 19:11:51 +08:00
Ian Luo a36cc7520e [maven-release-plugin] prepare release dubbo-2.7.1 2019-03-18 18:40:15 +08:00
Ian Luo a162d3e662 Revert "[maven-release-plugin] prepare release dubbo-2.7.1"
This reverts commit a3454a98eb.
2019-03-18 14:27:50 +08:00
Ian Luo f1babd9d19 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 9941995cfa.
2019-03-18 14:27:33 +08:00
Ian Luo 9941995cfa [maven-release-plugin] prepare for next development iteration 2019-03-18 12:08:21 +08:00
Ian Luo a3454a98eb [maven-release-plugin] prepare release dubbo-2.7.1 2019-03-18 12:08:08 +08:00
Huxing Zhang 1ee4d84725 [Dubbo-808] Support etcd registry (#3605)
* Merge https://github.com/dubbo/dubbo-registry-etcd into incubator-dubbo

* Add UT to ConfigurationUtilsTest
2019-03-11 11:55:58 +08:00
Huxing Zhang de4f91b689 [maven-release-plugin] prepare for next development iteration 2019-01-18 11:05:09 +08:00
Huxing Zhang e4f39a3a11 [maven-release-plugin] prepare release dubbo-2.7.0 2019-01-18 11:04:41 +08:00
Jerrick Zhu c0ca042253 Add compatible module and rename groupId to org.apache.dubbo (#1952)
* remove dubbo-test-examples and dubbo-test-benchmark

* rename package to org.apache.dubbo

* support old SPI file

* remove final for RpcException and URL

* add debug sysout in UT

* add debug info in UT

* ignore 2 cases temporary

* add finally clear for SHUTDOWN_WAIT_KEY property

* clear SHUTDOWN_WAIT_KEY before test

* add dubbo SPI and interface bridge class

* support EchoService and GenericService

* rename groupId to org.apache.dubbo

* add debug info for UT
2018-06-19 11:31:09 +08:00
ken.lj 82905e14da bump version to 2.7.0-SNAPSHOT 2018-06-06 10:30:19 +08:00
ken.lj 1e729afa0a [maven-release-plugin] prepare for next development iteration 2018-05-24 17:52:17 +08:00
ken.lj 5eeb240337 [maven-release-plugin] prepare release dubbo-2.6.2 2018-05-24 17:51:14 +08:00
ken.lj d7b3eaffd9 Go back to 2.6.2-SNAPSHOT to prepare for the next release. 2018-05-21 21:20:46 +08:00
ken.lj a6401e64b5 [maven-release-plugin] prepare for next development iteration 2018-05-14 21:25:37 +08:00
ken.lj afab04c53e [maven-release-plugin] prepare release dubbo-2.6.2 2018-05-14 21:25:19 +08:00
ken.lj a9c975c809 Bump version to 2.6.2-SNAPSHOT 2018-05-14 20:58:39 +08:00
ken.lj 944d5208b4 Bump version to 2.6.2-SNAPSHOT 2018-05-14 20:46:53 +08:00
ken.lj f5de637fcc Bump version to 2.6.2 for release 2018-05-10 17:21:43 +08:00
ken.lj 7f052f18fd upgrade to 2.6.2-SNAPSHOT 2018-04-26 19:26:34 +08:00
ken.lj 1503d6deee We need to change the version to SNAPSHOT to satisfy release:prepare 2018-04-26 19:22:49 +08:00
Ian Luo 20aa3f0b2f manually merge the work made by pull request #1491 on master branch (#1554)
* Manually merge pull request #1486, to make travis ci and codecov work after apache incubator transition.

* update pom license, scm, maillists, issuemanagement, add DISCLAIMER (#1491)
2018-04-04 22:54:17 -05:00
ken.lj 4a5c5e200d
Merge pull request #1389, refactor dubbo deployment process
Fixes #1322
2018-03-06 06:04:31 -06:00
ken.lj da3783e3cd Upgrade version to 2.6.1 2018-01-11 17:35:11 +08:00
ken.lj 739a61e857 Upgrade version to 2.6.0 2018-01-05 15:35:57 +08:00
WangXin 8e20d1ca06
#1055 Translate the comments of dubbo-remoting module (#1065) 2017-12-19 21:43:18 -06:00
Mercy 6b2fa866a4
2.5.8 (#979)
* Update version to 2.5.8

* Update version to 2.5.8

* Add compatibility for Spring 3.2.x to resolve #17

* Add compatibility for Spring 3.2.x to resolve #17

* Add compatibility for Spring 3.2.x to resolve #17

* Add final to BEAN_NAME field

* Fixed #883

* Add @EnableDubboConfigBinding to fix #12
2017-11-30 15:04:43 +08:00
Mercy 93704ad3cd Merge pull request #805 from mercyblitz:2.5.7
Refactor annotation config
2017-11-03 22:43:40 +08:00
chickenlj 99331ff50b update version to 2.5.6 2017-10-11 21:58:01 +08:00
qinliujie 6d47a70664 Merge pull request #630 from qinliujie:feat/netty4
netty4 support
2017-10-10 20:50:41 -05:00
ken.lj 3f5e2f9bed 修复2.5.4版本不兼容jdk1.7及以下版本的问题 2017-09-12 13:43:47 +08:00
ken.lj 44f23bc5b3 update dubbo version (#611) 2017-09-07 22:01:19 +08:00
ken.lj 17619dfa97 Reformat code 2017-08-24 18:05:17 +08:00
kimi 977bd905c3 重构项目结构 2014-05-14 00:14:23 +08:00
kimi efcb0f3b32 update version to 2.5.4-SNAPSHOT 2012-12-25 16:59:35 +08:00
kimi c48b87e835 update version to 2.5.3-SNAPSHOT 2012-09-24 11:41:38 +08:00
kimi ae19c902ba update version to 2.5.2-SNAPSHOT 2012-08-23 10:54:27 +08:00
kimi ce33f45036 release 2.5.1 2012-08-22 13:45:23 +08:00
oldrat 1a91825f66 update version to 2.5.1-SNAPSHOT 2012-08-14 11:53:09 +08:00
gang.lvg@alibaba-inc.comm f8cb608c1e 更新版本为 2.5.0-SNAPSHOT 2012-08-06 10:27:40 +08:00
oldrat 6e75051f34 update version to 2.4.3 2012-08-03 13:44:42 +08:00