The Index Management Dashboards plugin lets you manage your Index Management Dashboards plugin to view, monitor, and manage your indices directly from OpenSearch-Dashboards.
Please see our documentation.
-
Download OpenSearch for the version that matches the OpenSearch Dashboard version specified in package.json.
-
Download and install the appropriate OpenSearch Index Management plugin.
-
Download the OpenSearch-Dashboards source code for the version specified in package.json you want to set up.
See the OpenSearch Dashboards contributing guide for more instructions on setting up your development environment.
-
Change your node version to the version specified in
.node-version
inside the OpenSearch-Dashboards root directory. -
cd into the
plugins
directory of the OpenSearch-Dashboards source code directory. -
Check out this package from version control into the
plugins
directory. -
Run
yarn osd bootstrap
insideOpenSearch-Dashboards/plugins/index-management-dashboards-plugin
.
Ultimately, your directory structure should look like this:
.
├── OpenSearch-Dashboards
│ └── plugins
│ └── index-management-dashboards-plugin
To build the plugin's distributable zip simply run yarn build
.
Example output: ./build/indexManagementDashboards-1.0.0.0-rc1.zip
-
yarn start
- Starts OpenSearch-Dashboards and includes this plugin. OpenSearch-Dashboards will be available on
localhost:5601
. - Please run in the OpenSearch-Dashboards root directory
- You must have OpenSearch running with the Index Management plugin
- Starts OpenSearch-Dashboards and includes this plugin. OpenSearch-Dashboards will be available on
There are unit/stubbed integration tests and cypress e2e/integration tests.
To run the cypress tests, you must have both OpenSearch and OpenSearch-Dashboards running with the Index Management plugin running.
If you are running cypress tests with OpenSearch-Dashboards development server use the --no-base-path
option and if you are writing Cypress tests use the --no-watch
to make sure your server is not restarted.
-
yarn test:jest
- Runs the plugin tests.
-
yarn run cypress open
- Opens the Cypress test runner
-
yarn run cypress run
- Runs the Cypress test runner
- Refer to CONTRIBUTING.md.
- Since this is an OpenSearch-Dashboards plugin, it can be useful to review the OpenSearch Dashboards contributing guide
You can get started by:
- Reporting a bug
- Proposing new ideas to enhance the plugin
- Contribute documentation and sample code
- Read CONTRIBUTING.md for more details to get involved in the project.
Please feel free to come ask questions on the Open Distro community discussion forum.
This code is licensed under the Apache 2.0 License.
Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.