Commit Graph

263 Commits

Author SHA1 Message Date
liufarui 322a49e153
dubbo-demo-xml-consumer use correct metadata-report address (#9511) 2022-01-23 16:51:04 +08:00
诣极 yì jí 09dcf41208
fix multiple registry onEvent not triggered. (#7440) 2021-05-31 20:33:18 +08:00
xiaoheng1 d1a144471a
Make each sub-demo in the dubbo-demo project consistent in the telnet function, remove the dubbo-qos dependency in dubbo-demo-xml-provider (#7648) 2021-04-29 19:36:16 +08:00
ken.lj b939b34da8 Merge branch '2.7.9-release'
# Conflicts:
#	dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer/pom.xml
#	dubbo-dependencies-bom/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
#	dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/InterfaceCompatibleRegistryProtocol.java
#	dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java
#	dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/CodecSupport.java
#	dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java
#	pom.xml
2021-02-26 15:57:21 +08:00
ken.lj c0a95dbc99
Fix service discovery impls and UTs after backported some 3.0 features (#7236) 2021-02-24 10:42:07 +08:00
ken.lj e62014f963 check serialization id on both side 2021-02-03 12:45:25 +08:00
斩秋 d59492514d
merge migration rule support from 3.0 (#6773) 2021-01-27 15:49:52 +08:00
JuniorXu 4a265a52b1
update dubbo-provider.xml for demo (#6857) 2020-11-09 13:25:19 +08:00
ken.lj 13868b920d
Backport service discovery related changes on 3.0 to master (#6618) 2020-08-31 14:38:25 +08:00
Lei Jiang f798140392
Update @Service And @Reference with @DubboService and @DubboReference (#6355) 2020-07-08 14:01:05 +08:00
Mercy Ma 9769a1dc7e
[Enhancement] Adding a build tools module for Apache License (#6060)
* Polish apache/dubbo#6058 : [Enhancement] Adding a build tools module for Apache License

* Polish apache/dubbo#6058 : [Enhancement] Adding a build tools module for Apache License

* Polish apache/dubbo#6058 : [Enhancement] Adding a build tools module for Apache License
2020-04-26 16:19:23 +08:00
LiosWong 54b0d7e3f4
Remove duplicate dependency from [dubbo-bom] and [dubbo-demo-xml-consumer] (#5799) 2020-02-28 16:53:26 +08:00
ken.lj c783e55ec9
mrege 2.7.5-release into master branch (#5642) 2020-02-28 16:50:52 +08:00
hengyunabc 06249e458c
refactor generic support, fix #5479 (#5481) 2020-02-03 17:15:31 +08:00
ken.lj 9d2ef9a032
fix specifying metadata type cannot work (#5703)
fix #5667
2020-01-31 15:51:23 +08:00
Ian Luo 14f62f20da [DUBBO-4288]: simple workaround to make shutdown hook work again when DubboBootstrap is not used (#5656)
fixes #4288
2020-01-19 10:24:16 +08:00
cvictory 95ea6c9ec8 support configcenter config and refactor ConfigPostProcessor (#5579) 2020-01-16 15:22:42 +08:00
ken.lj 0d7c639d23 fix checkstyle, add missed Apache License Header 2019-11-26 14:18:38 +08:00
ken.lj 055a159460 Support specify service name when subscribing using Service Discovery mechainism. (#5319) 2019-11-13 17:19:22 +08:00
ken.lj b0cf97ebc3 add config module back and remove bootstrap module 2019-11-08 18:14:43 +08:00
ken.lj cea3de7b38 Refactor, revert ReferenceConfigCache package change 2019-10-31 16:23:11 +08:00
ken.lj 3b4b67b61a Refactor ServiceConfig package 2019-10-29 19:05:49 +08:00
ken.lj ffd7f9edd5 resolve conflicts after merged master 2019-10-29 17:09:45 +08:00
ken.lj 3e78bd8867 Replace ServiceLoader with Dubbo ExtensionLoader 2019-10-21 21:19:36 +08:00
ken.lj 66fbd3202a Rewrite UTs 2019-10-14 15:59:44 +08:00
ken.lj 7621c9e3d1 Fix compile errors 2019-10-14 12:58:42 +08:00
ken.lj 1be3c999d1 Refactor: Config Application and Bootstrap 2019-10-12 21:17:35 +08:00
ken.lj 62e204e424 Merge branch 'cloud-native' into master-merged-performance-cloudnative 2019-10-10 21:15:18 +08:00
ken.lj b89df9d8f1 Optimization after merged performance tuning branch 2019-09-06 21:04:58 +08:00
ken.lj 0872090fa4 Merge branch 'performance-tuning-2.7.x' 2019-09-03 14:17:40 +08:00
ken.lj e261acc98a Solve conflicts after merged 3.x 2019-09-02 19:18:07 +08:00
ken.lj 9f5cc83d34 Merge branch '3.x-dev' 2019-08-30 17:31:01 +08:00
ken.lj 09463577c8 Merge branch 'cloud-native' of https://github.com/apache/dubbo into cloud-native 2019-08-29 09:25:16 +08:00
ken.lj 4b71c84e21 gRPC framework support 2019-08-28 17:36:03 +08:00
ken.lj 1ade69248c add service discovery related samples 2019-08-28 17:24:06 +08:00
ken.lj 1d554d326f service discovery demos 2019-08-21 12:54:38 +08:00
Junjian Peng 171ed255a0 [Dubbo-4765] fix demo dependencies (#4832)
* fix demo run
* add multicast
2019-08-18 09:48:17 +08:00
ken.lj c8ca5b6d83 demos 2019-08-13 20:20:43 +08:00
ken.lj bdaacbc17d spring delegate to bootstrap. 2019-08-09 15:31:07 +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
Ian Luo f490df87de
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
2019-07-31 14:25:27 +08:00
huaifeng c3132b8343 Fixed Service annotation method parameters are not in effect (#4598) 2019-07-31 11:07:55 +08:00
ken.lj c5dd1ea581 Merge branch 'master' into cloud-native
# Conflicts:
#	dubbo-all/pom.xml
#	dubbo-bom/pom.xml
#	dubbo-common/src/main/java/org/apache/dubbo/common/config/configcenter/DynamicConfiguration.java
#	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/ServiceConfig.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.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-report/dubbo-metadata-definition-protobuf/src/main/java/org/apache/dubbo/metadata/definition/protobuf/ProtobufTypeBuilder.java
#	dubbo-metadata-report/dubbo-metadata-definition-protobuf/src/test/java/org/apache/dubbo/metadata/definition/protobuf/ProtobufTypeBuilderTest.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/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
2019-07-27 08:46:57 +08:00
ken.lj 9632c407d3 Merge branch '2.7.3-release' 2019-07-11 16:05:41 +08:00
shouhong ddd7e43d17 Add -jar for java command in dubbo-demo readme file (#4517) 2019-07-10 13:27:11 +08:00
Huxing Zhang 8baf92966e Add nacos dependencies to dubbo-demo (#4447) 2019-07-02 18:31:46 +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 5434a52ede Revert "DefaultFuture (#4257)"
This reverts commit b2dbc5ef5d.
2019-06-26 13:02:38 +08:00
cvictory 6b7d11837a fix empty protocol in consul registry (#4354)
fixes #4294
2019-06-26 10:25:02 +08:00
zhenxianyimeng 60c9d9dbbc add zookeeper maven dependency so that on change registery can run the demo (#4352) 2019-06-20 07:02:59 +08:00