Commit Graph

3058 Commits

Author SHA1 Message Date
Huxing Zhang 614bcebc01 [maven-release-plugin] prepare release dubbo-2.7.0 2019-01-21 17:45:46 +08:00
Huxing Zhang dbc1f79eff Ignore mvn wrapper binary files. 2019-01-21 17:16:11 +08:00
Huxing Zhang 1c78148ccf Igonre .patch file. 2019-01-18 10:32:41 +08:00
Huxing Zhang 477ef978b0 Update 2.7.0 release notes 2019-01-18 10:31:03 +08:00
Huxing Zhang 44b4e4242f Optimize the Apollo extension of Config-Center SPI 2019-01-17 17:31:46 +08:00
Huxing Zhang 6675c82a32 Fix final name. 2019-01-17 17:06:24 +08:00
Huxing Zhang 9f6b8c80e1 Deactivate maven release profile. 2019-01-17 11:05:59 +08:00
Huxing Zhang d98b24cf01 Move the doclint configuration to correct position. 2019-01-17 10:34:03 +08:00
Huxing Zhang de3014d54b Update the Java SE link to Java 8. 2019-01-17 10:34:03 +08:00
Huxing Zhang e73624c159 Add activation for the release profile 2019-01-17 10:34:03 +08:00
小马哥 78accf78c2 Merge 2.6.6 source code into 2.7 (#3241)
* Merge 2.6.6 source code into 2.7

* Fixed logging level for https://github.com/apache/incubator-dubbo/pull/3241#discussion_r248195964

* Change the implementation for apache/incubator-dubbo#3241

* Remove the implementation Ordered, because it does not work in Spring Framework : apache/incubator-dubbo#3241

* Remove the implementation Ordered, because it does not work in Spring Framework : apache/incubator-dubbo#3241

* Only Optimize Imports
2019-01-17 10:31:07 +08:00
ken.lj a8e1d26e8d Protocol compatibility (#3254)
add default method into Protocol .
2019-01-16 19:23:05 +08:00
ken.lj e24e568756 Extract compareTo impl to Router interface and concrete Router only responsible for provide priority. (#3240)
something is waiting for us to disscuss:
1. Every Route implement should set a priority?
2.https://github.com/apache/incubator-dubbo/issues/3249
2019-01-16 19:18:14 +08:00
cvictory 8c2fbc8ce6 Merge pull request #3246 from cvictory:2.7.0-release remove gson from dubbo.jar in shading mode , and change to dependency way.
* just for modify comments and imports

* remove gson from dubbo.jar in shading mode, add dependency
2019-01-16 16:11:53 +08:00
ken.lj 5acb4bf868 [Dubbo-3231]keep TagRouter consistent with 2.6.x (#3233)
* keep TagRouter consistent with 2.6.x

* refactor filterUsingStaticTag using lambda in tagRouter
2019-01-15 18:24:51 +08:00
ken.lj 3c38f20a67 Remove deprecated AnnotationBean, please refer #1485 for the new method to replace. (#3232) 2019-01-15 15:00:01 +08:00
ken.lj 1e1a5ecd99 refactor method name 2019-01-15 14:58:55 +08:00
ken.lj f73e8cc3f5 refactor method name 2019-01-15 14:54:20 +08:00
ken.lj a93e96c15f [Dubbo-3226] guarantee interoperability with 2.6.x and lower versions (#3229)
* guarantee interoperability with 2.6.x and lower versions

* fix unit test, also adjust comments to fit with the code style

* change condition in isFramework270OrHigher() to 'version >= 2.7.0.0'
2019-01-15 14:35:13 +08:00
ken.lj a15126272b add 2.7.0 release notes 2019-01-15 10:32:22 +08:00
cvictory 5caa422add just for modify comments and imports (#3227) 2019-01-14 22:34:09 +08:00
cvictory 2f74354799 fix #3179. Make registry, configcenter, matadata-report share a zooke… (#3182)
* fix #3179. Make registry, configcenter, matadata-report share a zookeeper connection

* fix #3179. optimize registry, configcenter, matadata-report share a zookeeper connection

* fix #3179. add licence

* fix some review issue: just optimize constuctor order and refactor some code

* modify HashMap to ConcurrentHashMap

* add some comments

* remove ZookeeperClientData and originalURLs

* remove ZookeeperClientData and originalURLs

* fix #3205 . add group into MetadataReport

* remove SOURCE_URL_KEY from Constants

* fix #3179 , #3205, #3218.  modify review issue; when sharing zookeeper connection, it should judge zookeeperClient.isConnected()
2019-01-14 17:51:17 +08:00
jefflv 8e838d5db2 Merge pull request #3224, support jax-rs annotation on interface as well as on impl. 2019-01-14 17:40:55 +08:00
ken.lj 347f154b7f Async enhancement (#3184)
* Provider async enhancement, user doesn't have to use 'async=true' on provider side.

* only keep zero-args constructor

* stop router tag from being transferred in the RPC chain

* Code review: use 'this.future= new Future()''; remove setAsyncContext() from RpcContext

* revert getInternalFuture()

* Fix UT
2019-01-11 23:28:14 +08:00
Forever杨 a8af5ce028 Fix metadata report configuration error (#3183)
* fix prefix

* Missing '@Override' annotation
2019-01-11 16:33:09 +08:00
ken.lj 031c01199b [Dubbo-3169]Check future status before get(), return default value if not completed yet. (#3185)
* Announce AsyncRpcResult internally use only;
Check future status before get().

* Code review: simplify code
2019-01-11 15:41:28 +08:00
ken.lj 747b804919 Fix UT 2019-01-10 13:16:07 +08:00
ken.lj b725826cb6 set literal 'protocol' for ReferenceBean 2019-01-09 21:08:27 +08:00
ken.lj 1db53cf473 Fix mock in UT 2019-01-09 20:44:41 +08:00
ken.lj 1f2122e6b7 Fix wrong reference 2019-01-09 20:32:29 +08:00
ken.lj c89807ead3 Keep parameters in registry url. 2019-01-09 19:56:36 +08:00
ken.lj 41c8ae49c2 Fix DynamicConfiguration SPI config 2019-01-09 19:55:07 +08:00
ken.lj db0c0a8c74 put checkRegistry() inside refer() not before refer() 2019-01-09 16:51:54 +08:00
ken.lj 178282cde8 fetch from ConfigManager if ConfigCenter is not set 2019-01-09 15:43:21 +08:00
ken.lj 39583d4de2 resolve merge conflicts 2019-01-09 15:32:23 +08:00
ken.lj 1eebe747b4 refresh configCenter before start 2019-01-09 15:16:43 +08:00
ken.lj c679d0b9d4 Routers zookeeper path (#3173)
* give router rule a more layered extensiable ZK path:
* ../routers/condition
* ../routers/tag
* ../routers/otherRouter

* Fix UT

* Adjust ZK to handle layered routers path

* Remove BlackWhiteListRule

* Adjust code to avoid possible ConcurrentModificationException

* revert router from layered path to flat path:
/router/condition -> router-codition

* adjust router path in UT

* change suffix literal: router-condition to condition-router

* change suffix literal: router-condition to condition-router
2019-01-09 15:15:58 +08:00
ken.lj c4e9b9de2d revert router from layered path to flat path:
/router/condition -> router-codition
2019-01-09 14:02:42 +08:00
ken.lj a02f7a6894 refresh only once 2019-01-09 13:33:28 +08:00
ken.lj 1b6bbf14c0 Adjust code to avoid possible ConcurrentModificationException 2019-01-09 12:58:43 +08:00
cvictory 21e0227a44 modify metadata node path in zookeeper (#3166)
* modify metadata node path in zookeeper

* add licence
2019-01-09 11:13:02 +08:00
ken.lj 176a86b50c Remove BlackWhiteListRule 2019-01-08 19:26:56 +08:00
ken.lj 5a87918386 Adjust ZK to handle layered routers path 2019-01-08 18:57:02 +08:00
ken.lj fb5f1af563 Fix UT 2019-01-08 13:11:15 +08:00
ken.lj d1aa4da626 give router rule a more layered extensiable ZK path:
* ../routers/condition
* ../routers/tag
* ../routers/otherRouter
2019-01-08 12:55:32 +08:00
ken.lj bcf474dff5 fix UT 2019-01-08 11:00:32 +08:00
ken.lj b399df7d1b fix UT 2019-01-08 10:32:44 +08:00
ken.lj d4532c6f8f add empty check at the start of setter. 2019-01-07 21:25:14 +08:00
ken.lj a66784ae12 fix UT 2019-01-07 21:20:31 +08:00
ken.lj 824aaf9b5e move refresh() into setter to avoid duplicate refresh during check. 2019-01-07 21:20:31 +08:00