yigitbasalma opened a new pull request, #13332: URL: https://github.com/apache/cloudstack/pull/13332
### Description Currently, the `backup.framework.provider.plugin` setting validates against a hardcoded list of plugins (`dummy`, `veeam`, `networker`, `nas`). This prevents third-party backup provider plugins from being registered and used in CloudStack, even when the plugin is correctly implemented and deployed. This PR introduces a new configuration key `backup.framework.provider.plugin.allowed` that contains a comma-separated list of allowed backup provider plugins. Administrators can extend this list to include third-party plugins without modifying CloudStack source code. Default value maintains full backward compatibility with existing plugins. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) - [ ] Build/CI - [ ] Test (unit or integration test code) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [x] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [ ] Minor - [ ] Trivial ### Screenshots (if appropriate): N/A ### How Has This Been Tested? - All existing unit tests pass (714 tests, 0 failures, 0 errors) - Verified backward compatibility: default value of `backup.framework.provider.plugin.allowed` includes all existing plugins (`dummy`, `veeam`, `networker`, `nas`) - Verified third-party plugin registration works by adding a custom plugin name to the allowed list #### How did you try to break this feature and the system with this change? - Tested with invalid plugin name — proper error message returned with list of allowed plugins - Tested with empty allowed list — validation correctly rejects all plugin names - Tested with existing plugin names (`dummy`, `veeam`, `networker`, `nas`) — all work as before -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
