oncall-engine/engine/apps/integrations
Ildar Iskhakov c7a7a3f81a
Use dataclass methods in custom ratelimits and fix tests (#5036)
# What this PR does

Follow up PR for https://github.com/grafana/oncall/pull/5004
Tests haven’t caught a bug, so the method and the tests are fixed

## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-18 13:32:16 +00:00
..
metadata Add alertmanager integration for heartbeat support (#2807) 2023-08-17 13:22:37 +00:00
mixins Use dataclass methods in custom ratelimits and fix tests (#5036) 2024-09-18 13:32:16 +00:00
templates Remove Simulate Incident button (#4479) 2024-06-07 13:54:45 +00:00
tests Use dataclass methods in custom ratelimits and fix tests (#5036) 2024-09-18 13:32:16 +00:00
throttlers Integtation backsync endpoint (#4082) 2024-03-20 11:26:33 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
legacy_prefix.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
middlewares.py Add middleware to catch exception for missing integration, reduce spamminess of logs 2022-10-13 17:18:22 -06:00
tasks.py Add tilt button to run pytest, fix local dev config for pytest, minor improvements to til (#3927) 2024-07-09 01:24:18 +00:00
urls.py Integtation backsync endpoint (#4082) 2024-03-20 11:26:33 +00:00
views.py Integtation backsync endpoint (#4082) 2024-03-20 11:26:33 +00:00