jaykay12 commented on code in PR #4452:
URL: https://github.com/apache/solr/pull/4452#discussion_r3321855716
##########
solr/api/src/java/org/apache/solr/client/api/endpoint/TasksApi.java:
##########
@@ -27,23 +27,26 @@
import org.apache.solr.client.api.model.TaskStatusResponse;
import org.apache.solr.client.api.util.StoreApiParameters;
-@Path(INDEX_PATH_PREFIX + "/tasks/list")
-public interface ListActiveTasksApi {
+@Path(INDEX_PATH_PREFIX)
+public interface TasksApi {
- // Handles: .../tasks/list (Lists all)
- @GET
- @StoreApiParameters
- @Operation(
- summary = "Lists all the currently running tasks",
- tags = {"tasks"})
- ListActiveTaskResponse listAllActiveTasks() throws Exception;
+ @Path("/tasks")
+ interface List {
+ @GET
+ @StoreApiParameters
+ @Operation(
+ summary = "Lists all the currently running active tasks.",
Review Comment:
have updated the summary to now: `Lists all the active tasks.`
Here via this API call, we invoke: getActiveQueriesGenerated(), thus keeping
active fits here.
--
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]