Skip to content
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

Support overriding core module with custom implementation #1039

Open
setiah opened this issue Aug 2, 2021 · 0 comments
Open

Support overriding core module with custom implementation #1039

setiah opened this issue Aug 2, 2021 · 0 comments
Labels
discuss Issues intended to help drive brainstorming and decision making enhancement Enhancement or improvement to existing feature or request

Comments

@setiah
Copy link
Contributor

setiah commented Aug 2, 2021

Is your feature request related to a problem? Please describe.
OpenSearch provides some features outside of server as modules and plugins. Modules, like plugins, provide additional functionality on top of core, but cannot be uninstalled. Modules provide a good way to keep the code decoupled from server, yet packaged with every distribution. However, it restricts the user to use the module provided implementation of the featureas there is no way to override a module with custom functionality. There are some use cases like inbuilt security module, which provides security features applicable for every distribution, where users might want to override the module with their own custom implementation.

By overriding, the intent is to only load the classes for custom implementation at the time of bootstrapping OpenSearch process.

Describe the solution you'd like
Provide a mechanism in OpenSearch to override a module with custom implementation via user-provided plugin.

Feedback required
Besides security, are there any more use-cases that could use this framework? Basically, any more use cases where users would like to override some of the existing modules in OpenSearch with a custom implementation at runtime?

@setiah setiah added the enhancement Enhancement or improvement to existing feature or request label Aug 2, 2021
@setiah setiah added the discuss Issues intended to help drive brainstorming and decision making label Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Issues intended to help drive brainstorming and decision making enhancement Enhancement or improvement to existing feature or request
Projects
None yet
Development

No branches or pull requests

1 participant