oncall-engine/engine/apps/webhooks
Matias Bordese 980058305b
Avoid creating a webhook response if request is not triggered (#4211)
Only create a response object if the request is triggered, otherwise log
the reason.
Avoid creating multiple/unneeded responses, which can be also confusing
when displaying response objects. If there is no response, the
webhook/request wasn't triggered (possible reasons: integrations are
filtered, or the trigger template evaluates to False).

Related to https://github.com/grafana/oncall-private/issues/2615
2024-04-12 14:05:09 +00:00
..
migrations cleanup orphaned CustomButton escalation policy steps (#4143) 2024-04-02 15:23:07 +00:00
models Handle webhooks update on source integration settings update (#4195) 2024-04-10 11:37:11 +00:00
presets Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
tasks Avoid creating a webhook response if request is not triggered (#4211) 2024-04-12 14:05:09 +00:00
tests Avoid creating a webhook response if request is not triggered (#4211) 2024-04-12 14:05:09 +00:00
__init__.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
apps.py Webhooks trigger tasks on alert group events (#1533) 2023-03-13 21:19:22 +00:00
listeners.py Check for backsync updates before triggering connected webhooks (#4149) 2024-04-08 14:25:48 +00:00
signals.py Add users_to_be_notified to new webhooks payload (#1798) 2023-04-20 16:13:48 +00:00
utils.py Handle webhooks update on source integration settings update (#4195) 2024-04-10 11:37:11 +00:00