oncall-engine/engine/apps/grafana_plugin/tests
Michael Derynck d938b52d80
Add scheduled task to start cleanup tasks (#3976)
# What this PR does
Add scheduled task to start cleanup tasks. Currently purpose is to run
the task every 12 hours and for all active orgs cleanup empty & deleted
integrations. For deleted orgs we can run this manually. It will also
run if an org moves from active to deleted. It is expected to add more
to cleanup_organization task over time.

## Which issue(s) this PR fixes

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-03-04 19:45:01 +00:00
..
test_app_config.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
test_gcom_api_client.py Add scheduled task to start cleanup tasks (#3976) 2024-03-04 19:45:01 +00:00
test_grafana_api_client.py patch minor sync issue when HTTP 302 is received from Grafana API instance (#1393) 2023-02-23 13:23:57 +00:00
test_install.py Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
test_self_hosted_install.py Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
test_status.py Fix inconsistency with API URL returned by plugin status (#3122) 2023-10-16 17:38:08 +00:00
test_sync.py Add task to delete empty deleted integrations from the database (#3941) 2024-02-27 17:34:41 +00:00