[GitHub] [servicecomb-pack] coolbeevip opened a new pull request #591: SCB-1585 Optimize the Netty server thread model to split bossEventLoo…

2019-11-11 Thread GitBox
coolbeevip opened a new pull request #591: SCB-1585 Optimize the Netty server 
thread model to split bossEventLoo…
URL: https://github.com/apache/servicecomb-pack/pull/591
 
 
   …pGroup and workerEventLoopGroup
   
   


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] Nick-The-Uncharted commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations

2019-11-11 Thread GitBox
Nick-The-Uncharted commented on issue #1373: Maven依赖有问题 无法正确依赖 
jackson-annotations
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1373#issuecomment-552762275
 
 
   I deleted my local repo and download successfully too. That's strange 
because it happened on two environment, maybe the mirror I use had some problem 
then?


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] Nick-The-Uncharted closed issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations

2019-11-11 Thread GitBox
Nick-The-Uncharted closed issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations
URL: https://github.com/apache/servicecomb-java-chassis/issues/1373
 
 
   


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-toolkit] zouwenhust opened a new issue #47: 遗留应用代码生成微服务工程

2019-11-11 Thread GitBox
zouwenhust opened a new issue #47: 遗留应用代码生成微服务工程
URL: https://github.com/apache/servicecomb-toolkit/issues/47
 
 
   存量业务代码量大,传统的SOA开发模式,有rest接口,也有webservice接口,工具能否考虑支持下面的需求
   1.工具支持webservice标记的接口转为POJO接口;
   2.工具支持在遗留代码中,自动重构服务消费者的接口调用方式改为cse调用方式;
   3.工具修改遗留代码,保留原项目的目录结构


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: update team page

2019-11-11 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 1eda674  update team page
1eda674 is described below

commit 1eda674a157daa68593e8eb5b5b0baa9d5477b02
Author: Daniel Qian 
AuthorDate: Tue Nov 12 09:59:00 2019 +0800

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

diff --git a/_developers/cn/team.md b/_developers/cn/team.md
index 8ddf7d8..152a767 100644
--- a/_developers/cn/team.md
+++ b/_developers/cn/team.md
@@ -15,11 +15,13 @@ last_modified_at: 2018-06-01T19:18:43+08:00
 | - | --- | - |  |
 | acsukesh  |  Sukesh A C |  Huawei   |  *   |
 | asifdxtream   |  Mohammad Asif Siddiqui |  Huawei   |  *   |
+| chanjarster   |  Daniel Qian|  NewCapec |  |
 | cherrylzhao   |  Zhao Jun   |  JD.com   |  |
 | ericlee   |  Li Dagang (Eric)   |  Tencent  |  *   |
 | jbonofre  |  Jean-Baptiste Onofre   |  Talend   |  *   |
 | liubao68  |  Liu Bao|  Huawei   |  *   |
 | little-cui|  Cui Yihua  |  Huawei   |  *   |
+| mabin |  Ma Bin |  Huawei   |  *   |
 | ningjiang |  Jiang Ning (Willem)|  Huawei   |  *   |
 | rvs   |  Roman Shaposhnik   |  Stealth  |  *   |
 | seanyinx  |  Yin Xiang (Sean)   |  Syswin   |  *   |
@@ -38,18 +40,16 @@ last_modified_at: 2018-06-01T19:18:43+08:00
 | Github ID | Name   | Organization |
 | - | -- |  |
 | aseTo2016 ||  |
-| chanjarster   | Daniel Qian| SupWisdom|
 | crystaldust   | Ju Zheng   | Huawei   |
 | imlidian  | Li Dian| Huawei   |
 | imlijinting   | Li Jinting | PICC |
-| jeremyxu2010  | Xu Xinjie  | Tencent 
+| jeremyxu2010  | Xu Xinjie  | Tencent  | 
 | jyseanl   | Sean Li| Pactera  |
 | KomachiSion   | Yang Yi| JD.com   |
 | laijianbin| Lai Jianbin|  |
 | lijasonvip| Li bo  |  |
 | Lionelpang| Pang Mingshi   |  |
 | liuzhenyang   ||  |
-| MabinGo   | Ma Bin | Huawei   |
 | maheshrajus   | Mahesh Raju Somalaraju |  |
 | mt-monster|| Huawei   |
 | oliugian  | Fu Chungen | Huawei   |
diff --git a/_developers/team.md b/_developers/team.md
index 57b3047..d33bf54 100644
--- a/_developers/team.md
+++ b/_developers/team.md
@@ -16,11 +16,13 @@ This page lists who we are. By all means add yourself to 
the list - lets sort it
 | - | --- | - |  |
 | acsukesh  |  Sukesh A C |  Huawei   |  *   |
 | asifdxtream   |  Mohammad Asif Siddiqui |  Huawei   |  *   |
+| chanjarster   |  Daniel Qian|  NewCapec |  |
 | cherrylzhao   |  Zhao Jun   |  JD.com   |  |
 | ericlee   |  Li Dagang (Eric)   |  Tencent  |  *   |
 | jbonofre  |  Jean-Baptiste Onofre   |  Talend   |  *   |
 | liubao68  |  Liu Bao|  Huawei   |  *   |
 | little-cui|  Cui Yihua  |  Huawei   |  *   |
