-
Notifications
You must be signed in to change notification settings - Fork 40
Add name to NamespacePolicy and TablePolicy #2466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add name to NamespacePolicy and TablePolicy #2466
Conversation
| * | ||
| * @return the namespace policy name | ||
| */ | ||
| String getName(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a name to NamespacePolicy.
| * | ||
| * @return the table policy name | ||
| */ | ||
| String getName(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a name to TablePolicy as well.
| * @throws ExecutionException if the operation fails | ||
| */ | ||
| default void applyPolicyToNamespace(String policyName, String namespaceName) | ||
| default void createNamespacePolicy( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed applyPolicyToNamespace to createNamespacePolicy.
Also, changed the signature of the enableNamespacePolicy, disableNamespacePolicy, and getNamespacePolicy methods to specify the namespace policy name.
| * @throws ExecutionException if the operation fails | ||
| */ | ||
| default void applyPolicyToTable(String policyName, String namespaceName, String tableName) | ||
| default void createTablePolicy( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed applyPolicyToTable to createTablePolicy.
Also, changed the signature of the enableTablePolicy, disableTablePolicy, and getTablePolicy methods to specify the table policy name.
komamitsu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
Torch3333
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
feeblefakie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
Description
This PR adds a name to
AbacAdmin.NamespacePolicyandAbacAdmin.TablePolicy. Additionally, it modifies some method names and signatures ofAbacAdminaccordingly.Related issues and/or PRs
Changes made
NamespacePolicy.TablePolicy.applyPolicyToNamespacetocreateNamespacePolicy.enableNamespacePolicy,disableNamespacePolicy, andgetNamespacePolicymethods to specify the namespace policy name.applyPolicyToTabletocreateTablePolicy.enableTablePolicy,disableTablePolicy, andgetTablePolicymethods to specify the table policy name.Checklist
Additional notes (optional)
N/A
Release notes
N/A