[servicecomb-website] branch master updated (5f51d78 -> 99db2ea)

2019-04-07 Thread asifdxtreme
This is an automated email from the ASF dual-hosted git repository.

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


 discard 5f51d78  Update the links for src link for SC
 discard 906e58c  Update the news information of the website
 new 99db2ea  Update the news information of the website

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (5f51d78)
\
 N -- N -- N   refs/heads/master (99db2ea)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 588 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:
 _data/navigation.yml| 2 +-
 _release/cn/service_center_downloads.md | 2 +-
 _release/service_center_downloads.md| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)



[servicecomb-website] branch master updated: Update the links for src link for SC

2019-04-07 Thread asifdxtreme
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 5f51d78  Update the links for src link for SC
5f51d78 is described below

commit 5f51d787485e29e1feb1480f6beda84f2786888b
Author: asifdxtreme 
AuthorDate: Mon Apr 8 11:22:16 2019 +0530

Update the links for src link for SC
---
 _data/navigation.yml| 2 +-
 _release/cn/service_center_downloads.md | 2 +-
 _release/service_center_downloads.md| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_data/navigation.yml b/_data/navigation.yml
index 30750d2..ccb709d 100755
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -77,7 +77,7 @@ t:
 children:
   - title: "Release Notes"
 url: /release/service-center-release-notes/
-  - title: "Donwloads"
+  - title: "Downloads"
 url: /release/service-center-downloads/
   - title: "Java-Chassis"
 children:
diff --git a/_release/cn/service_center_downloads.md 
b/_release/cn/service_center_downloads.md
index e489ae0..2ce418a 100644
--- a/_release/cn/service_center_downloads.md
+++ b/_release/cn/service_center_downloads.md
@@ -11,7 +11,7 @@ last_modified_at: 2019-04-06T00:50:43-55:00
 
 | 版本号   | 源码|   Windows版本 |
   Linux版本   |   Darwin版本  |   
与之兼容的Java-Chassis版本 |
 | -- | - | 
- | - | 
- |- |
-| **Apache ServiceComb Service-Center 1.2.0 (LATEST)**
|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-service-center/1.2.0/apache-servicecomb-service-center-1.2.0-src.zip)
 
