grafana/pkg/services/thumbs
Eric Leijonmarck 371d7850a5
Auth: Service account store refactor (#58961)
* refactor: renaming of files from database to store

* refactor: make service account store private

- moves store interface to manager package
- adds an interface to the ProvideAPI constructor
- refactors tests to use the store when necessary
- adds mocks for the new interface implementations in the tests package

* wip

* refactor: make fakestore in service

* wip

* wip

* wip

* working tests

* trailing whitespaces

* Update pkg/services/serviceaccounts/api/api.go

* Update pkg/services/serviceaccounts/tests/common.go

* Update pkg/services/serviceaccounts/tests/common.go

* refactor: doc string for retriever

* fix import unused

* remove: serviceaccount from featuretoggle

* added: back legacy serviceaccounts feature toggle

* added: docs

* refactor: make query for the SearchQuery

* add: validation of service input fields

* add validation
2022-12-13 14:56:10 +01:00
..
dashboardthumbsimpl chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
testdata Previews: return an empty array, rather than a null, if a dashboard has no datasources (#52961) 2022-07-28 22:49:06 +04:00
crawler_auth.go Auth: Service account store refactor (#58961) 2022-12-13 14:56:10 +01:00
crawler.go StoreSplit: move dashboard thumbs into thumbs service (#55800) 2022-09-27 08:46:03 -04:00
dashboard_thumbs.go StoreSplit: move dashboard thumbs into thumbs service (#55800) 2022-09-27 08:46:03 -04:00
datasources_lookup_test.go Previews: return an empty array, rather than a null, if a dashboard has no datasources (#52961) 2022-07-28 22:49:06 +04:00
datasources_lookup.go Previews: return an empty array, rather than a null, if a dashboard has no datasources (#52961) 2022-07-28 22:49:06 +04:00
dummy.go Chore: Add Usage stats providers registry (#48357) 2022-04-28 13:06:49 +04:00
models.go StoreSplit: move dashboard thumbs into thumbs service (#55800) 2022-09-27 08:46:03 -04:00
repo.go StoreSplit: move dashboard thumbs into thumbs service (#55800) 2022-09-27 08:46:03 -04:00
service.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00