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
Albumen Kevin
c22a40b87d
Fix unit tests failed on JDK8 ( #13296 )
2023-11-02 09:52:31 +08:00
andotorg
4782142980
Fix #13135 for testing ( #13139 )
...
* fix https://github.com/apache/dubbo/issues/13135
* fix Using the '.*' form of import should be avoided build error
* nashorn-core jar scope is test
2023-10-13 17:43:30 +08:00
Albumen Kevin
ea35f7ed5c
Revert "refactor: migrate tracing core from boot-start to dubbo deployer ( #12453 )"
...
This reverts commit a613cae2
2023-06-20 10:02:30 +08:00
conghuhu
a613cae2f3
refactor: migrate tracing core from boot-start to dubbo deployer ( #12453 )
...
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-17 19:54:12 +08:00
songxiaosheng
4a3172b80a
Fix/dependency cycle ( #11919 )
...
* change dependencies
* add license
* Ut change
* Ut remove unused code
* cluster dependency
* formatName method be delete
---------
Co-authored-by: jojocodeX <571943037@qq.com>
2023-03-27 09:46:32 +08:00
MieAh
46aff44c2f
Support choose local invoke in runtime instead of startup ( #11531 )
2023-03-21 17:01:33 +08:00
wxbty
c041fa1f93
Observability task: registration center ( #11493 )
2023-02-25 17:22:44 +08:00
Albumen Kevin
f1af604e7e
Fastjson2 Support ( #10166 )
2022-07-15 10:18:41 +08:00
Albumen Kevin
efa6900bb1
[3.0] Add connectivity validation, router snapshot ( #9112 )
...
* refactor BitList
* refactor BitList
* remove dependency
* add connectivity directory support
* Fix ut
* Fix ut
* fix npe
* fix npe
* add disable action
* add comment
* add comment
* fix ut
* add router snapshot
* Add comment
* add test
* fix ut
* fix npe
* fix ut
* add ut
* set consumerUrl
* refactor BitList add tailList
* add comment
* support tailList in router chain
* fix default
* fix ut
* fix log
* fix dup
* Fix Directory available check
* change order
* fix ut
* fix logic
* fix concurrent
* fix random problem
* recover common router
* ensure semaphore
* recover meta
* fix invoker
2021-11-03 11:13:04 +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
Albumen Kevin
8bc9257f4e
Migrate master bugfix ( #7927 )
2021-06-01 14:14:35 +08:00
panxiaojun233
3531a7d681
[3.0] Feature/state router ( #6844 )
...
* state router
* fix router chain
* fix router chain
* fix comment
* fix comment
* format files
* deal dependecy
* fix comment
* fix comment
* fix
* fix ut
* fix ut
* fix
* fix comment
* add code comments
* add code comments
* add code comments
* add code comments
2021-05-18 17:13:50 +08:00
qinliujie
489f4884b7
Brand new routing rule ( #7372 )
2021-03-24 15:24:36 +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
5008e0f2ac
unify metadata and configcenter implementations ( #4360 )
...
* Polish apache/incubator-dubbo/#4096 : To add new module for Dubbo Event
* Polish apache/incubator-dubbo#3942 : Dubbo Cloud Native: To Add Service registration and discovery abstract
* Polish apache/incubator-dubbo#3946 : Dubbo Cloud Native : To Add Dubbo metadata service
* Polish apache/incubator-dubbo#4093 : To add exported and unexported events for ServiceConfig
* Polish apache/incubator-dubbo#3984 : Add Service registration and discovery implementation for Zookeeper
* Polish apache/incubator-dubbo#4104 : To add initialized and destroyed events for ReferenceConfig
* Polish apache/incubator-dubbo#3946 : Refactor Dubbo metadata service
* Polish apache/incubator-dubbo#3946 : To Add MetadataServiceExporter into dubbo-config-api
* Update ${project.parent.version}
* Polish apache/incubator-dubbo#3946 : Refactor Dubbo metadata service
* Polish apache/incubator-dubbo/#4096 : Remove the duplicated word
* Polish apache/incubator-dubbo#4119 : DynamicConfiguration adds the publish and multiple get configuration methods
* Polish apache/incubator-dubbo#4120 : To add DynamicConfiguration implementation for Zookeeper
* Polish apache/incubator-dubbo#4121 : Add the mapping from service metadata to service name
* Polish apache/incubator-dubbo/#3790 : Dependencies with no license
* Polish apache/incubator-dubbo#4071 : @Reference can't match the local @Service beans
* Update version to be 2.7.3
* Polish apache/incubator-dubbo#3946 : Add thread-safe and performance optimization
* Polish apache/incubator-dubbo#3946 : Add thread-safe and performance optimization
* Polish apache/incubator-dubbo#3946 : Add thread-safe and performance optimization
* Update 2.7.3
* Polish apache/incubator-dubbo#4104 : To add more events for dubbo-config-api
* Polish apache/incubator-dubbo#3942 : Dubbo Cloud Native: To Add Service registration and discovery abstract
* Polish apache/incubator-dubbo#3984 : Add Service registration and discovery implementation for Zookeeper
* Add Bootstrap
* Polish GA
* Polish apache/incubator-dubbo#4050 : Dubbo Cloud Native : Add a mechanism to upgrade Dubbo services smoothly
* Polish apache/incubator-dubbo#4093 : To add DubboServiceDestroyedEvent
* Polish apache/incubator-dubbo#4050 : Dubbo Cloud Native : Reactor
* Polish apache/incubator-dubbo#3946 : Remove SPI
* Polish apache/incubator-dubbo#4265 : [Feature] Dubbo Cloud Native - Add Bootstrap
* Polish apache/incubator-dubbo#4265 : [Feature] Dubbo Cloud Native - Add Bootstrap
* Polish apache/dubbo#4265 : Add test dependencies
* Polish /apache/dubbo#3942 : Refactor implementation
* Polish apache/incubator-dubbo#3984 : Refactor
* Add Nacos implementation
* Polish apache/incubator-dubbo#3984 : Add Nacos implementation
* Polish apache/incubator-dubbo#4268 : Dubbo Event - To support Generic event type handle
* Polish apache/incubator-dubbo#4268 : Update JavaDoc
* Polish apache/incubator-dubbo#4268 : Add GenericEventListener implementation
* add cache for MetadataServiceProxy
* support multiple metadata and configcenter
* unify metadata implementation
* add missed files
* remove duplicated files
* add new SPIs and modules to dubbo-all pom.
2019-06-26 17:09:21 +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
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
ken.lj
d39343e8b4
adjust zookeeper dependency
2018-11-28 19:36:50 +08:00
ken.lj
a3215cba29
refactor governance to configcenter
2018-11-17 12:31:31 +08:00
ken.lj
97a5825bbf
Add test scope pom dependency
2018-10-17 19:12:41 +08:00
ken.lj
97836c2224
Refactor the dynamic-config module to governance module
2018-10-17 17:39:41 +08:00
ken.lj
191cae18c3
Add route part
2018-08-26 13:37:51 +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
8eb0d6f2ce
Remove useless dependencies
2018-01-21 08:35:49 +08:00
ken.lj
da3783e3cd
Upgrade version to 2.6.1
2018-01-11 17:35:11 +08:00
ken.lj
26f39d57ff
Refactor project structure using maven
2018-01-11 15:41:44 +08:00
ken.lj
739a61e857
Upgrade version to 2.6.0
2018-01-05 15:35:57 +08:00
ken.lj
c6dcb72405
I18N effort for dubbo-cluster, #1114
2017-12-26 11:11:35 +08: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