index-management
index-management copied to clipboard
Error Prevention Refactoring
Meta Feature https://github.com/opensearch-project/index-management/issues/587
Based on analysis and implementation of actions under Error Prevention framework, we discover that:
- Some common methods can be implemented at abstract level.
- We also need a common logic to validate index type.
- Validation passed message is not necessary, we can remove it.
Thus we need refactoring the code structure for Error Prevention.