forked from apache/gravitino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[apache#2478] Improvement(client-java): Separate Java clients for adm…
…in and normal user (apache#2483) ### What changes were proposed in this pull request? Separate the current Java client into two, one is "GravitinoAdminClient" which similar to as-is version; the other is "GravitinoClient" which has a "metalake_name" as input parametor, and then user mainly works on catalogs. ### Why are the changes needed? Today in the Java client, the "GravitinoClient" has all the operations for metalakes, including list, create, alter and drop, etc. That is mostly for the system administrator's operation, not friendly for a normal user. Normal user mainly works on catalogs. Fix: apache#2478 ### Does this PR introduce _any_ user-facing change? Yes, the Java client "GravitinoClient.java" has user interface change; If the user want to operate Metalake, he can switch to use the "GravitinoAdminClient.java". ### How was this patch tested? The UT for the GravitinoClient can ensure the function is not broken.
- Loading branch information
1 parent
f30e566
commit bc43ec8
Showing
33 changed files
with
622 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.