[jira] [Created] (SCB-793) run it-consumer with docker during travis CI

2018-07-31 Thread wujimin (JIRA)
wujimin created SCB-793:
---

 Summary: run it-consumer with docker during travis CI 
 Key: SCB-793
 URL: https://issues.apache.org/jira/browse/SCB-793
 Project: Apache ServiceComb
  Issue Type: Sub-task
  Components: Java-Chassis
Reporter: wujimin
Assignee: wujimin
 Fix For: java-chassis-1.1.0






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (SCB-683) change all demo/integration test/sample, remove Log4jUtils.init, default to use logback

2018-07-31 Thread Li Qiang (ChangHong) (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCB-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Qiang (ChangHong) reassigned SCB-683:


Assignee: Li Qiang (ChangHong)

> change all demo/integration test/sample, remove Log4jUtils.init, default to 
> use logback
> ---
>
> Key: SCB-683
> URL: https://issues.apache.org/jira/browse/SCB-683
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Java-Chassis
>Reporter: wujimin
>Assignee: Li Qiang (ChangHong)
>Priority: Major
>  Labels: newbie
>
> and set default log level to info.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-785) Cannot get the GlobalTxId and LocalTxId in the compensation method

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16564186#comment-16564186
 ] 

ASF GitHub Bot commented on SCB-785:


coveralls commented on issue #232: [SCB-785] 支持在补偿方法里得到当前分布式事务的全局事务ID及本地事务ID
URL: 
https://github.com/apache/incubator-servicecomb-saga/pull/232#issuecomment-409328118
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/18255177/badge)](https://coveralls.io/builds/18255177)
   
   Coverage decreased (-0.1%) to 94.015% when pulling 
**b1c3fb9b0b36315d441d95d3fadb11a9f56fdc92 on jeremyxu2010:master** into 
**3f5c38a146982a04ed2b17759309de3e14f8c5ab on apache:master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Cannot get the GlobalTxId and LocalTxId in the compensation method
> --
>
> Key: SCB-785
> URL: https://issues.apache.org/jira/browse/SCB-785
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Saga
>Affects Versions: saga-0.2.0
>Reporter: Jeremy Xu
>Priority: Minor
> Fix For: saga-0.3.0
>
>
> 补偿方法里无法获取分布式事务的全局事务ID及本地事务ID
> 因为在子事务业务处理方法中会将一部分中间数据存入外部缓存中,对应的补偿方法将可以通过这些中间数据进行合理的补偿操作,当时存入中间数据时会附带上globalTxId,
>  localTxId,后面将根据这个查找到之前存入的中间数据。但发现在业务方法中可以获取分布式事务的全局事务ID及本地事务ID,但对应的补偿方法里却不行。
> Customer may want to access the globalTxId and LocalTxId in application to 
> store these information into DB for the recovery. 
> 示例代码如下:
>  
> {code:java}
> @Autowired
> OmegaContext omegaContext;
> @Compensable(timeout=5, compensationMethod="cancel")
> public boolean transferOut(String from, int amount) {
>   // 这里可以获得
>   System.out.println(omegaContext.globalTxId());
>   System.out.println(omegaContext.localTxId());
>   repo.reduceBalanceByUsername(from, amount);
> }
> public boolean cancel(String from, int amount) {
>   // 这里不可以获得
>   System.out.println(omegaContext.globalTxId());
>   System.out.println(omegaContext.localTxId());
>   repo.addBalanceByUsername(from, amount);
> }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-785) Cannot get the GlobalTxId and LocalTxId in the compensation method

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16564139#comment-16564139
 ] 

ASF GitHub Bot commented on SCB-785:


jeremyxu2010 closed pull request #232: [SCB-785] 支持在补偿方法里得到当前分布式事务的全局事务ID及本地事务ID
URL: https://github.com/apache/incubator-servicecomb-saga/pull/232
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):



 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Cannot get the GlobalTxId and LocalTxId in the compensation method