+| mabin |  Ma Bin |  Huawei   |  *   |
 | ningjiang |  Jiang Ning (Willem)|  Huawei   |  *   |
 | rvs   |  Roman Shaposhnik   |  Stealth  |  *   |
 | seanyinx  |  Yin Xiang (Sean)   |  Syswin   |  *   |
@@ -40,18 +42,16 @@ This page lists who we are. By all means add yourself to 
the list - lets sort it
 | Github ID | Name   | Organization |
 | - | -- |  |
 | aseTo2016 ||  |
-| chanjarster   | Daniel Qian| SupWisdom|
 | crystaldust   | Ju Zheng   | Huawei   |
 | imlidian  | Li Dian| Huawei   |
 | imlijinting   | Li Jinting | PICC |
-| jeremyxu2010  | Xu Xinjie  | Tencent 
+| jeremyxu2010  | Xu Xinjie  | Tencent  |
 | jyseanl   | Sean Li| Pactera  |
 | KomachiSion   | Yang Yi| JD.com   |
 | laijianbin| Lai Jianbin

[GitHub] [servicecomb-website] WillemJiang merged pull request #214: update team page

2019-11-11 Thread GitBox
WillemJiang merged pull request #214: update team page
URL: https://github.com/apache/servicecomb-website/pull/214
 
 
   


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] liubao68 commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations

2019-11-11 Thread GitBox
liubao68 commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1373#issuecomment-552722761
 
 
   Can you provide the download information and error? I tried to delete 
jackson and download successfully. (BTW, I use a maven mirror provided by 
huawei, because a frequently network errors will happen using maven central)
   
   ```

huaweicloud
*
https://repo.huaweicloud.com/repository/maven/
 
   ```


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] Nick-The-Uncharted commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations

2019-11-11 Thread GitBox
Nick-The-Uncharted commented on issue #1373: Maven依赖有问题 无法正确依赖 
jackson-annotations
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1373#issuecomment-552721545
 
 
   Thats not code error, its maven dependency issue, if you clone this project 
in a whole new environment (or just delete your local repo) it wont compile 
because somehow it refuse to download com.fasterxml.jackson.core.


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] liubao68 commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations

2019-11-11 Thread GitBox
liubao68 commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1373#issuecomment-552720217
 
 
   mvn install only install artifacts to local repository. and mvn will connect 
external repositories to download 3rdparty dependencies.  
   
   It seams you are compiling java-chassis, and we compile this project every 
day, It's not possible that some code error. 
   


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] liubao68 commented on issue #1359: ServiceComb Java-Chassis 1.2.1版本RestServletInitializer的onStartup方法需要增加factory的对象null判断

2019-11-11 Thread GitBox
liubao68 commented on issue #1359: ServiceComb Java-Chassis 
1.2.1版本RestServletInitializer的onStartup方法需要增加factory的对象null判断
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1359#issuecomment-552717979
 
 
   Do you find the cause that is because some error throws? I am not using 
spring boot in external tomcat, and just searched some explain on web. Seams a 
bit complicated. 
   
   This is [what I 
got](https://dzone.com/articles/spring-boot-with-external-tomcat). 
   
   Running serviceomb in servlet context, you need refer to [service comb 
servlet 
transport](https://docs.servicecomb.io/java-chassis/zh_CN/transports/rest-over-servlet.html)
   
   
   


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] Nick-The-Uncharted commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations

2019-11-11 Thread GitBox
Nick-The-Uncharted commented on issue #1373: Maven依赖有问题 无法正确依赖 
jackson-annotations
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1373#issuecomment-552716952
 
 
   Just following the instrutions of 
[quick-start](http://servicecomb.apache.org/docs/quick-start/) to compile the 
whole project. And I am sure that my maven setting is corrent or I wont be able 
to run mvn install com.fasterxml.jackson.core. 


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] liubao68 commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations

2019-11-11 Thread GitBox
liubao68 commented on issue #1373: Maven依赖有问题 无法正确依赖 jackson-annotations
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1373#issuecomment-552715978
 
 
   Which project are you compiling?  Maybe your network can not access some 
common maven repositories or maven settings is not correct. 


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] liubao68 commented on issue #1377: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'producerProviderManager':

2019-11-11 Thread GitBox
liubao68 commented on issue #1377: 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'producerProviderManager':
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1377#issuecomment-552709963
 
 
   You can use 
   ```
   mvn dependency:tree 
   ```
   to check the dependencies for guava. Maybe you used some old version of 
guava that is not compatible. 
   
   Then fix it by adding dependency management to use the correct version.


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-website] chanjarster opened a new pull request #214: update team page

2019-11-11 Thread GitBox
chanjarster opened a new pull request #214: update team page
URL: https://github.com/apache/servicecomb-website/pull/214
 
 
   


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-toolkit] WillemJiang merged pull request #45: SCB-1570 Translate javadocs of oas-validator

2019-11-11 Thread GitBox
WillemJiang merged pull request #45: SCB-1570 Translate javadocs of 
oas-validator
URL: https://github.com/apache/servicecomb-toolkit/pull/45
 
 
   


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-toolkit] 01/02: SCB-1570 Translate javadocs of oas-validator

2019-11-11 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-toolkit.git

commit 32f044cff007005c08abcb782b2ddcba69112b4c
Author: Daniel Qian 
AuthorDate: Sat Nov 9 17:10:35 2019 +0800

