Skip to content

[Refactor] *Plugin classes in modules/ source module to *Module classesΒ #4034

@nknize

Description

@nknize

Is your feature request related to a problem? Please describe.
OpenSearch modules only differ from plugins in that they are installed by default. Aside from that the same plugin scaffolding is used between the two. This makes navigating the source tree difficult. For example, if I'm looking at IngestUserAgentPlugin and IngestAttachmentPlugin I'd have no way of knowing IngestUserAgentPlugin is a module and IngestAttachment is a plugin. (missing javadocs aside).

Describe the solution you'd like
I propose we rote refactor all derived *Plugin classes currently in the modules/ directory to *Module to make it more clear which concrete plugin classes are installed by default vs which are not.

Describe alternatives you've considered
Implement separate module and plugin base classes. I think this is overkill for something that works just fine today and will likely be reworked during the extensions effort.

Additional context
This is a good low hanging fruit effort that a community contributor could pick up for earning merit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement or improvement to existing feature or requestgood first issueGood for newcomersideaThings we're kicking around.low hanging fruit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions