You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/07/04 02:42:43 UTC

[GitHub] [servicecomb-kie] cooperong opened a new issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

cooperong opened a new issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187


   Describe the bug
   我使用kie打开了服务中心注册,且服务中心开启了rbac,则kie无法正常注册进服务中心,因为http header缺少token,java版
   可以通过yaml加入
   credentials:
   rbac:
   enabled: true
   account:
   name: #服务中心支持的用户名
   password: #用户名对应的密码
   cipher: default #账号密码加解密用的算法实现类
   自动支持服务中心rbac注册,但kie使用的go-chassis无法支持,已在参数文件内加入以上配置,仍提示header 不含token
   
   Version of go chassis
   
   To Reproduce
   Steps to reproduce the behavior:
   
   Logs


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] tianxiaoliang commented on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
tianxiaoliang commented on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-873982113


   误会了,其实我是想进一步挖掘场景,比如kie注册后,用于做什么,我问的是这件事。这个肯定是存在问题,而且您提出的肯定是好问题,指出了我们目前功能不完善


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] tianxiaoliang commented on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
tianxiaoliang commented on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-873703865


   好问题,另外请问下您的用户故事,kie自注册到service center后,用于何种场景


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] cooperong edited a comment on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
cooperong edited a comment on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-874423845






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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] cooperong edited a comment on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
cooperong edited a comment on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-874423845


   比如做kie的api的二次封装,加入特定验证机制,再以服务形式提供出去让用户可以在有限条件下自行做一些动态配置。不希望用户直接使用kie的api,统一的以服务中心方式调用


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] cooperong commented on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
cooperong commented on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-874423845


   比如做kie的api的二次封装,加入特定验证机制,再以服务形式提供出去让用户可以在有限条件下自行做一些动态配置


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] cooperong edited a comment on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
cooperong edited a comment on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-874423845


   比如做kie的api的二次封装,加入特定验证机制,再以服务形式提供出去让用户可以在有限条件下自行做一些动态配置。不希望用户直接使用kie的api


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] cooperong commented on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
cooperong commented on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-873732269


   > 好问题,另外请问下您的用户故事,kie自注册到service center后,用于何种场景
   
   不明白你这么问是什么意思,虽然正常情况kie可以不用注册到service center,但不代表这个问题不存在,既然kie提供了注册到service center的功能,这不是开发设计之初就考虑了场景问题吗?另外提出这个问题也是因为看到java版有提供了这部分逻辑,而go版没有,导致开启注册后应用无法平滑切换,故提出这部分疑问。至于使用何种场景,并不是所有用户在场景使用上出现问题解决不了才来这里发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.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] cooperong commented on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
cooperong commented on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-874423845


   比如做kie的api的二次封装,加入特定验证机制,再以服务形式提供出去让用户可以在有限条件下自行做一些动态配置


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-kie] tianxiaoliang commented on issue #187: 服务中心如果开启rbac则无法像java版一样注册,header没有token

Posted by GitBox <gi...@apache.org>.
tianxiaoliang commented on issue #187:
URL: https://github.com/apache/servicecomb-kie/issues/187#issuecomment-873982113


   误会了,其实我是想进一步挖掘场景,比如kie注册后,用于做什么,我问的是这件事。这个肯定是存在问题,而且您提出的肯定是好问题,指出了我们目前功能不完善


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org