grafana/pkg/tests/api
Kristina f18a02149a
Correlations: Create paginated API (#65241)
* Add pagination params and apply to sql

* Create getCorrelationsResponse that returns metadata

* Set up pagination, change correlations fetch to only get source datasource correlations

* Move correlations from root to pane, only fetch correlations for one datasource when initialized or datasource is changed

* Fix tests

* Fix remaining tests

* Use functional component to handle state

* Remove unneeded mocks, fix tests

* Change perPage to limit

* Fix Go Tests

* Fix linter

* Remove parameter

* Account for mixed datasources

* Delete unused hook

* add source UID filter to API, start backing out front end hook changes

* add source IDs to API, use when loading or changing datasource

* Fix prettier

* Mock correlations response

* Get correlations for all datasources in mixed scenario

* Add documentation for new parameters

* Attempt to fix swagger

* Fix correlations page

* add swagger and openapi docs

* Add mocks to failing test

* Change API for consistency, remove extra hooks and unused function

* Add max to limit and re-gen api docs

* Move the page to the previous page if deleting all the rows on the page

* Only fetch if remove does not have value

* Change page to a reference hook

* Fix documentation, a test and some logic thinking page could be 0
2023-07-05 09:37:17 -05:00
..
alerting Alerting: Bump grafana/alerting and refactor the ImageStore/Provider to provide image URL/bytes (#70182) 2023-06-21 20:53:30 -03:00
azuremonitor Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
correlations Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
dashboards Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
elasticsearch elasticsearch: removed code related to removed esVersion field (#65439) 2023-04-03 14:47:10 +02:00
graphite Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
influxdb InfluxDB: Return better error messages from backend (#70066) 2023-07-04 13:55:08 +02:00
loki Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
metrics remove flaky cloudwatch test (#45800) 2022-02-23 13:59:53 -06:00
opentdsb Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
plugins Plugins: Standardize Golang enum naming convention (#69449) 2023-06-08 12:21:19 +02:00
prometheus Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
stats Alerting: Fix stats that display alert count when using unified alerting (#64852) 2023-03-17 11:19:18 +00:00