arjunashok commented on code in PR #272:
URL: https://github.com/apache/cassandra-sidecar/pull/272#discussion_r2539691834


##########
client-common/src/main/java/org/apache/cassandra/sidecar/common/ApiEndpointsV1.java:
##########
@@ -139,16 +140,18 @@ public final class ApiEndpointsV1
     private static final String PER_OPERATIONAL_JOB = OPERATIONAL_JOBS + '/' + 
OPERATIONAL_JOB_ID_PATH_PARAM;
     public static final String LIST_OPERATIONAL_JOBS_ROUTE = API_V1 + 
CASSANDRA + OPERATIONAL_JOBS;
     public static final String OPERATIONAL_JOB_ROUTE = API_V1 + CASSANDRA + 
PER_OPERATIONAL_JOB;
-    public static final String NODE_DECOMMISSION_ROUTE = API_V1 + CASSANDRA + 
"/operations/decommission";
-    public static final String NODE_DRAIN_ROUTE = API_V1 + CASSANDRA + 
"/operations/drain";
+    public static final String NODE_DECOMMISSION_ROUTE = API_V1 + CASSANDRA + 
OPERATIONS + "/decommission";
     public static final String STREAM_STATS_ROUTE = API_V1 + CASSANDRA + 
"/stats/streams";
     public static final String TABLE_STATS_ROUTE = API_V1 + CASSANDRA + 
PER_KEYSPACE + PER_TABLE + "/stats";
-
+    public static final String COMPACTION_STOP_ROUTE = API_V1 + CASSANDRA + 
OPERATIONS + "/compaction/stop";
+    public static final String NODE_DRAIN_ROUTE = API_V1 + CASSANDRA + 
OPERATIONS + "/drain";
+    public static final String LIFECYCLE_ROUTE = API_V1 + CASSANDRA + 
"/lifecycle";

Review Comment:
   These changes are unrelated to your PR, possibly as a result of the merge 
from the main branch.  You might want to rebase your changes on top of the 
main/develop branch contents, so the PR only has your changes.



-- 
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]

Reply via email to