> --
>
> Key: SCB-785
> URL: https://issues.apache.org/jira/browse/SCB-785
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Saga
>Affects Versions: saga-0.2.0
>Reporter: Jeremy Xu
>Priority: Minor
> Fix For: saga-0.3.0
>
>
> 补偿方法里无法获取分布式事务的全局事务ID及本地事务ID
> 因为在子事务业务处理方法中会将一部分中间数据存入外部缓存中,对应的补偿方法将可以通过这些中间数据进行合理的补偿操作,当时存入中间数据时会附带上globalTxId,
>  localTxId,后面将根据这个查找到之前存入的中间数据。但发现在业务方法中可以获取分布式事务的全局事务ID及本地事务ID,但对应的补偿方法里却不行。
> Customer may want to access the globalTxId and LocalTxId in application to 
> store these information into DB for the recovery. 
> 示例代码如下:
>  
> {code:java}
> @Autowired
> OmegaContext omegaContext;
> @Compensable(timeout=5, compensationMethod="cancel")
> public boolean transferOut(String from, int amount) {
>   // 这里可以获得
>   System.out.println(omegaContext.globalTxId());
>   System.out.println(omegaContext.localTxId());
>   repo.reduceBalanceByUsername(from, amount);
> }
> public boolean cancel(String from, int amount) {
>   // 这里不可以获得
>   System.out.println(omegaContext.globalTxId());
>   System.out.println(omegaContext.localTxId());
>   repo.addBalanceByUsername(from, amount);
> }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-735) Add admin dump api

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563877#comment-16563877
 ] 

ASF GitHub Bot commented on SCB-735:


coveralls edited a comment on issue #396: SCB-735 Add admin dump api
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/396#issuecomment-406771280
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/18251643/badge)](https://coveralls.io/builds/18251643)
   
   Coverage increased (+1.7%) to 76.26% when pulling 
**07adecfe919daab4c68afce4be4e3d25ffc544a6 on little-cui:admin** into 
**7157610d608704aa885ec278f053ae91e283fa85 on apache:master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Add admin dump api
> --
>
> Key: SCB-735
> URL: https://issues.apache.org/jira/browse/SCB-735
> Project: Apache ServiceComb
>  Issue Type: New Feature
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-735) Add admin dump api

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563876#comment-16563876
 ] 

ASF GitHub Bot commented on SCB-735:


codecov-io edited a comment on issue #396: SCB-735 Add admin dump api
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/396#issuecomment-406771272
 
 
   # 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=h1)
 Report
   > Merging 
