grafana/pkg/services/featuremgmt
Josh Hunt 2e16d5499e
Dashboard: Add dashboard validation warning to save drawer (#55732)
* add api route for validating a dashboard json

* add feature flag for showDashboardValidationWarnings

* tidy up

* comments and messages

* swagger specs

* fix typo

* more swagger

* tests!

* tidy test a little bit

* no more ioutil

* api will return different status code depending on validation error

* clean up

* handle 4xx errors

* remove console.log

* fix backend tests

* tidy up

* Swagger: Exclude alpha endpoints

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-10-14 09:51:05 -04:00
..
strcase Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
testdata FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
features.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
manager_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
manager.go FeatureFlags: omit metric when grafana cant run the feature (#51856) 2022-07-08 09:11:49 -06:00
registry.go Dashboard: Add dashboard validation warning to save drawer (#55732) 2022-10-14 09:51:05 -04:00
service_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
service.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
settings_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
settings.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
toggles_gen_test.go Prometheus: Promote Azure auth flag to configuration (#53447) 2022-08-11 16:12:57 +02:00
toggles_gen.go Dashboard: Add dashboard validation warning to save drawer (#55732) 2022-10-14 09:51:05 -04:00
usage_stats_test.go Prometheus: Promote Azure auth flag to configuration (#53447) 2022-08-11 16:12:57 +02:00
usage_stats.go UsageStats: track enabled features (#47407) 2022-04-08 12:42:33 +02:00