@@ -48,7 +48,7 @@ public String identifier() {
4848 * through the Flink SQL procedure interface. It delegates execution to the internalCall method.
4949 *
5050 * @param context The procedure context used for execution environment and resource access.
51- * @param aclType Type of ACL operation to perform. Valid values are:
51+ * @param action Actoion of ACL operation to perform. Valid values are:
5252 * <ul>
5353 * <li>{@code ADD}: Adds an ACL entry.
5454 * <li>{@code DROP}: Removes an ACL entry.
@@ -62,7 +62,7 @@ public String identifier() {
6262 * <li>{@code fluss-cluster.db_name.table_name} - table level
6363 * </ul>
6464 *
65- * @param permissionType Permission type to grant or revoke. Common values include in {@link
65+ * @param permission Permission type to grant or revoke. Common values include in {@link
6666 * PermissionType}.
6767 * @param principal Principal (user or role) to apply the ACL to. Accepts:
6868 * <ul>
@@ -85,23 +85,23 @@ public String identifier() {
8585 */
8686 public String [] call (
8787 ProcedureContext context ,
88- String aclType ,
88+ String action ,
8989 String resource ,
90- String permissionType ,
90+ String permission ,
9191 String principal ,
9292 String operation )
9393 throws ExecutionException , InterruptedException {
94- return internalCall (aclType , resource , permissionType , principal , operation );
94+ return internalCall (action , resource , permission , principal , operation );
9595 }
9696
9797 private String [] internalCall (
98- String aclType ,
98+ String action ,
9999 String resource ,
100100 String permissionType ,
101101 String principal ,
102102 String operation )
103103 throws ExecutionException , InterruptedException {
104- AclType type = AclType .valueOf (aclType );
104+ Action type = Action .valueOf (action );
105105 PermissionType permission = PermissionType .valueOf (permissionType );
106106 FlussPrincipal flussPrincipal = parsePrincipal (principal );
107107 OperationType operationType = OperationType .valueOf (operation );
@@ -222,7 +222,7 @@ private Resource parseResource(String resourceStr) {
222222 return resource ;
223223 }
224224
225- private enum AclType {
225+ private enum Action {
226226 ADD ,
227227 LIST ,
228228 DROP
0 commit comments