You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/module_utils
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
5 years ago
..
acme crypto modules: fix sanity errors (#60046) 5 years ago
aws
basic unit tests: remove unused imports (#60462) 5 years ago
cloud
common
docker docker: fix sanity errors (#60047) 5 years ago
ec2
facts Speed up units using time.sleep by mocking or shortening sleep time (#61064) 5 years ago
gcp
hwc
json_utils
net_tools
network Meraki - Enable API call rate limiting for requests (#54827) 5 years ago
parsing
postgresql
remote_management
urls ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 5 years ago
xenserver unit tests: remove unused imports (#60462) 5 years ago
__init__.py
conftest.py
test_database.py
test_distribution_version.py
test_distro.py
test_hetzner.py
test_known_hosts.py
test_kubevirt.py
test_netapp.py
test_text.py
test_utm_utils.py
test_vmware.py