You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Min Chen (JIRA)" <ji...@apache.org> on 2013/03/05 18:40:14 UTC

[jira] [Resolved] (CLOUDSTACK-1484) API Throttling : api.throttling.enabled, Global setting missing

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Min Chen resolved CLOUDSTACK-1484.
----------------------------------

    Resolution: Fixed
    
> API Throttling : api.throttling.enabled, Global setting missing
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1484
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1484
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, Management Server
>         Environment: rhel 6.3 build 46
>            Reporter: Parth Jagirdar
>            Assignee: Min Chen
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> Refer to following test case::
> I do not see API.throttling.enable option under global setting. I do not see it in FS either.
> Was this implemented or not?
> Apilimit-3	Throttle enable/disable	1. Set api.throttling.enabled = true
> 2. Verify throttling is enabled
> 3. Set api.throttling.enabled = false
> 4. Verify throttling is disabled	Verify by firing APIs > api.throttling.max no. of APIs
> I do not see it in table either ..
> mysql> select * from configuration where name like '%api%';
> +----------+----------+-------------------+--------------------------+-------+--------------------------------------------------------+
> | category | instance | component         | name                     | value | description                                            |
> +----------+----------+-------------------+--------------------------+-------+--------------------------------------------------------+
> | Advanced | DEFAULT  | management-server | api.throttling.cachesize | 50000 | Account based API count cache size                     |
> | Advanced | DEFAULT  | management-server | api.throttling.interval  | 1     | Time interval (in seconds) to reset API count          |
> | Advanced | DEFAULT  | management-server | api.throttling.max       | 20    | Max allowed number of APIs within fixed interval       |
> | Advanced | DEFAULT  | management-server | enable.ec2.api           | false | enable EC2 API on CloudStack                           |
> | Advanced | DEFAULT  | management-server | enable.s3.api            | false | enable Amazon S3 API on CloudStack                     |
> | Advanced | DEFAULT  | management-server | encode.api.response      | false | Do URL encoding for the api response, false by default |
> | Advanced | DEFAULT  | management-server | integration.api.port     | NULL  | Defaul API port                                        |
> | Advanced | DEFAULT  | AgentManager      | xapiwait                 | 600   | Time (in seconds) to wait for XAPI to return           |
> +----------+----------+-------------------+--------------------------+-------+--------------------------------------------------------+
> 8 rows in set (0.00 sec)
> mysql> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira