ES Admin UI with multiple indices support [FE]
What does this MR do?
Introduces brand-new Vue application for Elasticsearch Admin UI with support for multiple indices. Please, reference:
for more information.
With some exceptions, eventually branched off into the follow-up issues, this MR provides support for Step 2: Support multiple indices to Elasticsearch Admin options.
Automated tests
There are quite a few test failures for now due to WIP nature of this MR. Also, this MR is part of a bigger picture with BE involved in its own MR and those other parts are not necessarily ready yet.
-
ee/spec/elastic_integrationwill be taken care of at a later point, when API is settled - This might require new QA tests (there are none for Elasticsaearch so far)
How to click-test?
IMPORTANT Make sure you have Elasticsearch installed and running in your gdk before testing.
Adding a new index
- Go to
Admin Area → Elasticsearch - If you don't have any GitLab index from before, an empty state screen will be shown with
Create new GitLab indexbutton - If you did have any index from before, you will be presented with the list of existing indices with
Add GitLab indexbutton above the list to the right
Pausing indexing
- While on the indices list, click
Pause indexing.-
NOTE: if instead, you see a green
Resume Indexingbutton, this means the indexing is not running atm
-
NOTE: if instead, you see a green
- A modal will be shown with explanatory text and orange
Pause indexingbutton at the bottom - Click the
Pause indexingbutton in the modal - The modal gets dismissed
- The
Pause indexinggets replaced with the greenResume Indexingbutton
Resuming indexing
- While on the indices list, click the green
Resume Indexingbutton. - A modal will be shown with explanatory text
- If you want to perform a full reindexing after resuming the indexing, make sure the
Reindex data after resuming to indexis checked. However, it doesn't change anything in the UI - Click the
Resume Indexingbutton in the modal - The modal gets dismissed
- The green
Resume Indexinggets replaced with thePause indexingbutton
Global Reindexing
- While on the indices list, click
Reindexbutton - A modal will be shown with explanatory text and green
Reindexbutton at the bottom - Click the
Reindexbutton in the modal - The modal gets dismissed
- If reindexing has been successfully initialized (not finished! as it might take several days) a corresponding message will be shown
- If Indexing has been previously Paused (green
Resume indexingbutton), Reindexing resumes indexing automatically
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec -
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
References #32056 (closed)