isaacreath opened a new pull request, #264: URL: https://github.com/apache/cassandra-sidecar/pull/264
Fresh PR originally from https://github.com/apache/cassandra-sidecar/pull/242. This PR adds a new API, `/api/v2/cassandra/settings` which resolves the settings of a node from the `system_views.settings` table from the Cassandra instance being requested. Notably, this differs from the `/api/v1/cassandra/settings` table in the following ways: 1) `/api/v2/cassandra/settings` is an authorized endpoint, whereas `/api/v1/cassandra/settings` is not. All callers of `/api/v2/cassandra/settings` will either need to be an admin identity, or the identity provided must have the ability to read the `system_views.settings` table. 2) This API no longer contains the sidecar version. This will be moved into a separate endpoint for sidecar V2 API. 3) This API no longer contains settings information only available over JMX (e.g. tokens, release version). These will also need to be moved into a separate API. The response body of this new endpoint is as follows: ``` { "nodeSettings": { "columns_per_table_warn_threshold": "-1", "cdc_total_space_in_mb": "0", ... // Repeat for all options available. } } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

