ansible / django-ansible-base

Apache License 2.0
12 stars 43 forks source link

Add method to get status from redis #545

Closed john-westcott-iv closed 1 month ago

john-westcott-iv commented 1 month ago

AAP-28156

TODO:

The easiest way to test the functionality is to go into shell_plus and execute the following statements:

from ansible_base.lib.redis.client import get_redis_status
url = settings.CACHES['default']['LOCATION']
kwargs = settings.CACHES['default']['OPTIONS']['CLIENT_CLASS_KWARGS']
get_redis_status(url, **kwargs)
jay-steurer commented 1 month ago

Fix redis cluster dev env on Linux https://github.com/ansible/aap-gateway/pull/500

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
91.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud