jaykay12 commented on code in PR #4452:
URL: https://github.com/apache/solr/pull/4452#discussion_r3270113259


##########
solr/api/src/java/org/apache/solr/client/api/endpoint/ListActiveTasksApi.java:
##########
@@ -0,0 +1,21 @@
+package org.apache.solr.client.api.endpoint;
+
+import io.swagger.v3.oas.annotations.Operation;
+import jakarta.ws.rs.GET;
+import jakarta.ws.rs.Path;
+import jakarta.ws.rs.QueryParam;
+import org.apache.solr.client.api.model.ListActiveTaskResponse;
+import org.apache.solr.client.api.util.StoreApiParameters;
+
+import static org.apache.solr.client.api.util.Constants.INDEX_PATH_PREFIX;
+
+@Path(INDEX_PATH_PREFIX + "/tasks/listjalaz")
+public interface ListActiveTasksApi {
+  @GET
+  @StoreApiParameters
+  @Operation(
+      summary = "Lists all the currently running tasks or status of any 
taskUUID being passed as queryParam",

Review Comment:
   yes, have updated this Api class for now, handling the taskUUID as a path 
param now, it was queryParam in the V1 as well as homegrown v2.



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