grafana/pkg/plugins/backendplugin
Joan López de la Franca Beltran 6415d2802e
Plugins: Requests validator (#30445)
* Introduce PluginRequestValidator abstraction with a NoOp implementation

* Update PluginRequestValidator abstraction to use the dsURL instead

* Inject PluginRequestValidator into the HTTPServer and validate requests going through data source proxy

* Inject PluginRequestValidator into the BackendPluginManager and validate requests going through it

* Validate requests going through QueryMetrics & QueryMetricsV2

* Validate BackendPluginManager health requests

* Fix backend plugins manager tests

* Validate requests going through alerting service

* Fix tests

* fix tests

* goimports

Co-authored-by: Leonard Gram <leo@xlson.com>
2021-02-03 20:47:45 +01:00
..
coreplugin Backend Plugins: Convert test data source to use SDK contracts (#29916) 2021-01-29 18:33:23 +01:00
grpcplugin Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
pluginextensionv2 Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
instrumentation.go Expressions: Move GEL into core as expressions (#29072) 2020-11-19 07:17:00 -05:00
manager_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
manager.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
plugin_settings_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
plugin_settings.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
plugin.go Backend plugins: Refactor to allow shared contract between core and external backend plugins (#25472) 2020-06-11 16:14:05 +02:00
resource_response_stream.go Chore: Fix issues reported by staticcheck; enable stylecheck linter (#28866) 2020-11-05 15:37:11 +01:00