mchades commented on code in PR #7215:
URL: https://github.com/apache/gravitino/pull/7215#discussion_r2103731041
##########
server/src/main/java/org/apache/gravitino/server/web/rest/FilesetOperations.java:
##########
@@ -182,6 +173,38 @@ public Response loadFileset(
}
}
+ @GET
+ @Path("{fileset}/files")
+ @Produces("application/vnd.gravitino.v1+json")
+ @Timed(name = "list-fileset-files." + MetricNames.HTTP_PROCESS_DURATION,
absolute = true)
+ @ResponseMetered(name = "list-fileset-files", absolute = true)
+ public Response listFiles(
+ @PathParam("metalake") String metalake,
+ @PathParam("catalog") String catalog,
+ @PathParam("schema") String schema,
+ @PathParam("fileset") String fileset,
+ @QueryParam("path") @DefaultValue("") String path,
+ @QueryParam("limit") @DefaultValue("100") int limit,
+ @QueryParam("offset") @DefaultValue("0") int offset
Review Comment:
`@QueryParam("path") @DefaultValue("") String path` ->
`@QueryParam("subPath") @DefaultValue("/") String subPath`
remove `@QueryParam("limit")`
remove `@QueryParam("offset")`
add `@QueryParam("locationName") String locationName`
--
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]