Parth Jagirdar created CLOUDSTACK-1484:
------------------------------------------

             Summary: API Throttling : api.throttling.enabled, Global setting 
missing
                 Key: CLOUDSTACK-1484
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1484
             Project: CloudStack
          Issue Type: Improvement
      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

Reply via email to