oncall-engine/engine/apps/grafana_plugin
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
..
helpers Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
tasks Remove checks that slow down plugin load and cause "Initializing plugin..." (#2624) 2023-07-26 10:57:57 +00:00
tests Fix inconsistency with API URL returned by plugin status (#3122) 2023-10-16 17:38:08 +00:00
views Fix inconsistency with API URL returned by plugin status (#3122) 2023-10-16 17:38:08 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
apps.py Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
urls.py Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00