SCB-1570 Translate javadocs of oas-validator
---
 ...derAddInRequestBodyNotAllowedDiffValidator.java |  2 +-
 ...HeaderDelInResponseNotAllowedDiffValidator.java |  2 +-
 ...aTypeAddInParameterNotAllowedDiffValidator.java |  2 +-
 ...aTypeDelInParameterNotAllowedDiffValidator.java |  2 +-
 ...ypeDelInRequestBodyNotAllowedDiffValidator.java |  2 +-
 ...iaTypeDelInResponseNotAllowedDiffValidator.java |  2 +-
 ...arameterAllowEmptyValueChangeDiffValidator.java |  2 +-
 .../ParameterAllowReservedChangeDiffValidator.java |  2 +-
 .../ParameterRequiredChangeDiffValidator.java  |  2 +-
 .../RequestBodyRequiredChangeDiffValidator.java|  2 +-
 .../ResponseAddNotAllowedDiffValidator.java|  2 +-
 .../header/HeaderDescriptionRequiredValidator.java |  4 ++--
 .../info/InfoDescriptionRequiredValidator.java |  6 ++---
 .../openapi/OpenApiSecurityEmptyValidator.java |  2 +-
 .../openapi/OpenApiTagNotEmptyValidator.java   |  5 ++--
 .../validator/openapi/OpenApiVersionValidator.java |  4 ++--
 .../OperationIdLowerCamelCaseValidator.java|  4 +++-
 .../operation/OperationServersEmptyValidator.java  |  2 +-
 .../OperationSummaryRequiredValidator.java |  4 ++--
 .../operation/OperationTagsOnlyOneValidator.java   |  5 ++--
 .../operation/OperationTagsReferenceValidator.java |  4 ++--
 .../ParameterCookieLowerCamelCaseValidator.java|  4 ++--
 .../ParameterDescriptionRequiredValidator.java |  4 ++--
 .../ParameterHeaderUpperHyphenCaseValidator.java   |  4 ++--
 .../ParameterPathLowerCamelCaseValidator.java  |  4 ++--
 .../ParameterQueryLowerCamelCaseValidator.java |  4 ++--
 .../paths/PathsLowerCamelCaseValidator.java|  9 +--
 .../RequestBodyDescriptionRequiredValidator.java   |  4 ++--
 .../validator/schema/SchemaTitleValidator.java |  8 ---
 .../tag/TagDescriptionRequiredValidator.java   |  4 ++--
 .../tag/TagNameUpperCamelCaseValidator.java|  4 ++--
 .../validator/tag/TagReferenceValidator.java   |  7 --
 .../config/OasValidatorsSkeletonConfiguration.java |  4 +++-
 .../toolkit/oasv/common/OasObjectProperty.java |  6 ++---
 .../oasv/common/OasObjectPropertyLocation.java | 28 --
 .../toolkit/oasv/common/OasObjectType.java |  4 ++--
 .../oasv/diffvalidation/api/OasDiffViolation.java  |  4 ++--
 .../diffvalidation/api/OasObjectDiffValidator.java | 18 +++---
 .../api/OasObjectDiffValidatorTemplate.java|  7 +++---
 .../diffvalidation/api/OasSpecDiffValidator.java   |  2 +-
 .../api/ObjectPropertyDiffValidator.java   |  8 +++
 .../diffvalidation/api/SchemaAddValidator.java |  4 ++--
 .../diffvalidation/api/SchemaCompareValidator.java |  6 ++---
 .../diffvalidation/api/SchemaDelValidator.java |  4 ++--
 .../skeleton/schema/SchemaDiffValidatorEngine.java |  3 ++-
 .../util/OasObjectDiffValidatorUtils.java  |  2 +-
 .../oasv/validation/api/CallbackValidator.java |  2 +-
 .../oasv/validation/api/ComponentsValidator.java   |  2 +-
 .../oasv/validation/api/EncodingValidator.java |  2 +-
 .../oasv/validation/api/ExampleValidator.java  |  2 +-
 .../oasv/validation/api/HeaderValidator.java   |  2 +-
 .../toolkit/oasv/validation/api/InfoValidator.java |  2 +-
 .../toolkit/oasv/validation/api/LinkValidator.java |  2 +-
 .../oasv/validation/api/MediaTypeValidator.java|  2 +-
 .../oasv/validation/api/OasObjectValidator.java|  9 ---
 .../oasv/validation/api/OasSpecValidator.java  |  2 +-
 .../oasv/validation/api/OasValidationContext.java  |  3 +++
 .../toolkit/oasv/validation/api/OasViolation.java  |  6 ++---
 .../api/ObjectPropertyRequiredValidator.java   | 12 ++
 .../validation/api/ObjectPropertyValidator.java|  6 ++---
 .../oasv/validation/api/OpenApiValidator.java  |  2 +-
 .../oasv/validation/api/OperationValidator.java|  2 +-
 .../oasv/validation/api/ParameterValidator.java|  2 +-
 .../oasv/validation/api/PathItemValidator.java |  2 +-
 .../oasv/validation/api/PathsValidator.java|  2 +-
 .../oasv/validation/api/RequestBodyValidator.java  |  2 +-
 .../oasv/validation/api/ResponseValidator.java |  2 +-
 .../oasv/validation/api/ResponsesValidator.java|  2 +-
 .../oasv/validation/api/SchemaValidator.java   |  2 +-
 .../validation/api/SecuritySchemeValidator.java|  2 +-
 .../oasv/validation/api/ServerValidator.java   |  2 +-
 .../toolkit/oasv/validation/api/TagValidator.java  |  2 +-
 .../ComponentsCallbacksKeysValidator.java  |  2 +-
 .../ComponentsExamplesKeysValidator.java   |  2 +-
 .../encoding/EncodingHeadersKeysValidator.java |  2 +-
 

