From 44ec718d7c984f6350d9dce0fd95375e36e78a9e Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Tue, 2 Jan 2024 13:04:06 -0500 Subject: [PATCH] Add ability to create an Outgoing Webhook with the PATCH HTTP method via the UI (#3604) # What this PR does Closes https://github.com/grafana/oncall/issues/3564 ## TODO - [ ] add e2e tests for creating Outgoing Webhooks ## Checklist - [ ] 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) --- CHANGELOG.md | 4 ++++ .../OutgoingWebhookForm/OutgoingWebhookForm.config.tsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0536ab49..b23b8560 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- Add ability to create an Outgoing Webhook with the PATCH HTTP method via the UI by @joeyorlando ([#3604](https://github.com/grafana/oncall/pull/3604)) + ### Changed - Handle message to reply to not found in Telegram send log ([#3587](https://github.com/grafana/oncall/pull/3587)) diff --git a/grafana-plugin/src/containers/OutgoingWebhookForm/OutgoingWebhookForm.config.tsx b/grafana-plugin/src/containers/OutgoingWebhookForm/OutgoingWebhookForm.config.tsx index c3d7bb25..d421c748 100644 --- a/grafana-plugin/src/containers/OutgoingWebhookForm/OutgoingWebhookForm.config.tsx +++ b/grafana-plugin/src/containers/OutgoingWebhookForm/OutgoingWebhookForm.config.tsx @@ -122,6 +122,10 @@ export function createForm( value: 'PUT', label: 'PUT', }, + { + value: 'PATCH', + label: 'PATCH', + }, { value: 'DELETE', label: 'DELETE',