gravitino icon indicating copy to clipboard operation
gravitino copied to clipboard

[#4277] feat(client/server): Add the `getFileLocation` interface in the Java Client/Server

Open xloya opened this issue 1 year ago • 1 comments

What changes were proposed in this pull request?

Added an interface for obtaining the file location so that the client can report some necessary information for the server to audit and simplify some check logics in GVFS later.

Why are the changes needed?

Fix: #4277

How was this patch tested?

Add some UTs and ITs.

xloya avatar Jul 26 '24 03:07 xloya

@jerryshao @yuqi1129 @mchades Could you help me review this PR when you have time? Thanks a lot.

xloya avatar Jul 26 '24 04:07 xloya

@xloya is it ready for review?

jerryshao avatar Aug 19 '24 14:08 jerryshao

@xloya is it ready for review?

Yeah, the code have been changed according to the discussion.

xloya avatar Aug 20 '24 02:08 xloya

Hi @xloya This PR is a little big. I would suggest to split into several small PRs. For this PR, I think we can focus on the definition and skeleton code, what do you think?

jerryshao avatar Aug 23 '24 12:08 jerryshao

Hi @xloya This PR is a little big. I would suggest to split into several small PRs. For this PR, I think we can focus on the definition and skeleton code, what do you think?

OK, I will take some time to split the current PR.

xloya avatar Aug 26 '24 02:08 xloya

@jerryshao I have split the code, this PR only contains some code skeleton in the Server / Java Client, and some base classes. I will add the interface implementations, UTs and ITs in another PR.

xloya avatar Aug 27 '24 09:08 xloya

Sorry for late response, I will review it today.

jerryshao avatar Sep 02 '24 18:09 jerryshao

Hi @xloya In this PR, let's only focus on the API and common part, several implementations in core and server can be separated into a different PR.

jerryshao avatar Sep 03 '24 16:09 jerryshao

Overall LGTM, can you please do as I mentioned?

jerryshao avatar Sep 03 '24 16:09 jerryshao

Overall LGTM, can you please do as I mentioned?

Sure, I will finish it today.

xloya avatar Sep 04 '24 02:09 xloya

@jerryshao Hi, since some classes in Core / Catalog modules involved in this PR currently implement the FilesetCatalog interface, I can only use throw new UnsupportedOperationException("Not implemented") to handle method implementation. Others have been removed as required and will be added in subsequent implementations. Please take a look at it when you have time, thanks.

xloya avatar Sep 04 '24 03:09 xloya