[#396](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=desc)
 into 
[master](https://codecov.io/gh/apache/incubator-servicecomb-service-center/commit/7157610d608704aa885ec278f053ae91e283fa85?src=pr=desc)
 will **increase** coverage by `1.33%`.
   > The diff coverage is `79.87%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/graphs/tree.svg?width=650=150=pr=GAaF7zrg8R)](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #396  +/-   ##
   ==
   + Coverage   71.71%   73.05%   +1.33% 
   ==
 Files  39  118  +79 
 Lines4137 9747+5610 
   ==
   + Hits 2967 7121+4154 
   - Misses   1003 2153+1150 
   - Partials  167  473 +306
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=tree)
 | Coverage Δ | |
   |---|---|---|
   | 
[server/govern/controller\_v4.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2dvdmVybi9jb250cm9sbGVyX3Y0Lmdv)
 | `73.49% <ø> (ø)` | |
   | 
[pkg/chain/invocation.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL2NoYWluL2ludm9jYXRpb24uZ28=)
 | `89.47% <ø> (ø)` | |
   | 
[server/error/error.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2Vycm9yL2Vycm9yLmdv)
 | `100% <ø> (ø)` | |
   | 
[pkg/task/executor.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL3Rhc2svZXhlY3V0b3IuZ28=)
 | `76% <ø> (ø)` | |
   | 
[server/service/notification/common.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2Uvbm90aWZpY2F0aW9uL2NvbW1vbi5nbw==)
 | `100% <ø> (ø)` | :arrow_up: |
   | 
[pkg/task/service.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL3Rhc2svc2VydmljZS5nbw==)
 | `40% <0%> (ø)` | |
   | 
[server/core/backend/common.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2NvcmUvYmFja2VuZC9jb21tb24uZ28=)
 | `75% <0%> (ø)` | |
   | 
[pkg/validate/url.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL3ZhbGlkYXRlL3VybC5nbw==)
 | `0% <0%> (ø)` | |
   | 
[pkg/task/service\_async.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL3Rhc2svc2VydmljZV9hc3luYy5nbw==)
 | `74.56% <100%> (ø)` | |
   | 
[server/broker/broker.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2Jyb2tlci9icm9rZXIuZ28=)
 | `100% <100%> (ø)` | |
   | ... and [129 
more](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree-more)
 | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=footer).
 Last update 
[7157610...07adecf](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Add admin dump api
> --
>
> Key: SCB-735
> URL: https://issues.apache.org/jira/browse/SCB-735
> Project: Apache ServiceComb
>  Issue Type: New Feature
>  

[jira] [Commented] (SCB-788) public key black/white add feature: choose server by version

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563822#comment-16563822
 ] 

ASF GitHub Bot commented on SCB-788:


weichao666 commented on a change in pull request #846: [SCB-788] public key 
black/white add feature: choose server by version
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/846#discussion_r206571121
 
 

 ##
 File path: 
handlers/handler-publickey-auth/src/main/java/org/apache/servicecomb/authentication/provider/AccessController.java
 ##
 @@ -86,18 +86,28 @@ private boolean matchFound(Microservice microservice, 
Map public key black/white add feature: choose server by version
> 
>
> Key: SCB-788
> URL: https://issues.apache.org/jira/browse/SCB-788
> Project: Apache ServiceComb
>  Issue Type: New Feature
>  Components: Java-Chassis
>Reporter: WeiChao
>Assignee: WeiChao
>Priority: Major
> Fix For: java-chassis-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-788) public key black/white add feature: choose server by version

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563823#comment-16563823
 ] 

ASF GitHub Bot commented on SCB-788:


weichao666 commented on a change in pull request #846: [SCB-788] public key 
black/white add feature: choose server by version
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/846#discussion_r206571216
 
 

 ##
 File path: 
handlers/handler-publickey-auth/src/main/java/org/apache/servicecomb/authentication/provider/AccessController.java
 ##
 @@ -86,18 +86,28 @@ private boolean matchFound(Microservice microservice, 
Map public key black/white add feature: choose server by version
> 
>
> Key: SCB-788
> URL: https://issues.apache.org/jira/browse/SCB-788
> Project: Apache ServiceComb
>  Issue Type: New Feature
>  Components: Java-Chassis
>Reporter: WeiChao
>Assignee: WeiChao
>Priority: Major
> Fix For: java-chassis-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-735) Add admin dump api

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563696#comment-16563696
 ] 

ASF GitHub Bot commented on SCB-735:


coveralls edited a comment on issue #396: SCB-735 Add admin dump api
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/396#issuecomment-406771280
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/18248873/badge)](https://coveralls.io/builds/18248873)
   
   Coverage increased (+1.8%) to 76.352% when pulling 
**ae2537e03cb7f06784d3ec6fd2feaa1967fb22af on little-cui:admin** into 
**7157610d608704aa885ec278f053ae91e283fa85 on apache:master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Add admin dump api
> --
>
> Key: SCB-735
> URL: https://issues.apache.org/jira/browse/SCB-735
> Project: Apache ServiceComb
>  Issue Type: New Feature
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-735) Add admin dump api

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563695#comment-16563695
 ] 

ASF GitHub Bot commented on SCB-735:


codecov-io edited a comment on issue #396: SCB-735 Add admin dump api
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/396#issuecomment-406771272
 
 
   # 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=h1)
 Report
   > Merging 
[#396](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=desc)
 into 
[master](https://codecov.io/gh/apache/incubator-servicecomb-service-center/commit/7157610d608704aa885ec278f053ae91e283fa85?src=pr=desc)
 will **increase** coverage by `1.35%`.
   > The diff coverage is `79.97%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/graphs/tree.svg?width=650=150=pr=GAaF7zrg8R)](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #396  +/-   ##
   ==
   + Coverage   71.71%   73.06%   +1.35% 
   ==
 Files  39  118  +79 
 Lines4137 9747+5610 
   ==
   + Hits 2967 7122+4155 
   - Misses   1003 2151+1148 
   - Partials  167  474 +307
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=tree)
 | Coverage Δ | |
   |---|---|---|
   | 
