feat: add rollup template to setup, add rollup permission #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do
rollup template and rollup permission
Rationale for this change
This pull request includes significant changes to the configuration and setup of templates and rollup jobs, as well as some minor import reorganization. The most important changes are summarized below:
Configuration Updates:
config/permission.json
: Removed theindices.exists_template
entry and added new entries fortemplate
androllup
permissions. [1] [2] [3]Template and Rollup Jobs:
config/setup/easysearch/template_rollup.tpl
: Added new rollup job configurations for various metrics including index stats, index health, cluster stats, cluster health, node stats, shard stats metrics, and shard stats state.Codebase Maintenance:
plugin/setup/setup.go
: Reorganized imports to improve readability and added a new case for "rollup" in theinitializeTemplate
function. [1] [2] [3]Frontend Updates:
web/src/pages/Guide/Initialization/components/Initialization/index.js
: Added a new task for initializing the rollup template.Standards checklist