oncall-engine/engine/apps/webhooks/tests
Michael Derynck 60ef4348f5
Allow OnCall API to use Grafana Service Accounts (#3189)
# What this PR does
Allows public OnCall API to use Grafana service accounts for
authorization. In cloud requests using a Grafana service account token
also needs to provide headers for `X-Grafana-Org-Slug` and
`X-Grafana-Instance-Slug`

This is **alpha** functionality, it may break or be removed in the
future. Going to use this on one endpoint (resolution notes) before we
consider the implications across all of public API.

## 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)
2023-11-23 16:42:27 +00:00
..
__init__.py Add webhooks app and initial models (#1101) 2023-03-09 19:39:25 +00:00
factories.py Pass all integration labels down to alert groups (#3302) 2023-11-08 14:04:58 +00:00
test_alert_group_status_change.py remove references to AlertGroup.is_archived and AlertGroup.unarchived_objects (#2524) 2023-07-18 11:48:34 +00:00
test_trigger_webhook.py Webhook labels (#3383) 2023-11-22 11:17:41 +00:00
test_webhook.py remove deprecated call_ack_url celery task (#2545) 2023-07-25 02:50:18 -04:00
test_webhook_presets.py Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00