ccb9cab131
Plugins: Add synchronous CDN plugin loader ( #99096 )
...
* WIP
* Run plugin validations and validation steps sequentially if feature is off
* Remove dependency between sources.Service and pluginscdn.Service
* lint
* Parallelize validation only if class is CDN
* re-generate feature toggles
* remove waitgroup usage
* PR review: Add loader concurrency limit setting
* re-generate feature toggles
* pr review feedback
* fix const name
* Skip module.js validation for cdn plugins
* do not run validation steps in parallel
* lint
* reduce diff
* re-generate feature toggles
* lint
* pr review feedback
* remove leftover config.PluginManagementCfg from sources.Service
2025-02-07 11:07:08 +01:00
ab5a065256
Revamp plugin loading error management ( #85939 )
2024-04-11 16:18:04 +02:00
3c50db328d
Plugins: Make Installer responsible for removing plugins from file system ( #73323 )
...
* installer is responsible for removing from file system
* take plugin as arg
* remove resolve step
* return plugin in test
2023-08-16 15:44:20 +02:00
72da44db0e
Plugins: Add validation stage to plugin loader pipeline ( #73053 )
...
* first pass
* change validation signature
* err tracking
* fix
* undo golden
* 1 more
* fix
* adjust doc
* add test helper
* fix linter
2023-08-09 18:25:28 +02:00
60b4a0b2a4
Plugins: Add termination stage to plugin loader pipeline ( #72822 )
...
* add termination stage
* uid -> pluginID (for now)
* also fix fakes
* add simple test
* Fix logger name
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
* inline stop func call
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2023-08-04 11:57:49 +02:00
ad2705fa0b
Plugins: Add inititialization stage to plugin loader pipeline ( #72667 )
...
* first pass
* migrate tests
* simplify
* fix comments
* fix linter
* nil checks
* remove comment
2023-08-02 16:29:12 +00:00