[[asc]](https://www.apache.org/dist/servicecomb/servicecomb-service-center/1.2.0/apache-servicecomb-service-center-1.2.0-src.zip.asc)
 
[[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-service-center/1.2.0/apache-servicecomb-service-center-1.2.0-src.zip.sha512)
 | [[Binary]](https: [...]
+| **Apache ServiceComb Service-Center 1.2.0 (LATEST)**
|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-service-center/1.2.0/apache-servicecomb-service-center-1.2.0-tar.gz)
 
[[asc]](https://www.apache.org/dist/servicecomb/servicecomb-service-center/1.2.0/apache-servicecomb-service-center-1.2.0-tar.gz.asc)
 
[[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-service-center/1.2.0/apache-servicecomb-service-center-1.2.0-tar.gz.sha512)
 | [[Binary]](https://a [...]
 | Apache ServiceComb Service-Center 1.1.0
|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-service-center/1.1.0/apache-servicecomb-service-center-1.1.0-src.zip)
 
[[asc]](https://www.apache.org/dist/servicecomb/servicecomb-service-center/1.1.0/apache-servicecomb-service-center-1.1.0-src.zip.asc)
 
[[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-service-center/1.1.0/apache-servicecomb-service-center-1.1.0-src.zip.sha512)
 | [[Binary]](htt [...]
 | Apache ServiceComb (incubating) Service-Center 1.0.0   | 
[[src]](http://archive.apache.org/dist/incubator/servicecomb/incubator-servicecomb-service-center/1.0.0/apache-servicecomb-incubating-service-center-1.0.0-src.zip)
 
[[asc]](http://archive.apache.org/dist/incubator/servicecomb/incubator-servicecomb-service-center/1.0.0/apache-servicecomb-incubating-service-center-1.0.0-src.zip.asc)
 
[[sha512]](http://archive.apache.org/dist/incubator/servicecomb/incubator-servicecomb-service-cen
 [...]
 | Apache ServiceComb (incubating) Service-Center 1.0.0-m2| 
[[src]](http://archive.apache.org/dist/incubator/servicecomb/incubator-servicecomb-service-center/1.0.0-m2/apache-servicecomb-incubating-service-center-1.0.0-m2-src.zip)
 
[[asc]](http://archive.apache.org/dist/incubator/servicecomb/incubator-servicecomb-service-center/1.0.0-m2/apache-servicecomb-incubating-service-center-1.0.0-m2-src.zip.asc)
 
[[sha512]](http://archive.apache.org/dist/incubator/servicecomb/incubator-servicecomb
 [...]
diff --git a/_release/service_center_downloads.md 
b/_release/service_center_downloads.md
index 49d7bef..f5e47d2 100644
--- a/_release/service_center_downloads.md
+++ b/_release/service_center_downloads.md
@@ -12,7 +12,7 @@ last_modified_at: 2019-04-06T00:50:43-55:00
 
 | Release   | Source|   Windows |  
 Linux   |   Darwin  |   Recommended 
Version of Java-Chassis |
 | -- | - | 
- | - | 
- 

[servicecomb-pack] branch master updated: Updated the README_ZH.md with the Demo url

2019-04-07 Thread ningjiang
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/servicecomb-pack.git


The following commit(s) were added to refs/heads/master by this push:
 new bce5330  Updated the README_ZH.md with the Demo url
bce5330 is described below

commit bce53301d5831a9d18bda0df825c8becb56ff6c9
Author: Willem Jiang 
AuthorDate: Mon Apr 8 11:52:08 2019 +0800

Updated the README_ZH.md with the Demo url
---
 README_ZH.md | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README_ZH.md b/README_ZH.md
index e3b4f0b..43a0f77 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -28,11 +28,11 @@ ServiceComb Pack 架构是由 **alpha** 和 **omega**组成,其中:
 
 
 ## 快速入门
-* Saga在ServiceComb Java 
Chassis的应用可以参考[出行预订](saga-demo/saga-servicecomb-demo/README.md)
-* Saga在Spring应用的用法可参考[出行预订示例](saga-demo/saga-spring-demo/README.md)。
-* Saga在Dubbo应用的用法可参考[Dubbo示例](saga-demo/saga-dubbo-demo/README.md).
-* TCC在Spring应用的用法可以参考[TCC示例](saga-demo/tcc-spring-demo/README.md)
-* 示例的的调试方法可以参考[调试Spring示例](saga-demo/saga-spring-demo#debugging).
+* Saga在ServiceComb Java 
Chassis的应用可以参考[出行预订](demo/saga-servicecomb-demo/README.md)
+* Saga在Spring应用的用法可参考[出行预订示例](demo/saga-spring-demo/README.md)。
+* Saga在Dubbo应用的用法可参考[Dubbo示例](demo/saga-dubbo-demo/README.md).
+* TCC在Spring应用的用法可以参考[TCC示例](demo/tcc-spring-demo/README.md)
+* 示例的的调试方法可以参考[调试Spring示例](demo/saga-spring-demo#debugging).
 
 
 ## 编译和运行代码



[GitHub] [servicecomb-pack] WillemJiang merged pull request #447: fix doc get start hyperlink

2019-04-07 Thread GitBox
WillemJiang merged pull request #447: fix doc get start hyperlink
URL: https://github.com/apache/servicecomb-pack/pull/447
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[servicecomb-pack] branch master updated: fix doc get start hyperlink

2019-04-07 Thread ningjiang
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/servicecomb-pack.git


The following commit(s) were added to refs/heads/master by this push:
 new 99c3332  fix doc get start hyperlink
99c3332 is described below

commit 99c33325de4fed16e07126279a0c28ce5827ed67
Author: lixingjun 
AuthorDate: Thu Apr 4 09:31:31 2019 +0800

fix doc get start hyperlink
---
 README.md | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index da57f3a..cd79aae 100644
--- a/README.md
+++ b/README.md
@@ -26,11 +26,11 @@ Now we have different lanaguage implementation of Omega
 * C# version of Omega here 
https://github.com/OpenSagas-csharp/servicecomb-saga-csharp
 
 ## Get Started
-* For ServiceComb Java Chassis application, please see [Booking 
Demo](saga-demo/saga-servicecomb-demo/README.md) for details.
-* For Spring applications, please see [Booking 
Demo](saga-demo/saga-spring-demo/README.md) for details.
-* For Dubbo applications, please see [Dubbo 
Demo](saga-demo/saga-dubbo-demo/README.md) for details.
-* For TCC with Spring application, please see [Tcc 
Demo](saga-demo/tcc-spring-demo/README.md) for details.
-* To debug the applications, please see [Spring Demo 
Debugging](saga-demo/saga-spring-demo#debugging) for details.
+* For ServiceComb Java Chassis application, please see [Booking 
Demo](demo/saga-servicecomb-demo/README.md) for details.
+* For Spring applications, please see [Booking 
Demo](demo/saga-spring-demo/README.md) for details.
+* For Dubbo applications, please see [Dubbo 
Demo](demo/saga-dubbo-demo/README.md) for details.
+* For TCC with Spring application, please see [Tcc 
Demo](demo/tcc-spring-demo/README.md) for details.
+* To debug the applications, please see [Spring Demo 
Debugging](demo/saga-spring-demo#debugging) for details.
 
 ## Build and Run the tests from source
 Current ServiceComb Pack code supports Spring Boot 1.x and Spring Boot 2.x at 
the same time, you can use *-Pspring-boot-1*, *-Pspring-boot-1* to switch 
Spring Boot version.



[GitHub] [servicecomb-java-chassis] heyile commented on a change in pull request #1158: [SCB-1229] update the version of dependency

2019-04-07 Thread GitBox
heyile commented on a change in pull request #1158: [SCB-1229] update the 
version of dependency
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1158#discussion_r272868698
 
 

 ##
 File path: 
core/src/main/java/org/apache/servicecomb/core/provider/producer/ProducerProviderManager.java
 ##
 @@ -97,7 +97,12 @@ private void onClose() {
   }
 
   if (Closeable.class.isInstance(operationMeta.getExecutor())) {
-IOUtils.closeQuietly((Closeable) operationMeta.getExecutor());
+Closeable executor = (Closeable) operationMeta.getExecutor();
 
 Review comment:
   IOUtils.closeQuietly() is deprecated in commons-io 2.6


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-java-chassis] wujimin commented on a change in pull request #1157: [SCB-1225][WIP][WEAK] swagger generator core not depend on dynamic class

2019-04-07 Thread GitBox
wujimin commented on a change in pull request #1157:  [SCB-1225][WIP][WEAK] 
swagger generator core not depend on dynamic class
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1157#discussion_r272865652
 
 

 ##
 File path: 
swagger/swagger-generator/generator-core/src/main/java/org/apache/servicecomb/swagger/generator/ParameterGenerator.java
 ##
 @@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicecomb.swagger.generator;
+
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectGenericType;
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectHttpParameterType;
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectParameterAnnotations;
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectParameterName;
+
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Executable;
+import java.lang.reflect.Type;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.servicecomb.swagger.generator.core.model.HttpParameterType;
+
+import io.swagger.models.parameters.Parameter;
+
+public class ParameterGenerator {
+  public String parameterName;
 
 Review comment:
   change to private.
   done


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-java-chassis] wujimin commented on a change in pull request #1157: [SCB-1225][WIP][WEAK] swagger generator core not depend on dynamic class

2019-04-07 Thread GitBox
wujimin commented on a change in pull request #1157:  [SCB-1225][WIP][WEAK] 
swagger generator core not depend on dynamic class
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1157#discussion_r272864770
 
 

 ##
 File path: 
swagger/swagger-generator/generator-core/src/main/java/org/apache/servicecomb/swagger/extend/annotations/RawJsonRequestBody.java
 ##
 @@ -23,16 +23,14 @@
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-import org.springframework.core.annotation.AliasFor;
-
 @Target({ElementType.PARAMETER})
 @Retention(RetentionPolicy.RUNTIME)
 @Documented
 public @interface RawJsonRequestBody {
-  @AliasFor("name")
+  // aliasFor "name"
 
 Review comment:
   will not, because we read both of the two field


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-java-chassis] WillemJiang commented on a change in pull request #1157: [SCB-1225][WIP][WEAK] swagger generator core not depend on dynamic class

2019-04-07 Thread GitBox
WillemJiang commented on a change in pull request #1157:  [SCB-1225][WIP][WEAK] 
swagger generator core not depend on dynamic class
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1157#discussion_r272863170
 
 

 ##
 File path: 
swagger/swagger-generator/generator-core/src/main/java/org/apache/servicecomb/swagger/extend/annotations/RawJsonRequestBody.java
 ##
 @@ -23,16 +23,14 @@
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-import org.springframework.core.annotation.AliasFor;
-
 @Target({ElementType.PARAMETER})
 @Retention(RetentionPolicy.RUNTIME)
 @Documented
 public @interface RawJsonRequestBody {
-  @AliasFor("name")
+  // aliasFor "name"
 
 Review comment:
   Will it introduce some backward compatibility issue?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-java-chassis] WillemJiang commented on a change in pull request #1157: [SCB-1225][WIP][WEAK] swagger generator core not depend on dynamic class

2019-04-07 Thread GitBox
WillemJiang commented on a change in pull request #1157:  [SCB-1225][WIP][WEAK] 
swagger generator core not depend on dynamic class
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1157#discussion_r272863323
 
 

 ##
 File path: 
swagger/swagger-generator/generator-core/src/main/java/org/apache/servicecomb/swagger/generator/ParameterGenerator.java
 ##
 @@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicecomb.swagger.generator;
+
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectGenericType;
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectHttpParameterType;
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectParameterAnnotations;
+import static 
org.apache.servicecomb.swagger.generator.SwaggerGeneratorUtils.collectParameterName;
+
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Executable;
+import java.lang.reflect.Type;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.servicecomb.swagger.generator.core.model.HttpParameterType;
+
+import io.swagger.models.parameters.Parameter;
+
+public class ParameterGenerator {
+  public String parameterName;
 
 Review comment:
   Why don't you use private as usually?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-java-chassis] wujimin commented on a change in pull request #1158: [SCB-1229] update the version of dependency

2019-04-07 Thread GitBox
wujimin commented on a change in pull request #1158: [SCB-1229] update the 
version of dependency
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1158#discussion_r272864606
 
 

 ##
 File path: 
metrics/metrics-core/src/main/java/org/apache/servicecomb/metrics/core/DefaultRegistryInitializer.java
 ##
 @@ -24,14 +24,14 @@
 
 import com.google.common.eventbus.EventBus;
 import com.netflix.servo.DefaultMonitorRegistry;
-import com.netflix.spectator.servo.ServoRegistry;
 
 public class DefaultRegistryInitializer implements MetricsInitializer {
   public static final String SERVO_POLLERS = "servo.pollers";
 
   private GlobalRegistry globalRegistry;
 
-  private ServoRegistry registry;
+  @SuppressWarnings("deprecation")
 
 Review comment:
   seems that we did not strong depend servo
   no need to keep it? change to another one?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[servicecomb-java-chassis] branch release/1.2.0 updated: [SCB-1240] allowed one prometheus cluster support multiple apps

2019-04-07 Thread ningjiang
This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch release/1.2.0
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/release/1.2.0 by this push:
 new 04c882b  [SCB-1240] allowed one prometheus cluster support multiple 
apps
04c882b is described below

commit 04c882beb1c8a75f15dfe7a0e68e44de158bbc2c
Author: wujimin 
AuthorDate: Thu Apr 4 17:00:39 2019 +0800

[SCB-1240] allowed one prometheus cluster support multiple apps
---
 .../core/executor/TestThreadPoolExecutorEx.java| 31 +-
 .../demo/springmvc/client/SpringmvcClient.java | 14 +-
 .../metrics/prometheus/PrometheusPublisher.java|  4 +++
 .../prometheus/TestPrometheusPublisher.java| 11 +++-
 4 files changed, 46 insertions(+), 14 deletions(-)

diff --git 
a/core/src/test/java/org/apache/servicecomb/core/executor/TestThreadPoolExecutorEx.java
 
b/core/src/test/java/org/apache/servicecomb/core/executor/TestThreadPoolExecutorEx.java
index 163fbb9..14df261 100644
--- 
a/core/src/test/java/org/apache/servicecomb/core/executor/TestThreadPoolExecutorEx.java
+++ 
b/core/src/test/java/org/apache/servicecomb/core/executor/TestThreadPoolExecutorEx.java
@@ -21,11 +21,16 @@ import java.util.concurrent.ExecutionException;
 import java.util.concurrent.Future;
 import java.util.concurrent.RejectedExecutionException;
 import java.util.concurrent.TimeUnit;
+import java.util.function.IntSupplier;
 
 import org.junit.Assert;
 import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public class TestThreadPoolExecutorEx {
+  private static final Logger LOGGER = 
LoggerFactory.getLogger(TestThreadPoolExecutorEx.class);
+
   static class TestTask implements Runnable {
 CountDownLatch notify = new CountDownLatch(1);
 
@@ -119,17 +124,15 @@ public class TestThreadPoolExecutorEx {
 t3.quit();
 Assert.assertEquals(4, executorEx.getPoolSize());
 Assert.assertEquals(1, executorEx.getRejectedCount());
-Assert.assertEquals(3, executorEx.getNotFinished());
-// multi thread, not sure
-// Assert.assertEquals(0, executorEx.getQueue().size());
+waitForResult(3, executorEx::getNotFinished);
+waitForResult(0, executorEx.getQueue()::size);
 
 // reuse thread
 t3 = submitTask();
 Assert.assertEquals(4, executorEx.getPoolSize());
 Assert.assertEquals(1, executorEx.getRejectedCount());
-Assert.assertEquals(4, executorEx.getNotFinished());
-// multi thread, not sure
-// Assert.assertEquals(1, executorEx.getQueue().size());
+waitForResult(4, executorEx::getNotFinished);
+waitForResult(0, executorEx.getQueue()::size);
 
 t3.quit();
 t4.quit();
@@ -137,4 +140,20 @@ public class TestThreadPoolExecutorEx {
 t6.quit();
 executorEx.shutdown();
   }
+
+  private void waitForResult(int expect, IntSupplier supplier) {
+for (; ; ) {
+  int actual = supplier.getAsInt();
+  if (expect == actual) {
+return;
+  }
+
+  LOGGER.info("waiting for thread result, expect:{}, actual: {}.", expect, 
actual);
+  try {
+TimeUnit.MILLISECONDS.sleep(100);
+  } catch (InterruptedException e) {
+throw new IllegalStateException(e);
+  }
+}
+  }
 }
diff --git 
a/demo/demo-springmvc/springmvc-client/src/main/java/org/apache/servicecomb/demo/springmvc/client/SpringmvcClient.java
 
b/demo/demo-springmvc/springmvc-client/src/main/java/org/apache/servicecomb/demo/springmvc/client/SpringmvcClient.java
index 411aa11..9b214f7 100644
--- 
a/demo/demo-springmvc/springmvc-client/src/main/java/org/apache/servicecomb/demo/springmvc/client/SpringmvcClient.java
+++ 
b/demo/demo-springmvc/springmvc-client/src/main/java/org/apache/servicecomb/demo/springmvc/client/SpringmvcClient.java
@@ -131,13 +131,13 @@ public class SpringmvcClient {
   String content = restTemplate
   
.getForObject("cse://springmvc/codeFirstSpringmvc/prometheusForTest", 
String.class);
 
-  TestMgr.check(true, 
content.contains("servicecomb_invocation{operation=\"springmvc.codeFirst.addDate"));
-  TestMgr.check(true, 
content.contains("servicecomb_invocation{operation=\"springmvc.codeFirst.sayHello"));
-  TestMgr.check(true, 
content.contains("servicecomb_invocation{operation=\"springmvc.codeFirst.fallbackFromCache"));
-  TestMgr.check(true, 
content.contains("servicecomb_invocation{operation=\"springmvc.codeFirst.isTrue"));
-  TestMgr.check(true, 
content.contains("servicecomb_invocation{operation=\"springmvc.codeFirst.add"));
-  TestMgr.check(true, 
content.contains("servicecomb_invocation{operation=\"springmvc.codeFirst.sayHi2"));
-  TestMgr.check(true, 
content.contains("servicecomb_invocation{operation=\"springmvc.codeFirst.saySomething"));
+  TestMgr.check(true, 

[GitHub] [servicecomb-java-chassis] wujimin commented on a change in pull request #1158: [SCB-1229] update the version of dependency

2019-04-07 Thread GitBox
wujimin commented on a change in pull request #1158: [SCB-1229] update the 
version of dependency
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1158#discussion_r272864136
 
 

 ##
 File path: 
foundations/foundation-vertx/src/test/java/org/apache/servicecomb/foundation/vertx/http/TestReadStreamPart.java
 ##
 @@ -186,7 +187,7 @@ public void saveToFile() throws InterruptedException, 
ExecutionException, IOExce
 
 part.saveToFile(file.getAbsolutePath()).get();
 
-Assert.assertEquals(src, FileUtils.readFileToString(file));
+Assert.assertEquals(src, FileUtils.readFileToString(file, 
Charset.defaultCharset()));
 
 Review comment:
   replace all defaultCharset to UTF_8?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-java-chassis] wujimin commented on a change in pull request #1158: [SCB-1229] update the version of dependency

2019-04-07 Thread GitBox
wujimin commented on a change in pull request #1158: [SCB-1229] update the 
version of dependency
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1158#discussion_r272864039
 
 

 ##
 File path: 
core/src/main/java/org/apache/servicecomb/core/provider/producer/ProducerProviderManager.java
 ##
 @@ -97,7 +97,12 @@ private void onClose() {
   }
 
   if (Closeable.class.isInstance(operationMeta.getExecutor())) {
-IOUtils.closeQuietly((Closeable) operationMeta.getExecutor());
+Closeable executor = (Closeable) operationMeta.getExecutor();
 
 Review comment:
   seems they are doing the same thing
   why need the change?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-pack] WillemJiang merged pull request #449: SCB-1243 keep the handler name of saga-consumer and saga-producer

2019-04-07 Thread GitBox
WillemJiang merged pull request #449: SCB-1243 keep the handler name of 
saga-consumer and saga-producer
URL: https://github.com/apache/servicecomb-pack/pull/449
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[servicecomb-pack] branch master updated: SCB-1243 keep the handler name of saga-consumer and saga-producer

2019-04-07 Thread ningjiang
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/servicecomb-pack.git


The following commit(s) were added to refs/heads/master by this push:
 new 62cedd1  SCB-1243 keep the handler name of saga-consumer and 
saga-producer
62cedd1 is described below

commit 62cedd1a6c3ae32d56d14b9794b5ef0d5d548a44
Author: Willem Jiang 
AuthorDate: Sun Apr 7 15:37:46 2019 +0800

SCB-1243 keep the handler name of saga-consumer and saga-producer
---
 .../src/main/resources/config/cse.handler.xml   | 6 ++
 1 file changed, 6 insertions(+)

diff --git 
a/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
 
b/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
index 94c37fa..120ffd6 100644
--- 
a/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
+++ 
b/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
@@ -20,4 +20,10 @@
 
class="org.apache.servicecomb.pack.omega.transport.servicecomb.PackConsumerHandler"
 />
   
+
+  
+  
+  
 



[servicecomb-website] branch asf-site updated: Publish the website

2019-04-07 Thread ningjiang
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/servicecomb-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 93eba5c  Publish the website
93eba5c is described below

commit 93eba5ce130a64f401b4460e3d0c0078a68c2150
Author: Willem Jiang 
AuthorDate: Sun Apr 7 19:45:27 2019 +0800

Publish the website
---
 content/cn/index.html | 4 ++--
 content/feed.xml  | 2 +-
 content/index.html| 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/content/cn/index.html b/content/cn/index.html
index 75e8565..6fbda0a 100644
--- a/content/cn/index.html
+++ b/content/cn/index.html
@@ -293,8 +293,8 @@
   
 
   最新新闻
-  Apache ServiceComb Pack 发布式版 
0.3.0   Apache ServiceComb 
Saga 发布最新版 0.2.1   Apache ServiceComb Saga Actuator 
发布最新版 0.3.0   Apache ServiceComb 
荣获中国开源云联盟组织的中国优秀开源项目一等奖  
-  Apache ServiceComb 发布正式版 1.1.0   
https://gitter.im/ServiceCombUsers/Lobby;>欢迎加入 Apache ServiceComb 
社区Gitter即时聊天室   Apache ServiceComb 
社区开发团队   Apache ServiceComb 
社区联合传智播客的黑马程序员、博学谷、传智汇子品牌发布微服务化教程  
+  Apache ServiceComb Pack 发布式版 
0.4.0   Apache ServiceComb 
Saga 发布最新版 0.2.1   Apache ServiceComb Saga Actuator 
发布最新版 0.3.0   Apache ServiceComb 
荣获中国开源云联盟组织的中国优秀开源项目一等奖  
+  Apache ServiceComb 发布正式版 1.2.0   
https://gitter.im/ServiceCombUsers/Lobby;>欢迎加入 Apache ServiceComb 
社区Gitter即时聊天室   Apache ServiceComb 
社区开发团队   Apache ServiceComb 
社区联合传智播客的黑马程序员、博学谷、传智汇子品牌发布微服务化教程  
 
 
   
diff --git a/content/feed.xml b/content/feed.xml
index a85b4ce..0960949 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -1,4 +1,4 @@
-http://www.w3.org/2005/Atom; >https://jekyllrb.com/; 
version="3.4.3">Jekyll2019-04-07T15:01:55+08:00/Apache ServiceCombThe homepage of 
ServiceComb{name=nil, 
avatar=/assets [...]
+http://www.w3.org/2005/Atom; >https://jekyllrb.com/; 
version="3.4.3">Jekyll2019-04-07T19:44:53+08:00/Apache ServiceCombThe homepage of 
ServiceComb{name=nil, 
avatar=/assets [...]
 pServiceComb 支持用户在程序中的指定位置处增加追踪数据,可以实现更细力度的追踪。/p
 h2 id=使用步骤使用步骤/h2
 p添加依赖/p
diff --git a/content/index.html b/content/index.html
index efd12ed..e59050b 100644
--- a/content/index.html
+++ b/content/index.html
@@ -291,8 +291,8 @@
   
 
   Latest News
-  Apache ServiceComb Release Pack 
0.3.0   Apache 
ServiceComb Saga Actuator releases a new version 0.3.0   Apache ServiceComb Saga releases a new version 
0.2.1   Apache ServiceComb won the first prize of 
China's outstanding open source project organized by China Open Source Cloud 
Alliance  
-  Apache ServiceComb Release Version 1.1.0 
  https://gitter.im/ServiceCombUsers/Lobby;>Welcome to join 
Apache ServiceComb community at Gitter   Apache ServiceComb Development Team   Apache ServiceComb 
community joint Itcast.cn sub-brand Itheima, Boxuegu and Wisdom Gathering 
release micro-service tutorial  
+  Apache ServiceComb Release Pack 
0.4.0   Apache 
ServiceComb Saga Actuator releases a new version 0.3.0   Apache ServiceComb Saga releases a new version 
0.2.1   Apache ServiceComb won the first prize of 
China's outstanding open source project organized by China Open Source Cloud 
Alliance  
+  Apache ServiceComb Release Version 1.2.0 
  https://gitter.im/ServiceCombUsers/Lobby;>Welcome to join 
Apache ServiceComb community at Gitter   Apache ServiceComb Development Team   Apache ServiceComb 
community joint Itcast.cn sub-brand Itheima, Boxuegu and Wisdom Gathering 
release micro-service tutorial  
 
 
   



[GitHub] [servicecomb-pack] coveralls commented on issue #449: SCB-1243 keep the handler name of saga-consumer and saga-producer

2019-04-07 Thread GitBox
coveralls commented on issue #449: SCB-1243 keep the handler name of 
saga-consumer and saga-producer
URL: https://github.com/apache/servicecomb-pack/pull/449#issuecomment-480568754
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/22648159/badge)](https://coveralls.io/builds/22648159)
   
   Coverage increased (+0.1%) to 90.244% when pulling 
**44a303439772d3f8341978e2329de159f850b05b on SCB-1243** into 
**ba6097349c33bbf06000487bac5182934b9b1b32 on master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [servicecomb-pack] WillemJiang opened a new pull request #449: SCB-1243 keep the handler name of saga-consumer and saga-producer

2019-04-07 Thread GitBox
WillemJiang opened a new pull request #449: SCB-1243 keep the handler name of 
saga-consumer and saga-producer
URL: https://github.com/apache/servicecomb-pack/pull/449
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[servicecomb-pack] branch SCB-1243 created (now 44a3034)

2019-04-07 Thread ningjiang
This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a change to branch SCB-1243
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git.


  at 44a3034  SCB-1243 keep the handler name of saga-consumer and 
saga-producer

This branch includes the following new commits:

 new 44a3034  SCB-1243 keep the handler name of saga-consumer and 
saga-producer

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.




[servicecomb-pack] 01/01: SCB-1243 keep the handler name of saga-consumer and saga-producer

2019-04-07 Thread ningjiang
This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch SCB-1243
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git

commit 44a303439772d3f8341978e2329de159f850b05b
Author: Willem Jiang 
AuthorDate: Sun Apr 7 15:37:46 2019 +0800

SCB-1243 keep the handler name of saga-consumer and saga-producer
---
 .../src/main/resources/config/cse.handler.xml   | 6 ++
 1 file changed, 6 insertions(+)

diff --git 
a/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
 
b/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
index 94c37fa..120ffd6 100644
--- 
a/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
+++ 
b/omega/omega-transport/omega-transport-servicecomb/src/main/resources/config/cse.handler.xml
@@ -20,4 +20,10 @@
 
class="org.apache.servicecomb.pack.omega.transport.servicecomb.PackConsumerHandler"
 />
   
+
+  
+  
+  
 



[servicecomb-website] branch master updated (5c987cb -> 906e58c)

2019-04-07 Thread ningjiang
This is an automated email from the ASF dual-hosted git repository.

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


from 5c987cb  Updated the website news
 add 906e58c  Update the news information of the website

No new revisions were added by this update.

Summary of changes:
 _pages/home.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



[servicecomb-website] branch asf-site updated (7ac75cb -> ded8edc)

2019-04-07 Thread ningjiang
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/servicecomb-website.git.


from 7ac75cb  Publish the website
 new 5c987cb  Updated the website news
 new f49e8ef  Merge branch 'master' into asf-site
 new 906e58c  Update the news information of the website
 new ded8edc  Merge branch 'master' into asf-site

The 935 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:
 _pages/cn/home.md | 4 ++--
 _pages/home.md| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)



[servicecomb-website] branch master updated: Updated the website news

2019-04-07 Thread ningjiang
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/servicecomb-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 5c987cb  Updated the website news
5c987cb is described below

commit 5c987cb785e2a70c3c1070bc1aa7c31532b09033
Author: Willem Jiang 
AuthorDate: Sun Apr 7 15:12:25 2019 +0800

Updated the website news
---
 _pages/cn/home.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/_pages/cn/home.md b/_pages/cn/home.md
index c773b3d..c36defc 100755
--- a/_pages/cn/home.md
+++ b/_pages/cn/home.md
@@ -20,7 +20,7 @@ intro:
 
 
   
-Apache ServiceComb Pack 发布式版 
0.3.0
+Apache ServiceComb Pack 发布式版 
0.4.0
   
   
 Apache ServiceComb Saga 发布最新版 
0.2.1
@@ -35,7 +35,7 @@ intro:
 
 
   
-Apache ServiceComb 发布正式版 1.1.0
+Apache ServiceComb 发布正式版 1.2.0
   
   
 欢迎加入 Apache ServiceComb 
社区Gitter即时聊天室



[servicecomb-website] branch asf-site updated (8ebcfdc -> 7ac75cb)

2019-04-07 Thread ningjiang
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/servicecomb-website.git.


from 8ebcfdc  Publish the website
 new af3717c  Update Latest Release Information (#166)
 new caa01b3  Master (#165)
 new a290758  Merge branch 'master' into asf-site
 new 7ac75cb  Publish the website

The 931 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:
 _data/navigation.yml   |   2 +
 _developers/cn/submit-issues.md|  28 
 _pages/cn/home.md  |   2 +-
 _pages/home.md |   2 +-
 _release/cn/pack_downloads.md  |   5 +-
 _release/cn/pack_releaseNotes.md   | 120 -
 _release/cn/release.md |  20 +--
 _release/cn/service_center_downloads.md|   7 +-
 _release/cn/service_center_releaseNotes.md |  44 -
 _release/pack_downloads.md |   5 +-
 _release/pack_releaseNotes.md  | 121 +-
 _release/release.md|  20 +--
 _release/service_center_downloads.md   |   7 +-
 _release/service_center_releaseNotes.md|  44 -
 .../submit-issues/find-issues-by-example.png   | Bin 0 -> 40730 bytes
 .../images/submit-issues/find-issues-comment.png   | Bin 0 -> 114798 bytes
 assets/images/submit-issues/find-issues-write.png  | Bin 0 -> 45753 bytes
 .../submit-issues/find-issues-by-example.png   | Bin 0 -> 40730 bytes
 .../images/submit-issues/find-issues-comment.png   | Bin 0 -> 114798 bytes
 .../images/submit-issues/find-issues-write.png | Bin 0 -> 45753 bytes
 content/cn/developers/becomming-a-commiter.html|  11 ++
 content/cn/developers/contributing.html|  11 ++
 content/cn/developers/index.html   |  11 ++
 content/cn/developers/release-guide/index.html |  11 ++
 .../developers/release-validation-guide/index.html |  11 ++
 .../developers/setup-committer-rights/index.html   |  11 ++
 .../setup-develop-environment/index.html   |  11 ++
 content/cn/developers/submit-codes/index.html  |  11 ++
 .../cn/developers/{ => submit-issues}/index.html   | 112 ++---
 .../cn/developers/subscribe-mail-list/index.html   |  11 ++
 content/cn/developers/team/index.html  |  11 ++
 content/cn/developers/use-gitter/index.html|  11 ++
 content/cn/developers/use-jira/index.html  |  11 ++
 content/cn/index.html  |  10 +-
 content/cn/release/index.html  |  30 ++--
 content/cn/release/pack-downloads/index.html   |   9 +-
 content/cn/release/pack-release-notes/index.html   | 124 +-
 .../cn/release/service-center-downloads/index.html |  12 +-
 .../service-center-release-notes/index.html|  48 +-
 content/feed.xml   |   2 +-
 content/index.html |  10 +-
 content/release/index.html |  30 ++--
 content/release/pack-downloads/index.html  |   9 +-
 content/release/pack-release-notes/index.html  | 124 +-
 .../release/service-center-downloads/index.html|  12 +-
 .../service-center-release-notes/index.html|  48 +-
 content/sitemap.xml| 186 +++--
 47 files changed, 1066 insertions(+), 259 deletions(-)
 create mode 100644 _developers/cn/submit-issues.md
 create mode 100644 assets/images/submit-issues/find-issues-by-example.png
 create mode 100644 assets/images/submit-issues/find-issues-comment.png
 create mode 100644 assets/images/submit-issues/find-issues-write.png
 create mode 100644 
content/assets/images/submit-issues/find-issues-by-example.png
 create mode 100644 content/assets/images/submit-issues/find-issues-comment.png
 create mode 100644 content/assets/images/submit-issues/find-issues-write.png
 copy content/cn/developers/{ => submit-issues}/index.html (79%)



[GitHub] [servicecomb-website] WillemJiang merged pull request #165: Master

2019-04-07 Thread GitBox
WillemJiang merged pull request #165: Master
URL: https://github.com/apache/servicecomb-website/pull/165
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[servicecomb-website] branch master updated: Master (#165)

2019-04-07 Thread ningjiang
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/servicecomb-website.git


The following commit(s) were added to refs/heads/master by this push:
 new caa01b3  Master (#165)
caa01b3 is described below

commit caa01b3900d0895eedfcbc3af1b6d47f078081e0
Author: kakulisen <18813972...@163.com>
AuthorDate: Sun Apr 7 14:51:52 2019 +0800

Master (#165)

* add ServiceComb & SpringCloud Zuul Demo

* add local picture

* how to make issue for servicecomb
---
 _data/navigation.yml   |   2 ++
 _developers/cn/submit-issues.md|  28 +
 .../submit-issues/find-issues-by-example.png   | Bin 0 -> 40730 bytes
 .../images/submit-issues/find-issues-comment.png   | Bin 0 -> 114798 bytes
 assets/images/submit-issues/find-issues-write.png  | Bin 0 -> 45753 bytes
 5 files changed, 30 insertions(+)

diff --git a/_data/navigation.yml b/_data/navigation.yml
index 9b6eb33..30750d2 100755
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -163,6 +163,8 @@ t:
 url: /cn/developers/becomming-a-commiter
   - title: "开发环境准备"
 url: /cn/developers/setup-develop-environment/
+  - title: "发现问题"
+url: /cn/developers/submit-issues/
   - title: "代码提交指南"
 url: /cn/developers/submit-codes/
   - title: "邮件列表订阅指南"
diff --git a/_developers/cn/submit-issues.md b/_developers/cn/submit-issues.md
new file mode 100644
index 000..43f551c
--- /dev/null
+++ b/_developers/cn/submit-issues.md
@@ -0,0 +1,28 @@
+---
+title: "发现问题"
+lang: cn
+ref: submit-issues
+permalink: /cn/developers/submit-issues/
+excerpt: "介绍如何向 ServiceComb 项目提交issue"
+last_modified_at: 2019-03-13T16:26:43-20:46
+---
+
+{% include toc %}
+
+## 发现问题
+  
ServiceComb正在不断成长中,用户可以通过在github上提交issue的方式描述自己的问题或建议并发起讨论,帮助社区进一步改进。可以在issue上提出bug,建议,疑问或者寻求帮助等等
+
+## 创建issue
+  在对应github项目页面上,如java-chassis,点击右上角按钮`New issue`创建issue
+   ![创建issue示例](/assets/images/submit-issues/find-issues-by-example.png){: 
.align-center}
+
+  
issue内容推荐使用如下模板,建议先提供ServiceComb版本信息,程序运行环境信息,然后描述产生的bug和希望出现的结果,最后提供可以复现bug的操作步骤。这些信息都有助于其他人快速了解你的问题并参与解决。
   
+​![issue模板](/assets/images/submit-issues/find-issues-write.png){: 
.align-center}   
+
+## 参与讨论
+  在issue下可以很方便地参与讨论,如下图   
+![参与讨论](/assets/images/submit-issues/find-issues-comment.png){: .align-center}
+
+## 关闭issue
+  
通过讨论之后得出最终解决方案,issue将会被关闭,如有修改代码,需要提交PR,可参考[代码提交指南](http://servicecomb.apache.org/cn/developers/submit-codes/)
+
diff --git a/assets/images/submit-issues/find-issues-by-example.png 
b/assets/images/submit-issues/find-issues-by-example.png
new file mode 100644
index 000..56c49b7
Binary files /dev/null and 
b/assets/images/submit-issues/find-issues-by-example.png differ
diff --git a/assets/images/submit-issues/find-issues-comment.png 
b/assets/images/submit-issues/find-issues-comment.png
new file mode 100644
index 000..c0fffa6
Binary files /dev/null and 
b/assets/images/submit-issues/find-issues-comment.png differ
diff --git a/assets/images/submit-issues/find-issues-write.png 
b/assets/images/submit-issues/find-issues-write.png
new file mode 100644
index 000..81462d5
Binary files /dev/null and b/assets/images/submit-issues/find-issues-write.png 
differ



[servicecomb-website] branch master updated: Update Latest Release Information (#166)

2019-04-07 Thread ningjiang
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/servicecomb-website.git


The following commit(s) were added to refs/heads/master by this push:
 new af3717c  Update Latest Release Information (#166)
af3717c is described below

commit af3717c465570f4b43ab55492aa8c22c593e26d8
Author: Mohammad Asif Siddiqui 
AuthorDate: Sun Apr 7 12:15:25 2019 +0530

Update Latest Release Information (#166)
---
 _pages/cn/home.md  |   2 +-
 _pages/home.md |   2 +-
 _release/cn/pack_downloads.md  |   5 +-
 _release/cn/pack_releaseNotes.md   | 120 +++-
 _release/cn/release.md |  20 +++--
 _release/cn/service_center_downloads.md|   7 +-
 _release/cn/service_center_releaseNotes.md |  44 ++-
 _release/pack_downloads.md |   5 +-
 _release/pack_releaseNotes.md  | 121 -
 _release/release.md|  20 +++--
 _release/service_center_downloads.md   |   7 +-
 _release/service_center_releaseNotes.md|  44 ++-
 12 files changed, 359 insertions(+), 38 deletions(-)

diff --git a/_pages/cn/home.md b/_pages/cn/home.md
index f227627..c773b3d 100755
--- a/_pages/cn/home.md
+++ b/_pages/cn/home.md
@@ -11,7 +11,7 @@ excerpt: '开箱即用、高性能、兼容流行生态、支持多语言的一
 
 下载最新版本:
 
-ServiceComb 1.1.0
+ServiceComb 1.2.0
 '
 
 intro:
diff --git a/_pages/home.md b/_pages/home.md
index 90a7aa7..f851728 100755
--- a/_pages/home.md
+++ b/_pages/home.md
@@ -10,7 +10,7 @@ excerpt: 'Open-Source, Full-Stack Microservice Solution.With 
out of the box, hig
 
 Download latest release:
 
-ServiceComb 1.1.0
+ServiceComb 1.2.0
 '
 
 intro:
diff --git a/_release/cn/pack_downloads.md b/_release/cn/pack_downloads.md
index 46d39e6..5c058d2 100644
--- a/_release/cn/pack_downloads.md
+++ b/_release/cn/pack_downloads.md
@@ -4,14 +4,15 @@ lang: cn
 ref: release
 permalink: /cn/release/pack-downloads/
 excerpt: "ServiceComb Pack Downloads"
-last_modified_at: 2018-03-28T00:50:43-55:00
+last_modified_at: 2019-04-06T00:50:43-55:00
 ---
 
 ## 发布包
 
 | 版本号   | 源码|   发布包 |
 | -- | - | 
- |
-|**Apache ServiceComb Pack 
0.3.0(LATEST)**|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip)
 
[[asc]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.asc)
 
[[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.sha512)|[[Binary]](https://apache.org/dyn/closer.cgi/servicecomb/ser
 [...]
+|**Apache ServiceComb Pack 
0.4.0(LATEST)**|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-pack/0.4.0/apache-servicecomb-pack-distribution-0.4.0-src.zip)
 
[[asc]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.4.0/apache-servicecomb-pack-distribution-0.4.0-src.zip.asc)
 
[[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.4.0/apache-servicecomb-pack-distribution-0.4.0-src.zip.sha512)|[[Binary]](https://apache.org/dyn/closer.cgi/servicecomb/ser
 [...]
+|Apache ServiceComb Pack 0.3.0
|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip)
 
[[asc]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.asc)
 
[[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.sha512)|[[Binary]](https://apache.org/dyn/closer.cgi/servicecomb/ser
 [...]
 
 **发布包验证**
 使用PGP或SHA签名验证下载文件的完整性是很有必要的。PGP签名可以使用GPG或PGP进行验证,请下载 
[KEYS](https://www.apache.org/dist/servicecomb/KEYS)以及相关发行的asc签名文件。
diff --git a/_release/cn/pack_releaseNotes.md b/_release/cn/pack_releaseNotes.md
index e1d33d2..0f46479 100644
--- a/_release/cn/pack_releaseNotes.md
+++ b/_release/cn/pack_releaseNotes.md
@@ -4,9 +4,127 @@ lang: cn
 ref: release
 permalink: /cn/release/pack-release-notes/
 excerpt: "ServiceComb Pack Release Notes"
-last_modified_at: 2018-03-28T00:50:43-55:00
+last_modified_at: 2018-04-06T00:50:43-55:00
 ---
 
+Release Notes - Apache ServiceComb - Version pack-0.4.0
+
+Sub-task
+
+
+[SCB-1180] -  
   Unable to register eureka instance metadata on random gRPC port
+
+[SCB-1187] -  
   Update distribution LICENSE for Spring Cloud Starter Netflix
+
+[SCB-1200] -  
   Omega with consul
+
+[SCB-1201] -  
   alpha-spring-cloud-starter rename alpha-server-cloud-eureka-starter
+
+[SCB-1204] -  
   acceptance tests with consul
+
+[SCB-1209] -  
   Add a description about the integrated consul
+
+

[GitHub] [servicecomb-website] WillemJiang merged pull request #166: Update Latest Release Information

2019-04-07 Thread GitBox
WillemJiang merged pull request #166: Update Latest Release Information
URL: https://github.com/apache/servicecomb-website/pull/166
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services