[servicecomb-toolkit] 02/02: SCB-1570 Translate javadocs of oas-validator Fix gramma errors

2019-11-11 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-toolkit.git

commit 58f2962c29d82959fe3dd5fa0af3ddcb2ee05320
Author: Daniel Qian 
AuthorDate: Mon Nov 11 13:18:40 2019 +0800

SCB-1570 Translate javadocs of oas-validator
Fix gramma errors
---
 .../header/HeaderAddInRequestBodyNotAllowedDiffValidator.java | 2 +-
 .../validators/header/HeaderDelInResponseNotAllowedDiffValidator.java | 2 +-
 .../mediatype/MediaTypeAddInParameterNotAllowedDiffValidator.java | 2 +-
 .../mediatype/MediaTypeDelInParameterNotAllowedDiffValidator.java | 2 +-
 .../mediatype/MediaTypeDelInRequestBodyNotAllowedDiffValidator.java   | 2 +-
 .../mediatype/MediaTypeDelInResponseNotAllowedDiffValidator.java  | 2 +-
 .../validators/response/ResponseAddNotAllowedDiffValidator.java   | 2 +-
 .../validators/schema/request/SchemaEnumChangeInRequestValidator.java | 2 +-
 .../schema/request/SchemaRequiredChangeInRequestValidator.java| 2 +-
 .../schema/response/SchemaEnumChangeInResponseValidator.java  | 2 +-
 .../schema/response/SchemaRequiredChangeInResponseValidator.java  | 2 +-
 .../oasv/diffvalidation/api/OasObjectDiffValidatorTemplate.java   | 4 ++--
 .../toolkit/oasv/diffvalidation/api/SchemaDelValidator.java   | 2 +-
 13 files changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderAddInRequestBodyNotAllowedDiffValidator.java
 
b/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderAddInRequestBodyNotAllowedDiffValidator.java
index 47ba5d1..8f3eec1 100755
--- 
a/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderAddInRequestBodyNotAllowedDiffValidator.java
+++ 
b/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderAddInRequestBodyNotAllowedDiffValidator.java
@@ -28,7 +28,7 @@ import static java.util.Collections.emptyList;
 import static java.util.Collections.singletonList;
 
 /**
- * Add Header Object under 
requestBody.content.'mediaType'.encoding.'encoding'.headers is not allowed
+ * Adding Header Object under 
requestBody.content.'mediaType'.encoding.'encoding'.headers is not allowed
  */
 public class HeaderAddInRequestBodyNotAllowedDiffValidator extends 
