ansible/test/units
Kevin Breit 489156378c Meraki - Enable API call rate limiting for requests (#54827)
* Initial commit for rate limiting
- Detects if error code is 429
- Pauses for random time between .5 and 5 seconds before retrying
- If it fails 10 times, give up and tell user

* Redo structure of request() to support rate limiting

* Hold down timer is now a sliding scale
- 3 * number of retries
- Fails after the 30 second wait

* Whitespace fixes

* Redo implementation using decorators
- Errors aren't tested but code works for regular calls

* Unit tests work for error handling

* Add integration tests for successful retries

* Add condition for 502 errors and retry

* Move _error_report out of the class

* PEP8 fixes

* Add changelog entry
2019-08-27 16:32:09 -04:00
..
cli ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 2019-08-21 07:49:05 +10:00
compat
config
contrib
errors
executor
galaxy ansible-galaxy - Add timeout and progress indicator for publish and install (#60660) 2019-08-23 06:27:28 +10:00
inventory_test_data/group_vars
mock
module_utils Meraki - Enable API call rate limiting for requests (#54827) 2019-08-27 16:32:09 -04:00
modules FortiOS modules for 2.9 - 10 (#61367) 2019-08-27 21:07:39 +05:30
parsing Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602) 2019-08-26 09:08:22 -05:00
playbook
plugins Move instantiation of terminal plugin earlier (#61261) 2019-08-27 14:33:05 -04:00
regex
template
utils add subdir support to collection loading (#60682) 2019-08-21 10:45:04 +01:00
vars
__init__.py
test_constants.py
test_context.py