yarn opensearch
arg to setup dependencies
#2544
Labels
enhancement
New feature or request
extensions
PRs or issues specific to plugins as extensions
v2.5.0
'Issues and PRs related to version v2.5.0'
Is your feature request related to a problem? Please describe.
As a developer working on an external plugin (for example the AD dashboards plugin) that requires a corresponding OpenSearch plugin, but I can not use the
yarn opensearch
command to start up the cluster because it will install amin
of OpenSearch.Therefore, I must either download a docker image, download a distribution, or pull down OpenSearch and clone my OpenSearch repo and build start. Even if I only want to do OpenSearch Dashboards development.
Describe the solution you'd like
I would like to run the
yarn opensearch
command to setup up a data source with an OpenSearch plugin that my OpenSearch Dashboards plugin requires.For example, if I would like to start a snapshot of OpenSearch from OpenSearch Dashboards. I run
yarn opensearch snapshot
to get amin
snapshot.But I would like to do something like
yarn opensearch snapshot -P anomaly-detection
or
yarn opensearch snapshot -P file:{path}/anomaly-detection.zip
or
yarn opensearch snapshot -P {URL}/anomaly-detection.zip
Which will download the snapshot and install security plugin into the snapshot of OpenSearch. So that I can work completely in OpenSearch Dashboards. NOTE: P is just a suggestion not a final decision.
We can already configure the cluster config by passing
-E
[REF]. So adding more to this file that then executes opensearch-plugin with the value passed in.Describe alternatives you've considered
Add a new config to the plugin manifest. That tells what data source requirement it needs and as a developer if I add this configuration then the start up OpenSearch installs those plugins if available.
Additional context
n/a
The text was updated successfully, but these errors were encountered: