oncall-engine/engine/apps/public_api/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 World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alert_groups.py Improve alert group deletion API (#3124) 2023-10-05 14:32:40 +01:00
test_alerts.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_custom_actions.py Fix action/webhook API not accepting empty/null user (#3094) 2023-10-03 14:33:05 +00:00
test_escalation_chain.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_escalation_policies.py Update escalation policies public API to handle new webhooks (#2999) 2023-09-11 10:50:18 -03:00
test_integrations.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
test_maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_on_call_shifts.py fix(2989) Return users field data for web overriden shifts via public… (#3303) 2023-11-16 10:13:47 -03:00
test_personal_notification_rules.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_ratelimit.py Add ratelimit for phone number verification (#1354) 2023-02-21 16:47:52 +08:00
test_resolution_notes.py Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
test_routes.py Fix channel filter endpoint (#3192) 2023-10-25 12:33:05 +00:00
test_schedule_export.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
test_schedules.py add support for datetime on final_shifts API parameters (#3103) 2023-10-30 12:00:39 +00:00
test_shift_swap.py Notify user when their shift swap request is taken (#2992) 2023-09-07 14:59:54 +00:00
test_slack_channels.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_teams.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_user_groups.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_users.py fix(3093) Return timezone field of the user via public API (#3311) 2023-11-10 11:47:11 -05:00
test_webhooks.py Add webhook presets (#2996) 2023-09-27 07:22:52 -06:00