grafana/pkg/services/pluginsintegration
Giuseppe Guerra 2e67a9463d
Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154)
* Initial refactoring work for plugins kvstore

* Replace implementations for keystore and angularstore

* Cleanup

* add interface check

* lint

* fix storeKeyGetter not being called in namespacedstore set

* Fix tests

* Comments

* Add tests

* Fix invalid cap in ListKeys when store is empty

* Update docstrings

* Add setLastUpdatedOnDelete

* Renamed DefaultStoreKeyGetterFunc, add TestDefaultStoreKeyGetter

* Sort imports

* PR review: removed last_updated key

* PR review: Removed setLastUpdatedOnDelete

* Re-added relevant tests

* PR review: Removed SingleKeyStore

* PR review: Removed custom marshaling support

* Renamed marshaler.go to marshal.go

* PR review: removed unused interfaces

* PR review: Moved marshal into namespacedstore.go

* PR review: removed storekeygetter

* Removed unused file cachekvstore.go

* Renamed NamespacedStore to CacheKvStore

* removed todo
2023-09-05 16:20:42 +02:00
..
adapters Replace signed in user for identity.requester (#74048) 2023-08-30 16:51:18 +02:00
angulardetectorsprovider Plugins: Dynamic angular patterns: Add random offset to GCOM API calls, handle HTTP errors (#73494) 2023-08-28 11:34:05 +02:00
angularinspector Plugins: Angular detector: Add database cache store for remote patterns (#70693) 2023-07-06 17:34:27 +03:00
angularpatternsstore Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
cachekvstore Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
clientmiddleware Chore: capitalise logs in other backend packages (#74344) 2023-09-04 22:25:43 +02:00
config Plugins: Bump SystemJS to 6.14.2 (#70068) 2023-08-31 15:45:44 +02:00
keyretriever Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
keystore Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
licensing Plugins: Migrate licensing and access control to pkg/services/pluginsintegration package (#65258) 2023-03-27 11:15:37 +02:00
loader Plugins: Bump SystemJS to 6.14.2 (#70068) 2023-08-31 15:45:44 +02:00
pipeline Plugins: Bump SystemJS to 6.14.2 (#70068) 2023-08-31 15:45:44 +02:00
pluginaccesscontrol Plugins: Migrate licensing and access control to pkg/services/pluginsintegration package (#65258) 2023-03-27 11:15:37 +02:00
plugincontext Fix panic in legacy alerting after identity.Requester migration (#74265) 2023-09-01 13:30:53 +03:00
pluginerrs Plugins: Add context to StaticRouteResolver and ErrorResolver interfaces (#73121) 2023-08-10 10:32:12 +02:00
pluginsettings Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
serviceregistration Chore: Update plugin schema with service registration info (#70692) 2023-06-27 08:47:25 +02:00
doc.go Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
plugins_integration_test.go Plugins: Add context to StaticRouteResolver and ErrorResolver interfaces (#73121) 2023-08-10 10:32:12 +02:00
pluginsintegration.go Plugins: Remove registry dependency from process manager (#73241) 2023-08-16 10:46:00 +02:00
test_helper.go Plugins: Bump SystemJS to 6.14.2 (#70068) 2023-08-31 15:45:44 +02:00