Skip to content

Add a plugin config to define backend plugin dependency and research if it can be installed on cluster through opensearch API #2799

@manasvinibs

Description

@manasvinibs

Is your feature request related to a problem? Please describe.

Installing an extension should automatically installs OpenSearch extensions it depends on.

Description:
Installing a plugin does not install it's corresponding OpenSearch plugin. In fact the plugin assumes it's available.

As part of this task:

  1. Add a new key for example in this file for the scaffolding script that allows developers to define OpenSearch extensions.
  2. Research Opensearch API's to install the extension on opensearch, if not available add a warning saying the Opensearch dashboard plugin has a dependency on the corresponding data source opensearch plugin to let know the cluster admin. Do not stop the OSD process.
    If API exist, then the installation script will read the config field and then call OpenSearch APIs to install the extension on OpenSearch. Ensuring error handling, for example, if OpenSearch extension doesn't exist as defined then fail to install the extension.

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestextensionsPRs or issues specific to plugins as extensionsresearch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions