[
https://issues.apache.org/jira/browse/CASSSIDECAR-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paulo Motta updated CASSSIDECAR-436:
------------------------------------
Authors: Paulo Motta
Test and Documentation Plan: unit tests
Status: Patch Available (was: Open)
> Add PATCH /api/v1/cassandra/configuration endpoint
> --------------------------------------------------
>
> Key: CASSSIDECAR-436
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-436
> Project: Sidecar for Apache Cassandra
> Issue Type: Task
> Components: Configuration
> Reporter: Paulo Motta
> Assignee: Paulo Motta
> Priority: Major
>
> CEP-62 introduces a REST endpoint to update the configuration overlay for a
> managed Cassandra instance. The handler validates the request structure and
> delegates to the Configuration Manager for all business logic. The request
> must include an {{expectedHash}} for optimistic concurrency control. Requires
> {{CONFIGURATION:MODIFY}} permission.
> Acceptance Criteria:
> - {{PATCH /api/v1/cassandra/configuration}} accepts JSON Patch operations
> and delegates to the Configuration Manager.
> - Handler validates request structure; Configuration Manager handles all
> business logic.
> - Multiple operations targeting the same field path return {{{}400{}}}.
> - Returns the updated effective configuration with a new hash on success.
> - Endpoint requires {{CONFIGURATION:MODIFY}} permission.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]