grafana/pkg/services/pluginsintegration
Will Browne 2c47d246fc
Plugins: Introduce LoadingStrategy for frontend loading logic (#92392)
* do it all

* feat(plugins): move loadingStrategy to ds pluginMeta and add to plugin settings endpoint

* support child plugins and update tests

* use relative path for nested plugins

* feat(plugins): support nested plugins in the plugin loader cache by extracting pluginId from path

* feat(grafana-data): add plugin loading strategy to plugin meta and export

* feat(plugins): pass down loadingStrategy to fe plugin loader

* refactor(plugins): make PluginLoadingStrategy an enum

* feat(plugins): add the loading strategy to the fe plugin loader cache

* feat(plugins): load fe plugin js assets as script tags based on be loadingStrategy

* add more tests

* feat(plugins): add loading strategy to plugin preloader

* feat(plugins): make loadingStrategy a maybe and provide fetch fallback

* test(alerting): update config.apps mocks to include loadingStrategy

* fix format

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2024-09-09 10:38:35 +01:00
..
adapters Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
angulardetectorsprovider Angular deprecation: Disable dynamic angular inspector if CheckForPluginUpdates is false (#91194) 2024-07-31 10:10:12 +02:00
angularinspector Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns (#85956) 2024-04-15 10:37:28 +02:00
angularpatternsstore Plugins: Angular patterns: Use ETag for GCOM requests (#74453) 2023-09-12 18:03:57 +02:00
cachekvstore Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
clientmiddleware Plugin Instrumentation: Add target property to request logs (#91946) 2024-09-02 17:41:26 +02:00
dashboards Plugins: Make it possible to support multiple plugin versions (#82116) 2024-02-12 12:47:49 +01:00
keyretriever Plugins: Make grafana-com API URL usage consistent (#86920) 2024-04-26 16:47:38 +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: Introduce LoadingStrategy for frontend loading logic (#92392) 2024-09-09 10:38:35 +01:00
managedplugins Plugins: Hide version information when plugin is managed (#88065) 2024-07-29 11:18:43 +01:00
pipeline RBAC: Refactor RBAC plugin interface code (#90679) 2024-07-22 09:31:36 +01:00
pluginaccesscontrol RBAC: Allow plugins to use scoped actions (#90946) 2024-07-25 17:22:42 +03:00
pluginassets Plugins: Introduce LoadingStrategy for frontend loading logic (#92392) 2024-09-09 10:38:35 +01:00
pluginconfig MSSQL: Password auth for Azure AD (#89746) 2024-07-16 14:08:51 -05:00
plugincontext Chore: Remove provisional APIVersion from plugin info (#89831) 2024-07-01 10:53:16 +02:00
pluginerrs Return plugin error when requesting settings (#86052) 2024-04-18 14:29:02 +02:00
pluginexternal Chore: Replace core plugins as external warning (#81877) 2024-02-07 16:17:13 +02:00
plugininstaller Add debug headers when downloading plugins (#92579) 2024-08-29 11:30:21 +02:00
pluginsettings Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
pluginstore Plugins: Introduce LoadingStrategy for frontend loading logic (#92392) 2024-09-09 10:38:35 +01:00
renderer Revamp plugin loading error management (#85939) 2024-04-11 16:18:04 +02:00
serviceregistration Better tracing during extSvcAcc registration (#84719) 2024-03-21 16:41:10 +01: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 Loki: Remove unnecessary featuremgmt (#90874) 2024-07-24 11:00:41 +02:00
pluginsintegration.go Plugins: Introduce LoadingStrategy for frontend loading logic (#92392) 2024-09-09 10:38:35 +01:00
test_helper.go Actionsets: Add ability for plugins to add actions for core actionsets (i.e. folders:edit) (#88776) 2024-07-19 16:16:23 +01:00