[pkg/task/executor.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL3Rhc2svZXhlY3V0b3IuZ28=)
 | `76% <ø> (ø)` | |
   | 
[server/service/notification/common.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2Uvbm90aWZpY2F0aW9uL2NvbW1vbi5nbw==)
 | `100% <ø> (ø)` | :arrow_up: |
   | 
[pkg/chain/invocation.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL2NoYWluL2ludm9jYXRpb24uZ28=)
 | `89.47% <ø> (ø)` | |
   | 
[server/error/error.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2Vycm9yL2Vycm9yLmdv)
 | `100% <ø> (ø)` | |
   | 
[server/govern/controller\_v4.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2dvdmVybi9jb250cm9sbGVyX3Y0Lmdv)
 | `73.49% <ø> (ø)` | |
   | 
[server/core/backend/common.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2NvcmUvYmFja2VuZC9jb21tb24uZ28=)
 | `75% <0%> (ø)` | |
   | 
[pkg/validate/url.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL3ZhbGlkYXRlL3VybC5nbw==)
 | `0% <0%> (ø)` | |
   | 
[pkg/task/service.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-cGtnL3Rhc2svc2VydmljZS5nbw==)
 | `40% <0%> (ø)` | |
   | 
[server/broker/controller.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2Jyb2tlci9jb250cm9sbGVyLmdv)
 | `85.15% <100%> (ø)` | |
   | 
[server/govern/service.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree#diff-c2VydmVyL2dvdmVybi9zZXJ2aWNlLmdv)
 | `73.33% <100%> (ø)` | |
   | ... and [129 
more](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396/diff?src=pr=tree-more)
 | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=footer).
 Last update 
[7157610...ae2537e](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/396?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Add admin dump api
> --
>
> Key: SCB-735
> URL: https://issues.apache.org/jira/browse/SCB-735
> Project: Apache ServiceComb
>  Issue Type: New 

[jira] [Commented] (SCB-792) More abundant metrics information

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563366#comment-16563366
 ] 

ASF GitHub Bot commented on SCB-792:


coveralls commented on issue #407: SCB-792 More abundant metrics information
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/407#issuecomment-409155842
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/18244676/badge)](https://coveralls.io/builds/18244676)
   
   Coverage decreased (-0.08%) to 74.455% when pulling 
**f788e2391a50924a7fb76b4f331e26fe0770d90f on little-cui:metrics** into 
**7157610d608704aa885ec278f053ae91e283fa85 on apache:master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> More abundant metrics information
> -
>
> Key: SCB-792
> URL: https://issues.apache.org/jira/browse/SCB-792
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-792) More abundant metrics information

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563359#comment-16563359
 ] 

ASF GitHub Bot commented on SCB-792:


codecov-io commented on issue #407: SCB-792 More abundant metrics information
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/407#issuecomment-409155366
 
 
   # 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407?src=pr=h1)
 Report
   > Merging 
