Hi Ushani, On Fri, Jun 10, 2016 at 2:28 PM, Ushani Balasooriya <[email protected]> wrote:
> Hi Harsha, > > Additionally please explain how it should behave if the request matches > one conditional group and default conditional group as well. > There is no possibility of request being applying to conditional group and a default policy. If one request match two conditional groups, one with lowest request count will be throttle out first. > > Scenario 2 : > E.g., > > E.g. > Conditional group 1 : JWT claim condition and Query Param Condition > > Conditional group 2 : Header condition > > A request matches both condition group1 and default request count is also > configured. > > Thanks, > > On Fri, Jun 10, 2016 at 2:17 PM, Ushani Balasooriya <[email protected]> > wrote: > >> Hi Harsha, >> >> In API Manager 2.0, Advance throttling configuration, if there are >> multiple conditional groups defined and if a request matches multiple >> conditional groups how it should work? >> >> Is there a priority that should be matched or should it match the lowest >> request count? >> >> Scenario :1 > >> E.g. >> Conditional group 1 : JWT claim condition and Query Param Condition >> >> Conditional group 2 :Header condition >> >> A request matches both condition groups. >> > With the current design, policy which have lowest request count will be applied if request match that particular conditional group. However we are discussing the behavior of this further. Will update if we have done any changes. > >> >> Thanks, >> -- >> *Ushani Balasooriya* >> Senior Software Engineer - QA; >> WSO2 Inc; http://www.wso2.com/. >> >> > > > -- > *Ushani Balasooriya* > Senior Software Engineer - QA; > WSO2 Inc; http://www.wso2.com/. > Mobile; +94772636796 > > -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
