-
Notifications
You must be signed in to change notification settings - Fork 37
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
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.
* @param policyName the policy name | ||
* @param namespaceName the namespace name | ||
* @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.
* @param policyName the policy name | ||
* @param namespaceName the namespace name | ||
* @param tableName the table 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.
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! 👍
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!
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.NamespacePolicy
andAbacAdmin.TablePolicy
. Additionally, it modifies some method names and signatures ofAbacAdmin
accordingly.Related issues and/or PRs
Changes made
NamespacePolicy
.TablePolicy
.applyPolicyToNamespace
tocreateNamespacePolicy
.enableNamespacePolicy
,disableNamespacePolicy
, andgetNamespacePolicy
methods to specify the namespace policy name.applyPolicyToTable
tocreateTablePolicy
.enableTablePolicy
,disableTablePolicy
, andgetTablePolicy
methods to specify the table policy name.Checklist
Additional notes (optional)
N/A
Release notes
N/A