[servicecomb-service-center] branch master updated: SCB-2094 style: modification of golangci-lint (#979)

2021-05-13 Thread tianxiaoliang
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 396333c  SCB-2094 style: modification of golangci-lint (#979)
396333c is described below

commit 396333cf5ec7a60f52defb845c78583a063484d4
Author: robotljw <790504...@qq.com>
AuthorDate: Fri May 14 11:08:56 2021 +0800

SCB-2094 style: modification of golangci-lint (#979)
---
 .github/workflows/golangci-lint.yml  |   2 +-
 .github/workflows/static_check.yml   |  18 -
 datasource/account.go|   1 +
 datasource/etcd/role.go  |   1 +
 datasource/mongo/client/dao/dep.go   |   1 +
 datasource/mongo/client/dao/schema.go|   1 +
 datasource/mongo/client/errortypes.go|   3 +-
 datasource/mongo/rule_util.go|   1 +
 datasource/mongo/sd/dep_cache.go |   2 +-
 datasource/mongo/sd/index_cache.go   |  12 +--
 datasource/mongo/sd/instance_cache.go|   2 +-
 datasource/mongo/sd/listwatch_inner.go   |   4 +-
 datasource/mongo/sd/rule_cache.go|   2 +-
 datasource/mongo/sd/service_cache.go |   2 +-
 datasource/mongo/sd/types.go |   3 +-
 datasource/mongo/types.go|   1 +
 datasource/mongo/util.go |   1 +
 datasource/role.go   |   1 +
 go.mod   |   3 +-
 go.sum   | 135 +--
 pkg/privacy/password.go  |   2 +-
 pkg/rbacframe/api.go |   1 +
 pkg/tlsutil/tlsutil.go   |  56 +
 server/config/config.go  |  14 ++--
 server/config/server.go  |  10 +--
 server/plugin/auth/buildin/buildin.go|   5 +-
 server/plugin/quota/buildin/buildin.go   |   1 +
 server/plugin/tracing/pzipkin/buildin.go |   3 +-
 server/resource/v4/role_resource.go  |   3 +-
 server/service/rbac/dao/account_dao.go   |   1 +
 server/service/rbac/dao/role_dao.go  |   1 +
 server/service/rbac/decision.go  |   1 +
 server/service/rbac/password.go  |   1 +
 server/service/rbac/rbac.go  |   3 +-
 server/service/rbac/role.go  |   1 +
 35 files changed, 61 insertions(+), 238 deletions(-)

diff --git a/.github/workflows/golangci-lint.yml 
b/.github/workflows/golangci-lint.yml
index f2fd618..fb91c91 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -10,4 +10,4 @@ jobs:
 uses: golangci/golangci-lint-action@v2
 with:
   version: v1.29
-  args: --timeout=5m 
--skip-dirs='test,.*/controller/(v3|v4)$,.*/bootstrap$,server/broker,examples,frontend,scctl,integration'
 --enable gofmt,golint,gocyclo,goimports --skip-files=.*_test.go$
\ No newline at end of file
+  args: --timeout=5m 
--skip-dirs='test,.*/controller/(v3|v4)$,.*/bootstrap$,server/broker,examples,frontend,scctl,integration'
 --enable gofmt,golint,gocyclo,goimports --skip-files=.*_test.go$
diff --git a/.github/workflows/static_check.yml 
b/.github/workflows/static_check.yml
index 67c8c14..d5a75d2 100644
--- a/.github/workflows/static_check.yml
+++ b/.github/workflows/static_check.yml
@@ -15,24 +15,6 @@ jobs:
   - name: build
 run: |
   bash -x scripts/build/local.sh
-  format-check:
-name: format-check
-runs-on: ubuntu-latest
-steps:
-  - name: Set up Go 1.13
-uses: actions/setup-go@v1
-with:
-  go-version: 1.13
-id: go
-  - name: Check out code into the Go module directory
-uses: actions/checkout@v1
-  - name: Fmt
-run: |
-  bash scripts/ci/formatChecker.sh
-  - name: Misspell
-run: |
-  go get -u github.com/client9/misspell/cmd/misspell
-  bash scripts/ci/formatChecker.sh
   ut4etcd:
 runs-on: ubuntu-latest
 steps:
diff --git a/datasource/account.go b/datasource/account.go
index 70faaa0..2e706a0 100644
--- a/datasource/account.go
+++ b/datasource/account.go
@@ -20,6 +20,7 @@ package datasource
 import (
"context"
"errors"
+
"github.com/go-chassis/cari/rbac"
 )
 
diff --git a/datasource/etcd/role.go b/datasource/etcd/role.go
index 58acae7..b1835e0 100644
--- a/datasource/etcd/role.go
+++ b/datasource/etcd/role.go
@@ -21,6 +21,7 @@ import (
"context"
"encoding/json"
"fmt"
+
"github.com/go-chassis/cari/rbac"
 
"github.com/apache/servicecomb-service-center/datasource"
diff --git a/datasource/mongo/client/dao/dep.go 
b/datasource/mongo/client/dao/dep.go
index 38af2a9..34d0855 100644
--- a/datasource/mongo/client/dao/dep.go
+++ b/datasource/mongo/client/dao/dep.go
@@ -19,6 +19,7 @@ package dao
 
 import (
"context"
+

[GitHub] [servicecomb-service-center] tianxiaoliang merged pull request #979: SCB-2094 style: modification of golangci-lint

2021-05-13 Thread GitBox


tianxiaoliang merged pull request #979:
URL: https://github.com/apache/servicecomb-service-center/pull/979


   


-- 
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




[GitHub] [servicecomb-pack] szattila98 commented on issue #718: Servicecomb with eureka

2021-05-13 Thread GitBox


szattila98 commented on issue #718:
URL: 
https://github.com/apache/servicecomb-pack/issues/718#issuecomment-840630665


   Hello again, did you have the chance to take a look at it?


-- 
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




[GitHub] [servicecomb-service-center] little-cui opened a new pull request #980: SCB-2176 Refactor websocket

2021-05-13 Thread GitBox


little-cui opened a new pull request #980:
URL: https://github.com/apache/servicecomb-service-center/pull/980


   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).
- [ ] Never comment source code, delete it.
- [ ] UT should has "context, subject, expected result" result as test case 
name, when you call t.Run().
   ---
   


-- 
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




[GitHub] [servicecomb-java-chassis] johnyannj opened a new issue #2382: servicecomb在SC故障恢复后有可能不刷新实例缓存

2021-05-13 Thread GitBox


johnyannj opened a new issue #2382:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2382


   1、servicecomb在heartbeat失败的时候,进入safe模式。
   
   2、在safe模式下,

   假设SC恢复了,从SC发现节点不为0,CSE内存会一直累加实例,不删除。
   导致从内存缓存的实例可能比SC里实际的多,但是也会记录从SC返回的revision
   
   3、此后heartbeat成功,safe模式退出。
   
   4、但是后面如果SC里的实例节点不变化了,revision就不变,内存缓存就会一直得不到刷新。


-- 
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




[servicecomb-java-chassis] tag 2.2.3 created (now 0eac3b2)

2021-05-13 Thread liubao
This is an automated email from the ASF dual-hosted git repository.

liubao pushed a change to tag 2.2.3
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git.


  at 0eac3b2  (commit)
No new revisions were added by this update.


[GitHub] [servicecomb-java-chassis] hypggg opened a new issue #2381: "message":"Unexpected consumer error, please check logs for details"

2021-05-13 Thread GitBox


hypggg opened a new issue #2381:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2381


   调用场景:路由服务转发到目标服务。
   报错情况:重新发布目标服务后,就报"message":"Unexpected consumer error, please check logs for 
details",需要重启路由服务才能好使。
   错误信息如下:
   2021-05-13 
12:15:58,604Z(65581731):DEBUG{}[vert.x-eventloop-thread-1#15]-->Using retry 
handler org.apache.servicecomb.loadbalance.DefaultRetryExtensionsFactory$1 for 
microservice cmconsoleservice.
   2021-05-13 
12:15:58,604Z(65581731):INFO{}[vert.x-eventloop-thread-1#15]-->Found SPI 
service org.apache.servicecomb.router.custom.RouterHeaderFilterExt, count=0.
   2021-05-13 
12:15:58,605Z(65581732):DEBUG{}[vert.x-eventloop-thread-1#15]-->route 
management match rule success: PolicyRuleItem{precedence=1, match=null, 
route=[RouteItem{weight=100, currentWeight=0, tags={version=2021.05.05.2126}, 
tagitem=org.apache.servicecomb.router.model.TagItem@2bc555f9}], total=null, 
weightLess=false}
   2021-05-13 
12:15:58,605Z(65581732):DEBUG{}[vert.x-eventloop-thread-1#15]-->route 
management can not match any rule and route the latest version
   2021-05-13 
12:15:58,605Z(65581732):DEBUG{}[vert.x-eventloop-thread-1#15]-->route 
management distribute rule success: []
   2021-05-13 
12:15:58,605Z(65581732):WARN{}[vert.x-eventloop-thread-1#15]-->There are not 
servers exist after filtered by class 
org.apache.servicecomb.router.custom.RouterServerListFilter.
   2021-05-13 
12:15:58,605Z(65581732):ERROR{SERVICECOMB_TRACE_ID=609d187e56f0bbb1-16348}[vert.x-eventloop-thread-1#15]-->Invoke
 all server failed. Operation CONSUMER  
cmconsoleservice.systemController.listMenus, 
e=cause:ClientException,message:Load balancer does not have available server 
for client: default
   
   
   


-- 
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




[GitHub] [servicecomb-java-chassis] SenixCoder edited a comment on issue #2373: 通过@ModelAttribute注解传递文件聚合对象时,参数拼接在URI中导致header过长

2021-05-13 Thread GitBox


SenixCoder edited a comment on issue #2373:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2373#issuecomment-840436798


   > 我的写法:
   > 
   > * 参数类:
   > 
   > ```java
   > public class Person {
   > private int age;
   > 
   > private String name;
   > 
   > public int getAge() {
   > return age;
   > }
   > 
   > @FormParam("age")
   > public void setAge(int age) {
   > this.age = age;
   > }
   > 
   > public String getName() {
   > return name;
   > }
   > 
   > @FormParam("name")
   > public void setName(String name) {
   > this.name = name;
   > }
   > }
   > ```
   > 
   > * provider方的controller
   > 
   > ```java
   > @RestSchema(schemaId = "helloService")
   > @Path("/hello")
   > public class HelloService {
   > 
   > @Path("/sayHello")
   > @POST
   > public String sayHello(@BeanParam Person person) {
   > System.out.println("sayHello is called, and person is [" + person 
+"]");
   > return "Hello, your name is " + person.getName() + ", and age is " 
+ person.getAge();
   > }
   > }
   > ```
   > 
   > * consumer方的controller
   > 
   > ```java
   > @RpcSchema(schemaId = "helloController")
   > public class HelloController {
   > @RpcReference(microserviceName = "2373-server", schemaId = 
"helloService")
   > private HelloServiceIntf hello;
   > 
   > @Path("/test")
   > @GET
   > public String Hello() {
   > return hello.sayHello("asd", 12);
   > }
   > }
   > ```
   > 
   > * consumer 方rpc接口
   > 
   > ```java
   > package org.servicecomb.sample;public interface HelloServiceIntf {
   > String sayHello(String name, int age);
   > }
   > ```
   > 
   > 最终实现的效果是参数被写进body
   > 
![image](https://user-images.githubusercontent.com/22323152/118105863-868f9d00-b40f-11eb-823b-16b46eb74fd0.png)
   
   需要携带Part对象,普通的Bean是可以写进body的


-- 
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




[GitHub] [servicecomb-java-chassis] SenixCoder commented on issue #2373: 通过@ModelAttribute注解传递文件聚合对象时,参数拼接在URI中导致header过长

2021-05-13 Thread GitBox


SenixCoder commented on issue #2373:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2373#issuecomment-840436798


   > 我的写法:
   > 
   > * 参数类:
   > 
   > ```java
   > public class Person {
   > private int age;
   > 
   > private String name;
   > 
   > public int getAge() {
   > return age;
   > }
   > 
   > @FormParam("age")
   > public void setAge(int age) {
   > this.age = age;
   > }
   > 
   > public String getName() {
   > return name;
   > }
   > 
   > @FormParam("name")
   > public void setName(String name) {
   > this.name = name;
   > }
   > }
   > ```
   > 
   > * provider方的controller
   > 
   > ```java
   > @RestSchema(schemaId = "helloService")
   > @Path("/hello")
   > public class HelloService {
   > 
   > @Path("/sayHello")
   > @POST
   > public String sayHello(@BeanParam Person person) {
   > System.out.println("sayHello is called, and person is [" + person 
+"]");
   > return "Hello, your name is " + person.getName() + ", and age is " 
+ person.getAge();
   > }
   > }
   > ```
   > 
   > * consumer方的controller
   > 
   > ```java
   > @RpcSchema(schemaId = "helloController")
   > public class HelloController {
   > @RpcReference(microserviceName = "2373-server", schemaId = 
"helloService")
   > private HelloServiceIntf hello;
   > 
   > @Path("/test")
   > @GET
   > public String Hello() {
   > return hello.sayHello("asd", 12);
   > }
   > }
   > ```
   > 
   > * consumer 方rpc接口
   > 
   > ```java
   > package org.servicecomb.sample;public interface HelloServiceIntf {
   > String sayHello(String name, int age);
   > }
   > ```
   > 
   > 最终实现的效果是参数被写进body
   > 
![image](https://user-images.githubusercontent.com/22323152/118105863-868f9d00-b40f-11eb-823b-16b46eb74fd0.png)
   
   需要携带Part对象,不同的Bean是可以写进body的


-- 
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




[GitHub] [servicecomb-java-chassis] kaister3 commented on issue #2373: 通过@ModelAttribute注解传递文件聚合对象时,参数拼接在URI中导致header过长

2021-05-13 Thread GitBox


kaister3 commented on issue #2373:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2373#issuecomment-840433955


   我的写法:
   - 参数类:
   ```java
   public class Person {
   private int age;
   
   private String name;
   
   public int getAge() {
   return age;
   }
   
   @FormParam("age")
   public void setAge(int age) {
   this.age = age;
   }
   
   public String getName() {
   return name;
   }
   
   @FormParam("name")
   public void setName(String name) {
   this.name = name;
   }
   }
   ```  
   - provider方的controller
   ```java
   @RestSchema(schemaId = "helloService")
   @Path("/hello")
   public class HelloService {
   
   @Path("/sayHello")
   @POST
   public String sayHello(@BeanParam Person person) {
   System.out.println("sayHello is called, and person is [" + person 
+"]");
   return "Hello, your name is " + person.getName() + ", and age is " + 
person.getAge();
   }
   }
   ```  
   - consumer方的controller
   ```java
   @RpcSchema(schemaId = "helloController")
   public class HelloController {
   @RpcReference(microserviceName = "2373-server", schemaId = 
"helloService")
   private HelloServiceIntf hello;
   
   @Path("/test")
   @GET
   public String Hello() {
   return hello.sayHello("asd", 12);
   }
   }
   ```  
   - consumer 方rpc接口
   ```java
   package org.servicecomb.sample;public interface HelloServiceIntf {
   String sayHello(String name, int age);
   }
   ```  
   
   最终实现的效果是参数被写进body
   
![image](https://user-images.githubusercontent.com/22323152/118105863-868f9d00-b40f-11eb-823b-16b46eb74fd0.png)
   


-- 
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




[servicecomb-java-chassis] branch master updated: [#2378]fix broken developer documentation link (#2380)

2021-05-13 Thread liubao
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 0eac3b2  [#2378]fix broken developer documentation link (#2380)
0eac3b2 is described below

commit 0eac3b2f9d8ca95d7429cb589e1ea1e4ba27fe9d
Author: bao liu 
AuthorDate: Thu May 13 17:00:32 2021 +0800

[#2378]fix broken developer documentation link (#2380)
---
 README.md| 2 +-
 README_ZH.md | 6 --
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 58d645d..5ba0632 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ public class HelloWorldConsumer  {
 
 Project documentation is available on the [ServiceComb Java Chassis Developer 
Guide][java-chassis-developer-guide].
 
-[java-chassis-developer-guide]: https://docs.servicecomb.io/java-chassis/en_US/
+[java-chassis-developer-guide]: 
http://servicecomb.gitee.io/servicecomb-java-chassis-doc/java-chassis/
 
 # Building
 
diff --git a/README_ZH.md b/README_ZH.md
index 47695c4..5a4f89b 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -6,7 +6,9 @@ Apache ServiceComb Java Chassis 给开发者提供一个快速构建微服务的
 * 多种通信协议, HTTP over Vert.x、Http Over Servlet、Highway等
 * 统一一致的服务提供者、服务消费者处理链,以及基于契约的开箱即用的服务治理能力
 
-开发者可以通过[设计选型参考](https://docs.servicecomb.io/java-chassis/zh_CN/start/design/)了解更多特性和设计原理。
+开发者可以通过[设计选型参考][design]了解更多特性和设计原理。
+
+[design]: 
http://servicecomb.gitee.io/servicecomb-java-chassis-doc/java-chassis/zh_CN/start/design/
 
 # 为什么使用Java Chassis
 
@@ -58,7 +60,7 @@ public class HelloWorldConsumer  {
 
 请访问 [ServiceComb Java Chassis 开发指南][java-chassis-developer-guide].
 
-[java-chassis-developer-guide]: https://docs.servicecomb.io/java-chassis/zh_CN/
+[java-chassis-developer-guide]:  
http://servicecomb.gitee.io/servicecomb-java-chassis-doc/java-chassis/
 
 # 编译Java Chassis
 


[GitHub] [servicecomb-java-chassis] liubao68 closed issue #2378: docs.servicecom.io expired, please update all the doc links in README

2021-05-13 Thread GitBox


liubao68 closed issue #2378:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2378


   


-- 
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




[GitHub] [servicecomb-java-chassis] liubao68 merged pull request #2380: [#2378]fix broken developer documentation link

2021-05-13 Thread GitBox


liubao68 merged pull request #2380:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2380


   


-- 
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




[GitHub] [servicecomb-java-chassis] codecov-commenter commented on pull request #2380: [#2378]fix broken developer documentation link

2021-05-13 Thread GitBox


codecov-commenter commented on pull request #2380:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/2380#issuecomment-840359877


   # 
[Codecov](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#2380](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (0f00ece) into 
[master](https://codecov.io/gh/apache/servicecomb-java-chassis/commit/c7b4f6ba398fc02e44649afbd717195819bf3435?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (c7b4f6b) will **increase** coverage by `0.00%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380/graphs/tree.svg?width=650=150=pr=KXfDcr9rX2_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
   
   ```diff
   @@Coverage Diff@@
   ## master#2380   +/-   ##
   =
 Coverage 80.29%   80.29%   
 Complexity 1382 1382   
   =
 Files  1560 1560   
 Lines 4156941569   
 Branches   3488 3488   
   =
   + Hits  3337733378+1 
 Misses 6684 6684   
   + Partials   1508 1507-1 
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 | Coverage Δ | Complexity Δ | |
   |---|---|---|---|
   | 
[...ache/servicecomb/foundation/common/net/IpPort.java](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-Zm91bmRhdGlvbnMvZm91bmRhdGlvbi1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NlcnZpY2Vjb21iL2ZvdW5kYXRpb24vY29tbW9uL25ldC9JcFBvcnQuamF2YQ==)
 | `93.33% <0.00%> (+3.33%)` | `0.00% <0.00%> (ø%)` | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380?src=pr=continue_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380?src=pr=footer_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
 Last update 
[c7b4f6b...0f00ece](https://codecov.io/gh/apache/servicecomb-java-chassis/pull/2380?src=pr=lastupdated_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
 Read the [comment 
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
   


-- 
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




[GitHub] [servicecomb-website] liubao68 opened a new pull request #267: update some broken links

2021-05-13 Thread GitBox


liubao68 opened a new pull request #267:
URL: https://github.com/apache/servicecomb-website/pull/267


   


-- 
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




[servicecomb-docs] branch master updated: update web address (#239)

2021-05-13 Thread liubao
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 927be35  update web address (#239)
927be35 is described below

commit 927be35f85829702a6bc7bbf8b590edb5f146f2b
Author: bao liu 
AuthorDate: Thu May 13 14:51:22 2021 +0800

update web address (#239)
---
 java-chassis-reference/README.md  | 19 +++
 .../zh_CN/docs/general-development/proxy.md   |  2 +-
 2 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/java-chassis-reference/README.md b/java-chassis-reference/README.md
index 82ba102..4c91868 100644
--- a/java-chassis-reference/README.md
+++ b/java-chassis-reference/README.md
@@ -1,13 +1,7 @@
 
 ## 本项目是servicecomb-java-chassis开发指南。
 
-* [访问地址](https://docs.servicecomb.io/java-chassis/zh_CN/)
-
-* 编辑  
-  1. Fork本项目代码  
-  2. 方式一:直接编辑md源码  
-  3. 方式二:下载[GitBook Editor](https://legacy.gitbook.com/editor)编辑  
-  4. 提交PR
+* [访问地址][publish_site]
 
 * 发布/查看  
   1. 参考[MkDocs安装指南](https://www.mkdocs.org/#installation),安装MkDocs  
@@ -16,18 +10,11 @@
 
 ## This project is the servicecomb-java-chassis developers guide
 
-* [Web address](https://docs.servicecomb.io/java-chassis/en_US/)
-
-* Submit PR  
-  1. Fork this project  
-  2. Edit md source file, or  
-  3. Edit using [GitBook Editor](https://legacy.gitbook.com/editor)  
-  4. Submit PR
+* [Web address][publish_site]
 
 * Publish  
   1. see [MkDocs installation guide](https://www.mkdocs.org/#installation) 
   2. publish using command:mkdocs build -d ../docs
   3. for local reading:mkdocs serve
 
-
-
+[publish_site]: 
http://servicecomb.gitee.io/servicecomb-java-chassis-doc/java-chassis/
diff --git a/java-chassis-reference/zh_CN/docs/general-development/proxy.md 
b/java-chassis-reference/zh_CN/docs/general-development/proxy.md
index 700cbcd..47be42e 100644
--- a/java-chassis-reference/zh_CN/docs/general-development/proxy.md
+++ b/java-chassis-reference/zh_CN/docs/general-development/proxy.md
@@ -1,6 +1,6 @@
 # 代理设置
 
-作为一名开发者,在公司开发环境,可能是通过公司代理网络接入到因特网。如果调试服务时还必须依赖网上资源,比如直接连接共有云服务中心,那么就必须配置代理。
+作为一名开发者,在公司开发环境,可能是通过公司代理网络接入到因特网。如果调试服务时还必须依赖网上资源,比如直接连接公有云服务中心,那么就必须配置代理。
 
 配置方式,在 microservice.yaml 文件增加 proxy 配置:
 


[GitHub] [servicecomb-docs] liubao68 merged pull request #239: update web address

2021-05-13 Thread GitBox


liubao68 merged pull request #239:
URL: https://github.com/apache/servicecomb-docs/pull/239


   


-- 
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




[GitHub] [servicecomb-docs] liubao68 opened a new pull request #239: update web address

2021-05-13 Thread GitBox


liubao68 opened a new pull request #239:
URL: https://github.com/apache/servicecomb-docs/pull/239


   


-- 
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




[GitHub] [servicecomb-java-chassis] liubao68 opened a new pull request #2380: [#2378]fix broken developer documentation link

2021-05-13 Thread GitBox


liubao68 opened a new pull request #2380:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2380


   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 `mvn clean install -Pit` 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 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




[GitHub] [servicecomb-service-center] robotLJW opened a new pull request #979: SCB-2094 style: modification of golangci-lint

2021-05-13 Thread GitBox


robotLJW opened a new pull request #979:
URL: https://github.com/apache/servicecomb-service-center/pull/979


   【issue】: #966
   【特性/模块名称】:修复 CI 对新增代码进行格式化校验功能
   【修改内容】:
   修复goliangci-lint相关问题
   【自测情况】:ut全部通过


-- 
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




[GitHub] [servicecomb-service-center] robotLJW closed pull request #978: SCB-2094 style: modification of golangci-lint

2021-05-13 Thread GitBox


robotLJW closed pull request #978:
URL: https://github.com/apache/servicecomb-service-center/pull/978


   


-- 
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




[servicecomb-java-chassis] branch master updated: [SCB-2269]fix deadlock of XmlViewResolver and SPI bean autowire in blockDeploy

2021-05-13 Thread wujimin
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new c7b4f6b  [SCB-2269]fix deadlock of XmlViewResolver and SPI bean 
autowire in blockDeploy
c7b4f6b is described below

commit c7b4f6ba398fc02e44649afbd717195819bf3435
Author: liubao68 
AuthorDate: Thu May 13 11:27:57 2021 +0800

[SCB-2269]fix deadlock of XmlViewResolver and SPI bean autowire in 
blockDeploy
---
 .../client/injectBean/TestInjectBeanSchema.java| 35 ++
 .../demo/jaxrs/server/injectBean/InjectBean.java   | 29 +++
 .../jaxrs/server/injectBean/InjectBeanSchema.java  | 43 ++
 .../injectBean/InjectBeanVertxHttpDispatcher.java  | 37 +++
 ...cecomb.transport.rest.vertx.VertxHttpDispatcher | 18 +
 .../transport/rest/vertx/RestServerVerticle.java   |  4 +-
 .../transport/rest/vertx/VertxRestTransport.java   | 12 ++
 7 files changed, 175 insertions(+), 3 deletions(-)

diff --git 
a/demo/demo-jaxrs/jaxrs-client/src/main/java/org/apache/servicecomb/demo/jaxrs/client/injectBean/TestInjectBeanSchema.java
 
b/demo/demo-jaxrs/jaxrs-client/src/main/java/org/apache/servicecomb/demo/jaxrs/client/injectBean/TestInjectBeanSchema.java
new file mode 100644
index 000..175701c
--- /dev/null
+++ 
b/demo/demo-jaxrs/jaxrs-client/src/main/java/org/apache/servicecomb/demo/jaxrs/client/injectBean/TestInjectBeanSchema.java
@@ -0,0 +1,35 @@
+/*
+ * 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.demo.jaxrs.client.injectBean;
+
+import org.apache.servicecomb.demo.CategorizedTestCase;
+import org.apache.servicecomb.demo.TestMgr;
+import org.apache.servicecomb.provider.springmvc.reference.RestTemplateBuilder;
+import org.springframework.stereotype.Component;
+import org.springframework.web.client.RestTemplate;
+
+@Component
+public class TestInjectBeanSchema implements CategorizedTestCase {
+  RestTemplate restTemplate = RestTemplateBuilder.create();
+
+  @Override
+  public void testAllTransport() throws Exception {
+boolean result = restTemplate.getForObject("cse://jaxrs/injectSet", 
boolean.class);
+TestMgr.check(true, result);
+  }
+}
diff --git 
a/demo/demo-jaxrs/jaxrs-server/src/main/java/org/apache/servicecomb/demo/jaxrs/server/injectBean/InjectBean.java
 
b/demo/demo-jaxrs/jaxrs-server/src/main/java/org/apache/servicecomb/demo/jaxrs/server/injectBean/InjectBean.java
new file mode 100644
index 000..60ef524
--- /dev/null
+++ 
b/demo/demo-jaxrs/jaxrs-server/src/main/java/org/apache/servicecomb/demo/jaxrs/server/injectBean/InjectBean.java
@@ -0,0 +1,29 @@
+/*
+ * 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.demo.jaxrs.server.injectBean;
+
+import org.springframework.stereotype.Component;
+
+@Component
+public class InjectBean {
+  private boolean set = true;
+
+  public boolean isSet() {
+return set;
+  }
+}
diff --git 
a/demo/demo-jaxrs/jaxrs-server/src/main/java/org/apache/servicecomb/demo/jaxrs/server/injectBean/InjectBeanSchema.java
 
b/demo/demo-jaxrs/jaxrs-server/src/main/java/org/apache/servicecomb/demo/jaxrs/server/injectBean/InjectBeanSchema.java
new file mode 100644
index 000..14f2ee4
--- /dev/null
+++ 

[GitHub] [servicecomb-java-chassis] wujimin merged pull request #2379: [SCB-2269]fix deadlock of XmlViewResolver and SPI bean autowire in bl…

2021-05-13 Thread GitBox


wujimin merged pull request #2379:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2379


   


-- 
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