* feat: add export endpoint
This is not at all complete, but acts as a good base.
* chore: more todos
* feat: fetch folders and their parents
* feat: export to folders
* refactor: use constant for folder key
* add group mapping UID returned mapped roles
* request mapped roles from the frontend, but don't attempt to update mapped roles
* lock mapped roles and show a pop-up message about why a role is locked
* update role selectors to not allow deselecting a mapped role
* swagger gen
* simplify and set mapped as bool instead of mapping UID array
* swagger gen
* Add baseAPI
* Restore schemaFile
* Generate endpoints
* Cleanup endpoints
* Update endpoints
* Set up config page
* Add hook
* Rename to provisioning
* Register reducer and middleware
* Separate List and New pages
* Add GitHub config
* Save data
* Fix types
* Display list
* Fix redirect
* Update tags
* Common folder
* Cleanup
* Update public/app/routes/routes.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Add token permissions instructions
* Add EditPage
* load data for edit
* Update hook
* Show api errors
* Add title and token
* Use test name
* Update token field state
* Add delete button
* Add feedback for delete action
* Sort list
* Do not load items for new page
* Prettier
* Disable type change for edit
* Add title field
* Update pkg/services/navtree/navtreeimpl/admin.go
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Update public/app/features/provisioning/ConfigForm.tsx
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
---------
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* add group mapping UID returned mapped roles
* request mapped roles from the frontend, but don't attempt to update mapped roles
* lock mapped roles and show a pop-up message about why a role is locked
* update role selectors to not allow deselecting a mapped role
* swagger gen
* simplify and set mapped as bool instead of mapping UID array
* swagger gen
* optimize tokens count from service accounts query
* add unit tests for tokens count
* skip broken test
* fix lint error
* rename Tokens to TokenCount
* Move TraceQL metrics queries to backend
* Add tests for TransformMetricsResponse
* Add tests for createMetricsQuery
* Refactor, detect metric queries and throw error for search queries
* Remove unneeded types
* Don't add start and end if they are 0. Return on err
* lint
* Fix pre-alloc of frames
* Address PR comments