Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-05 Thread Mohanadarshan Vivekanandalingam
On Sun, Jun 5, 2016 at 9:56 AM, Harsha Kumara wrote: > Yes AFAIK it won't add any processing delay from CEP side if we don't > access any data in the json map. Since we have to go through header maps > and extract the query param this will add delay for data publishing side. >

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-04 Thread Harsha Kumara
Yes AFAIK it won't add any processing delay from CEP side if we don't access any data in the json map. Since we have to go through header maps and extract the query param this will add delay for data publishing side. We can enable this by default. I think it's better to have the option to disable.

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-04 Thread Nuwan Dias
Why would we have to check if there are conditions which require query params? Or headers? I think we should publish them anyway. Does it cause a performance impact to send additional data to CEP? I don't think getting those data from the request has an overhead. Thanks, NuwanD. On Sat, Jun 4,

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-03 Thread Harsha Kumara
Hi Ushani, We add that property because, sometime users may not need publishing the query params to the CEP as they don't have policies associated with them. Going through the policies applied for a particular API and determine it has query param conditions and then publishing the query param to

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-03 Thread Ushani Balasooriya
Additionaly why do we need to control EnableQueryParamConditions via api-manager.xml when we have a on/off switch button to each conditional header in Advanced throttling configuration UI? On Jun 4, 2016 7:24 AM, "Ushani Balasooriya" wrote: > Hi Amila, > > So these

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-03 Thread Ushani Balasooriya
Hi Amila, So these configurations will be applicable across all tenants? Akso I think it would be better if we can hide Conditional groups when EnableHeaderConditions is set to false or make them disable. Likewise will it be possible to have UI level improvements to notify the admin? Just a

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-03 Thread Amila De Silva
Hi Ushani, For the new throttling to work you first have to set EnableAdvanceThrottling to true. When EnableHeaderConditions is set to true, all the headers in the incoming message will be published to the CEP. Similarly Setting EnableJWTClaimConditions and EnableQueryParamConditions to true