[ https://issues.apache.org/jira/browse/CASSSIDECAR-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956375#comment-17956375 ]
Yuntong Qu commented on CASSSIDECAR-253: ---------------------------------------- Would also want to get some feedback for API design. to stay close to nodetools cmds, and existing node decommission route (/api/v1/cassandra/operations/decommission), how do we feel about below api routes? PUT [http://127.0.0.1:9043/api/v1/cassandra/operations/start-gossip] PUT [http://127.0.0.1:9043/api/v1/cassandra/operations/stop-gossip] PUT [http://127.0.0.1:9043/api/v1/cassandra/operations/stop-native-transport] PUT [http://127.0.0.1:9043/api/v1/cassandra/operations/start-native-transport] We could also try to be more restful? To start: PUT [http://127.0.0.1:9043/api/v1/cassandra/operations/native-transport|http://127.0.0.1:9043/api/v1/cassandra/operations/start-native-transport] To stop: DELETE [http://127.0.0.1:9043/api/v1/cassandra/operations/native-transport|http://127.0.0.1:9043/api/v1/cassandra/operations/start-native-transport] > Create API to enable/disable gossip & enable/disable Native Transport via > sidecar > --------------------------------------------------------------------------------- > > Key: CASSSIDECAR-253 > URL: https://issues.apache.org/jira/browse/CASSSIDECAR-253 > Project: Sidecar for Apache Cassandra > Issue Type: New Feature > Components: Rest API > Reporter: Yuntong Qu > Assignee: Yuntong Qu > Priority: Normal > Fix For: 0.2 > > > Currently we can enable/disable gossip & enable/disable Native Transport via > nodetool. This can be useful for traffic shaping and quarantine misbehaving > nodes. > We would like to create APIs to enable/disable gossip & enable/disable Native > Transport in sidecar, to more easily intergrate with automated control planes. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org