grafana/public/app/types
Sofia Papagiannaki d1dab5828d
Alerting: Update rule API to address folders by UID (#74600)
* Change ruler API to expect the folder UID as namespace

* Update example requests

* Fix tests

* Update swagger

* Modify FIle field in /api/prometheus/grafana/api/v1/rules

* Fix ruler export

* Modify folder in responses to be formatted as <parent UID>/<title>

* Add alerting test with nested folders

* Apply suggestion from code review

* Alerting: use folder UID instead of title in rule API (#77166)

Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>

* Drop a few more latent uses of namespace_id

* move getNamespaceKey to models package

* switch GetAlertRulesForScheduling to use folder table

* update GetAlertRulesForScheduling to return folder titles in format `parent_uid/title`.

* fi tests

* add tests for GetAlertRulesForScheduling when parent uid

* fix integration tests after merge

* fix test after merge

* change format of the namespace to JSON array

this is needed for forward compatibility, when we migrate to full paths

* update EF code to decode nested folder

---------

Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: Virginia Cepeda <virginia.cepeda@grafana.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
Co-authored-by: Alex Weaver <weaver.alex.d@gmail.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-01-17 11:07:39 +02:00
..
jquery Minor progress on fixing no-implicit any issues 2019-03-19 18:24:47 +01:00
accessControl.ts Alerting: Export contact points to check access control action instead legacy role (#71990) 2023-08-08 19:29:34 +03:00
acl.ts Chore: remove legacy dashboard and folder permission pages (#77143) 2023-10-31 14:23:37 +00:00
alerting.ts Alerting: Add support for msteams contact point in external Alertmanagers (#76392) 2023-10-13 10:43:42 -05:00
apiKeys.ts Service accounts: UI migration results (#68789) 2023-06-08 10:09:30 +02:00
appEvent.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
appNotifications.ts Frontend: Add notification persistence behind feature flag (#47871) 2022-04-20 10:42:32 +01:00
config.ts ClientTokenRotation: Don't rotate session cookie for authproxy (#72496) 2023-07-28 15:32:58 +02:00
dashboard.ts Chore: remove legacy dashboard and folder permission pages (#77143) 2023-10-31 14:23:37 +00:00
datasources.ts Datasource Onboarding: Prevent flickering of onboarding page after first load (#63360) 2023-02-24 11:48:30 +00:00
events.ts Explore: Do not update URL when time range changes to absolute (#72436) 2023-07-31 14:11:44 +02:00
explore.ts Correlations: Add transformations to Explore Editor (#75930) 2023-11-02 15:09:30 -05:00
folders.ts Chore: remove legacy dashboard and folder permission pages (#77143) 2023-10-31 14:23:37 +00:00
index.ts SAML: Move type definitions to auth config to change ownership to authnz team (#72463) 2023-08-01 09:45:41 +01:00
ldap.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
location.ts FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
organization.ts SelectOrgPage: migrate API function calls to Redux (#43133) 2021-12-16 09:57:18 +01:00
plugins.ts Chore: removing folderId from plugindashboard service (#80570) 2024-01-16 11:08:39 +01:00
query.ts QueryGroup: Cleanup leftovers from hackathons (#67048) 2023-04-21 15:32:47 +02:00
serviceaccount.ts IAM: Protect managed service account frontend details page (#77839) 2023-11-14 17:52:48 +01:00
settings.ts SAML: Configuration UI (#64054) 2023-04-13 16:07:43 +02:00
store.ts Explore: Refactor & centralize URL/state sync (#66286) 2023-06-06 15:31:39 +01:00
suggestions.ts Dashboard: Add suggestion box for Flame Graph (#70763) 2023-07-05 14:25:00 +02:00
supportBundles.ts Support Bundles: Improve creating bundle UX (#61611) 2023-01-17 17:50:14 +01:00
svg.d.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
teams.ts RolePicker: Optimise rendering inside lists of items (#77297) 2023-11-01 11:57:02 +01:00
templates.ts Chore: type fixes (#77618) 2023-11-06 11:28:44 +00:00
unified-alerting-dto.test.ts Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
unified-alerting-dto.ts Alerting: Simplified routing part3 (#79941) 2024-01-09 08:39:43 +01:00
unified-alerting.ts Alerting: Update rule API to address folders by UID (#74600) 2024-01-17 11:07:39 +02:00
user.ts Anonymous Access: Pagination for devices (#80028) 2024-01-15 12:13:38 +00:00
window.d.ts Scenes: Backward compatability with new template variable system for functions that don't pass scopedVars (#75937) 2023-10-04 13:21:01 +02:00