[#407](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407?src=pr=desc)
 into 
[master](https://codecov.io/gh/apache/incubator-servicecomb-service-center/commit/7157610d608704aa885ec278f053ae91e283fa85?src=pr=desc)
 will **decrease** coverage by `0.14%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407/graphs/tree.svg?width=650=150=pr=GAaF7zrg8R)](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407?src=pr=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #407  +/-   ##
   ==
   - Coverage   71.71%   71.57%   -0.15% 
   ==
 Files  39   39  
 Lines4137 4137  
   ==
   - Hits 2967 2961   -6 
   - Misses   1003 1011   +8 
   + Partials  167  165   -2
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407?src=pr=tree)
 | Coverage Δ | |
   |---|---|---|
   | 
[server/service/util/dependency.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2UvdXRpbC9kZXBlbmRlbmN5Lmdv)
 | `27.9% <0%> (-9.31%)` | :arrow_down: |
   | 
[server/service/tag.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2UvdGFnLmdv)
 | `68.94% <0%> (+0.62%)` | :arrow_up: |
   | 
[server/service/notification/websocket.go](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407/diff?src=pr=tree#diff-c2VydmVyL3NlcnZpY2Uvbm90aWZpY2F0aW9uL3dlYnNvY2tldC5nbw==)
 | `80.98% <0%> (+0.7%)` | :arrow_up: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407?src=pr=footer).
 Last update 
[7157610...f788e23](https://codecov.io/gh/apache/incubator-servicecomb-service-center/pull/407?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> More abundant metrics information
> -
>
> Key: SCB-792
> URL: https://issues.apache.org/jira/browse/SCB-792
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-792) More abundant metrics information

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563345#comment-16563345
 ] 

ASF GitHub Bot commented on SCB-792:


little-cui opened a new pull request #407: SCB-792 More abundant metrics 
information
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/407
 
 
   Follow this checklist to help us incorporate your contribution quickly and 
easily:
   
- [ ] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually 
before you start working on it).  Trivial changes like typos do not require a 
JIRA issue.  Your pull request should address just this issue, without pulling 
in other changes.
- [ ] Each commit in the pull request should have a meaningful subject line 
and body.
- [ ] Format the pull request title like `[SCB-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA 
issue.
- [ ] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
- [ ] Run `go build` `go test` `go fmt` `go vet` to make sure basic checks 
pass. A more thorough check will be performed on your pull request 
automatically.
- [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   ---
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> More abundant metrics information
> -
>
> Key: SCB-792
> URL: https://issues.apache.org/jira/browse/SCB-792
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (SCB-792) More abundant metrics information

2018-07-31 Thread little-cui (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCB-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

little-cui resolved SCB-792.

Resolution: Fixed

> More abundant metrics information
> -
>
> Key: SCB-792
> URL: https://issues.apache.org/jira/browse/SCB-792
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Major
> Fix For: service-center-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (SCB-511) Should not add the suffix '/' in registry query command

2018-07-31 Thread little-cui (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCB-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

little-cui resolved SCB-511.

   Resolution: Fixed
Fix Version/s: (was: service-center-1.1.0)
   service-center-1.0.0

> Should not add the suffix '/'  in registry query command
> 
>
> Key: SCB-511
> URL: https://issues.apache.org/jira/browse/SCB-511
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Service-Center
>Reporter: little-cui
>Assignee: little-cui
>Priority: Minor
> Fix For: service-center-1.0.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (SCB-792) More abundant metrics information

2018-07-31 Thread little-cui (JIRA)
little-cui created SCB-792:
--

 Summary: More abundant metrics information
 Key: SCB-792
 URL: https://issues.apache.org/jira/browse/SCB-792
 Project: Apache ServiceComb
  Issue Type: Improvement
  Components: Service-Center
Reporter: little-cui
Assignee: little-cui
 Fix For: service-center-1.1.0






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-648) Omega support JDK7

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563313#comment-16563313
 ] 

ASF GitHub Bot commented on SCB-648:


coveralls commented on issue #234: SCB-648 Omega supports JDK 7
URL: 
https://github.com/apache/incubator-servicecomb-saga/pull/234#issuecomment-409145507
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/18244052/badge)](https://coveralls.io/builds/18244052)
   
   Coverage decreased (-0.2%) to 93.832% when pulling 
**0574d9644c4ec2d3a47ca1bf2a11e1539dc04424 on SCB-648** into 
**b1c3fb9b0b36315d441d95d3fadb11a9f56fdc92 on master**.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Omega support JDK7
> --
>
> Key: SCB-648
> URL: https://issues.apache.org/jira/browse/SCB-648
> Project: Apache ServiceComb
>  Issue Type: Task
>  Components: Saga
>Reporter: Willem Jiang
>Assignee: Willem Jiang
>Priority: Major
>  Labels: newbie
> Fix For: saga-0.3.0
>
>
> Omega should support JDK 7 for more wild users,  I just checked the GRPC, it 
> supports JDK7.
> Current we just need to avoid the lamda function in Omega modules.
> Steps
> * Change the code compile support to java 7
> * Fix the find related issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-711) HTTP2 and other client should be lasy initialized

2018-07-31 Thread YaoHaishi (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563306#comment-16563306
 ] 

YaoHaishi commented on SCB-711:
---

About the error log "io.vertx.core.VertxException: ALPN not available for JDK 
SSL/TLS engine", this page 
[https://groups.google.com/forum/#!topic/vertx/loUax_Twx8s|https://groups.google.com/forum/#!topic/vertx/loUax_Twx8s]]
 says that we can resolve this problem by importing dependency 
_io.netty:netty-tcnative-boringssl-static._ And we have imported this 
dependency in SCB-368. So generally speaking users should not meet this error.

One case I've met is that a user runs a microservice developed by ServiceComb. 
Her operating system is Windows7 64-bit, but a 32-bit JDK is installed to run 
java application. Maven downloaded the netty-tcnative-boringssl-static jar file 
with 64-bit ddl file. But when the microservice application runs, it gets 
"x86_32" as system architecture and tries to load 32-bit ddl file and fails.

> HTTP2 and other client should be lasy initialized 
> --
>
> Key: SCB-711
> URL: https://issues.apache.org/jira/browse/SCB-711
> Project: Apache ServiceComb
>  Issue Type: Improvement
>Reporter: liubao
>Assignee: YaoHaishi
>Priority: Major
> Fix For: java-chassis-1.1.0
>
>
> There are some drabacks now
>  # unnecessary resource
>  # Now throws exception
> [2018-07-03 
> 20:16:39,703/CST][transport-vert.x-eventloop-thread-3][ERROR]deploy vertx 
> failed, cause 
> org.apache.servicecomb.foundation.vertx.VertxUtils.lambda$blockDeploy$0(VertxUtils.java:102)
> io.vertx.core.VertxException: ALPN not available for JDK SSL/TLS engine
>  at io.vertx.core.net.impl.SSLHelper.resolveEngineOptions(SSLHelper.java:90)
>  at io.vertx.core.net.impl.SSLHelper.(SSLHelper.java:151)
>  at io.vertx.core.http.impl.HttpClientImpl.(HttpClientImpl.java:131)
>  at io.vertx.core.impl.VertxImpl.createHttpClient(VertxImpl.java:296)
>  at 
> org.apache.servicecomb.foundation.vertx.client.http.HttpClientPoolFactory.createClientPool(HttpClientPoolFactory.java:36)
>  at 
> org.apache.servicecomb.foundation.vertx.client.http.HttpClientPoolFactory.createClientPool(HttpClientPoolFactory.java:27)
>  at 
> org.apache.servicecomb.foundation.vertx.client.ClientPoolManager.createClientPool(ClientPoolManager.java:60)
>  at 
> org.apache.servicecomb.foundation.vertx.client.ClientVerticle.start(ClientVerticle.java:35)
>  at io.vertx.core.AbstractVerticle.start(AbstractVerticle.java:111)
>  at 
> io.vertx.core.impl.DeploymentManager.lambda$doDeploy$10(DeploymentManager.java:481)
>  at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:344)
>  at 
> io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
>  at 
> io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
>  at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
>  at 
> io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
>  at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-648) Omega support JDK7

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563305#comment-16563305
 ] 

