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

Plugins support embracing modular architecture #1861

Open
3 tasks
rishabhmaurya opened this issue Jan 7, 2022 · 0 comments
Open
3 tasks

Plugins support embracing modular architecture #1861

rishabhmaurya opened this issue Jan 7, 2022 · 0 comments
Labels
enhancement Enhancement or improvement to existing feature or request Plugins

Comments

@rishabhmaurya
Copy link
Contributor

Meta task to migrate plugin framework to use new proposed modular architecture.

It aims towards solving following limitation in OpenSearch plugin framework -

  1. Plugin should depend on sub-modules of concern instead of depending on uber server module. This will improve overall tech debts on maintenance of plugin, codebase hygiene, new plugin development and productivity, lesser breaking changes with major version upgrades of OpenSearch. Also, if there are no changes in minor version upgrade of any of the dependencies then plugins can remain unchanged and just continue to work. Un-modularized code is the major reason why so many plugins becomes stagnant with OpenSearch version upgrades, which forces plugin developers to update to the new version irrespective of what has changed.
  2. Dynamic installation of plugins whenever possible.
  • Reimplement PluginService to incorporate new modular architecture
  • PluginService should make use of new ModuleLayer explicitly for all plugins. It can also be used to load new plugins dynamically.
  • Migrate existing plugins in opensearch codebase to new architecture

Please add any other pain points with respect to plugin development, maintenance, installation and administration.

@rishabhmaurya rishabhmaurya added enhancement Enhancement or improvement to existing feature or request untriaged labels Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Plugins
Projects
None yet
Development

No branches or pull requests

2 participants