grafana/pkg/services/provisioning/notifiers/testdata/test-configs
Arve Knudsen 6408b55a7c
Slack: Use chat.postMessage API by default (#32511)
* Slack: Use only chat.postMessage API

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Slack: Check for response error

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Slack: Support custom webhook URL

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Simplify

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Rewrite tests to use stdlib

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update pkg/services/alerting/notifiers/slack.go

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>

* Clarify URL field name

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix linting issue

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix test

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix up new Slack notifier

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Improve tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix lint

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Slack: Make token not required

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Alerting: Send validation errors back to client

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Document how token is required

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Make recipient required when using Slack API

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix field description

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2021-04-22 16:00:21 +02:00
..
broken-yaml moves test files into testdata folder 2019-01-28 20:44:10 +01:00
correct-properties Provisioning: Support alert notification channel secure settings (#26168) 2020-07-17 13:54:01 +02:00
correct-properties-with-orgName moves test files into testdata folder 2019-01-28 20:44:10 +01:00
double-default moves test files into testdata folder 2019-01-28 20:44:10 +01:00
empty moves test files into testdata folder 2019-01-28 20:44:10 +01:00
empty_folder moves test files into testdata folder 2019-01-28 20:44:10 +01:00
incorrect-settings Slack: Use chat.postMessage API by default (#32511) 2021-04-22 16:00:21 +02:00
no-required-fields moves test files into testdata folder 2019-01-28 20:44:10 +01:00
two-notifications moves test files into testdata folder 2019-01-28 20:44:10 +01:00
unknown-notifier moves test files into testdata folder 2019-01-28 20:44:10 +01:00