From a6247c5247369599f61a7fa19a107aefbdb65d19 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Tue, 22 Jan 2019 19:47:04 +0800 Subject: [PATCH 1/6] remove not used import --- .../java/org/apache/dubbo/config/spring/ConfigCenterBean.java | 1 - 1 file changed, 1 deletion(-) diff --git a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/ConfigCenterBean.java b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/ConfigCenterBean.java index ff7d0380af5..1ea2485c0d2 100644 --- a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/ConfigCenterBean.java +++ b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/ConfigCenterBean.java @@ -16,7 +16,6 @@ */ package org.apache.dubbo.config.spring; -import org.apache.dubbo.common.utils.CollectionUtils; import org.apache.dubbo.common.config.ConfigurationUtils; import org.apache.dubbo.common.utils.StringUtils; import org.apache.dubbo.config.ApplicationConfig; From 5e3da9f28c2492bc07c8f9de6de54cdfd0ec8830 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Tue, 22 Jan 2019 20:32:15 +0800 Subject: [PATCH 2/6] remove unused import --- .../annotation/ReferenceAnnotationBeanPostProcessor.java | 3 --- .../annotation/AnnotationPropertyValuesAdapterTest.java | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java index dc3ce793f7f..82fb9b25eb0 100644 --- a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java +++ b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java @@ -16,9 +16,6 @@ */ package org.apache.dubbo.config.spring.beans.factory.annotation; -import org.apache.dubbo.common.Constants; -import org.apache.dubbo.common.utils.ArrayUtils; -import org.apache.dubbo.common.utils.StringUtils; import org.apache.dubbo.config.annotation.Reference; import org.apache.dubbo.config.spring.ReferenceBean; import org.apache.dubbo.config.spring.ServiceBean; diff --git a/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/AnnotationPropertyValuesAdapterTest.java b/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/AnnotationPropertyValuesAdapterTest.java index 9c8f5223a19..e07bf15a893 100644 --- a/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/AnnotationPropertyValuesAdapterTest.java +++ b/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/AnnotationPropertyValuesAdapterTest.java @@ -21,6 +21,7 @@ import org.apache.dubbo.config.annotation.Reference; import org.apache.dubbo.config.spring.ReferenceBean; import org.apache.dubbo.config.spring.api.DemoService; + import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.springframework.core.annotation.AnnotationUtils; From affc976120356c93a44f98f612184c06e8ddf09f Mon Sep 17 00:00:00 2001 From: kexianjun Date: Sat, 16 Mar 2019 17:48:24 +0800 Subject: [PATCH 3/6] fix-3678 --- .../apache/dubbo/remoting/exchange/support/DefaultFuture.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java index 059fdaa04e6..290d668241a 100644 --- a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java +++ b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java @@ -329,9 +329,7 @@ private void doReceived(Response res) { lock.lock(); try { response = res; - if (done != null) { - done.signal(); - } + done.signalAll(); } finally { lock.unlock(); } From 1f077ff71c91c9851630c6cc53ed53728b1fa9fa Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 24 May 2019 23:40:36 +0800 Subject: [PATCH 4/6] remove incubator- --- .../dubbo-issue-report-template.md | 4 +- CHANGES.md | 200 +++++++++--------- CONTRIBUTING.md | 14 +- PULL_REQUEST_TEMPLATE.md | 6 +- README.md | 62 +++--- dubbo-bom/pom.xml | 10 +- .../common/utils/CompatibleTypeUtils.java | 4 +- .../ReferenceAnnotationBeanPostProcessor.java | 4 +- .../ServiceAnnotationBeanPostProcessor.java | 2 +- .../DubboConfigConfigurationRegistrar.java | 2 +- .../spring/status/SpringStatusChecker.java | 2 +- dubbo-demo/README.md | 2 +- dubbo-dependencies-bom/pom.xml | 10 +- .../zookeeper/ZookeeperRegistryTest.java | 2 +- .../dubbo/rpc/protocol/http/HttpProtocol.java | 2 +- dubbo-rpc/dubbo-rpc-xml/pom.xml | 2 +- pom.xml | 10 +- 17 files changed, 169 insertions(+), 169 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/dubbo-issue-report-template.md b/.github/ISSUE_TEMPLATE/dubbo-issue-report-template.md index 13587d07ebc..ac82ec81b96 100644 --- a/.github/ISSUE_TEMPLATE/dubbo-issue-report-template.md +++ b/.github/ISSUE_TEMPLATE/dubbo-issue-report-template.md @@ -4,8 +4,8 @@ about: If you would like to report a issue to Dubbo, please use this template. --- -- [ ] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate. -- [ ] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate. +- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. +- [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate. ### Environment diff --git a/CHANGES.md b/CHANGES.md index e49e66636c8..6296565891f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,84 +8,84 @@ ### New Features -- service register support on nacos [#3582](https://github.com/apache/incubator-dubbo/issues/3582) -- support consul as registry center, config center and metadata center [#983](https://github.com/apache/incubator-dubbo/issues/983) -- service registry support/config center support on etcd [#808](https://github.com/apache/incubator-dubbo/issues/808) -- metrics support in dubbo 2.7.1 [#3598](https://github.com/apache/incubator-dubbo/issues/3598) -- @Argument @Method support [#2405](https://github.com/apache/incubator-dubbo/issues/2045) +- service register support on nacos [#3582](https://github.com/apache/dubbo/issues/3582) +- support consul as registry center, config center and metadata center [#983](https://github.com/apache/dubbo/issues/983) +- service registry support/config center support on etcd [#808](https://github.com/apache/dubbo/issues/808) +- metrics support in dubbo 2.7.1 [#3598](https://github.com/apache/dubbo/issues/3598) +- @Argument @Method support [#2405](https://github.com/apache/dubbo/issues/2045) ### Enhancement -- [Enhancement] @EnableDubboConfigBinding annotates @Repeatable [#1770](https://github.com/apache/incubator-dubbo/issues/1770) -- [Enhancement] Change the default behavior of @EnableDubboConfig.multiple() [#3193](https://github.com/apache/incubator-dubbo/issues/3193) -- Should make annotation easier to use in multiple items circumstance [#3039](https://github.com/apache/incubator-dubbo/issues/3039) -- NoSuchMethodError are thrown when add custom Filter using dubbo2.6.5 and JDK1.6 and upgrade to dubbo2.7.0 [#3570](https://github.com/apache/incubator-dubbo/issues/3570) -- introduce dubbo-dependencies-zookeeper [#3607](https://github.com/apache/incubator-dubbo/pull/3607) -- Zookeeper ConfigCenter reuse the client abstraction and connection session [#3288](https://github.com/apache/incubator-dubbo/issues/3288) -- [Survey] Is it necessary to continue to maintain zkclient in dubbo project? [#3569](https://github.com/apache/incubator-dubbo/issues/3569) -- Start to use IdleStateHandler in Netty4 [#3341](https://github.com/apache/incubator-dubbo/pull/3341) -- Support multiple shared links [#2457](https://github.com/apache/incubator-dubbo/pull/2457) -- Optimize heartbeat [#3299](https://github.com/apache/incubator-dubbo/pull/3299) -- AccessLogFilter simple date format reduce instance creation [#3026](https://github.com/apache/incubator-dubbo/issues/3026) -- Support wildcard ip for tag router rule. [#3289](https://github.com/apache/incubator-dubbo/issues/3289) -- ScriptRouter should cache CompiledScript [#390](https://github.com/apache/incubator-dubbo/issues/390) -- Optimize compareTo in Router to guarantee consistent behaviour. [#3302](https://github.com/apache/incubator-dubbo/issues/3302) -- RMI protocol doesn't support generic invocation [#2779](https://github.com/apache/incubator-dubbo/issues/2779) -- a more elegant way to enhance HashedWheelTimer [#3567](https://github.com/apache/incubator-dubbo/pull/3567) -- obtain local address incorrectly sometimes in dubbo [#538](https://github.com/apache/incubator-dubbo/issues/538) -- implement pull request #3412 on master branch [#3418](https://github.com/apache/incubator-dubbo/pull/3418) -- enhancement for event of response (follow up for pull request #3043) [#3244](https://github.com/apache/incubator-dubbo/issues/3244) -- bump up hessian-lite version #3423 [#3513](https://github.com/apache/incubator-dubbo/pull/3513) -- [Dubbo-3610]make snakeyaml transitive, should we do this? [#3659](https://github.com/apache/incubator-dubbo/pull/3659) +- [Enhancement] @EnableDubboConfigBinding annotates @Repeatable [#1770](https://github.com/apache/dubbo/issues/1770) +- [Enhancement] Change the default behavior of @EnableDubboConfig.multiple() [#3193](https://github.com/apache/dubbo/issues/3193) +- Should make annotation easier to use in multiple items circumstance [#3039](https://github.com/apache/dubbo/issues/3039) +- NoSuchMethodError are thrown when add custom Filter using dubbo2.6.5 and JDK1.6 and upgrade to dubbo2.7.0 [#3570](https://github.com/apache/dubbo/issues/3570) +- introduce dubbo-dependencies-zookeeper [#3607](https://github.com/apache/dubbo/pull/3607) +- Zookeeper ConfigCenter reuse the client abstraction and connection session [#3288](https://github.com/apache/dubbo/issues/3288) +- [Survey] Is it necessary to continue to maintain zkclient in dubbo project? [#3569](https://github.com/apache/dubbo/issues/3569) +- Start to use IdleStateHandler in Netty4 [#3341](https://github.com/apache/dubbo/pull/3341) +- Support multiple shared links [#2457](https://github.com/apache/dubbo/pull/2457) +- Optimize heartbeat [#3299](https://github.com/apache/dubbo/pull/3299) +- AccessLogFilter simple date format reduce instance creation [#3026](https://github.com/apache/dubbo/issues/3026) +- Support wildcard ip for tag router rule. [#3289](https://github.com/apache/dubbo/issues/3289) +- ScriptRouter should cache CompiledScript [#390](https://github.com/apache/dubbo/issues/390) +- Optimize compareTo in Router to guarantee consistent behaviour. [#3302](https://github.com/apache/dubbo/issues/3302) +- RMI protocol doesn't support generic invocation [#2779](https://github.com/apache/dubbo/issues/2779) +- a more elegant way to enhance HashedWheelTimer [#3567](https://github.com/apache/dubbo/pull/3567) +- obtain local address incorrectly sometimes in dubbo [#538](https://github.com/apache/dubbo/issues/538) +- implement pull request #3412 on master branch [#3418](https://github.com/apache/dubbo/pull/3418) +- enhancement for event of response (follow up for pull request #3043) [#3244](https://github.com/apache/dubbo/issues/3244) +- bump up hessian-lite version #3423 [#3513](https://github.com/apache/dubbo/pull/3513) +- [Dubbo-3610]make snakeyaml transitive, should we do this? [#3659](https://github.com/apache/dubbo/pull/3659) ### Bugfixes -- cannot register REST service in 2.7 due to the changes in RestProtoco#getContextPath [#3445](https://github.com/apache/incubator-dubbo/issues/3445) -- Conflict between curator client and dubbo [#3574](https://github.com/apache/incubator-dubbo/issues/3574) -- is there a problem in NettyBackedChannelBuffer.setBytes(...)? [#2619](https://github.com/apache/incubator-dubbo/issues/2619) -- [Dubbo - client always reconnect offline provider] Dubbo client bug [#3158](https://github.com/apache/incubator-dubbo/issues/3158) -- fix heartbeat internal [#3579](https://github.com/apache/incubator-dubbo/pull/3579) -- logic issue in RedisRegistry leads to services cannot be discovered. [#3291](https://github.com/apache/incubator-dubbo/pull/3291) -- Multicast demo fails with message "Can't assign requested address" [#2423](https://github.com/apache/incubator-dubbo/issues/2423) -- Fix thrift protocol, use path to locate exporter. [#3331](https://github.com/apache/incubator-dubbo/pull/3331) -- cannot use override to modify provider's configuration when hessian protocol is used [#900](https://github.com/apache/incubator-dubbo/issues/900) -- Condition is not properly used ? [#1917](https://github.com/apache/incubator-dubbo/issues/1917) -- connectionMonitor in RestProtocol seems not work [#3237](https://github.com/apache/incubator-dubbo/issues/3237) -- fail to parse config text with white space [#3367](https://github.com/apache/incubator-dubbo/issues/3367) -- @Reference check=false doesn't take effect [#195](https://github.com/apache/incubator-dubbo/issues/195) -- [Issue] SpringStatusChecker execute errors on non-XML Spring configuration [#3615](https://github.com/apache/incubator-dubbo/issues/3615) -- monitor's cluster config is set to failsafe and set to failsafe only [#274](https://github.com/apache/incubator-dubbo/issues/274) -- A question for ReferenceConfigCache. [#1293](https://github.com/apache/incubator-dubbo/issues/1293) -- referenceconfig#destroy never invoke unregister [#3294](https://github.com/apache/incubator-dubbo/issues/3294) -- Fix when qos is disable,log will print every time [#3397](https://github.com/apache/incubator-dubbo/pull/3397) -- service group is not supported in generic direct invocation [#3555](https://github.com/apache/incubator-dubbo/issues/3555) -- setOnreturn doesn't take effect in async generic invocation [#208](https://github.com/apache/incubator-dubbo/issues/208) -- Fix timeout filter not work in async way [#3174](https://github.com/apache/incubator-dubbo/pull/3174) -- java.lang.NumberFormatException: For input string: "" [#3069](https://github.com/apache/incubator-dubbo/issues/3069) -- NPE occurred when the configuration was deleted [#3533](https://github.com/apache/incubator-dubbo/issues/3533) -- NPE when package of interface is empty [#3556](https://github.com/apache/incubator-dubbo/issues/3556) -- NPE when exporting rest service using a given path. [#3477](https://github.com/apache/incubator-dubbo/issues/3477) -- NullPointerException happened when using SpringContainer.getContext() [#3476](https://github.com/apache/incubator-dubbo/issues/3476) -- Why does not tomcat throw an exception when `server.start` failed with a socket binding error. [#3236](https://github.com/apache/incubator-dubbo/issues/3236) -- No such extension org.apache.dubbo.metadata.store.MetadataReportFactory by name redis [#3514](https://github.com/apache/incubator-dubbo/issues/3514) -- dubbo 2.7.1-SNAPSHOT NoClassDefFoundError when use springboot [#3426](https://github.com/apache/incubator-dubbo/issues/3426) -- NPE occurs when use @Reference in junit in spring boot application [#3429](https://github.com/apache/incubator-dubbo/issues/3429) -- When refer the same service with more than one @References(with different configs) on consumer side, only one take effect [#1306](https://github.com/apache/incubator-dubbo/issues/1306) -- consumer always catch java.lang.reflect.UndeclaredThrowableException for the exception thrown from provider [#3386](https://github.com/apache/incubator-dubbo/issues/3386) -- dubbo2.7.0 com.alibaba.com.caucho.hessian.io.HessianProtocolException: 'com.alibaba.dubbo.common.URL' could not be instantiated [#3342](https://github.com/apache/incubator-dubbo/issues/3342) -- Close Resources Properly [#3473](https://github.com/apache/incubator-dubbo/issues/3473) -- SPI entires dup by 3 times. [#2842](https://github.com/apache/incubator-dubbo/issues/2842) -- provider gets wrong interface name from attachment when use generic invocation in 2.6.3 [#2981](https://github.com/apache/incubator-dubbo/issues/2981) -- HashedWheelTimer's queue gets full [#3449](https://github.com/apache/incubator-dubbo/issues/3449) -- Modify MetadataReportRetry ThreadName [#3550](https://github.com/apache/incubator-dubbo/pull/3550) -- Keep interface key in the URL in simplify mode when it's different from path. [#3478](https://github.com/apache/incubator-dubbo/issues/3478) -- nc is not stable in dubbo's bootstrap script [#936](https://github.com/apache/incubator-dubbo/issues/936) +- cannot register REST service in 2.7 due to the changes in RestProtoco#getContextPath [#3445](https://github.com/apache/dubbo/issues/3445) +- Conflict between curator client and dubbo [#3574](https://github.com/apache/dubbo/issues/3574) +- is there a problem in NettyBackedChannelBuffer.setBytes(...)? [#2619](https://github.com/apache/dubbo/issues/2619) +- [Dubbo - client always reconnect offline provider] Dubbo client bug [#3158](https://github.com/apache/dubbo/issues/3158) +- fix heartbeat internal [#3579](https://github.com/apache/dubbo/pull/3579) +- logic issue in RedisRegistry leads to services cannot be discovered. [#3291](https://github.com/apache/dubbo/pull/3291) +- Multicast demo fails with message "Can't assign requested address" [#2423](https://github.com/apache/dubbo/issues/2423) +- Fix thrift protocol, use path to locate exporter. [#3331](https://github.com/apache/dubbo/pull/3331) +- cannot use override to modify provider's configuration when hessian protocol is used [#900](https://github.com/apache/dubbo/issues/900) +- Condition is not properly used ? [#1917](https://github.com/apache/dubbo/issues/1917) +- connectionMonitor in RestProtocol seems not work [#3237](https://github.com/apache/dubbo/issues/3237) +- fail to parse config text with white space [#3367](https://github.com/apache/dubbo/issues/3367) +- @Reference check=false doesn't take effect [#195](https://github.com/apache/dubbo/issues/195) +- [Issue] SpringStatusChecker execute errors on non-XML Spring configuration [#3615](https://github.com/apache/dubbo/issues/3615) +- monitor's cluster config is set to failsafe and set to failsafe only [#274](https://github.com/apache/dubbo/issues/274) +- A question for ReferenceConfigCache. [#1293](https://github.com/apache/dubbo/issues/1293) +- referenceconfig#destroy never invoke unregister [#3294](https://github.com/apache/dubbo/issues/3294) +- Fix when qos is disable,log will print every time [#3397](https://github.com/apache/dubbo/pull/3397) +- service group is not supported in generic direct invocation [#3555](https://github.com/apache/dubbo/issues/3555) +- setOnreturn doesn't take effect in async generic invocation [#208](https://github.com/apache/dubbo/issues/208) +- Fix timeout filter not work in async way [#3174](https://github.com/apache/dubbo/pull/3174) +- java.lang.NumberFormatException: For input string: "" [#3069](https://github.com/apache/dubbo/issues/3069) +- NPE occurred when the configuration was deleted [#3533](https://github.com/apache/dubbo/issues/3533) +- NPE when package of interface is empty [#3556](https://github.com/apache/dubbo/issues/3556) +- NPE when exporting rest service using a given path. [#3477](https://github.com/apache/dubbo/issues/3477) +- NullPointerException happened when using SpringContainer.getContext() [#3476](https://github.com/apache/dubbo/issues/3476) +- Why does not tomcat throw an exception when `server.start` failed with a socket binding error. [#3236](https://github.com/apache/dubbo/issues/3236) +- No such extension org.apache.dubbo.metadata.store.MetadataReportFactory by name redis [#3514](https://github.com/apache/dubbo/issues/3514) +- dubbo 2.7.1-SNAPSHOT NoClassDefFoundError when use springboot [#3426](https://github.com/apache/dubbo/issues/3426) +- NPE occurs when use @Reference in junit in spring boot application [#3429](https://github.com/apache/dubbo/issues/3429) +- When refer the same service with more than one @References(with different configs) on consumer side, only one take effect [#1306](https://github.com/apache/dubbo/issues/1306) +- consumer always catch java.lang.reflect.UndeclaredThrowableException for the exception thrown from provider [#3386](https://github.com/apache/dubbo/issues/3386) +- dubbo2.7.0 com.alibaba.com.caucho.hessian.io.HessianProtocolException: 'com.alibaba.dubbo.common.URL' could not be instantiated [#3342](https://github.com/apache/dubbo/issues/3342) +- Close Resources Properly [#3473](https://github.com/apache/dubbo/issues/3473) +- SPI entires dup by 3 times. [#2842](https://github.com/apache/dubbo/issues/2842) +- provider gets wrong interface name from attachment when use generic invocation in 2.6.3 [#2981](https://github.com/apache/dubbo/issues/2981) +- HashedWheelTimer's queue gets full [#3449](https://github.com/apache/dubbo/issues/3449) +- Modify MetadataReportRetry ThreadName [#3550](https://github.com/apache/dubbo/pull/3550) +- Keep interface key in the URL in simplify mode when it's different from path. [#3478](https://github.com/apache/dubbo/issues/3478) +- nc is not stable in dubbo's bootstrap script [#936](https://github.com/apache/dubbo/issues/936) ## 2.7.0 Requirements: **Java 8+** required -Please check [here](https://github.com/apache/incubator-dubbo/blob/2.7.0-release/CHANGES.md#upgrading-and-compatibility-notifications) for notes and possible compatibility issues for upgrading from 2.6.x or lower to 2.7.0. +Please check [here](https://github.com/apache/dubbo/blob/2.7.0-release/CHANGES.md#upgrading-and-compatibility-notifications) for notes and possible compatibility issues for upgrading from 2.6.x or lower to 2.7.0. ### New Features @@ -101,7 +101,7 @@ Please check [here](https://github.com/apache/incubator-dubbo/blob/2.7.0-release - Simplified registry URL. With lower Registry memory use and less notification pressure from Service Directory, separates Configuration notification from Service Discovery. -- Metadata Center. A totally new concept since 2.7.0, used to store service metadata including static configuration, service definition, method signature, etc.. By default, Zookeeper and Redis are supported as the backend storage. Will work as the basis of service testing, mock and other service governance features going to be supported in [Dubbo-Admin](https://github.com/apache/incubator-dubbo-admin). +- Metadata Center. A totally new concept since 2.7.0, used to store service metadata including static configuration, service definition, method signature, etc.. By default, Zookeeper and Redis are supported as the backend storage. Will work as the basis of service testing, mock and other service governance features going to be supported in [Dubbo-Admin](https://github.com/apache/dubbo-admin). - Asynchronous Programming Model (only works for Dubbo protocol now) - Built-in support for the method with CompletableFuture signature. @@ -176,57 +176,57 @@ BugFix: Enhancements / Features: -- Reactor the generation rule for @Service Bean name [#2235](https://github.com/apache/incubator-dubbo/issues/2235) -- Introduce a new Spring ApplicationEvent for ServiceBean exporting [#2251](https://github.com/apache/incubator-dubbo/issues/2251) -- [Enhancement] the algorithm of load issue on Windows. [#1641](https://github.com/apache/incubator-dubbo/issues/1641) -- add javadoc to dubbo-all module good first issue. [#2600](https://github.com/apache/incubator-dubbo/issues/2600) -- [Enhancement] Reactor the generation rule for @Service Bean name type/enhancement [#2235](https://github.com/apache/incubator-dubbo/issues/2235) -- Optimize LeastActiveLoadBalance and add weight test case. [#2540](https://github.com/apache/incubator-dubbo/issues/2540) -- Smooth Round Robin selection. [#2578](https://github.com/apache/incubator-dubbo/issues/2578) [#2647](https://github.com/apache/incubator-dubbo/pull/2647) -- [Enhancement] Resolve the placeholders for sub-properties. [#2297](https://github.com/apache/incubator-dubbo/issues/2297) -- Add ability to turn off SPI auto injection, special support for generic Object type injection. [#2681](https://github.com/apache/incubator-dubbo/pull/2681) +- Reactor the generation rule for @Service Bean name [#2235](https://github.com/apache/dubbo/issues/2235) +- Introduce a new Spring ApplicationEvent for ServiceBean exporting [#2251](https://github.com/apache/dubbo/issues/2251) +- [Enhancement] the algorithm of load issue on Windows. [#1641](https://github.com/apache/dubbo/issues/1641) +- add javadoc to dubbo-all module good first issue. [#2600](https://github.com/apache/dubbo/issues/2600) +- [Enhancement] Reactor the generation rule for @Service Bean name type/enhancement [#2235](https://github.com/apache/dubbo/issues/2235) +- Optimize LeastActiveLoadBalance and add weight test case. [#2540](https://github.com/apache/dubbo/issues/2540) +- Smooth Round Robin selection. [#2578](https://github.com/apache/dubbo/issues/2578) [#2647](https://github.com/apache/dubbo/pull/2647) +- [Enhancement] Resolve the placeholders for sub-properties. [#2297](https://github.com/apache/dubbo/issues/2297) +- Add ability to turn off SPI auto injection, special support for generic Object type injection. [#2681](https://github.com/apache/dubbo/pull/2681) Bugfixes: -- @Service(register=false) is not work. [#2063](https://github.com/apache/incubator-dubbo/issues/2063) -- Our customized serialization id exceeds the maximum limit, now it cannot work on 2.6.2 anymore. [#1903](https://github.com/apache/incubator-dubbo/issues/1903) -- Consumer throws RpcException after RegistryDirectory notify in high QPS. [#2016](https://github.com/apache/incubator-dubbo/issues/2016) -- Annotation @Reference can't support to export a service with a sync one and an async one . [#2194](https://github.com/apache/incubator-dubbo/issues/2194) -- `org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#generateReferenceBeanCacheKey` has a bug. [#2522](https://github.com/apache/incubator-dubbo/issues/2522) -- 2.6.x Spring Event & Bugfix. [#2256](https://github.com/apache/incubator-dubbo/issues/2256) -- Fix incorrect descriptions for dubbo-serialization module. [#2665](https://github.com/apache/incubator-dubbo/issues/2665) -- A empty directory dubbo-config/dubbo-config-spring/src/test/resources/work after package source tgz. [#2560](https://github.com/apache/incubator-dubbo/issues/2560) -- Fixed 2.6.x branch a minor issue with doConnect not using getConnectTimeout() in NettyClient. (*No issue*). [#2622](https://github.com/apache/incubator-dubbo/pull/2622) -- Bean name of @service annotated class does not resolve placeholder. [#1755](https://github.com/apache/incubator-dubbo/issues/1755) +- @Service(register=false) is not work. [#2063](https://github.com/apache/dubbo/issues/2063) +- Our customized serialization id exceeds the maximum limit, now it cannot work on 2.6.2 anymore. [#1903](https://github.com/apache/dubbo/issues/1903) +- Consumer throws RpcException after RegistryDirectory notify in high QPS. [#2016](https://github.com/apache/dubbo/issues/2016) +- Annotation @Reference can't support to export a service with a sync one and an async one . [#2194](https://github.com/apache/dubbo/issues/2194) +- `org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#generateReferenceBeanCacheKey` has a bug. [#2522](https://github.com/apache/dubbo/issues/2522) +- 2.6.x Spring Event & Bugfix. [#2256](https://github.com/apache/dubbo/issues/2256) +- Fix incorrect descriptions for dubbo-serialization module. [#2665](https://github.com/apache/dubbo/issues/2665) +- A empty directory dubbo-config/dubbo-config-spring/src/test/resources/work after package source tgz. [#2560](https://github.com/apache/dubbo/issues/2560) +- Fixed 2.6.x branch a minor issue with doConnect not using getConnectTimeout() in NettyClient. (*No issue*). [#2622](https://github.com/apache/dubbo/pull/2622) +- Bean name of @service annotated class does not resolve placeholder. [#1755](https://github.com/apache/dubbo/issues/1755) -Issues and Pull Requests, check [milestone-2.6.5](https://github.com/apache/incubator-dubbo/milestone/21). +Issues and Pull Requests, check [milestone-2.6.5](https://github.com/apache/dubbo/milestone/21). ## 2.6.4 Enhancements / Features -- Support access Redis with password, [#2146](https://github.com/apache/incubator-dubbo/pull/2146) -- Support char array for GenericService, [#2137](https://github.com/apache/incubator-dubbo/pull/2137) -- Direct return when the server goes down abnormally, [#2451](https://github.com/apache/incubator-dubbo/pull/2451) -- Add log for trouble-shooting when qos start failed, [#2455](https://github.com/apache/incubator-dubbo/pull/2455) -- PojoUtil support subclasses of java.util.Date, [#2502](https://github.com/apache/incubator-dubbo/pull/2502) -- Add ip and application name for MonitorService, [#2166](https://github.com/apache/incubator-dubbo/pull/2166) -- New ASCII logo, [#2402](https://github.com/apache/incubator-dubbo/pull/2402) +- Support access Redis with password, [#2146](https://github.com/apache/dubbo/pull/2146) +- Support char array for GenericService, [#2137](https://github.com/apache/dubbo/pull/2137) +- Direct return when the server goes down abnormally, [#2451](https://github.com/apache/dubbo/pull/2451) +- Add log for trouble-shooting when qos start failed, [#2455](https://github.com/apache/dubbo/pull/2455) +- PojoUtil support subclasses of java.util.Date, [#2502](https://github.com/apache/dubbo/pull/2502) +- Add ip and application name for MonitorService, [#2166](https://github.com/apache/dubbo/pull/2166) +- New ASCII logo, [#2402](https://github.com/apache/dubbo/pull/2402) Bugfixes -- Change consumer retries default value from 0 to 2, [#2303](https://github.com/apache/incubator-dubbo/pull/2303) -- Fix the problem that attachment is lost when retry, [#2024](https://github.com/apache/incubator-dubbo/pull/2024) -- Fix NPE when telnet get a null parameter, [#2453](https://github.com/apache/incubator-dubbo/pull/2453) +- Change consumer retries default value from 0 to 2, [#2303](https://github.com/apache/dubbo/pull/2303) +- Fix the problem that attachment is lost when retry, [#2024](https://github.com/apache/dubbo/pull/2024) +- Fix NPE when telnet get a null parameter, [#2453](https://github.com/apache/dubbo/pull/2453) UT stability -- Improve the stability by changing different port, setting timeout to 3000ms, [#2501](https://github.com/apache/incubator-dubbo/pull/2501) +- Improve the stability by changing different port, setting timeout to 3000ms, [#2501](https://github.com/apache/dubbo/pull/2501) -Issues and Pull Requests, check [milestone-2.6.4](https://github.com/apache/incubator-dubbo/milestone/19). +Issues and Pull Requests, check [milestone-2.6.4](https://github.com/apache/dubbo/milestone/19). ## 2.6.3 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e5ed3a9ee9b..f85ea430b34 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,15 +9,15 @@ Before we accept a non-trivial patch or pull request we will need you to sign th #### Mailing list -The mailing list is the recommended way for discussing almost anything that related to Dubbo. Please refer to this [guide](https://github.com/apache/incubator-dubbo/wiki/Mailing-list-subscription-guide) for detailed documentation on how to subscribe. +The mailing list is the recommended way for discussing almost anything that related to Dubbo. Please refer to this [guide](https://github.com/apache/dubbo/wiki/Mailing-list-subscription-guide) for detailed documentation on how to subscribe. - [dev@dubbo.incubator.apache.org](mailto:dev-subscribe@dubbo.incubator.apache.org): the develop mailing list, you can ask question here if you have encountered any problem when using or developing Dubbo. - [commits@dubbo.incubator.apache.org](mailto:commits-subscribe@dubbo.incubator.apache.org): all the commits will be sent to this mailing list. You can subscribe to it if you are interested in Dubbo's development. -- [notifications@dubbo.incubator.apache.org](mailto:notifications-subscribe@dubbo.incubator.apache.org): all the Github [issue](https://github.com/apache/incubator-dubbo/issues) updates and [pull request](https://github.com/apache/incubator-dubbo/pulls) updates will be sent to this mailing list. +- [notifications@dubbo.incubator.apache.org](mailto:notifications-subscribe@dubbo.incubator.apache.org): all the Github [issue](https://github.com/apache/dubbo/issues) updates and [pull request](https://github.com/apache/dubbo/pulls) updates will be sent to this mailing list. ### Reporting issue -Please follow the [template](https://github.com/apache/incubator-dubbo/issues/new?template=dubbo-issue-report-template.md) for reporting any issues. +Please follow the [template](https://github.com/apache/dubbo/issues/new?template=dubbo-issue-report-template.md) for reporting any issues. ### Code Conventions Our code style is almost in line with the standard java conventions (Popular IDE's default setting satisfy this), with the following additional restricts: @@ -46,23 +46,23 @@ This is a rough outline of what a contributor's workflow looks like: * Make commits of logical units. * Make sure commit messages are in the proper format (see below). * Push changes in a topic branch to your forked repository. -* Follow the checklist in the [pull request template](https://github.com/apache/incubator-dubbo/blob/master/PULL_REQUEST_TEMPLATE.md) +* Follow the checklist in the [pull request template](https://github.com/apache/dubbo/blob/master/PULL_REQUEST_TEMPLATE.md) * Before you sending out the pull request, please sync your forked repository with remote repository, this will make your pull request simple and clear. See guide below: ``` -git remote add upstream git@github.com:apache/incubator-dubbo.git +git remote add upstream git@github.com:apache/dubbo.git git fetch upstream git rebase upstream/master git checkout -b your_awesome_patch ... add some work git push origin your_awesome_patch ``` -* Submit a pull request to apache/incubator-dubbo and wait for the reply. +* Submit a pull request to apache/dubbo and wait for the reply. Thanks for contributing! ### Code style -We provide a template file [dubbo_codestyle_for_idea.xml](https://github.com/apache/incubator-dubbo/tree/master/codestyle/dubbo_codestyle_for_idea.xml) for IntelliJ idea, you can import it to you IDE. +We provide a template file [dubbo_codestyle_for_idea.xml](https://github.com/apache/dubbo/tree/master/codestyle/dubbo_codestyle_for_idea.xml) for IntelliJ idea, you can import it to you IDE. If you use Eclipse you can config manually by referencing the same file. **NOTICE** diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index 17bc2b3ac33..20c5854a2fd 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -12,9 +12,9 @@ XXXXX Follow this checklist to help us incorporate your contribution quickly and easily: -- [x] Make sure there is a [GITHUB_issue](https://github.com/apache/incubator-dubbo/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. +- [x] Make sure there is a [GITHUB_issue](https://github.com/apache/dubbo/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. - [ ] Format the pull request title like `[Dubbo-XXX] Fix UnknownException when host config not exist #XXX`. Each commit in the pull request should have a meaningful subject line and body. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. -- [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in [dubbo samples](https://github.com/apache/incubator-dubbo-samples) project. +- [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in [dubbo samples](https://github.com/apache/dubbo-samples) project. - [ ] Run `mvn clean install -DskipTests=false` & `mvn clean test-compile failsafe:integration-test` to make sure unit-test and integration-test pass. -- [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/incubator-dubbo/wiki/Software-donation-guide). +- [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide). diff --git a/README.md b/README.md index 3010a784558..c916ae0fff7 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ # Apache Dubbo Project -[![Build Status](https://travis-ci.org/apache/incubator-dubbo.svg?branch=master)](https://travis-ci.org/apache/incubator-dubbo) -[![codecov](https://codecov.io/gh/apache/incubator-dubbo/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/incubator-dubbo) +[![Build Status](https://travis-ci.org/apache/dubbo.svg?branch=master)](https://travis-ci.org/apache/dubbo) +[![codecov](https://codecov.io/gh/apache/dubbo/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/dubbo) ![maven](https://img.shields.io/maven-central/v/org.apache.dubbo/dubbo.svg) ![license](https://img.shields.io/github/license/alibaba/dubbo.svg) -[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/apache/incubator-dubbo.svg)](http://isitmaintained.com/project/apache/incubator-dubbo "Average time to resolve an issue") -[![Percentage of issues still open](http://isitmaintained.com/badge/open/apache/incubator-dubbo.svg)](http://isitmaintained.com/project/apache/incubator-dubbo "Percentage of issues still open") +[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/apache/dubbo.svg)](http://isitmaintained.com/project/apache/dubbo "Average time to resolve an issue") +[![Percentage of issues still open](http://isitmaintained.com/badge/open/apache/dubbo.svg)](http://isitmaintained.com/project/apache/dubbo "Percentage of issues still open") [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Apache%20Dubbo%20(incubating)%20is%20a%20high-performance%2C%20java%20based%2C%20open%20source%20RPC%20framework.&url=http://dubbo.incubator.apache.org/&via=ApacheDubbo&hashtags=rpc,java,dubbo,micro-service) [![](https://img.shields.io/twitter/follow/ApacheDubbo.svg?label=Follow&style=social&logoWidth=0)](https://twitter.com/intent/follow?screen_name=ApacheDubbo) [![Gitter](https://badges.gitter.im/alibaba/dubbo.svg)](https://gitter.im/alibaba/dubbo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) -Apache Dubbo is a high-performance, Java based open source RPC framework. Please visit [official site](http://dubbo.apache.org) for quick start and documentations, as well as [Wiki](https://github.com/apache/incubator-dubbo/wiki) for news, FAQ, and release notes. +Apache Dubbo is a high-performance, Java based open source RPC framework. Please visit [official site](http://dubbo.apache.org) for quick start and documentations, as well as [Wiki](https://github.com/apache/dubbo/wiki) for news, FAQ, and release notes. -We are now collecting dubbo user info in order to help us to improve Dubbo better, pls. kindly help us by providing yours on [issue#1012: Wanted: who's using dubbo](https://github.com/apache/incubator-dubbo/issues/1012), thanks :) +We are now collecting dubbo user info in order to help us to improve Dubbo better, pls. kindly help us by providing yours on [issue#1012: Wanted: who's using dubbo](https://github.com/apache/dubbo/issues/1012), thanks :) ## Architecture @@ -29,14 +29,14 @@ We are now collecting dubbo user info in order to help us to improve Dubbo bette ## Getting started -The following code snippet comes from [Dubbo Samples](https://github.com/apache/incubator-dubbo-samples/tree/master/dubbo-samples-api). You may clone the sample project and step into `dubbo-samples-api` sub directory before read on. +The following code snippet comes from [Dubbo Samples](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-api). You may clone the sample project and step into `dubbo-samples-api` sub directory before read on. ```bash -# git clone https://github.com/apache/incubator-dubbo-samples.git -# cd incubator-dubbo-samples/dubbo-samples-api +# git clone https://github.com/apache/dubbo-samples.git +# cd dubbo-samples/dubbo-samples-api ``` -There's a [README](https://github.com/apache/incubator-dubbo-samples/tree/master/dubbo-samples-api/README.md) file under `dubbo-samples-api` directory. Read it and try this sample out by following the instructions. +There's a [README](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-api/README.md) file under `dubbo-samples-api` directory. Read it and try this sample out by following the instructions. ### Maven dependency @@ -70,7 +70,7 @@ public interface GreetingService { } ``` -*See [api/GreetingService.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/api/GreetingsService.java) on GitHub.* +*See [api/GreetingService.java](https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/api/GreetingsService.java) on GitHub.* ### Implement service interface for the provider @@ -87,7 +87,7 @@ public class GreetingServiceImpl implements GreetingService { } ``` -*See [provider/GreetingServiceImpl.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/server/GreetingsServiceImpl.java) on GitHub.* +*See [provider/GreetingServiceImpl.java](https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/server/GreetingsServiceImpl.java) on GitHub.* ### Start service provider @@ -115,7 +115,7 @@ public class Application { } ``` -*See [provider/Application.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/server/Application.java) on GitHub.* +*See [provider/Application.java](https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/server/Application.java) on GitHub.* ### Build and run the provider @@ -155,7 +155,7 @@ public class Application { The consumer will print out `Hello world` on the screen. -*See [consumer/Application.java](https://github.com/apache/incubator-dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/client/Application.java) on GitHub.* +*See [consumer/Application.java](https://github.com/apache/dubbo-samples/blob/master/dubbo-samples-api/src/main/java/org/apache/dubbo/samples/client/Application.java) on GitHub.* ### Next steps @@ -175,35 +175,35 @@ If you want to try out the cutting-edge features, you can built with the followi ## Contact * Mailing list: - * dev list: for dev/user discussion. [subscribe](mailto:dev-subscribe@dubbo.apache.org), [unsubscribe](mailto:dev-unsubscribe@dubbo.apache.org), [archive](https://lists.apache.org/list.html?dev@dubbo.apache.org), [guide](https://github.com/apache/incubator-dubbo/wiki/Mailing-list-subscription-guide) + * dev list: for dev/user discussion. [subscribe](mailto:dev-subscribe@dubbo.apache.org), [unsubscribe](mailto:dev-unsubscribe@dubbo.apache.org), [archive](https://lists.apache.org/list.html?dev@dubbo.apache.org), [guide](https://github.com/apache/dubbo/wiki/Mailing-list-subscription-guide) -* Bugs: [Issues](https://github.com/apache/incubator-dubbo/issues/new?template=dubbo-issue-report-template.md) +* Bugs: [Issues](https://github.com/apache/dubbo/issues/new?template=dubbo-issue-report-template.md) * Gitter: [Gitter channel](https://gitter.im/alibaba/dubbo) * Twitter: [@ApacheDubbo](https://twitter.com/ApacheDubbo) ## Contributing -See [CONTRIBUTING](https://github.com/apache/incubator-dubbo/blob/master/CONTRIBUTING.md) for details on submitting patches and the contribution workflow. +See [CONTRIBUTING](https://github.com/apache/dubbo/blob/master/CONTRIBUTING.md) for details on submitting patches and the contribution workflow. ### How can I contribute? -* Take a look at issues with tag called [`Good first issue`](https://github.com/apache/incubator-dubbo/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [`Help wanted`](https://github.com/apache/incubator-dubbo/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22). -* Join the discussion on mailing list, subscription [guide](https://github.com/apache/incubator-dubbo/wiki/Mailing-list-subscription-guide). -* Answer questions on [issues](https://github.com/apache/incubator-dubbo/issues). -* Fix bugs reported on [issues](https://github.com/apache/incubator-dubbo/issues), and send us pull request. -* Review the existing [pull request](https://github.com/apache/incubator-dubbo/pulls). -* Improve the [website](https://github.com/apache/incubator-dubbo-website), typically we need +* Take a look at issues with tag called [`Good first issue`](https://github.com/apache/dubbo/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [`Help wanted`](https://github.com/apache/dubbo/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22). +* Join the discussion on mailing list, subscription [guide](https://github.com/apache/dubbo/wiki/Mailing-list-subscription-guide). +* Answer questions on [issues](https://github.com/apache/dubbo/issues). +* Fix bugs reported on [issues](https://github.com/apache/dubbo/issues), and send us pull request. +* Review the existing [pull request](https://github.com/apache/dubbo/pulls). +* Improve the [website](https://github.com/apache/dubbo-website), typically we need * blog post * translation on documentation * use cases about how Dubbo is being used in enterprise system. -* Improve the [dubbo-admin/dubbo-monitor](https://github.com/apache/incubator-dubbo-admin). +* Improve the [dubbo-admin/dubbo-monitor](https://github.com/apache/dubbo-admin). * Contribute to the projects listed in [ecosystem](https://github.com/dubbo). * Any form of contribution that is not mentioned above. * If you would like to contribute, please send an email to dev@dubbo.apache.org to let us know! ## Reporting bugs -Please follow the [template](https://github.com/apache/incubator-dubbo/issues/new?template=dubbo-issue-report-template.md) for reporting any issues. +Please follow the [template](https://github.com/apache/dubbo/issues/new?template=dubbo-issue-report-template.md) for reporting any issues. ## Reporting a security vulnerability @@ -212,10 +212,10 @@ Please report security vulnerability to [us](mailto:security@dubbo.apache.org) p ## Dubbo ecosystem * [Dubbo Ecosystem Entry](https://github.com/dubbo) - A GitHub group `dubbo` to gather all Dubbo relevant projects not appropriate in [apache](https://github.com/apache) group yet -* [Dubbo Website](https://github.com/apache/incubator-dubbo-website) - Apache Dubbo official website -* [Dubbo Samples](https://github.com/apache/incubator-dubbo-samples) - samples for Apache Dubbo -* [Dubbo Spring Boot](https://github.com/apache/incubator-dubbo-spring-boot-project) - Spring Boot Project for Dubbo -* [Dubbo Admin](https://github.com/apache/incubator-dubbo-admin) - The reference implementation for Dubbo admin +* [Dubbo Website](https://github.com/apache/dubbo-website) - Apache Dubbo official website +* [Dubbo Samples](https://github.com/apache/dubbo-samples) - samples for Apache Dubbo +* [Dubbo Spring Boot](https://github.com/apache/dubbo-spring-boot-project) - Spring Boot Project for Dubbo +* [Dubbo Admin](https://github.com/apache/dubbo-admin) - The reference implementation for Dubbo admin #### Language @@ -223,8 +223,8 @@ Please report security vulnerability to [us](mailto:security@dubbo.apache.org) p * [Python](https://github.com/dubbo/dubbo-client-py) * [PHP](https://github.com/dubbo/dubbo-php-framework) * [Go](https://github.com/dubbo/dubbo-go) -* [Erlang](https://github.com/apache/incubator-dubbo-erlang) +* [Erlang](https://github.com/apache/dubbo-erlang) ## License -Apache Dubbo is under the Apache 2.0 license. See the [LICENSE](https://github.com/apache/incubator-dubbo/blob/master/LICENSE) file for details. +Apache Dubbo is under the Apache 2.0 license. See the [LICENSE](https://github.com/apache/dubbo/blob/master/LICENSE) file for details. diff --git a/dubbo-bom/pom.xml b/dubbo-bom/pom.xml index 15908715496..8b69673ec9f 100644 --- a/dubbo-bom/pom.xml +++ b/dubbo-bom/pom.xml @@ -30,7 +30,7 @@ dubbo-bom Dubbo dependencies BOM - https://github.com/apache/incubator-dubbo + https://github.com/apache/dubbo 2011 @@ -41,9 +41,9 @@ - https://github.com/apache/incubator-dubbo - scm:git:https://github.com/apache/incubator-dubbo.git - scm:git:https://github.com/apache/incubator-dubbo.git + https://github.com/apache/dubbo + scm:git:https://github.com/apache/dubbo.git + scm:git:https://github.com/apache/dubbo.git HEAD @@ -82,7 +82,7 @@ Github Issues - https://github.com/apache/incubator-dubbo/issues + https://github.com/apache/dubbo/issues diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/utils/CompatibleTypeUtils.java b/dubbo-common/src/main/java/org/apache/dubbo/common/utils/CompatibleTypeUtils.java index efc570fe925..26cb834efa7 100644 --- a/dubbo-common/src/main/java/org/apache/dubbo/common/utils/CompatibleTypeUtils.java +++ b/dubbo-common/src/main/java/org/apache/dubbo/common/utils/CompatibleTypeUtils.java @@ -103,7 +103,7 @@ public static Object compatibleTypeConvert(Object value, Class type) { } else if (char[].class.equals(type)) { // Process string to char array for generic invoke // See - // - https://github.com/apache/incubator-dubbo/issues/2003 + // - https://github.com/apache/dubbo/issues/2003 int len = string.length(); char[] chars = new char[len]; string.getChars(0, len, chars, 0); @@ -173,4 +173,4 @@ public static Object compatibleTypeConvert(Object value, Class type) { } return value; } -} \ No newline at end of file +} diff --git a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java index 7c3a6b9b87d..e0ba649ce34 100644 --- a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java +++ b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java @@ -156,7 +156,7 @@ public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl Object result; try { if (bean == null) { // If the bean is not initialized, invoke init() - // issue: https://github.com/apache/incubator-dubbo/issues/3429 + // issue: https://github.com/apache/dubbo/issues/3429 init(); } result = method.invoke(bean, args); @@ -258,4 +258,4 @@ public void destroy() throws Exception { this.injectedFieldReferenceBeanCache.clear(); this.injectedMethodReferenceBeanCache.clear(); } -} \ No newline at end of file +} diff --git a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationBeanPostProcessor.java b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationBeanPostProcessor.java index 305e3724132..e167c074710 100644 --- a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationBeanPostProcessor.java +++ b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationBeanPostProcessor.java @@ -320,7 +320,7 @@ private Class resolveServiceInterfaceClass(Class annotatedServiceBeanClass if (interfaceClass == null) { // Find all interfaces from the annotated class - // To resolve an issue : https://github.com/apache/incubator-dubbo/issues/3251 + // To resolve an issue : https://github.com/apache/dubbo/issues/3251 Class[] allInterfaces = ClassUtils.getAllInterfacesForClass(annotatedServiceBeanClass); if (allInterfaces.length > 0) { diff --git a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/context/annotation/DubboConfigConfigurationRegistrar.java b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/context/annotation/DubboConfigConfigurationRegistrar.java index d01dd398ee0..c1bec4ae4c7 100644 --- a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/context/annotation/DubboConfigConfigurationRegistrar.java +++ b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/context/annotation/DubboConfigConfigurationRegistrar.java @@ -47,7 +47,7 @@ public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, B // Single Config Bindings registerBeans(registry, DubboConfigConfiguration.Single.class); - if (multiple) { // Since 2.6.6 https://github.com/apache/incubator-dubbo/issues/3193 + if (multiple) { // Since 2.6.6 https://github.com/apache/dubbo/issues/3193 registerBeans(registry, DubboConfigConfiguration.Multiple.class); } } diff --git a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/status/SpringStatusChecker.java b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/status/SpringStatusChecker.java index 63517c6e52a..30f7347595e 100644 --- a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/status/SpringStatusChecker.java +++ b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/status/SpringStatusChecker.java @@ -42,7 +42,7 @@ public Status check() { ApplicationContext context = null; for (ApplicationContext c : SpringExtensionFactory.getContexts()) { // [Issue] SpringStatusChecker execute errors on non-XML Spring configuration - // issue : https://github.com/apache/incubator-dubbo/issues/3615 + // issue : https://github.com/apache/dubbo/issues/3615 if(c instanceof GenericWebApplicationContext) { // ignore GenericXmlApplicationContext continue; } diff --git a/dubbo-demo/README.md b/dubbo-demo/README.md index 4cb99b72a95..04653c76409 100644 --- a/dubbo-demo/README.md +++ b/dubbo-demo/README.md @@ -1,6 +1,6 @@ # Dubbo Demo -This directory contains basic usages of Dubbo to help Dubbo developers for debugging and smoke test purpose. If you are looking for Dubbo samples for study purpose, you should look into [here](https://github.com/apache/incubator-dubbo-samples) where you will find comprehensive usages for how to use Dubbo in different scenarios with the different features. +This directory contains basic usages of Dubbo to help Dubbo developers for debugging and smoke test purpose. If you are looking for Dubbo samples for study purpose, you should look into [here](https://github.com/apache/dubbo-samples) where you will find comprehensive usages for how to use Dubbo in different scenarios with the different features. ## How To Build diff --git a/dubbo-dependencies-bom/pom.xml b/dubbo-dependencies-bom/pom.xml index ef42a6e4517..3573df1ed36 100644 --- a/dubbo-dependencies-bom/pom.xml +++ b/dubbo-dependencies-bom/pom.xml @@ -32,7 +32,7 @@ dubbo-dependencies-bom Dubbo dependencies BOM - https://github.com/apache/incubator-dubbo + https://github.com/apache/dubbo 2011 @@ -43,9 +43,9 @@ - https://github.com/apache/incubator-dubbo - scm:git:https://github.com/apache/incubator-dubbo.git - scm:git:https://github.com/apache/incubator-dubbo.git + https://github.com/apache/dubbo + scm:git:https://github.com/apache/dubbo.git + scm:git:https://github.com/apache/dubbo.git HEAD @@ -84,7 +84,7 @@ Github Issues - https://github.com/apache/incubator-dubbo/issues + https://github.com/apache/dubbo/issues diff --git a/dubbo-registry/dubbo-registry-zookeeper/src/test/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistryTest.java b/dubbo-registry/dubbo-registry-zookeeper/src/test/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistryTest.java index c2dd23129d6..b645408bd5b 100644 --- a/dubbo-registry/dubbo-registry-zookeeper/src/test/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistryTest.java +++ b/dubbo-registry/dubbo-registry-zookeeper/src/test/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistryTest.java @@ -127,7 +127,7 @@ public void testLookup() { @Test /* This UT is unstable, consider remove it later. - @see https://github.com/apache/incubator-dubbo/issues/1787 + @see https://github.com/apache/dubbo/issues/1787 */ public void testStatusChecker() { RegistryStatusChecker registryStatusChecker = new RegistryStatusChecker(); diff --git a/dubbo-rpc/dubbo-rpc-http/src/main/java/org/apache/dubbo/rpc/protocol/http/HttpProtocol.java b/dubbo-rpc/dubbo-rpc-http/src/main/java/org/apache/dubbo/rpc/protocol/http/HttpProtocol.java index 7d621913928..5b548ae0722 100644 --- a/dubbo-rpc/dubbo-rpc-http/src/main/java/org/apache/dubbo/rpc/protocol/http/HttpProtocol.java +++ b/dubbo-rpc/dubbo-rpc-http/src/main/java/org/apache/dubbo/rpc/protocol/http/HttpProtocol.java @@ -135,7 +135,7 @@ public RemoteInvocation createRemoteInvocation(MethodInvocation methodInvocation /* The customized 'com.alibaba.dubbo.rpc.protocol.http.HttpRemoteInvocation' was firstly introduced in v2.6.3. The main purpose is to support transformation of attachments in HttpProtocol, see - https://github.com/apache/incubator-dubbo/pull/1827. To guarantee interoperability with lower + https://github.com/apache/dubbo/pull/1827. To guarantee interoperability with lower versions, we need to check if the provider is v2.6.3 or higher before sending customized HttpRemoteInvocation. */ diff --git a/dubbo-rpc/dubbo-rpc-xml/pom.xml b/dubbo-rpc/dubbo-rpc-xml/pom.xml index 8caed152b82..9afede914ba 100644 --- a/dubbo-rpc/dubbo-rpc-xml/pom.xml +++ b/dubbo-rpc/dubbo-rpc-xml/pom.xml @@ -35,7 +35,7 @@ UTF-8 false - https://github.com/apache/incubator-dubbo + https://github.com/apache/dubbo diff --git a/pom.xml b/pom.xml index e9a1661e033..6ceb8fb295c 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ ${project.artifactId} The parent project of dubbo - https://github.com/apache/incubator-dubbo + https://github.com/apache/dubbo 2011 @@ -42,9 +42,9 @@ - https://github.com/apache/incubator-dubbo - scm:git:https://github.com/apache/incubator-dubbo.git - scm:git:https://github.com/apache/incubator-dubbo.git + https://github.com/apache/dubbo + scm:git:https://github.com/apache/dubbo.git + scm:git:https://github.com/apache/dubbo.git HEAD @@ -83,7 +83,7 @@ Github Issues - https://github.com/apache/incubator-dubbo/issues + https://github.com/apache/dubbo/issues From b2048c1d6203063cdc79c3deb9e09a06827aa398 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 24 May 2019 23:56:25 +0800 Subject: [PATCH 5/6] update some repo path --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c916ae0fff7..58be8f2122d 100644 --- a/README.md +++ b/README.md @@ -219,9 +219,9 @@ Please report security vulnerability to [us](mailto:security@dubbo.apache.org) p #### Language -* [Node.js](https://github.com/dubbo/dubbo2.js) -* [Python](https://github.com/dubbo/dubbo-client-py) -* [PHP](https://github.com/dubbo/dubbo-php-framework) +* [Node.js](https://github.com/apache/dubbo-js) +* [Python](https://github.com/apache/dubbo-client-py) +* [PHP](https://github.com/apache/dubbo-php-framework) * [Go](https://github.com/dubbo/dubbo-go) * [Erlang](https://github.com/apache/dubbo-erlang) From 5365219d530efe68cf8f5c0e817d4306accb699a Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Sat, 25 May 2019 00:03:40 +0800 Subject: [PATCH 6/6] remove incubator --- CONTRIBUTING.md | 6 +++--- NOTICE | 2 +- README.md | 2 +- dubbo-distribution/pom.xml | 2 +- .../org/apache/dubbo/remoting/etcd/jetcd/JEtcdClient.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f85ea430b34..c92e4a115b5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,9 +11,9 @@ Before we accept a non-trivial patch or pull request we will need you to sign th The mailing list is the recommended way for discussing almost anything that related to Dubbo. Please refer to this [guide](https://github.com/apache/dubbo/wiki/Mailing-list-subscription-guide) for detailed documentation on how to subscribe. -- [dev@dubbo.incubator.apache.org](mailto:dev-subscribe@dubbo.incubator.apache.org): the develop mailing list, you can ask question here if you have encountered any problem when using or developing Dubbo. -- [commits@dubbo.incubator.apache.org](mailto:commits-subscribe@dubbo.incubator.apache.org): all the commits will be sent to this mailing list. You can subscribe to it if you are interested in Dubbo's development. -- [notifications@dubbo.incubator.apache.org](mailto:notifications-subscribe@dubbo.incubator.apache.org): all the Github [issue](https://github.com/apache/dubbo/issues) updates and [pull request](https://github.com/apache/dubbo/pulls) updates will be sent to this mailing list. +- [dev@dubbo.apache.org](mailto:dev-subscribe@dubbo.apache.org): the develop mailing list, you can ask question here if you have encountered any problem when using or developing Dubbo. +- [commits@dubbo.apache.org](mailto:commits-subscribe@dubbo.apache.org): all the commits will be sent to this mailing list. You can subscribe to it if you are interested in Dubbo's development. +- [notifications@dubbo.apache.org](mailto:notifications-subscribe@dubbo.apache.org): all the Github [issue](https://github.com/apache/dubbo/issues) updates and [pull request](https://github.com/apache/dubbo/pulls) updates will be sent to this mailing list. ### Reporting issue diff --git a/NOTICE b/NOTICE index e3151c76035..743868e3d16 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -Apache Dubbo (incubating) +Apache Dubbo Copyright 2018-2019 The Apache Software Foundation This product includes software developed at diff --git a/README.md b/README.md index 58be8f2122d..751ad1e1764 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ![license](https://img.shields.io/github/license/alibaba/dubbo.svg) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/apache/dubbo.svg)](http://isitmaintained.com/project/apache/dubbo "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/apache/dubbo.svg)](http://isitmaintained.com/project/apache/dubbo "Percentage of issues still open") -[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Apache%20Dubbo%20(incubating)%20is%20a%20high-performance%2C%20java%20based%2C%20open%20source%20RPC%20framework.&url=http://dubbo.incubator.apache.org/&via=ApacheDubbo&hashtags=rpc,java,dubbo,micro-service) +[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Apache%20Dubbo%20is%20a%20high-performance%2C%20java%20based%2C%20open%20source%20RPC%20framework.&url=http://dubbo.apache.org/&via=ApacheDubbo&hashtags=rpc,java,dubbo,micro-service) [![](https://img.shields.io/twitter/follow/ApacheDubbo.svg?label=Follow&style=social&logoWidth=0)](https://twitter.com/intent/follow?screen_name=ApacheDubbo) [![Gitter](https://badges.gitter.im/alibaba/dubbo.svg)](https://gitter.im/alibaba/dubbo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) diff --git a/dubbo-distribution/pom.xml b/dubbo-distribution/pom.xml index 1ab955cc3e9..41cef658d21 100644 --- a/dubbo-distribution/pom.xml +++ b/dubbo-distribution/pom.xml @@ -46,7 +46,7 @@ release - apache-dubbo-incubating-${project.version} + apache-dubbo-${project.version} maven-assembly-plugin diff --git a/dubbo-remoting/dubbo-remoting-etcd3/src/main/java/org/apache/dubbo/remoting/etcd/jetcd/JEtcdClient.java b/dubbo-remoting/dubbo-remoting-etcd3/src/main/java/org/apache/dubbo/remoting/etcd/jetcd/JEtcdClient.java index 8f5001754fa..4c055b48f38 100644 --- a/dubbo-remoting/dubbo-remoting-etcd3/src/main/java/org/apache/dubbo/remoting/etcd/jetcd/JEtcdClient.java +++ b/dubbo-remoting/dubbo-remoting-etcd3/src/main/java/org/apache/dubbo/remoting/etcd/jetcd/JEtcdClient.java @@ -279,7 +279,7 @@ public void unwatch() { try { /** - * issue : https://github.com/apache/incubator-dubbo/issues/4115 + * issue : https://github.com/apache/dubbo/issues/4115 * * When the network is reconnected, the listener is empty * and the data cannot be received.