[
https://issues.apache.org/jira/browse/CASSSIDECAR-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paulo Motta updated CASSSIDECAR-435:
------------------------------------
Change Category: Semantic
Complexity: Normal
Component/s: Configuration
Assignee: Paulo Motta
Status: Open (was: Triage Needed)
> Add GET /api/v1/cassandra/configuration endpoint
> ------------------------------------------------
>
> Key: CASSSIDECAR-435
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-435
> 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 retrieve the effective configuration for
> a managed Cassandra instance. The handler delegates to the Configuration
> Manager, which returns the effective configuration including
> \{{cassandraYaml}} and \{{extraJvmOpts}} sections along with a SHA-256 hash
> and last modification timestamp. The hash serves as the version identifier
> for optimistic concurrency control in subsequent PATCH operations. Requires
> \{{CONFIGURATION:READ}} permission.
> Acceptance Criteria:
> - \{{GET /api/v1/cassandra/configuration}} returns the effective
> configuration with hash and lastModified.
> - Handler delegates to the Configuration Manager to compute the effective
> configuration.
> - Returns \{{503}} when the \{{ConfigurationProvider}} is unavailable and
> failure policy is FAIL.
> - Falls back to cached overlay when the provider is unavailable and failure
> policy allows it.
> - Endpoint requires \{{CONFIGURATION:READ}} 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]