You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/04/04 02:47:20 UTC

[incubator-servicecomb-website] 03/03: add example chapter

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-website.git

commit 93e4e3079e8e8ca975d3e6a1ccc11e0ac6c9b98d
Author: zhengyangyong <ya...@huawei.com>
AuthorDate: Wed Apr 4 10:24:47 2018 +0800

    add example chapter
    
    Signed-off-by: zhengyangyong <ya...@huawei.com>
---
 _users/cn/edge-in-1.0.0-m1.md | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/_users/cn/edge-in-1.0.0-m1.md b/_users/cn/edge-in-1.0.0-m1.md
index 9950340..0d008d8 100644
--- a/_users/cn/edge-in-1.0.0-m1.md
+++ b/_users/cn/edge-in-1.0.0-m1.md
@@ -88,4 +88,13 @@ Edge Service使用SPI机制加载用户自定义的VertxHttpDispatcher,我们
 ```
 
 ### 扩展Handler(可选)
-由于Edge Service需要承载统一认证、集中监控等功能,我们推荐扩展Handler的方式实现,在demo-edge中的edge-service中有AuthHandler的示例。
\ No newline at end of file
+由于Edge Service需要承载统一认证、集中监控等功能,我们推荐扩展Handler的方式实现,在demo-edge中的edge-service中有AuthHandler的示例。
+
+## 参考示例
+我们在Java Chassis源代码的demo/demo-edge中完整展示了如何实现Edge Service并验证它的能力:
+1. edge-service微服务:Edge Service,包含AuthHandler;
+2. authentication微服务:模拟认证微服务,处理AuthHandler的请求;
+3. business-x.x.x微服务:模拟不同版本的业务微服务,Edge Service会将请求转发给它们;
+4. consumer:模拟前端(用户)调用Edge Service,包含了指定版本的验证。
+
+

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.