OasObjectDiffValidatorTemplate
   implements HeaderDiffValidator {
diff --git 
a/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderDelInResponseNotAllowedDiffValidator.java
 
b/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderDelInResponseNotAllowedDiffValidator.java
index a509ef8..f48f541 100755
--- 
a/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderDelInResponseNotAllowedDiffValidator.java
+++ 
b/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/header/HeaderDelInResponseNotAllowedDiffValidator.java
@@ -28,7 +28,7 @@ import static java.util.Collections.emptyList;
 import static java.util.Collections.singletonList;
 
 /**
- * Delete Header Object under responses.'response'.headers.headers is not 
allowed
+ * Deleting Header Object under responses.'response'.headers.headers is not 
allowed
  */
 public class HeaderDelInResponseNotAllowedDiffValidator extends 
OasObjectDiffValidatorTemplate
   implements HeaderDiffValidator {
diff --git 
a/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/mediatype/MediaTypeAddInParameterNotAllowedDiffValidator.java
 
b/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/mediatype/MediaTypeAddInParameterNotAllowedDiffValidator.java
index fb6a533..ab7ba00 100755
--- 
a/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/mediatype/MediaTypeAddInParameterNotAllowedDiffValidator.java
+++ 
b/oas-validator/oas-validator-compatibility/src/main/java/org/apache/servicecomb/toolkit/oasv/compatibility/validators/mediatype/MediaTypeAddInParameterNotAllowedDiffValidator.java
@@ -28,7 +28,7 @@ import static java.util.Collections.emptyList;
 import static java.util.Collections.singletonList;
 
 /**
- * Add MediaType Object under Parameter.content is not allowed
+ * Adding MediaType Object under Parameter.content is not allowed
  */
 public class MediaTypeAddInParameterNotAllowedDiffValidator
   extends 

[servicecomb-toolkit] branch master updated (61e002c -> 58f2962)

2019-11-11 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-toolkit.git.


from 61e002c  SCB-1579 Translate oas-validator readme
 new 32f044c  SCB-1570 Translate javadocs of oas-validator
 new 58f2962  SCB-1570 Translate javadocs of oas-validator Fix gramma errors

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:
 ...derAddInRequestBodyNotAllowedDiffValidator.java |  2 +-
 ...HeaderDelInResponseNotAllowedDiffValidator.java |  2 +-
 ...aTypeAddInParameterNotAllowedDiffValidator.java |  2 +-
 ...aTypeDelInParameterNotAllowedDiffValidator.java |  2 +-
 ...ypeDelInRequestBodyNotAllowedDiffValidator.java |  2 +-
 ...iaTypeDelInResponseNotAllowedDiffValidator.java |  2 +-
 ...arameterAllowEmptyValueChangeDiffValidator.java |  2 +-
 .../ParameterAllowReservedChangeDiffValidator.java |  2 +-
 .../ParameterRequiredChangeDiffValidator.java  |  2 +-
 .../RequestBodyRequiredChangeDiffValidator.java|  2 +-
 .../ResponseAddNotAllowedDiffValidator.java|  2 +-
 .../SchemaEnumChangeInRequestValidator.java|  2 +-
 .../SchemaRequiredChangeInRequestValidator.java|  2 +-
 .../SchemaEnumChangeInResponseValidator.java   |  2 +-
 .../SchemaRequiredChangeInResponseValidator.java   |  2 +-
 .../header/HeaderDescriptionRequiredValidator.java |  4 ++--
 .../info/InfoDescriptionRequiredValidator.java |  6 ++---
 .../openapi/OpenApiSecurityEmptyValidator.java |  2 +-
 .../openapi/OpenApiTagNotEmptyValidator.java   |  5 ++--
 .../validator/openapi/OpenApiVersionValidator.java |  4 ++--
 .../OperationIdLowerCamelCaseValidator.java|  4 +++-
 .../operation/OperationServersEmptyValidator.java  |  2 +-
 .../OperationSummaryRequiredValidator.java |  4 ++--
 .../operation/OperationTagsOnlyOneValidator.java   |  5 ++--
 .../operation/OperationTagsReferenceValidator.java |  4 ++--
 .../ParameterCookieLowerCamelCaseValidator.java|  4 ++--
 .../ParameterDescriptionRequiredValidator.java |  4 ++--
 .../ParameterHeaderUpperHyphenCaseValidator.java   |  4 ++--
 .../ParameterPathLowerCamelCaseValidator.java  |  4 ++--
 .../ParameterQueryLowerCamelCaseValidator.java |  4 ++--
 .../paths/PathsLowerCamelCaseValidator.java|  9 +--
 .../RequestBodyDescriptionRequiredValidator.java   |  4 ++--
 .../validator/schema/SchemaTitleValidator.java |  8 ---
 .../tag/TagDescriptionRequiredValidator.java   |  4 ++--
 .../tag/TagNameUpperCamelCaseValidator.java|  4 ++--
 .../validator/tag/TagReferenceValidator.java   |  7 --
 .../config/OasValidatorsSkeletonConfiguration.java |  4 +++-
 .../toolkit/oasv/common/OasObjectProperty.java |  6 ++---
 .../oasv/common/OasObjectPropertyLocation.java | 28 --
 .../toolkit/oasv/common/OasObjectType.java |  4 ++--
 .../oasv/diffvalidation/api/OasDiffViolation.java  |  4 ++--
 .../diffvalidation/api/OasObjectDiffValidator.java | 18 +++---
 .../api/OasObjectDiffValidatorTemplate.java|  7 +++---
 .../diffvalidation/api/OasSpecDiffValidator.java   |  2 +-
 .../api/ObjectPropertyDiffValidator.java   |  8 +++
 .../diffvalidation/api/SchemaAddValidator.java |  4 ++--
 .../diffvalidation/api/SchemaCompareValidator.java |  6 ++---
 .../diffvalidation/api/SchemaDelValidator.java |  4 ++--
 .../skeleton/schema/SchemaDiffValidatorEngine.java |  3 ++-
 .../util/OasObjectDiffValidatorUtils.java  |  2 +-
 .../oasv/validation/api/CallbackValidator.java |  2 +-
 .../oasv/validation/api/ComponentsValidator.java   |  2 +-
 .../oasv/validation/api/EncodingValidator.java |  2 +-
 .../oasv/validation/api/ExampleValidator.java  |  2 +-
 .../oasv/validation/api/HeaderValidator.java   |  2 +-
 .../toolkit/oasv/validation/api/InfoValidator.java |  2 +-
 .../toolkit/oasv/validation/api/LinkValidator.java |  2 +-
 .../oasv/validation/api/MediaTypeValidator.java|  2 +-
 .../oasv/validation/api/OasObjectValidator.java|  9 ---
 .../oasv/validation/api/OasSpecValidator.java  |  2 +-
 .../oasv/validation/api/OasValidationContext.java  |  3 +++
 .../toolkit/oasv/validation/api/OasViolation.java  |  6 ++---
 .../api/ObjectPropertyRequiredValidator.java   | 12 ++
 .../validation/api/ObjectPropertyValidator.java|  6 ++---
 .../oasv/validation/api/OpenApiValidator.java  |  2 +-
 .../oasv/validation/api/OperationValidator.java|  2 +-
 .../oasv/validation/api/ParameterValidator.java|  2 +-
 .../oasv/validation/api/PathItemValidator.java |  2 +-
 .../oasv/validation/api/PathsValidator.java|  2 +-
 .../oasv/validation/api/RequestBodyValidator.java  |  2 +-
 

[GitHub] [servicecomb-pack] WillemJiang commented on issue #335: 异步补偿性能问题

2019-11-11 Thread GitBox
WillemJiang commented on issue #335: 异步补偿性能问题
URL: 
https://github.com/apache/servicecomb-pack/issues/335#issuecomment-552424506
 
 
   由于问题时间过长,我们先关闭问题,如果想继续讨论可以随时打开。


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 closed issue #335: 异步补偿性能问题

2019-11-11 Thread GitBox
WillemJiang closed issue #335: 异步补偿性能问题
URL: https://github.com/apache/servicecomb-pack/issues/335
 
 
   


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 commented on issue #588: 超時場景下 Failed to process grpc coordinate command

2019-11-11 Thread GitBox
WillemJiang commented on issue #588: 超時場景下 Failed to process grpc coordinate 
command
URL: 
https://github.com/apache/servicecomb-pack/issues/588#issuecomment-552423038
 
 
   Add   a link of #346  which relates to this 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-pack] WillemJiang closed issue #429: 如何通过ES溯源业务流程

2019-11-11 Thread GitBox
WillemJiang closed issue #429: 如何通过ES溯源业务流程
URL: https://github.com/apache/servicecomb-pack/issues/429
 
 
   


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 commented on issue #588: 超時場景下 Failed to process grpc coordinate command

2019-11-11 Thread GitBox
WillemJiang commented on issue #588: 超時場景下 Failed to process grpc coordinate 
command
URL: 
https://github.com/apache/servicecomb-pack/issues/588#issuecomment-552422024
 
 
   > > 我觉得Cancel方法返回参数应该影响。
   > 
   > 感謝各位的指導,但補償不是必須滿足幕等的條件嗎 ?
   > 那該怎麼設計補償呢 ?
   > 謝謝
   大概有两种方式实现:
   1. 
补偿可以通过软删除的方式,通过设置cancel值来进行。具体可以参加我们的[demo](https://github.com/apache/servicecomb-pack/tree/master/demo/saga-spring-demo)
   
   2. 这块可以通过全局事务ID和本地事务ID作为Key 在数据库中做相关的判断。 一般来说我们可以把事务执行的上下文存储到数据库中, 
在恢复的过程中通过读取这些上下文进行相关的恢复。如果已经恢复成功,则不需要修改原始数据。
   


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 edited a comment on issue #588: 超時場景下 Failed to process grpc coordinate command

2019-11-11 Thread GitBox
WillemJiang edited a comment on issue #588: 超時場景下 Failed to process grpc 
coordinate command
URL: 
https://github.com/apache/servicecomb-pack/issues/588#issuecomment-552335705
 
 
   我觉得Cancel方法返回参数应该不会有影响。
   


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 commented on issue #350: saga service stop?How to solve it( with spring cloud 2.0 test version)

2019-11-11 Thread GitBox
WillemJiang commented on issue #350: saga service stop?How to solve it( with 
spring cloud 2.0 test version)
URL: 
https://github.com/apache/servicecomb-pack/issues/350#issuecomment-552419366
 
 
   ServiceComb Pack is using spring-boot-2 by default, so I close this issue.
   Please reopen it if you still hit this kind of 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-pack] WillemJiang closed issue #350: saga service stop?How to solve it( with spring cloud 2.0 test version)

2019-11-11 Thread GitBox
WillemJiang closed issue #350: saga service stop?How to solve it( with spring 
cloud 2.0 test version)
URL: https://github.com/apache/servicecomb-pack/issues/350
 
 
   


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 commented on issue #589: servicecomb的向前恢复和逆向补偿不可兼得吗?

