grafana/public/app/features/api-keys
Alexander Zobnin f82264c2b1
ServiceAccounts: API keys migration (#50002)
* ServiceAccounts: able to get upgrade status

* Banner with API keys migration info

* Show API keys migration info on Service accounts page

* Migrate individual API keys

* Use transaction for key migration

* Migrate all api keys to service accounts

* Hide api keys after migration

* Migrate API keys separately for each org

* Revert API key

* Revert key API method

* Rename migration actions and reducers

* Fix linter errors

* Tests for migrating single API key

* Tests for migrating all api keys

* More tests

* Fix reverting tokens

* API: rename convert to migrate

* Add api route descriptions to methods

* rearrange methods in api.go

* Refactor: rename and move some methods

* Prevent assigning tokens to non-existing service accounts

* Refactor: ID TO Id

* Refactor: fix error message

* Delete service account if migration failed

* Fix linter errors
2022-06-15 14:59:40 +02:00
..
__mocks__ Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00
state ServiceAccounts: API keys migration (#50002) 2022-06-15 14:59:40 +02:00
ApiKeysActionBar.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ApiKeysAddedModal.test.tsx Convert ApiKeysAddedModal test to RTL (#50669) 2022-06-13 14:52:17 +01:00
ApiKeysAddedModal.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ApiKeysController.tsx Admin: Keeps expired api keys visible in table after delete (#31636) 2021-03-04 13:20:38 +01:00
ApiKeysForm.tsx grafana/ui: Add default type="button" to <Button> (#48183) 2022-05-04 18:36:14 +02:00
APIKeysMigratedCard.tsx ServiceAccounts: API keys migration (#50002) 2022-06-15 14:59:40 +02:00
ApiKeysPage.test.tsx ServiceAccounts: API keys migration (#50002) 2022-06-15 14:59:40 +02:00
ApiKeysPage.tsx ServiceAccounts: API keys migration (#50002) 2022-06-15 14:59:40 +02:00
ApiKeysTable.tsx ServiceAccounts: API keys migration (#50002) 2022-06-15 14:59:40 +02:00
MigrateToServiceAccountsCard.tsx ServiceAccounts: API keys migration (#50002) 2022-06-15 14:59:40 +02:00