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_integration
will 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 index
button - If you did have any index from before, you will be presented with the list of existing indices with
Add GitLab index
button above the list to the right
Pausing indexing
- While on the indices list, click
Pause indexing
.-
NOTE: if instead, you see a green
Resume Indexing
button, 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 indexing
button at the bottom - Click the
Pause indexing
button in the modal - The modal gets dismissed
- The
Pause indexing
gets replaced with the greenResume Indexing
button
Resuming indexing
- While on the indices list, click the green
Resume Indexing
button. - 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 index
is checked. However, it doesn't change anything in the UI - Click the
Resume Indexing
button in the modal - The modal gets dismissed
- The green
Resume Indexing
gets replaced with thePause indexing
button
Global Reindexing
- While on the indices list, click
Reindex
button - A modal will be shown with explanatory text and green
Reindex
button at the bottom - Click the
Reindex
button 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 indexing
button), 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)