2019-11-11 Thread GitBox
WillemJiang commented on issue #589: servicecomb的向前恢复和逆向补偿不可兼得吗?
URL: 
https://github.com/apache/servicecomb-pack/issues/589#issuecomment-552418436
 
 
   @gene1101 感谢提醒,kyro 序列化库的要求这块我们是需要在文档中进行标注。我这里建了一个JIRA 
[SCB-1583](https://issues.apache.org/jira/browse/SCB-1583)来跟这个问题。 
   
   我这边有一个问题,就是Alpha端报 io.grpc.StatusRuntimeException: CANCELLED: call already 
cancelled, 这个异常是否和kyro反序列化失败相关。


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] zaneChou1 commented on a change in pull request #1379: [SCB-1574] Add README for Kie-Client

2019-11-11 Thread GitBox
zaneChou1 commented on a change in pull request #1379: [SCB-1574] Add README 
for Kie-Client
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1379#discussion_r344678784
 
 

 ##
 File path: client/kie-client/README.md
 ##
 @@ -0,0 +1,80 @@
+## ServiceComb-Kie Client for Java
+
+   Sample Java client for ServiceComb-Kie HTTP OPENAPI. If you want more 
information about the ServiceComb-Kie, go 
[here](https://github.com/apache/servicecomb-kie).
+   
+### Build & Install
+   
+   local Build from source:
+   ```
+maven clean install
+   ```
+   
+   add dependency to maven:
+   ```
+
+org.apache.servicecomb
+kie-client
+2.0.0-SNAPSHOT
+
+   ```
+
+
+### Basic Usage
+
+ Case 1: Create value of a key
+```
+KieClient kieClient = new KieClient();
 
 Review comment:
   Thanks for your comments. I have added a case for setting host and port.


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] whitemeng commented on issue #588: 超時場景下 Failed to process grpc coordinate command

2019-11-11 Thread GitBox
whitemeng commented on issue #588: 超時場景下 Failed to process grpc coordinate 
command
URL: 
https://github.com/apache/servicecomb-pack/issues/588#issuecomment-552381890
 
 
   > @whitemeng 有包含所有代码及配置文件的工程可以共享吗?这样可以方便我们在本地重现这个错误。
   
   
   alpha-server 0.6.0 非狀態機模式
   感謝 !
   [saga.zip](https://github.com/apache/servicecomb-pack/files/3830796/saga.zip)
   


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] zhfeng commented on issue #588: 超時場景下 Failed to process grpc coordinate command

2019-11-11 Thread GitBox
zhfeng commented on issue #588: 超時場景下 Failed to process grpc coordinate command
URL: 
https://github.com/apache/servicecomb-pack/issues/588#issuecomment-552358114
 
 
   @whitemeng 有包含所有代码及配置文件的工程可以共享吗?这样可以方便我们在本地重现这个错误。


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] whitemeng commented on issue #588: 超時場景下 Failed to process grpc coordinate command

2019-11-11 Thread GitBox
whitemeng commented on issue #588: 超時場景下 Failed to process grpc coordinate 
command
URL: 
https://github.com/apache/servicecomb-pack/issues/588#issuecomment-552356401
 
 
   測試把返回參數取消
   
![image](https://user-images.githubusercontent.com/47801046/68574991-1dd80500-04a6-11ea-811e-6a341418087e.png)
   
   serviceB 的 console log 如下,依然會重新連 alpha-server
   
   2019-11-11 17:08:32.265 DEBUG 11860 --- [nio-9001-exec-1] 
o.a.s.p.o.transaction.TransactionAspect  : Updated context 
OmegaContext{globalTxId=97425bdb-ecf1-4b92-b381-56c69a8186d4, 
localTxId=c5a38362-3c99-4982-a0d9-b81f817cb2c0, alphaFeatureAkkaEnabled=false} 
for compensable method public void 
com.example.microserviceB.service.BasicService.getNames() 
   2019-11-11 17:08:32.270 DEBUG 11860 --- [nio-9001-exec-1] 
o.a.s.p.o.transaction.DefaultRecovery: Intercepting compensable method 
public void com.example.microserviceB.service.BasicService.getNames() with 
context OmegaContext{globalTxId=97425bdb-ecf1-4b92-b381-56c69a8186d4, 
localTxId=c5a38362-3c99-4982-a0d9-b81f817cb2c0, alphaFeatureAkkaEnabled=false}
   2019-11-11 17:08:37.271  WARN 11860 --- [  probe] 
o.a.s.p.o.t.wrapper.TimeoutProb  : Thread interrupted on 5001ms timeout 
(over 5000ms)
   2019-11-11 17:08:37.280 ERROR 11860 --- [nio-9001-exec-1] 
o.a.s.p.o.c.g.c.LoadBalanceSenderAdapter : Retry sending event 
TxEndedEvent{globalTxId='97425bdb-ecf1-4b92-b381-56c69a8186d4', 
localTxId='c5a38362-3c99-4982-a0d9-b81f817cb2c0', 
parentTxId='97425bdb-ecf1-4b92-b381-56c69a8186d4', compensationMethod='public 
void com.example.microserviceB.service.BasicService.cancel()', timeout=0, 
retryMethod='', retries=0, payloads=[]} due to failure
   
   io.grpc.StatusRuntimeException: CANCELLED: Call was interrupted
at io.grpc.Status.asRuntimeException(Status.java:517) 
~[grpc-core-1.14.0.jar:1.14.0]
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:129) 
~[grpc-stub-1.14.0.jar:1.14.0]
at 
org.apache.servicecomb.pack.contract.grpc.TxEventServiceGrpc$TxEventServiceBlockingStub.onTxEvent(TxEventServiceGrpc.java:273)
 ~[pack-contract-grpc-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.connector.grpc.saga.GrpcSagaClientMessageSender.send(GrpcSagaClientMessageSender.java:90)
 ~[omega-connector-grpc-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.connector.grpc.saga.SagaLoadBalanceSender$1.apply(SagaLoadBalanceSender.java:45)
 ~[omega-connector-grpc-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.connector.grpc.saga.SagaLoadBalanceSender$1.apply(SagaLoadBalanceSender.java:42)
 ~[omega-connector-grpc-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.connector.grpc.core.LoadBalanceSenderAdapter.doGrpcSend(LoadBalanceSenderAdapter.java:54)
 ~[omega-connector-grpc-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.connector.grpc.saga.SagaLoadBalanceSender.send(SagaLoadBalanceSender.java:42)
 ~[omega-connector-grpc-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.transaction.CompensableInterceptor.postIntercept(CompensableInterceptor.java:40)
 ~[omega-transaction-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.transaction.DefaultRecovery.applyTo(DefaultRecovery.java:70)
 ~[omega-transaction-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.transaction.wrapper.RecoveryPolicyTimeoutWrapper.applyTo(RecoveryPolicyTimeoutWrapper.java:111)
 ~[omega-transaction-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.transaction.AbstractRecoveryPolicy.apply(AbstractRecoveryPolicy.java:38)
 ~[omega-transaction-0.5.0.jar:0.5.0]
at 
org.apache.servicecomb.pack.omega.transaction.TransactionAspect.advise(TransactionAspect.java:66)
 ~[omega-transaction-0.5.0.jar:0.5.0]
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:na]
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 ~[na:na]
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:567) ~[na:na]
at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
 ~[spring-aop-5.1.10.RELEASE.jar:5.1.10.RELEASE]
at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
 ~[spring-aop-5.1.10.RELEASE.jar:5.1.10.RELEASE]
at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
 ~[spring-aop-5.1.10.RELEASE.jar:5.1.10.RELEASE]
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
 ~[spring-aop-5.1.10.RELEASE.jar:5.1.10.RELEASE]
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
 

[GitHub] [servicecomb-java-chassis] coveralls edited a comment on issue #1379: [SCB-1574] Add README for Kie-Client

2019-11-11 Thread GitBox
coveralls edited a comment on issue #1379: [SCB-1574] Add README for Kie-Client
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1379#issuecomment-552082188
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/26902000/badge)](https://coveralls.io/builds/26902000)
   
   Coverage increased (+0.003%) to 85.495% when pulling 
**54e4dd72d0e7ce3c2d1850f2376377d9423818b7 on zaneChou1:addREADME** into 
**be1b0bbb36c4467cea68fd4b2a16daa6202e3efe on apache: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-java-chassis] coveralls edited a comment on issue #1379: [SCB-1574] Add README for Kie-Client

2019-11-11 Thread GitBox
coveralls edited a comment on issue #1379: [SCB-1574] Add README for Kie-Client
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1379#issuecomment-552082188
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/26901905/badge)](https://coveralls.io/builds/26901905)
   
   Coverage decreased (-0.009%) to 85.484% when pulling 
**54e4dd72d0e7ce3c2d1850f2376377d9423818b7 on zaneChou1:addREADME** into 
**be1b0bbb36c4467cea68fd4b2a16daa6202e3efe on apache: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] whitemeng commented on issue #588: 超時場景下 Failed to process grpc coordinate command

2019-11-11 Thread GitBox
whitemeng commented on issue #588: 超時場景下 Failed to process grpc coordinate 
command
URL: 
https://github.com/apache/servicecomb-pack/issues/588#issuecomment-552347686
 
 
   > 我觉得Cancel方法返回参数应该影响。
   
   感謝各位的指導,但補償不是必須滿足幕等的條件嗎 ?
   那該怎麼設計補償呢 ?
   謝謝


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] whitemeng commented on issue #590: 事务失败后做补偿操作(cancel)抛异常,事务结束

2019-11-11 Thread GitBox
whitemeng commented on issue #590: 事务失败后做补偿操作(cancel)抛异常,事务结束
URL: 
https://github.com/apache/servicecomb-pack/issues/590#issuecomment-552342936
 
 
   > > alpha 基於 db 或 狀態機 部屬,這兩個差異在哪?
   > 
   > 
状态机模式底层基于Akka,在集群部署的时候可以基于服务分片获取更好的性能,另外在事务终止后事务的数据会存储到ES中,同时提供了一个新的UI可以进行查看。
   > 
   > > alpha 要如何配置為狀態機模式 ?
   > 
   > 0.5.0版本的时候需要在alpha和omega启动的时候都增加 `alpha.feature.akka.enabled=true` 
参数,当前主干的 0.6.0版本则不需要在 omega端加这个参数,具体细节你可以看 
https://github.com/apache/servicecomb-pack/blob/master/docs/fsm/fsm_manual.md
   > 
   > > 狀態機模式是否就不需要 db 了 ?
   > 
   > 目前只提供saga的状态机模式选择,tcc还是基于db的,所以还是需要db。
   
   
   了解,感謝


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] gene1101 commented on issue #589: servicecomb的向前恢复和逆向补偿不可兼得吗?

2019-11-11 Thread GitBox
gene1101 commented on issue #589: servicecomb的向前恢复和逆向补偿不可兼得吗?
URL: 
https://github.com/apache/servicecomb-pack/issues/589#issuecomment-552334071
 
 
   > > > 抱歉,我对 Kyro 
序列化的细节不是太了解,但是我记得序列化只用于在Omega和Alpha之间传递框架内固定的几个事件对象,你能提供进一步细节吗
   > > 
   > > 
   > > 
我看了服务框架,kyro用于将加了补偿注解的方法的参数序列化,然后作为事件的payload发送到alpha,最后持久化到db,然后补偿的时候,通过grpc,把事件转换的命令推回给omega端(之前上报的payload作为输入),此时,omega会序列化推回的payload,转换为补偿方法调用的入参,这也是你们为什么要求补偿方法和标识的业务逻辑方法函数签名一样的原因,如果这些函数签名的入参对象,如果是没有无参构造器的话,kyro是无法反序列化的,
 会导致无法执行补偿命令。
   > > 
![image](https://user-images.githubusercontent.com/15373196/68567976-486d9200-0495-11ea-8a35-79c5133e5af6.png)
   > 
   > 
明白了,你可以在补偿方法里通过omegaContext.globalTxId()和omegaContext.localTxId()可得到当前分布式事务的全局事务ID及本地事务ID,根据这个ID在去获取你补偿需要的参数,这可能需要业务系统做一些工作。
   
   其实我是想表达,你们的readme里要补充一下,
   
![image](https://user-images.githubusercontent.com/15373196/68570721-465b0180-049c-11ea-9e98-5430c4a6bad9.png)
  这些方法参数需要是有无参构造器的类。这是你们框架选择了kyro作为序列化库带来的潜规则了。
   


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