ASF GitHub Bot commented on SCB-648:


WillemJiang closed pull request #234: SCB-648 Omega supports JDK 7
URL: https://github.com/apache/incubator-servicecomb-saga/pull/234
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Omega support JDK7
> --
>
> Key: SCB-648
> URL: https://issues.apache.org/jira/browse/SCB-648
> Project: Apache ServiceComb
>  Issue Type: Task
>  Components: Saga
>Reporter: Willem Jiang
>Assignee: Willem Jiang
>Priority: Major
>  Labels: newbie
> Fix For: saga-0.3.0
>
>
> Omega should support JDK 7 for more wild users,  I just checked the GRPC, it 
> supports JDK7.
> Current we just need to avoid the lamda function in Omega modules.
> Steps
> * Change the code compile support to java 7
> * Fix the find related issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-784) SagaStart annotated method should abort the saga transaction once the exception is thrown

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563304#comment-16563304
 ] 

ASF GitHub Bot commented on SCB-784:


WillemJiang opened a new pull request #235: SCB-784 SagaStart should send 
TxAbortEvent when the exception is thrown
URL: https://github.com/apache/incubator-servicecomb-saga/pull/235
 
 
   This TxAbortEvent doesn't have the parent transaction Id, and it's global 
transaction id and local transaction id is same. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> SagaStart annotated method should abort the saga transaction once the 
> exception is thrown
> -
>
> Key: SCB-784
> URL: https://issues.apache.org/jira/browse/SCB-784
> Project: Apache ServiceComb
>  Issue Type: Task
>  Components: Saga
>Reporter: Willem Jiang
>Assignee: Willem Jiang
>Priority: Major
> Fix For: saga-0.3.0
>
>
> The below transaction should be aborted, now the Omega should send the abort 
> message back to the alpha.
> {code}
>   @SagaStart
>   service() {
>   transaction1;
>   exception;
>   transaction2;
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCB-648) Omega support JDK7

