dragon-zhang opened a new issue, #3255:
URL: https://github.com/apache/incubator-shenyu/issues/3255

   ### Description
   
   When call 
`org.apache.shenyu.plugin.base.AbstractShenyuPlugin#filterSelector`, change 
`SelectorCondition` to `startsWith` from `match` will lead a higher performance.
   
   ### Task List
   
   1. add `StartPredicateJudge`(a extension of 
`org.apache.shenyu.plugin.base.condition.judge.PredicateJudge`);
   2. add `START` in `org.apache.shenyu.common.enums.OperatorEnum`;
   3. change SelectorCondition default operator to `START`;
   4. change SelectorCondition default param value to `/` from `/**`;
       3 and 4 are in 
`org.apache.shenyu.admin.service.impl.SelectorServiceImpl#buildDefaultSelectorConditionDTO`.
   5. add `EndPredicateJudge` if you like.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to