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 2020/07/09 01:14:04 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1871: edgeService 2.0.2 增加允许公共请求头后 鉴权功能 报空指针错误

liubao68 commented on issue #1871:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1871#issuecomment-655837676


   可以看下 `OperationConfig` 类, 配置规则如下:
   
   ```
     @InjectProperty(keys = {
         "operation${op-priority}.transport", // Deprecated
         "references.transport${op-priority}"
     })
     private String transport;
   ```
   
   即:
   
   ```
   servicecomb:
     references:
       transport: 
         [serviceName].[schemaId].[operationId]: rest
   ```


----------------------------------------------------------------
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:
users@infra.apache.org