You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/03/01 01:05:19 UTC

[GitHub] [incubator-shenyu] ZhangJiaLei123 commented on issue #2951: [Question] Selector & rule

ZhangJiaLei123 commented on issue #2951:
URL: https://github.com/apache/incubator-shenyu/issues/2951#issuecomment-1054868511


   That doesn't seem to work:
   ```json
   {
       "pluginName": "divide",
       "selectorHandler": "[{\"upstreamUrl\":\"127.0.0.1:8507\"}]",
       "conditionDataList": [{
           "paramType": "uri",
           "operator": "match",
           "paramValue": "/AppName/**"
       }],
       "ruleDataList": [{
           "ruleHandler": "{\"loadBalance\":\"random\"}",
           "conditionDataList": [{
               "paramType": "uri",
               "operator": "match",
               "paramValue": "/AppName/**"
           }]
       }]
   }
   ```


-- 
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: notifications-unsubscribe@shenyu.apache.org

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