grafana/pkg/services/provisioning
Giordano Ricci 5ce4baf6f5
Correlations: Add CreateCorrelation HTTP API (#51630)
* Correlations: add migration

* Correlations: Add CreateCorrelation API

* Correlations: Make correlations work with provisioning

* Handle version changes

* Fix lining error

* lint fixes

* rebuild betterer results

* add a UID to each correlation

* Fix lint errors

* add docs

* better wording in API docs

* remove leftover comment

* handle ds updates

* Fix error message typo

* add bad data test

* make correlations a separate table

* skip readonly check when provisioning correlations

* delete stale correlations when datasources are deleted

* restore provisioned readonly ds

* publish deletion event with full data

* generate swagger and HTTP API docs

* apply source datasource permission to create correlation API

* Fix tests & lint errors

* ignore empty deletion events

* fix last lint errors

* fix more lint error

* Only publish deletion event if datasource was actually deleted

* delete DS provisioning deletes correlations, added & fixed tests

* Fix unmarshalling tests

* Fix linting errors

* Fix deltion event tests

* fix small linting error

* fix lint errors

* update betterer

* fix test

* make path singular

* Revert "make path singular"

This reverts commit 420c3d315e.

* add integration tests

* remove unneeded id from correlations table

* update spec

* update leftover references to CorrelationDTO

* fix tests

* cleanup tests

* fix lint error
2022-07-25 15:19:07 +01:00
..
alerting/rules Alerting: Add file provisioning for alert rules (#51635) 2022-07-14 23:53:13 +02:00
dashboards chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
datasources Correlations: Add CreateCorrelation HTTP API (#51630) 2022-07-25 15:19:07 +01:00
notifiers Chore: Remove final x from sqlstore (#48086) 2022-04-25 13:07:11 -04:00
plugins Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
utils Chore: Remove bus from dashboards provisioning (#47495) 2022-04-08 13:56:38 +02:00
values Correlations: Add CreateCorrelation HTTP API (#51630) 2022-07-25 15:19:07 +01:00
provisioning_mock.go Alerting: Add file provisioning for alert rules (#51635) 2022-07-14 23:53:13 +02:00
provisioning_test.go Chore: Remove bus from dashboards provisioning (#47495) 2022-04-08 13:56:38 +02:00
provisioning.go Correlations: Add CreateCorrelation HTTP API (#51630) 2022-07-25 15:19:07 +01:00