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/06/24 00:44:21 UTC

[incubator-servicecomb-website] branch asf-site updated (0e78e2b -> 2a007ff)

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

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


    from 0e78e2b  some improvements for documents (#108)
     add a727b35  Updated the team information
     add e4241a8  Add download links for Second Apache Release
     add 4cc6400  Update the Latest News Section
     add bab71b8  add jyseanl in team (#109)
     add 29cf93f  some improvements for documents (#108)
     add 65182f1  Update the Team page
     new 07b0549  Merge branch 'master' into asf-site
     new 2a007ff  Publish the website

The 2 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:
 _developers/cn/team.md                             |  5 +++--
 _developers/team.md                                |  5 +++--
 content/cn/developers/team/index.html              | 11 ++++++++---
 content/cn/docs/quick-start-bmi/index.html         |  4 ++--
 content/cn/users/service-configurations/index.html | 23 +++++++++++++---------
 content/developers/team/index.html                 | 11 ++++++++---
 content/docs/quick-start-bmi/index.html            |  6 +++---
 content/feed.xml                                   |  2 +-
 content/users/service-configurations/index.html    | 18 ++++++++++-------
 content/users/service-contract/index.html          |  2 +-
 10 files changed, 54 insertions(+), 33 deletions(-)


[incubator-servicecomb-website] 02/02: Publish the website

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2a007ff357ea72ea2a0d974961c2048711828afe
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Sun Jun 24 08:44:03 2018 +0800

    Publish the website
---
 content/cn/developers/team/index.html              | 11 ++++++++---
 content/cn/docs/quick-start-bmi/index.html         |  4 ++--
 content/cn/users/service-configurations/index.html | 23 +++++++++++++---------
 content/developers/team/index.html                 | 11 ++++++++---
 content/docs/quick-start-bmi/index.html            |  6 +++---
 content/feed.xml                                   |  2 +-
 content/users/service-configurations/index.html    | 18 ++++++++++-------
 content/users/service-contract/index.html          |  2 +-
 8 files changed, 48 insertions(+), 29 deletions(-)

diff --git a/content/cn/developers/team/index.html b/content/cn/developers/team/index.html
index 56a986d..0bf49b6 100644
--- a/content/cn/developers/team/index.html
+++ b/content/cn/developers/team/index.html
@@ -415,7 +415,7 @@
       
 
       <section class="page__content" itemprop="text">
-        <p>本页面展示了ServiceComb的开发团队。大家可以把自己的信息添加到列表上。注:名字是按照字母顺序进行排列的。</p>
+        <p>本页面展示了ServiceComb的开发团队。大家可以通过提PR的方式把自己的信息添加到列表上。注:名字是按照字母顺序进行排列的。</p>
 
 <ul>
   <li>Committers</li>
@@ -445,8 +445,8 @@
     </tr>
     <tr>
       <td>ericlee</td>
-      <td>Eric Lee</td>
-      <td> </td>
+      <td>Li Dagang (Eric)</td>
+      <td>Tencent</td>
       <td> </td>
     </tr>
     <tr>
@@ -541,6 +541,11 @@
       <td>Huawei</td>
     </tr>
     <tr>
+      <td>jyseanl</td>
+      <td>Sean Li</td>
+      <td>Pactera</td>
+    </tr>
+    <tr>
       <td>laijianbin</td>
       <td>Lai Jianbin</td>
       <td> </td>
diff --git a/content/cn/docs/quick-start-bmi/index.html b/content/cn/docs/quick-start-bmi/index.html
index a5a507b..8f65ac0 100644
--- a/content/cn/docs/quick-start-bmi/index.html
+++ b/content/cn/docs/quick-start-bmi/index.html
@@ -560,7 +560,7 @@
   <span class="s">routes</span><span class="pi">:</span>
     <span class="s">calculator</span><span class="pi">:</span> <span class="s">/calculator/**</span>
 
-<span class="c1"># disable netflix eurkea since it's not used for service discovery</span>
+<span class="c1"># disable netflix eureka since it's not used for service discovery</span>
 <span class="s">ribbon</span><span class="pi">:</span>
   <span class="s">eureka</span><span class="pi">:</span>
     <span class="s">enabled</span><span class="pi">:</span> <span class="s">false</span>
@@ -580,7 +580,7 @@
       <span class="s">address</span><span class="pi">:</span> <span class="s">http://127.0.0.1:30100</span>
 </code></pre>
 </div>
-<p>此处将服务注册中心和Zuul相结合使能服务发现。</p>
+<p>此处将服务注册中心和Zuul相结合使其能发现服务。</p>
 
 <h4 id="服务启动入口-1">服务启动入口</h4>
 <p>服务启动入口也只需要声明启用 <code class="highlighter-rouge">ServiceComb</code> 和 <code class="highlighter-rouge">Zuul</code> 即可。</p>
diff --git a/content/cn/users/service-configurations/index.html b/content/cn/users/service-configurations/index.html
index a7502ac..0617cb5 100644
--- a/content/cn/users/service-configurations/index.html
+++ b/content/cn/users/service-configurations/index.html
@@ -712,7 +712,7 @@
       <td style="text-align: left">Integer</td>
       <td style="text-align: left">否</td>
       <td style="text-align: left">客户端闲置时间,超过限制后选择后面的服务器。</td>
-      <td style="text-align: left">暂不支持微服务配置。e.g. servicecomb.loadbalance.SessionStickinessRule.sessionTimeoutInSeconds,不能配置为cse.loadbalance.DemoService.SessionStickinessRule.sessionTimeoutInSeconds</td>
+      <td style="text-align: left">暂不支持微服务配置。e.g. servicecomb.loadbalance.SessionStickinessRule.sessionTimeoutInSeconds,不能配置为servicecomb.loadbalance.DemoService.SessionStickinessRule.sessionTimeoutInSeconds</td>
     </tr>
     <tr>
       <td style="text-align: left">servicecomb.loadbalance.SessionStickinessRule.successiveFailedTimes</td>
@@ -925,7 +925,7 @@
 
 <p>降级策略有三个相关的技术概念:“隔离”、“熔断”、“容错”:</p>
 <ul>
-  <li>“隔离”是一种异常检测机制,常用的检测方法是请求超时、流量过大等。一般的设置参数包括超时时间、同时并发请求个数等。</li>
+  <li>“隔离”是一种异常检测机制,常用的检测方法是请求超时、并发量过大等。一般的设置参数包括超时时间、同时并发请求个数等。</li>
   <li>“熔断”是一种异常反应机制,“熔断”依赖于“隔离”。熔断通常基于错误率来实现。一般的设置参数包括统计请求的个数、错误率等。</li>
   <li>“容错”是一种异常处理机制,“容错”依赖于“熔断”。熔断以后,会调用“容错”的方法。一般的设置参数包括调用容错方法的次数等。</li>
 </ul>
@@ -1053,7 +1053,7 @@
   </tbody>
 </table>
 
-<p class="notice--warning"><strong>注意:</strong> 谨慎使用cse.isolation.timeout.enabled=true。因为系统处理链都是异步执行,中间处理链的返回,会导致后面处理链的逻辑处理效果丢失。尽可能将cse.isolation.timeout.enabled保持默认值false,并且正确设置网络层超时时间cse.request.timeout=30000。</p>
+<p class="notice--warning"><strong>注意:</strong> 谨慎使用servicecomb.isolation.timeout.enabled=true。因为系统处理链都是异步执行,中间处理链的返回,会导致后面处理链的逻辑处理效果丢失。尽可能将servicecomb.isolation.timeout.enabled保持默认值false,并且正确设置网络层超时时间servicecomb.request.timeout=30000。</p>
 
 <h2 id="示例代码-1">示例代码</h2>
 
@@ -1068,17 +1068,22 @@
         <span class="s">enabled</span><span class="pi">:</span> <span class="s">true</span>
       <span class="s">timeoutInMilliseconds</span><span class="pi">:</span> <span class="s">30000</span>
   <span class="s">circuitBreaker</span><span class="pi">:</span>
-    <span class="s">sleepWindowInMilliseconds</span><span class="pi">:</span> <span class="s">15000</span>
-    <span class="s">requestVolumeThreshold</span><span class="pi">:</span> <span class="s">20</span>
+    <span class="s">Consumer</span><span class="pi">:</span>
+      <span class="s">sleepWindowInMilliseconds</span><span class="pi">:</span> <span class="s">15000</span>
+      <span class="s">requestVolumeThreshold</span><span class="pi">:</span> <span class="s">20</span>
   <span class="s">fallback</span><span class="pi">:</span>
-    <span class="s">enabled</span><span class="pi">:</span> <span class="s">true</span>
-    <span class="s">policy</span><span class="pi">:</span> <span class="s">throwexception</span>
+    <span class="s">Consumer</span><span class="pi">:</span>
+      <span class="s">enabled</span><span class="pi">:</span> <span class="s">true</span>
+  <span class="s">fallbackpolicy</span><span class="pi">:</span>
+    <span class="s">Consumer</span><span class="pi">:</span>
+      <span class="s">policy</span><span class="pi">:</span> <span class="s">throwexception</span>
 </code></pre>
 </div>
 
 <blockquote>
-  <p><strong>说明:</strong>
-降级策略需要启用服务治理能力,对应的服务提供者的handler是<code class="highlighter-rouge">bizkeeper-provider</code>,服务消费者的handler是<code class="highlighter-rouge">bizkeeper-consumer</code>。</p>
+  <p><strong>说明:</strong></p>
+
+  <p>降级策略需要启用服务治理能力,对应的服务提供者的handler是<code class="highlighter-rouge">bizkeeper-provider</code>,服务消费者的handler是<code class="highlighter-rouge">bizkeeper-consumer</code>。如果省略了<code class="highlighter-rouge">Consumer:</code>/<code class="highlighter-rouge">Provider:</code>,策略将无法配置成功,此时服务治理将以默认配置生效。</p>
 </blockquote>
 
         
diff --git a/content/developers/team/index.html b/content/developers/team/index.html
index 12cb6a0..a3ca3fe 100644
--- a/content/developers/team/index.html
+++ b/content/developers/team/index.html
@@ -422,8 +422,8 @@
     </tr>
     <tr>
       <td>ericlee</td>
-      <td>Eric Lee</td>
-      <td> </td>
+      <td>Li Dagang (Eric)</td>
+      <td>Tencent</td>
       <td> </td>
     </tr>
     <tr>
@@ -518,6 +518,11 @@
       <td>Huawei</td>
     </tr>
     <tr>
+      <td>jyseanl</td>
+      <td>Sean Li</td>
+      <td>Pactera</td>
+    </tr>
+    <tr>
       <td>laijianbin</td>
       <td>Lai Jianbin</td>
       <td> </td>
@@ -610,7 +615,7 @@
     <tr>
       <td>zhang2014</td>
       <td>Zhang Jian</td>
-      <td>oneAPM</td>
+      <td>OneAPM</td>
     </tr>
     <tr>
       <td>zhfeng</td>
diff --git a/content/docs/quick-start-bmi/index.html b/content/docs/quick-start-bmi/index.html
index 7cc9494..d2a4f38 100644
--- a/content/docs/quick-start-bmi/index.html
+++ b/content/docs/quick-start-bmi/index.html
@@ -454,7 +454,7 @@
 </div>
 
 <h4 id="service-endpoint-definition">Service endpoint definition</h4>
-<p>Service endpoint is defined to generate service contact. First of all, define the endpoint interface:</p>
+<p>Service endpoint is defined to generate service contract. First of all, define the endpoint interface:</p>
 <div class="language-java highlighter-rouge"><pre class="highlight"><code><span class="kd">public</span> <span class="kd">interface</span> <span class="nc">CalculatorEndpoint</span> <span class="o">{</span>
   <span class="kt">double</span> <span class="nf">calculate</span><span class="o">(</span><span class="kt">double</span> <span class="n">height</span><span class="o">,</span> <span class="kt">double</span> <span class="n">weight</span><span class="o">);</span>
 <span class="o">}</span>
@@ -490,7 +490,7 @@
 
 <p class="notice--info">ServiceComb supports SpringMvc simplified annotations, e.g. <code class="highlighter-rouge">GetMapping</code>, since version 0.3.0.</p>
 
-<p>Note that ServiceComb can auto-generate service contract when annotating endpoints with <code class="highlighter-rouge">@RestSchema</code>. Then configure the endpoint in  <code class="highlighter-rouge">microservice.yaml</code> as follows to register the contact and microservice to service center.</p>
+<p>Note that ServiceComb can auto-generate service contract when annotating endpoints with <code class="highlighter-rouge">@RestSchema</code>. Then configure the endpoint in  <code class="highlighter-rouge">microservice.yaml</code> as follows to register the contract and microservice to service center.</p>
 <div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">APPLICATION_ID</span><span class="pi">:</span> <span class="s">bmi</span>
 <span class="s">service_description</span><span class="pi">:</span>
   <span class="s">name</span><span class="pi">:</span> <span class="s">calculator</span>
@@ -559,7 +559,7 @@
   <span class="s">routes</span><span class="pi">:</span>
     <span class="s">calculator</span><span class="pi">:</span> <span class="s">/calculator/**</span>
 
-<span class="c1"># disable netflix eurkea since it's not used for service discovery</span>
+<span class="c1"># disable netflix eureka since it's not used for service discovery</span>
 <span class="s">ribbon</span><span class="pi">:</span>
   <span class="s">eureka</span><span class="pi">:</span>
     <span class="s">enabled</span><span class="pi">:</span> <span class="s">false</span>
diff --git a/content/feed.xml b/content/feed.xml
index 370a33d..58e60a2 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.4.3">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2018-06-22T11:32:47+08:00</updated><id>/</id><title type="html">Apache ServiceComb (incubating)</title><subtitle>The homepage of ServiceComb</subtitle><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt; [...]
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.4.3">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2018-06-24T08:43:24+08:00</updated><id>/</id><title type="html">Apache ServiceComb (incubating)</title><subtitle>The homepage of ServiceComb</subtitle><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt; [...]
 
 &lt;p&gt;本次开放日将主要聚焦在以下几个方面,和企业、用户及开发者一同探讨微服务技术及方向。&lt;/p&gt;
 
diff --git a/content/users/service-configurations/index.html b/content/users/service-configurations/index.html
index d3aa7bc..fc60b6a 100644
--- a/content/users/service-configurations/index.html
+++ b/content/users/service-configurations/index.html
@@ -985,7 +985,7 @@
       <td style="text-align: left">-</td>
       <td style="text-align: left">No</td>
       <td style="text-align: left">Specifies the duration needed to recover from fallbreak.</td>
-      <td style="text-align: left">After the recovery, the number of failed requests will be recalculated. Not: If the consumer fails to send a request to the provider after the recovery, fallbreak is enabled again.</td>
+      <td style="text-align: left">After the recovery, the number of failed requests will be recalculated. Note: If the consumer fails to send a request to the provider after the recovery, fallbreak is enabled again.</td>
     </tr>
     <tr>
       <td style="text-align: left">servicecomb.circuitBreaker.requestVolumeThreshold</td>
@@ -1030,7 +1030,7 @@
   </tbody>
 </table>
 
-<p class="notice--warning"><strong>NOTE:</strong> Be cautions when setting servicecomb.isolation.timeout.enabled to TRUE, All processes are asynchronously processed in the system, and any error value returned by an intermediate process because the set timeout duration is reached can cause failure of the follow-up processes. Therefore, you are advised to keep the default value FALSE for servicecomb.isolation.timeout.enabled. For timeout duration from the network aspect, you are advised to [...]
+<p class="notice--warning"><strong>Caution:</strong> Be cautious when setting servicecomb.isolation.timeout.enabled to TRUE, All processes are asynchronously processed in the system, and any error value returned by an intermediate process because the set timeout duration is reached can cause failure of the follow-up processes. Therefore, you are advised to keep the default value FALSE for servicecomb.isolation.timeout.enabled. For timeout duration from the network aspect, you are advised [...]
 
 <h2 id="sample-code-1">Sample Code</h2>
 
@@ -1045,18 +1045,22 @@
         <span class="s">enabled</span><span class="pi">:</span> <span class="s">true</span>
       <span class="s">timeoutInMilliseconds</span><span class="pi">:</span> <span class="s">30000</span>
   <span class="s">circuitBreaker</span><span class="pi">:</span>
-    <span class="s">sleepWindowInMilliseconds</span><span class="pi">:</span> <span class="s">15000</span>
-    <span class="s">requestVolumeThreshold</span><span class="pi">:</span> <span class="s">20</span>
+    <span class="s">Consumer</span><span class="pi">:</span>
+      <span class="s">sleepWindowInMilliseconds</span><span class="pi">:</span> <span class="s">15000</span>
+      <span class="s">requestVolumeThreshold</span><span class="pi">:</span> <span class="s">20</span>
   <span class="s">fallback</span><span class="pi">:</span>
-    <span class="s">enabled</span><span class="pi">:</span> <span class="s">true</span>
-    <span class="s">policy</span><span class="pi">:</span> <span class="s">throwexception</span>
+    <span class="s">Consumer</span><span class="pi">:</span>
+      <span class="s">enabled</span><span class="pi">:</span> <span class="s">true</span>
+  <span class="s">fallbackpolicy</span><span class="pi">:</span>
+    <span class="s">Consumer</span><span class="pi">:</span>
+      <span class="s">policy</span><span class="pi">:</span> <span class="s">throwexception</span>
 </code></pre>
 </div>
 
 <blockquote>
   <p><strong>NOTE:</strong></p>
 
-  <p>You need to enable service governance for fallback, The provider handler is bizkeeper-provider, and the consumer handler is bizkeeper-consumer.</p>
+  <p>You need to enable service governance for fallback, The provider handler is <code class="highlighter-rouge">bizkeeper-provider</code>, and the consumer handler is <code class="highlighter-rouge">bizkeeper-consumer</code>. If <code class="highlighter-rouge">Consumer:</code>/<code class="highlighter-rouge">Provider:</code> was omitted, your configuration would not work, and service governance would be enabled with default configuration.</p>
 </blockquote>
 
         
diff --git a/content/users/service-contract/index.html b/content/users/service-contract/index.html
index b4284fe..3470472 100644
--- a/content/users/service-contract/index.html
+++ b/content/users/service-contract/index.html
@@ -655,7 +655,7 @@
 
 <h3 id="configuration">Configuration</h3>
 
-<p>ServiceComb defines API in a .yaml faile. You are advised to use <a href="http://editor.swagger.io/#/">Swagger Editor</a> to write an API definition. This tool can check syntax and automaticlly generate an API document. For details about the API definition file format, see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md"> Official OpenAPI documentation</a>。</p>
+<p>ServiceComb defines API in a .yaml file. You are advised to use <a href="http://editor.swagger.io/#/">Swagger Editor</a> to write an API definition. This tool can check syntax and automaticlly generate an API document. For details about the API definition file format, see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md"> Official OpenAPI documentation</a>。</p>
 
 <p>The API definition file is located in “resources/microservices” or “resources/applications” directory. The directory structure is as follows:</p>
 


[incubator-servicecomb-website] 01/02: Merge branch 'master' into asf-site

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 07b054988ffb953dc978c8a17e78ef0023c3333e
Merge: 0e78e2b 65182f1
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Sun Jun 24 08:43:09 2018 +0800

    Merge branch 'master' into asf-site

 _developers/cn/team.md | 5 +++--
 _developers/team.md    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)