2018-07-31 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/SCB-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16563297#comment-16563297
 ] 

ASF GitHub Bot commented on SCB-648:


WillemJiang opened a new pull request #234: SCB-648 Omega supports JDK 7
URL: https://github.com/apache/incubator-servicecomb-saga/pull/234
 
 
   Current Omega supports JDK7, in this way we could support more libraries.


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Omega support JDK7
> --
>
> Key: SCB-648
> URL: https://issues.apache.org/jira/browse/SCB-648
> Project: Apache ServiceComb
>  Issue Type: Task
>  Components: Saga
>Reporter: Willem Jiang
>Assignee: Willem Jiang
>Priority: Major
>  Labels: newbie
> Fix For: saga-0.3.0
>
>
> Omega should support JDK 7 for more wild users,  I just checked the GRPC, it 
> supports JDK7.
> Current we just need to avoid the lamda function in Omega modules.
> Steps
> * Change the code compile support to java 7
> * Fix the find related issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (SCB-791) website integrate travis-ci make auto update

2018-07-31 Thread lidian (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCB-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lidian reassigned SCB-791:
--

 Assignee: lidian
 Due Date: 3/Aug/15
Affects Version/s: java-chassis-1.0.0-m2
Fix Version/s: java-chassis-1.0.0-m2
  Component/s: website
  Summary: website integrate travis-ci make auto update  (was: 
intergrate travis-ci)

> website integrate travis-ci make auto update
> 
>
> Key: SCB-791
> URL: https://issues.apache.org/jira/browse/SCB-791
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: website
>Affects Versions: java-chassis-1.0.0-m2
>Reporter: lidian
>Assignee: lidian
>Priority: Major
> Fix For: java-chassis-1.0.0-m2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (SCB-791) intergrate travis-ci

2018-07-31 Thread lidian (JIRA)
lidian created SCB-791:
--

 Summary: intergrate travis-ci
 Key: SCB-791
 URL: https://issues.apache.org/jira/browse/SCB-791
 Project: Apache ServiceComb
  Issue Type: Sub-task
Reporter: lidian






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)