Commit Graph

67 Commits

Author SHA1 Message Date
huazhongming c9b6e85d03
The compiler version is the same as the trunk version (#10144) 2022-06-14 14:09:14 +08:00
GuoHao 7c13626872
[3.0 Triple] Support native stub generator (#9822)
Support native stub generator
2022-03-27 10:50:01 +08:00
ken.lj 970964a012
Fix curator5 compatibility (#9749)
fixes #9738
2022-03-10 17:07:48 +08:00
ken.lj be900d20bd fix potential maven profile jdk issue working with IDE issue 2022-01-13 14:55:20 +08:00
ken.lj 1b31bb5551
Try to remove curator5 module (#9559) 2022-01-11 20:04:14 +08:00
ken.lj dd86898dad
add jdk17 profile (#9530) 2022-01-06 16:02:19 +08:00
ken.lj 501b0625c9
Distinguish zookeeper module from zookeeper-curator5 (#9528)
Use lower version zookeeper and curator dependencies by default.
2022-01-06 09:56:56 +08:00
ken.lj b2a4f612ec
3.0 service discovery metadata refactor (#9506) 2021-12-29 10:56:05 +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
Albumen Kevin ba86d61db3
Update Dubbo Distribution Pom (#9066)
* Update Dubbo Distribution Pom

* Add hessian include
2021-10-19 15:42:23 +08:00
Albumen Kevin 31c5ee4086
Refactor Injvm invoke (#8926)
* Refactor Injvm invoke

* Add ut

* Fix import

* Remove deprecated method & fix ut

* Fix Cluster join
2021-09-28 10:58:51 +08:00
Albumen Kevin 1dfb114734
[3.0] Multi Instances Related Refactor (#8737)
* Refactor some ExtensionLoader usage

* Fix ut

* Refactor some ExtensionLoader usage

* Introduce Initializer for ScopeModel

* Fix ut

* Fix ut

* Add TCCL Changer

* remove some default model usage

* remove some default model usage

* Fix NPE

* Remove Hessian2 TL

* Fix NPE

* Fix NPE

* Fix Shade

* Fix DubboBootstrap init

* Fix Metadata Serialize

* Fix not support multi classloader

* Add Multi ClassLoader Test case

* Fix UT

* add ant

* Fix UT

* Fix Merge Directory
2021-09-10 14:43:34 +08:00
Albumen Kevin ff39bf36c3
Add 3.0 Multi Instance Support (#8662)
* Add ExtensionDirector and Models

* Fix access static getter method of ApplicationModel

* Replace ExtensionFactory with ExtensionInjector

* specify scope of some SPIs

* Support scoped injection for extension

* improve create extension loader logic

* Add ScopeModel and ScopeBeanFactory, fix extension initialization of XxxConfig

* polish doc of scope model

* Extract FrameworkStatusReportService from FrameworkStatusReporter

* Fix application model of default bootstrap instance

* Pass scope model through URL

* Fix scope model of registry, metadata, cluster and so on

* exact ServiceModel from ProviderModel and ConsumerModel

* Add ASF license header for ScopeBeanFactoryInitializer

* Remove unused import

* Remove unused import

* Fix ut in ConfigManagerTest

* Change default Scope Behave

* Resolve recursive creation of Scope Model

* Fix inject default model when scope is parent

* Fix inject default model when scope is parent

* Compact with url without ScopeModel

* Change HttpBinder Scope

* Change some SPIs' scope

* Fix setApplicationModel override issue of MetadataServiceNameMapping

* Default inject ScopeModel in ConfigManager

* Add default Scope for AbstractConfig when init

* Fix field override & Fix ut env

* Fix zk not startup in DubboBootstrapMultiInstanceTest

* Fix ExtensionAccessor not inject in UT of MetricsFilterTest

* Compact old style getName

* Fix UT in DNSServiceDiscoveryTest

* Compact old style ApplicationModel

* Fix UT in DNSServiceDiscoveryTest

* Fix repository changed after ApplicationModel destroyed

* Fix SpringExtensionInjector pollution in UT

* Pass ApplicationModel in ServiceInstance

* reintroduce metadata delay key

* Add Transient on ApplicationModel getter of DefaultServiceInstance

* Fix Configurator Listener in Singleton mode override issue

* Fix Configurator Listener in Singleton mode override issue

* Compact old style getApplication

* Invocation pass ServiceModel

* Compact old style registerConsumer

* Fix NPE in RpcInvocation

* Add ServiceModel pass when init

* Fix ServiceModel cast error

* Add ServiceModel pass when invoke

* Fix NPE when simplify registry url

* Revert "Resolve recursive creation of Scope Model"

This reverts commit 37a99957

* Improve scope model aware

* polish scope model

* Cleanup ApplicationModel.defaultModel usage

* Fix ut

* Compatible with 2.6 Registry

* Fix ut

* Add Callback Service build ProviderModel

* improve scope model of config bean

* Fix scope model of reference/service model

* Revert CallbackServiceCodec for dev

* Fix scope model NPE

* Fix consumer url NPE

* Add Callback Service build ProviderModel

* Fix NPE when destroy

* Fix ut

* add failback logic for ut

* Fix ut

* Add Scope Model check

* Fix uts

* Fix ut in DubboBootstrapTest

* Fix ut in DubboBootstrapTest

* Fix uts

* Reset ApplicationModel Before Test

Co-authored-by: gongdewei <kylixs@qq.com>
2021-09-02 17:54:20 +08:00
ken.lj 0f52c56042
add test case for service discovery process (#8607) 2021-08-31 08:58:00 +08:00
Albumen Kevin 873937453b
Compact with dubbo-all without farbic-io (#8546) 2021-08-19 19:00:55 +08:00
Albumen Kevin 3f3cea771e
Dependencies Upgrade (#8351)
* Dependencies Upgrade

* fix ut

* update nacos version

* remove eclipse-collections dependency

* fix compile error

* revert 401c56e6

* exclude guava

* fix test compile
2021-07-26 09:57:30 +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
Albumen Kevin 6e9dbe9b43
Add default Dynamic Param Key (#8028)
* Add default Dynamic Param Key

* add ASF license header

* remove debug output

* Fix param being override

* skip null value

* introduce a serializable URLParam

* perfect comment

* add serialVersionUID
2021-06-11 22:19:42 +08:00
赵延 724ec8b554
[3.0] Service Name Mapping Refactor And Nacos model some support. (#7824) 2021-06-10 17:18:49 +08:00
Wu Zhiguo db41d2a5f4
[3.0]Cleanup EventDispatcher mechanism (#7677) 2021-06-09 00:23:17 +08:00
huazhongming e189221708
[3.0] Support url merge processor extension (#7932) 2021-06-08 17:21:01 +08:00
passer e4a8ca1c34
[3.0] Fix dubbo-bom (#7914)
* [3.0] Fix dubbo-bom (#7913)

* Fix (#7913)
2021-05-31 10:18:17 +08:00
Albumen Kevin 7dd5524733
Fix Integration Test (#7853)
* fix group key fetch

* enhance LRUCache (#7461)

* enhance LRUCache

* enhance LRUCache

(cherry picked from commit d3a400daca)

* add dependency pass

Co-authored-by: gcx <18716558336@163.com>
2021-05-24 20:48:14 +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
Albumen Kevin be54ec206a
[Spring Boot Project] Merge 3.0.x Spring-Boot project into Dubbo 3.0.x (#7441)
* [Spring Boot Project] Merge 3.0.x Spring-Boot project into Dubbo 3.0.x

* add junit5 dependency

* ignore ut

* change to junit5

* reset ApplicationModel
2021-04-01 15:28:31 +08:00
ken.lj 22f5310084
[3.0] Fix un-subscription memory leak and some enhancements to migration approach. (#7476) 2021-03-30 14:04:20 +08:00
ken.lj 70a9245715 [3.0] fix service discovery implementation and introduce ClusterFiIlter (#7388) 2021-03-24 15:24:36 +08:00
ken.lj 552112ed01 Revert "3.0 enhancement, do not merge (#7381)" (#7387)
This reverts commit d6c9bf69e0.
2021-03-24 15:24:36 +08:00
ken.lj d541548d15 3.0 enhancement, do not merge (#7381) 2021-03-24 15:24:36 +08:00
panxiaojun233 1ab487e487
Triple support (#7087) 2021-01-26 17:25:11 +08:00
Albumen Kevin b0043c3f5d
Add basic framework for xDS Registry (#7112)
* introduce basic xds registry

* complete protocol develop

* add xds dependency to project level

* Finish self-host metadata fetch

* add comment

* cleanup pom
2021-01-23 16:12:21 +08:00
ken.lj 43e5edaefe
merge k8s feature (#7104) 2021-01-15 23:48:28 +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 762dff20b5 fix distribution profile 2020-08-17 15:40:56 +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
ken.lj a8800c8e71
gRpc compiler refactor (#5416)
Refactor protobuf compiler support (gRPC and Dubbo), add Reactive gRPC support.
2019-12-04 11:10:20 +08:00
ken.lj 8427ec5e63 enhance gRPC protocol support 2019-09-29 11:00:38 +08:00
ken.lj 6b86651ee7 Protobuf service definition and serialization support 2019-09-17 15:50:18 +08:00
ken.lj 374899c839 add gRPC framework support 2019-08-28 22:38:00 +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
Xin Wang a8ca64c8aa
Remove incubator (#4161) 2019-05-25 00:06:55 +08:00
Ian Luo f2bed88616 provide more meaningful binary releases. (#3987)
fixes #2491
2019-05-08 10:51:05 +08:00
huaifeng ceb930e00f merge thrift (#3977)
* merge thrift

* thrift version update

* test

* test success

* test success

* thrift and native thrift

* Restore thrift compatibility issues
2019-05-06 14:21:24 +08:00
huaifeng 77df9d7bd2 native hessian merge (#3966)
* Merge serialization-native-hessian-for-apache-dubbo into incubator-dubbo

* test success

* test success

* Merge serialization-native-hessian-for-apache-dubbo into incubator-dubbo

* change maven install

* add apache license

* remove @Generated

* optimize import

* remove thrift

* merge master

* distribution pom add native hessian
2019-05-06 10:26:31 +08:00
Ian Luo 4007cd4a02 dubbo-registry-nacos module is not bundled into Apache Dubbo 2.7.1 (#3976)
Fixes #3797:
2019-05-05 16:34:59 +08:00
Huxing Zhang a206dde6cd [Dubbo-3653] Enable etcd to support metadata center (#3943)
* Support etcd as metadata center

* Fix key format error for consul/redis and UT failure

* Fix UT failure

* Fix UT failure

* Fix UT failure
2019-05-05 15:13:45 +08:00
Geng Zhang 667f2271b3 [Dubbo-3886] Integrate with SOFARegistry. (#3886)
* Integrate with SOFARegistry.
2019-05-02 10:07:05 +08:00
Taosheng Wei 201795bd5c [Dubbo-3707] Merge dubbo-serialization-gson into incubator-dubbo (#3714) 2019-04-16 10:46:39 +08:00
ken.lj 59dab14ceb Use maven CI friendly versions: revision. (#3851) 2019-04-12 11:41:51 +08:00
huazhongming a378a01994 Merge dubbo-serialization-avro into incubator-dubbo #3708 (#3717) 2019-04-09 14:11:13 +08:00