[FEATURE] Update Extension interface
Is your feature request related to a problem?
The getFeature(), createGuiceModules(), getGuiceServiceClasses(), additionalSettings(), getSettingsFilter(), getSettingUpgraders(), getIndexTemplateMetadataUpgrader(), getBootstrapChecks(), getRoles(), getAdditionalIndexSettingProviders() extension points communicate an extension's default capabilities to OpenSearch.
What solution would you like?
Update the Extension interface with the above methods, with default implementations matching Plugin.java.
Hey, I would like to help complete this task.
Hey @Osiris34, welcome and feel free to implement this!
Hi @Osiris34 welcome. Please help assign the issue to yourself and start working on it. Thanks
@minalsha Hey where is the file you want updated located at?
Hey @Osiris34 the Extension interface is in the org.opensearch.sdk package. Here's the GitHub copy:
https://github.com/opensearch-project/opensearch-sdk-java/blob/main/src/main/java/org/opensearch/sdk/Extension.java
And here's the Plugin class to copy the default implementations from. Please change "plugin" to "extension" in the javadocs.
https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/plugins/Plugin.java
HI @Osiris34 , could you please share progress for this issue? Do you need any help with this issue?