-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow enabling and disabling of filters and plugins with startup configuration #177
Comments
Better approach would be to do not have all plugins packed inside the binary, but to allow installation (provisioning) of plugins as part of application initialisation, or by triggering a call to the application itself. The plugins should run as separate processes - similar to gometalinter approach that gets and installs only required plugins and runs the separate processes for each installed plugin. This will bring:
|
In gometalinter ( I just check the code) - here is what happens:
I don't see how this approach would be benefical for SM. Actually, a couple major drawbacks
Rather then downloading binaries i would prefer to have a config file in which we specified which of the already vendored plugins to be enabled/disabled. Then when testing SM, we can write tests that start SM with different plugin configurations. These tests will use the same plugin versions because the plugins are already vendored by the dependency management tool (dep/gomods) |
Currently, there is no way to disable specific plugins by using external config (for example env vars, flags, config file). However, there are often SM plugins that would talk to other systems which might often be missing or not accessible in some development environments.
Each filter/plugin should be configurable using the SM environment abstraction (which would mean that using env vars/flags/adding values to application.yml should allow disabling/enabling plugins/filters.
The text was updated successfully, but these errors were encountered: