Introduce REST Module for Scheduling and Managing Cassandra Repairs #771
Labels
enhancement
New feature or request
PoC/Agent
Tasks related to new generation of ecchronos as an agent
Story Description:
This user story aims to introduce a REST module and a rest.impl submodule to handle repair operations in Cassandra, including scheduling repairs, creating on-demand repairs, and other related functionalities. The REST module will provide an external API that enables clients to interact with ecChronos agent process programmatically, offering operations to initiate, monitor, and manage repairs.
The rest.impl submodule will handle the underlying business logic, ensuring that requests to schedule repairs, trigger repairs on-demand, and check repair statuses are executed in a consistent and reliable manner. These modules will add value by enabling enhanced management of repairs through simple REST API calls, making the repair process more accessible and automatable.
Acceptance Criteria:
[Acceptance Criterion 1]: The REST module provides endpoints to schedule repairs, trigger on-demand repairs, and retrieve the status of ongoing and past repair operations.
[Acceptance Criterion 2]: The rest.impl submodule contains the business logic required to execute scheduled and on-demand repairs, with handling for various repair parameters (e.g., keyspace, table, repair type).
[Acceptance Criterion 3]: The system logs all repair requests and responses to provide an audit trail and to facilitate troubleshooting.
[Acceptance Criterion 4]: Error handling is implemented for cases where repair requests cannot be completed, and meaningful error messages are returned to clients.
[Acceptance Criterion 5]: Both unit and integration tests are written to verify the behavior of the REST and rest.impl modules, covering all exposed functionalities.
Definition of Done:
Notes:
Related to #652
The text was updated successfully, but these errors were encountered: