[dubbo-website] branch asf-site updated: Automated deployment: Wed Jun 10 15:30:56 UTC 2020 b734f827beedbec81e646995358343b42c17ea23
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/asf-site by this push: new f8389d0 Automated deployment: Wed Jun 10 15:30:56 UTC 2020 b734f827beedbec81e646995358343b42c17ea23 f8389d0 is described below commit f8389d0b5a1f44a46b6714dd5c1448dea0d9dc63 Author: lixiaojiee AuthorDate: Wed Jun 10 15:30:56 2020 + Automated deployment: Wed Jun 10 15:30:56 UTC 2020 b734f827beedbec81e646995358343b42c17ea23 --- en-us/docs/user/demos/parameter-validation.html | 2 +- en-us/docs/user/demos/parameter-validation.json | 2 +- zh-cn/docs/user/demos/parameter-validation.html | 2 +- zh-cn/docs/user/demos/parameter-validation.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en-us/docs/user/demos/parameter-validation.html b/en-us/docs/user/demos/parameter-validation.html index b0c9b59..f88fad9 100644 --- a/en-us/docs/user/demos/parameter-validation.html +++ b/en-us/docs/user/demos/parameter-validation.html @@ -168,7 +168,7 @@ public class ValidationConsumer { -Support since 2.1.0 version. If you want to know how to use it, refer to [Sample code in dubbo project] (https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-validation;>https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-validation) ↩︎ +Support since 2.1.0 version. If you want to know how to use it, refer to [Sample code in dubbo project] (https://github.com/apache/dubbo-samples/tree/master/java/dubbo-samples-validation;>https://github.com/apache/dubbo-samples/tree/master/java/dubbo-samples-validation) ↩︎ The validation method is extensible, refer to http://dubbo.apache.org/zh-cn/docs/dev/impls/validation.html;>Developer Extension in the developer's manual. ↩︎ diff --git a/en-us/docs/user/demos/parameter-validation.json b/en-us/docs/user/demos/parameter-validation.json index 6dc67ba..8994f6f 100644 --- a/en-us/docs/user/demos/parameter-validation.json +++ b/en-us/docs/user/demos/parameter-validation.json @@ -1,6 +1,6 @@ { "filename": "parameter-validation.md", - "__html": "Parameter Validation\nThe parameter validation [1] is based on [JSR303] (https://jcp.org/en/jsr/detail?id=303\;>https://jcp.org/en/jsr/detail?id=303). The user simply add the validation annotation of the JSR303 and declares the filter for validation [2].\nMaven Dependency\nParameter Validation\nThe parameter validation [1] is based on [JSR303] (https://jcp.org/en/jsr/detail?id=303\;>https://jcp.org/en/jsr/detail?id=303). The user simply add the validation annotation of the JSR303 and declares the filter for validation [2].\nMaven Dependency\n -自 2.1.0 版本开始支持, 如何使用可以参考 https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-validation;>dubbo 项目中的示例代码 ↩︎ +自 2.1.0 版本开始支持, 如何使用可以参考 https://github.com/apache/dubbo-samples/tree/master/java/dubbo-samples-validation;>dubbo 项目中的示例代码 ↩︎ 验证方式可扩展,扩展方式参见开发者手册中的http://dubbo.apache.org/zh-cn/docs/dev/impls/validation.html;>验证扩展 ↩︎ diff --git a/zh-cn/docs/user/demos/parameter-validation.json b/zh-cn/docs/user/demos/parameter-validation.json index da25f8f..41f60f6 100644 --- a/zh-cn/docs/user/demos/parameter-validation.json +++ b/zh-cn/docs/user/demos/parameter-validation.json @@ -1,6 +1,6 @@ { "filename": "parameter-validation.md", - "__html": "参数验证\n参数验证功能 [1] 是基于 https://jcp.org/en/jsr/detail?id=303\;>JSR303 实现的,用户只需标识 JSR303 标准的验证 annotation,并通过声明 filter 来实现验证 [2]。\nMaven 依赖\ndependency\n参数验证\n参数验证功能 [1] 是基于 https://jcp.org/en/jsr/detail?id=303\;>JSR303 实现的,用户只需标识 JSR303 标准的验证 annotation,并通过声明 filter 来实现验证 [2]。\nMaven 依赖\ndependency\n
[dubbo-website] branch master updated: Fix samples validation link error (#585)
This is an automated email from the ASF dual-hosted git repository. lixiaojie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/master by this push: new b734f82 Fix samples validation link error (#585) b734f82 is described below commit b734f827beedbec81e646995358343b42c17ea23 Author: 月泉 AuthorDate: Wed Jun 10 23:28:49 2020 +0800 Fix samples validation link error (#585) --- docs/en-us/user/demos/parameter-validation.md | 2 +- docs/zh-cn/user/demos/parameter-validation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en-us/user/demos/parameter-validation.md b/docs/en-us/user/demos/parameter-validation.md index f7053eb..91a2f93 100644 --- a/docs/en-us/user/demos/parameter-validation.md +++ b/docs/en-us/user/demos/parameter-validation.md @@ -179,5 +179,5 @@ public class ValidationConsumer { } ``` -[^1]: Support since `2.1.0` version. If you want to know how to use it, refer to [Sample code in dubbo project] (https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-validation) +[^1]: Support since `2.1.0` version. If you want to know how to use it, refer to [Sample code in dubbo project] (https://github.com/apache/dubbo-samples/tree/master/java/dubbo-samples-validation) [^2]: The validation method is extensible, refer to [Developer Extension](http://dubbo.apache.org/zh-cn/docs/dev/impls/validation.html) in the developer's manual. diff --git a/docs/zh-cn/user/demos/parameter-validation.md b/docs/zh-cn/user/demos/parameter-validation.md index b703dbd..dd90992 100644 --- a/docs/zh-cn/user/demos/parameter-validation.md +++ b/docs/zh-cn/user/demos/parameter-validation.md @@ -179,5 +179,5 @@ public class ValidationConsumer { } ``` -[^1]: 自 `2.1.0` 版本开始支持, 如何使用可以参考 [dubbo 项目中的示例代码](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-validation) +[^1]: 自 `2.1.0` 版本开始支持, 如何使用可以参考 [dubbo 项目中的示例代码](https://github.com/apache/dubbo-samples/tree/master/java/dubbo-samples-validation) [^2]: 验证方式可扩展,扩展方式参见开发者手册中的[验证扩展](http://dubbo.apache.org/zh-cn/docs/dev/impls/validation.html)
[dubbo-website] branch asf-site updated: Automated deployment: Wed Jun 10 15:24:31 UTC 2020 9376a9188af743e5f1bba8fb1a542079489cd567
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/asf-site by this push: new a5192f8 Automated deployment: Wed Jun 10 15:24:31 UTC 2020 9376a9188af743e5f1bba8fb1a542079489cd567 a5192f8 is described below commit a5192f8344188b817d415682bdd31f8419f7fd24 Author: lixiaojiee AuthorDate: Wed Jun 10 15:24:32 2020 + Automated deployment: Wed Jun 10 15:24:31 UTC 2020 9376a9188af743e5f1bba8fb1a542079489cd567 --- en-us/docs/user/references/protocol/redis.html | 2 +- en-us/docs/user/references/protocol/redis.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/docs/user/references/protocol/redis.html b/en-us/docs/user/references/protocol/redis.html index 4641078..643bfff 100644 --- a/en-us/docs/user/references/protocol/redis.html +++ b/en-us/docs/user/references/protocol/redis.html @@ -13,7 +13,7 @@ 中RPC protocol based on memcached implementation. +RPC protocol based on redis implementation. Register redis service address RegistryFactory registryFactory = ExtensionLoader.getExtensionLoader(RegistryFactory.class).getAdaptiveExtension(); Registry registry = registryFactory.getRegistry(URL.valueOf("zookeeper://10.20.153.10:2181")); diff --git a/en-us/docs/user/references/protocol/redis.json b/en-us/docs/user/references/protocol/redis.json index f022eac..99809db 100644 --- a/en-us/docs/user/references/protocol/redis.json +++ b/en-us/docs/user/references/protocol/redis.json @@ -1,6 +1,6 @@ { "filename": "redis.md", - "__html": "redis://\nRPC protocol based on memcached implementation.\nRegister redis service address\nRegistryFactory registryFactory = ExtensionLoader.getExtensionLoader(RegistryFactory.class).getAdaptiveExtension();\nRegistry registry = registryFactory.getRegistry(URL.valueOf(\"zookeeper://10.20 [...] + "__html": "redis://\nRPC protocol based on redis implementation.\nRegister redis service address\nRegistryFactory registryFactory = ExtensionLoader.getExtensionLoader(RegistryFactory.class).getAdaptiveExtension();\nRegistry registry = registryFactory.getRegistry(URL.valueOf(\"zookeeper://10.20.153 [...] "link": "/en-us/docs/user/references/protocol/redis.html", "meta": {} } \ No newline at end of file
[dubbo-website] branch asf-site updated: Automated deployment: Wed Jun 10 15:22:20 UTC 2020 0e8f47df16460008b4458ee86515412d30a8035b
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 607b672 Automated deployment: Wed Jun 10 15:22:20 UTC 2020 0e8f47df16460008b4458ee86515412d30a8035b 607b672 is described below commit 607b6724d98b54b0b72d226646167012dcc83c39 Author: lixiaojiee AuthorDate: Wed Jun 10 15:22:20 2020 + Automated deployment: Wed Jun 10 15:22:20 UTC 2020 0e8f47df16460008b4458ee86515412d30a8035b --- en-us/docs/user/quick-start.html | 2 +- en-us/docs/user/quick-start.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/docs/user/quick-start.html b/en-us/docs/user/quick-start.html index 78a1063..a8346ed 100644 --- a/en-us/docs/user/quick-start.html +++ b/en-us/docs/user/quick-start.html @@ -80,7 +80,7 @@ cd dubbo-demo /beans The demo uses multicast as the registry since it is simple and does not require to extra installation. -If you prefer a registiry like zookeeper, please check out examples https://github.com/dubbo/dubbo-samples;>here. +If you prefer a registry like zookeeper, please check out examples https://github.com/dubbo/dubbo-samples;>here. Configure the logging system Dubbo use log4j as logging system by default, it also support slf4j, Apache Commons Logging, and JUL logging. Following is a sample configuration: diff --git a/en-us/docs/user/quick-start.json b/en-us/docs/user/quick-start.json index 5c5da0c..a76b74c 100644 --- a/en-us/docs/user/quick-start.json +++ b/en-us/docs/user/quick-start.json @@ -1,6 +1,6 @@ { "filename": "quick-start.md", - "__html": "Quick start\nThe most common way to use Dubbo is to run it in Spring framework. The following content will guide you to develop a Dubbo application with Spring framework's https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\;>XML configuration.\nIf you don't want to rely on Spring, you can try using API configuration.\nFirst let's create a root directory [...] + "__html": "Quick start\nThe most common way to use Dubbo is to run it in Spring framework. The following content will guide you to develop a Dubbo application with Spring framework's https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\;>XML configuration.\nIf you don't want to rely on Spring, you can try using API configuration.\nFirst let's create a root directory [...] "link": "/en-us/docs/user/quick-start.html", "meta": {} } \ No newline at end of file
[dubbo-website] branch master updated: fix the typo (#588)
This is an automated email from the ASF dual-hosted git repository. lixiaojie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/master by this push: new 9376a91 fix the typo (#588) 9376a91 is described below commit 9376a9188af743e5f1bba8fb1a542079489cd567 Author: superleo-cn AuthorDate: Wed Jun 10 23:22:16 2020 +0800 fix the typo (#588) --- docs/en-us/user/references/protocol/redis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en-us/user/references/protocol/redis.md b/docs/en-us/user/references/protocol/redis.md index a4c692b..991a868 100644 --- a/docs/en-us/user/references/protocol/redis.md +++ b/docs/en-us/user/references/protocol/redis.md @@ -1,6 +1,6 @@ # redis:// -RPC protocol based on memcached implementation. +RPC protocol based on redis implementation. ## Register redis service address
[dubbo-website] branch master updated: fix spelling mistake (#590)
This is an automated email from the ASF dual-hosted git repository. lixiaojie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/master by this push: new 0e8f47d fix spelling mistake (#590) 0e8f47d is described below commit 0e8f47df16460008b4458ee86515412d30a8035b Author: jiumozhi <498185...@qq.com> AuthorDate: Wed Jun 10 23:20:42 2020 +0800 fix spelling mistake (#590) --- docs/en-us/user/quick-start.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en-us/user/quick-start.md b/docs/en-us/user/quick-start.md index 48712b6..bbf0b14 100644 --- a/docs/en-us/user/quick-start.md +++ b/docs/en-us/user/quick-start.md @@ -89,7 +89,7 @@ provider.xml: ``` The demo uses multicast as the registry since it is simple and does not require to extra installation. -If you prefer a registiry like zookeeper, please check out examples [here](https://github.com/dubbo/dubbo-samples). +If you prefer a registry like zookeeper, please check out examples [here](https://github.com/dubbo/dubbo-samples). ### Configure the logging system @@ -249,4 +249,4 @@ You can find the complete example code in the Github repository. [^1]: The interface needs to be packaged separately, shared by the service provider and the consumer [^2]: Hidden realization of service consumer -[^3]: IoC injection can also be used \ No newline at end of file +[^3]: IoC injection can also be used
[dubbo-website] branch asf-site updated: Automated deployment: Wed Jun 10 14:49:16 UTC 2020 1461bfd068b26d1895e3166722a7cfa19674155b
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/asf-site by this push: new ac26413 Automated deployment: Wed Jun 10 14:49:16 UTC 2020 1461bfd068b26d1895e3166722a7cfa19674155b ac26413 is described below commit ac26413bf7dc785bcb0df29624dcae31275b9be1 Author: lixiaojiee AuthorDate: Wed Jun 10 14:49:17 2020 + Automated deployment: Wed Jun 10 14:49:16 UTC 2020 1461bfd068b26d1895e3166722a7cfa19674155b --- build/ecology.js | 22 -- en-us/blog/dubbo-protocol.html | 2 +- en-us/blog/dubbo-protocol.json | 2 +- zh-cn/blog/dubbo-protocol.html | 2 +- zh-cn/blog/dubbo-protocol.json | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/build/ecology.js b/build/ecology.js index b701103..d2fda2b 100644 --- a/build/ecology.js +++ b/build/ecology.js @@ -1,11 +1,13 @@ !function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=326 [...] //! moment.js -return io.isValid=Vt,io.abs=xr,io.add=Pr,io.subtract=Er,io.as=Rr,io.asMilliseconds=Rc,io.asSeconds=Ic,io.asMinutes=Bc,io.asHours=Uc,io.asDays=qc,io.asWeeks=Jc,io.asMonths=Gc,io.asQuarters=Kc,io.asYears=Zc,io.valueOf=Ir,io._bubble=Fr,io.clone=Ur,io.get=qr,io.milliseconds=Xc,io.seconds=$c,io.minutes=Qc,io.hours=eo,io.days=to,io.weeks=Gr,io.months=no,io.years=ro,io.humanize=Qr,io.toISOString=ta,io.toString=ta,io.toJSON=ta,io.locale=Cn,io.localeData=On,io.toIsoString=L("toIsoString() is depr [...] +return io.isValid=Vt,io.abs=xr,io.add=Pr,io.subtract=Er,io.as=Rr,io.asMilliseconds=Rc,io.asSeconds=Ic,io.asMinutes=Bc,io.asHours=Uc,io.asDays=qc,io.asWeeks=Jc,io.asMonths=Gc,io.asQuarters=Kc,io.asYears=Zc,io.valueOf=Ir,io._bubble=Fr,io.clone=Ur,io.get=qr,io.milliseconds=Xc,io.seconds=$c,io.minutes=Qc,io.hours=eo,io.days=to,io.weeks=Gr,io.months=no,io.years=ro,io.humanize=Qr,io.toISOString=ta,io.toString=ta,io.toJSON=ta,io.locale=Cn,io.localeData=On,io.toIsoString=L("toIsoString() is depr [...] Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";function n(){for(var e=[],t=0;t=3&%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d ش [...] //! moment.js locale configuration var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أق [...] //! moment.js locale configuration @@ -21,7 +23,7 @@ var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0 //! moment.js locale configuration var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,week [...] //! moment.js locale configuration -function t(e,t,n){return e+" "+a({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function a(e,t){return 2===t?c(e):e}function c(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}return e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsSho [...] +function t(e,t,n){return e+"
[dubbo-website] branch master updated: markdown error fix (#602)
This is an automated email from the ASF dual-hosted git repository. lixiaojie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-website.git The following commit(s) were added to refs/heads/master by this push: new 1461bfd markdown error fix (#602) 1461bfd is described below commit 1461bfd068b26d1895e3166722a7cfa19674155b Author: 离诌 AuthorDate: Wed Jun 10 22:47:04 2020 +0800 markdown error fix (#602) --- blog/en-us/dubbo-protocol.md | 2 +- blog/zh-cn/dubbo-protocol.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/en-us/dubbo-protocol.md b/blog/en-us/dubbo-protocol.md index 4946dc9..71fae9c 100644 --- a/blog/en-us/dubbo-protocol.md +++ b/blog/en-us/dubbo-protocol.md @@ -152,7 +152,7 @@ The Dubbo framework defines a proprietary RPC protocol in which the specific con - Exception: RESPONSE_WITH_EXCEPTION 0 - Return value: response bytes returned from the server -**Note: ** For the variable part, when uses json serialization in current version of Dubbo framework, an additional line break is added as a separator between each part of the content. Please add a new line break after each part of the variable part, such as: +**Note:** For the variable part, when uses json serialization in current version of Dubbo framework, an additional line break is added as a separator between each part of the content. Please add a new line break after each part of the variable part, such as: ``` Dubbo version bytes (line break) diff --git a/blog/zh-cn/dubbo-protocol.md b/blog/zh-cn/dubbo-protocol.md index 39f142e..6a2bab2 100644 --- a/blog/zh-cn/dubbo-protocol.md +++ b/blog/zh-cn/dubbo-protocol.md @@ -162,7 +162,7 @@ Dubbo 框架定义了私有的RPC协议,其中请求和响应协议的具体 - 异常:RESPONSE_WITH_EXCEPTION 0 - 返回值:从服务端返回的响应bytes -**注意:**对于(Variable Part)变长部分,当前版本的Dubbo 框架使用json序列化时,在每部分内容间额外增加了换行符作为分隔,请在Variable Part的每个part后额外增加换行符, 如: +**注意:** 对于(Variable Part)变长部分,当前版本的Dubbo 框架使用json序列化时,在每部分内容间额外增加了换行符作为分隔,请在Variable Part的每个part后额外增加换行符, 如: ``` Dubbo version bytes (换行符)
[dubbo-go] 01/01: fix: path is not in param
This is an automated email from the ASF dual-hosted git repository. victory pushed a commit to branch getty_reactor in repository https://gitbox.apache.org/repos/asf/dubbo-go.git commit 3d308e40694ee3cd34b3575e5cc9a67971df3b1e Author: cvictory AuthorDate: Wed Jun 10 19:37:04 2020 +0800 fix: path is not in param --- protocol/dubbo/dubbo_invoker.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/dubbo/dubbo_invoker.go b/protocol/dubbo/dubbo_invoker.go index 988353e..fa48718 100644 --- a/protocol/dubbo/dubbo_invoker.go +++ b/protocol/dubbo/dubbo_invoker.go @@ -49,7 +49,7 @@ var ( var ( attachmentKey = []string{constant.INTERFACE_KEY, constant.GROUP_KEY, constant.TOKEN_KEY, constant.TIMEOUT_KEY, - constant.PATH_KEY, constant.VERSION_KEY} + constant.VERSION_KEY} ) // DubboInvoker is implement of protocol.Invoker. A dubboInvoker refer to one service and ip. @@ -98,6 +98,7 @@ func (di *DubboInvoker) Invoke(ctx context.Context, invocation protocol.Invocati inv := invocation.(*invocation_impl.RPCInvocation) // init param + inv.SetAttachments(constant.PATH_KEY, di.GetUrl().Path) for _, k := range attachmentKey { if v := di.GetUrl().GetParam(k, ""); len(v) > 0 { inv.SetAttachments(k, v)
[dubbo-go] branch getty_reactor created (now 3d308e4)
This is an automated email from the ASF dual-hosted git repository. victory pushed a change to branch getty_reactor in repository https://gitbox.apache.org/repos/asf/dubbo-go.git. at 3d308e4 fix: path is not in param This branch includes the following new commits: new 3d308e4 fix: path is not in param The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[dubbo] 02/03: Merge branch 'master' of github.com:apache/dubbo
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git commit e400898e601c6fb86fd01ccf832d8a4f0661a515 Merge: c39eeb5 450c7cd Author: mercyblitz AuthorDate: Wed Jun 10 17:29:37 2020 +0800 Merge branch 'master' of github.com:apache/dubbo .../dubbo/metadata/report/MetadataReport.java | 53 ++ 1 file changed, 53 insertions(+)
[dubbo] branch master updated (450c7cd -> 0743042)
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git. from 450c7cd Revert "fix wrong check of InvokerListener when export a service (fix issue_6269) (#6271)" new c39eeb5 Revert "fix wrong check of InvokerListener when export a service (fix issue_6269) (#6271)" new e400898 Merge branch 'master' of github.com:apache/dubbo new 0743042 Revert the MetadataReport The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../dubbo/metadata/report/MetadataReport.java | 61 ++ 1 file changed, 4 insertions(+), 57 deletions(-)
[dubbo] 03/03: Revert the MetadataReport
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git commit 074304237e9b166270c6a4e8efcde45b430b43ec Author: mercyblitz AuthorDate: Wed Jun 10 17:30:14 2020 +0800 Revert the MetadataReport --- .../dubbo/metadata/report/MetadataReport.java | 61 ++ 1 file changed, 4 insertions(+), 57 deletions(-) diff --git a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java index 35fa401..e5fc587 100644 --- a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java +++ b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java @@ -17,21 +17,16 @@ package org.apache.dubbo.metadata.report; +import java.util.List; +import java.util.Map; +import java.util.Set; + import org.apache.dubbo.common.URL; -import org.apache.dubbo.metadata.URLRevisionResolver; import org.apache.dubbo.metadata.definition.model.ServiceDefinition; import org.apache.dubbo.metadata.report.identifier.MetadataIdentifier; import org.apache.dubbo.metadata.report.identifier.ServiceMetadataIdentifier; import org.apache.dubbo.metadata.report.identifier.SubscriberMetadataIdentifier; -import java.util.Collection; -import java.util.Collections; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import static org.apache.dubbo.rpc.model.ApplicationModel.getName; - /** * */ @@ -52,52 +47,4 @@ public interface MetadataReport { List getSubscribedURLs(SubscriberMetadataIdentifier subscriberMetadataIdentifier); String getServiceDefinition(MetadataIdentifier metadataIdentifier); - -/** - * Save the exported {@link URL urls} in bulk. - * - * @param exportedURLs the exported {@link URL urls} - * @return If successful, return true, or false - * @since 2.7.8 - */ -default boolean saveExportedURLs(Collection exportedURLs) { -return saveExportedURLs(getName(), exportedURLs); -} - -/** - * Save the exported {@link URL urls} in bulk. - * - * @param serviceName the specified Dubbo service name - * @param exportedURLs the exported {@link URL urls} - * @return If successful, return true, or false - * @since 2.7.8 - */ -default boolean saveExportedURLs(String serviceName, Collection exportedURLs) { -return saveExportedURLs(serviceName, new URLRevisionResolver().resolve(exportedURLs), exportedURLs); -} - -/** - * Save the exported {@link URL urls} in bulk. - * - * @param serviceName the specified Dubbo service name - * @param exportedServicesRevision the revision of the exported Services - * @param exportedURLs the exported {@link URL urls} - * @return If successful, return true, or false - * @since 2.7.8 - */ -default boolean saveExportedURLs(String serviceName, String exportedServicesRevision, Collection exportedURLs) { -return true; -} - -/** - * Get the {@link URL#toFullString() strings} presenting the {@link URL URLs} that were exported by the provider - * - * @param serviceName the specified Dubbo service name - * @param exportedServicesRevision the revision of the exported Services - * @return non-null - * @since 2.7.8 - */ -default List getExportedURLs(String serviceName, String exportedServicesRevision) { -return Collections.emptyList(); -} }
[dubbo] 01/03: Revert "fix wrong check of InvokerListener when export a service (fix issue_6269) (#6271)"
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git commit c39eeb57aef6d2cb046a031a47dbd37e43b4b056 Author: mercyblitz AuthorDate: Wed Jun 10 17:29:01 2020 +0800 Revert "fix wrong check of InvokerListener when export a service (fix issue_6269) (#6271)" This reverts commit 91989cae508f8482f31ac335879da4a5975661c8. --- .../java/org/apache/dubbo/config/utils/ConfigValidationUtils.java| 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java index f9b0e35..ba8b9a7 100644 --- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java +++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java @@ -297,6 +297,7 @@ public class ConfigValidationUtils { checkExtension(ProxyFactory.class, PROXY_KEY, config.getProxy()); checkExtension(Cluster.class, CLUSTER_KEY, config.getCluster()); checkMultiExtension(Filter.class, FILE_KEY, config.getFilter()); +checkMultiExtension(InvokerListener.class, LISTENER_KEY, config.getListener()); checkNameHasSymbol(LAYER_KEY, config.getLayer()); List methods = config.getMethods(); @@ -311,7 +312,7 @@ public class ConfigValidationUtils { checkName(TOKEN_KEY, config.getToken()); checkPathName(PATH_KEY, config.getPath()); -checkMultiExtension(ExporterListener.class, LISTENER_KEY, config.getListener()); +checkMultiExtension(ExporterListener.class, "listener", config.getListener()); validateAbstractInterfaceConfig(config); @@ -336,7 +337,7 @@ public class ConfigValidationUtils { } public static void validateReferenceConfig(ReferenceConfig config) { -checkMultiExtension(InvokerListener.class, LISTENER_KEY, config.getListener()); +checkMultiExtension(InvokerListener.class, "listener", config.getListener()); checkKey(VERSION_KEY, config.getVersion()); checkKey(GROUP_KEY, config.getGroup()); checkName(CLIENT_KEY, config.getClient());
[dubbo] branch master updated: Revert "fix wrong check of InvokerListener when export a service (fix issue_6269) (#6271)"
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git The following commit(s) were added to refs/heads/master by this push: new 450c7cd Revert "fix wrong check of InvokerListener when export a service (fix issue_6269) (#6271)" 450c7cd is described below commit 450c7cd33f86c482e2fb8402d436673c9b814f2b Author: mercyblitz AuthorDate: Wed Jun 10 16:30:31 2020 +0800 Revert "fix wrong check of InvokerListener when export a service (fix issue_6269) (#6271)" This reverts commit 91989cae508f8482f31ac335879da4a5975661c8. --- .../java/org/apache/dubbo/config/utils/ConfigValidationUtils.java| 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java index f9b0e35..ba8b9a7 100644 --- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java +++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java @@ -297,6 +297,7 @@ public class ConfigValidationUtils { checkExtension(ProxyFactory.class, PROXY_KEY, config.getProxy()); checkExtension(Cluster.class, CLUSTER_KEY, config.getCluster()); checkMultiExtension(Filter.class, FILE_KEY, config.getFilter()); +checkMultiExtension(InvokerListener.class, LISTENER_KEY, config.getListener()); checkNameHasSymbol(LAYER_KEY, config.getLayer()); List methods = config.getMethods(); @@ -311,7 +312,7 @@ public class ConfigValidationUtils { checkName(TOKEN_KEY, config.getToken()); checkPathName(PATH_KEY, config.getPath()); -checkMultiExtension(ExporterListener.class, LISTENER_KEY, config.getListener()); +checkMultiExtension(ExporterListener.class, "listener", config.getListener()); validateAbstractInterfaceConfig(config); @@ -336,7 +337,7 @@ public class ConfigValidationUtils { } public static void validateReferenceConfig(ReferenceConfig config) { -checkMultiExtension(InvokerListener.class, LISTENER_KEY, config.getListener()); +checkMultiExtension(InvokerListener.class, "listener", config.getListener()); checkKey(VERSION_KEY, config.getVersion()); checkKey(GROUP_KEY, config.getGroup()); checkName(CLIENT_KEY, config.getClient());
[dubbo] branch 2.7.8-dev updated: 2.7.8 service introspection (#6300)
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch 2.7.8-dev in repository https://gitbox.apache.org/repos/asf/dubbo.git The following commit(s) were added to refs/heads/2.7.8-dev by this push: new b086a95 2.7.8 service introspection (#6300) b086a95 is described below commit b086a95419e5aa1e0c072a07aa816c3f48a9659d Author: Mercy Ma AuthorDate: Wed Jun 10 16:28:10 2020 +0800 2.7.8 service introspection (#6300) * Polish apache/dubbo#6296 : Adding the new methods into MetadataReport to manipulate the exported URLs for service introspection * Polish apache/dubbo#6296 : Adding the new methods into MetadataReport to manipulate the exported URLs for service introspection * Polish apache/dubbo#6171 : [Feature] Introducing the composite implementation of MetadataService --- .../java/org/apache/dubbo/event/EventListener.java | 2 +- .../dubbo/config/bootstrap/DubboBootstrap.java | 126 .../ZookeeperDubboServiceConsumerBootstrap.java| 6 +- .../ZookeeperDubboServiceProviderBootstrap.java| 6 +- .../apache/dubbo/metadata/MetadataConstants.java | 25 ++- .../org/apache/dubbo/metadata/MetadataService.java | 7 +- .../org/apache/dubbo/metadata/MetadataUtil.java| 49 - .../dubbo}/metadata/URLRevisionResolver.java | 69 +-- .../dubbo/metadata/WritableMetadataService.java| 18 +- .../dubbo/metadata/report/MetadataReport.java | 18 +- .../AbstractAbstractWritableMetadataService.java | 71 +++ .../store/BaseWritableMetadataService.java | 73 --- .../store/InMemoryWritableMetadataService.java | 62 +++--- .../store/RemoteWritableMetadataService.java | 125 +++- .../RemoteWritableMetadataServiceDelegate.java | 100 -- ...g.apache.dubbo.metadata.WritableMetadataService | 2 +- .../dubbo}/metadata/URLRevisionResolverTest.java | 17 +- .../store/InMemoryWritableMetadataServiceTest.java | 20 +- .../store/RemoteWritableMeatadataServiceTest.java | 12 +- .../RemoteWritableMetadataServiceDelegateTest.java | 216 - .../store/zookeeper/ZookeeperMetadataReport.java | 32 +++ .../dubbo/registry/client/ServiceInstance.java | 22 +++ .../listener/PublishingRemoteMetadataListener.java | 64 ++ ...ExportedServicesRevisionMetadataCustomizer.java | 1 + .../metadata/RefreshServiceMetadataCustomizer.java | 47 - .../StandardMetadataServiceURLBuilder.java | 1 + ...bscribedServicesRevisionMetadataCustomizer.java | 1 + .../proxy/BaseMetadataServiceProxyFactory.java | 3 + .../metadata/proxy/RemoteMetadataServiceProxy.java | 52 +++-- .../internal/org.apache.dubbo.event.EventListener | 4 +- ...dubbo.registry.client.ServiceInstanceCustomizer | 3 +- 31 files changed, 518 insertions(+), 736 deletions(-) diff --git a/dubbo-common/src/main/java/org/apache/dubbo/event/EventListener.java b/dubbo-common/src/main/java/org/apache/dubbo/event/EventListener.java index 06c6f6a..bb36c77 100644 --- a/dubbo-common/src/main/java/org/apache/dubbo/event/EventListener.java +++ b/dubbo-common/src/main/java/org/apache/dubbo/event/EventListener.java @@ -56,7 +56,7 @@ public interface EventListener extends java.util.EventListener, * The comparison rule , refer to {@link #compareTo}. */ default int getPriority() { -return MIN_PRIORITY; +return NORMAL_PRIORITY; } /** diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java index cd92fe5..16d331c 100644 --- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java +++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java @@ -101,9 +101,9 @@ import static org.apache.dubbo.remoting.Constants.CLIENT_KEY; /** * See {@link ApplicationModel} and {@link ExtensionLoader} for why this class is designed to be singleton. - * + * * The bootstrap class of Dubbo - * + * * Get singleton instance by calling static method {@link #getInstance()}. * Designed as singleton because some classes inside Dubbo, such as ExtensionLoader, are designed only for one instance per process. * @@ -509,12 +509,13 @@ public class DubboBootstrap extends GenericEventListener { startConfigCenter(); -useRegistryAsConfigCenterIfNecessary(); - loadRemoteConfigs(); checkGlobalConfigs(); +// @since 2.7.8 +startMetadataCenter(); + initMetadataService(); initEventListener(); @@ -583,6 +584,9 @@ public class DubboBootstrap extends GenericEventListener { } private void startConfigCenter() { + +useRegistryAsConfigCenterIfNecessary(); + Collection configCenters =
[dubbo] branch 2.7.8-dev created (now 951955a)
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a change to branch 2.7.8-dev in repository https://gitbox.apache.org/repos/asf/dubbo.git. at 951955a Polish apache/dubbo#6296 : Adding the new methods into MetadataReport to manipulate the exported URLs for service introspection (#6299) No new revisions were added by this update.
[dubbo] branch master updated: Polish apache/dubbo#6296 : Adding the new methods into MetadataReport to manipulate the exported URLs for service introspection (#6299)
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git The following commit(s) were added to refs/heads/master by this push: new 951955a Polish apache/dubbo#6296 : Adding the new methods into MetadataReport to manipulate the exported URLs for service introspection (#6299) 951955a is described below commit 951955ad51c602a51b4ac6ada7344eef9ee1c195 Author: Mercy Ma AuthorDate: Wed Jun 10 14:59:01 2020 +0800 Polish apache/dubbo#6296 : Adding the new methods into MetadataReport to manipulate the exported URLs for service introspection (#6299) --- .../dubbo/metadata/report/MetadataReport.java | 53 ++ 1 file changed, 53 insertions(+) diff --git a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java index 90ca45a..35fa401 100644 --- a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java +++ b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/MetadataReport.java @@ -18,15 +18,20 @@ package org.apache.dubbo.metadata.report; import org.apache.dubbo.common.URL; +import org.apache.dubbo.metadata.URLRevisionResolver; import org.apache.dubbo.metadata.definition.model.ServiceDefinition; import org.apache.dubbo.metadata.report.identifier.MetadataIdentifier; import org.apache.dubbo.metadata.report.identifier.ServiceMetadataIdentifier; import org.apache.dubbo.metadata.report.identifier.SubscriberMetadataIdentifier; +import java.util.Collection; +import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; +import static org.apache.dubbo.rpc.model.ApplicationModel.getName; + /** * */ @@ -47,4 +52,52 @@ public interface MetadataReport { List getSubscribedURLs(SubscriberMetadataIdentifier subscriberMetadataIdentifier); String getServiceDefinition(MetadataIdentifier metadataIdentifier); + +/** + * Save the exported {@link URL urls} in bulk. + * + * @param exportedURLs the exported {@link URL urls} + * @return If successful, return true, or false + * @since 2.7.8 + */ +default boolean saveExportedURLs(Collection exportedURLs) { +return saveExportedURLs(getName(), exportedURLs); +} + +/** + * Save the exported {@link URL urls} in bulk. + * + * @param serviceName the specified Dubbo service name + * @param exportedURLs the exported {@link URL urls} + * @return If successful, return true, or false + * @since 2.7.8 + */ +default boolean saveExportedURLs(String serviceName, Collection exportedURLs) { +return saveExportedURLs(serviceName, new URLRevisionResolver().resolve(exportedURLs), exportedURLs); +} + +/** + * Save the exported {@link URL urls} in bulk. + * + * @param serviceName the specified Dubbo service name + * @param exportedServicesRevision the revision of the exported Services + * @param exportedURLs the exported {@link URL urls} + * @return If successful, return true, or false + * @since 2.7.8 + */ +default boolean saveExportedURLs(String serviceName, String exportedServicesRevision, Collection exportedURLs) { +return true; +} + +/** + * Get the {@link URL#toFullString() strings} presenting the {@link URL URLs} that were exported by the provider + * + * @param serviceName the specified Dubbo service name + * @param exportedServicesRevision the revision of the exported Services + * @return non-null + * @since 2.7.8 + */ +default List getExportedURLs(String serviceName, String exportedServicesRevision) { +return Collections.emptyList(); +} }