grafana/pkg/services/provisioning/datasources/testdata
Piotr Jamróz 946da57b6a
Correlations: Allow creating correlations for provisioned data sources (#73737)
* Allow creating correlations for provisioned data sources

* Update docs

* Fix linting

* Add missing props

* Add missing props

* Fix linting

* Fix linting

* Clarify error name

* Removed error handling for a non-existing use case

* Create a list of deleted data datasources based on all configs

* Add org_id to correlations

* Add tests

* Allow org_id to be null in case org_id=0 is used

* Create organization to ensure stable id is generated

* Fix linting

* Ensure backwards compatibility

* Add deprecation information

* Update comments

* Override existing datasSource variable so the UID is retrieved correctly

* Migrate correlations indices

* Default org_id when migrating

* Remove redundant default

* Make PK non-nullable

* Post merge fixes

* Separate data sources / correlations provisioning

* Adjust comments

* Store new data sources in spy store so it can be used to test correlations as well

* Fix linting

* Update tests

* Ensure response is closed

* Avoid creating duplicates during provisioning

* Fix updating provisioned column and update tests

* Rename error message

* Fix linting errors

* Fix linting errors and rename variable

* Update test

* Update pkg/services/sqlstore/migrations/correlations_mig.go

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Remove unused error

* Fix lining

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-09-13 15:10:09 +02:00
..
all-properties Glue: Return correlation config in GET /correlations (#55801) 2022-09-28 12:17:43 +01:00
appliedDefaults Provisioning: set stable datasource UID with provisioning (#41769) 2021-11-18 01:18:08 +01:00
broken-yaml Datasource: Remove support for unencrypted passwords (#49987) 2022-06-03 17:38:22 +02:00
correlations-different-organizations Correlations: Add organization id (#72258) 2023-08-24 09:39:30 +02:00
delete-one Provisioning: Ensure that the default value for orgID is set when provisioning datasources to be deleted (#44244) 2022-02-09 12:38:13 +01:00
double-default provisioning: place testfiles within testdata folder 2018-05-29 16:30:12 +02:00
insert-two-delete-two provisioning: place testfiles within testdata folder 2018-05-29 16:30:12 +02:00
invalid-access Provisioning: Validate that datasource access field equals to direct or proxy (#26440) 2020-07-20 10:01:25 +02:00
multiple-org-default cleaning up test data 2018-08-17 15:00:37 +02:00
one-datasource-two-correlations Glue: Return correlation config in GET /correlations (#55801) 2022-09-28 12:17:43 +01:00
recreate-one Correlations: Allow creating correlations for provisioned data sources (#73737) 2023-09-13 15:10:09 +02:00
two-datasources provisioning: place testfiles within testdata folder 2018-05-29 16:30:12 +02:00
version-0 Glue: Return correlation config in GET /correlations (#55801) 2022-09-28 12:17:43 +01:00
zero-datasources Azure Monitor: Revert support for cross resource queries (#19115)" (#19346) 2019-09-24 12:01:12 +02:00