madisonmlin commented on code in PR #3621:
URL: https://github.com/apache/texera/pull/3621#discussion_r2259107981
##########
core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala:
##########
@@ -576,6 +589,18 @@ class DatasetResource {
generatePresignedResponse(encodedUrl, datasetName, commitHash, uid)
}
+ @GET
+ @Path("/public-presign-download-s3")
+ def getPublicPresignedUrlWithS3(
+ @QueryParam("filePath") encodedUrl: String,
+ @QueryParam("datasetName") datasetName: String,
+ @QueryParam("commitHash") commitHash: String
+ ): Response = {
+ val user = new SessionUser(new User())
Review Comment:
I've set the `uid` to be null and removed `user`.
--
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]