[#5364] feat(auth-ranger): Throw AuthorizationPluginException in authorization plugin #8279
python-integration-test.yml
on: pull_request
changes
8s
Matrix: PythonIT
Annotations
2 errors and 3 warnings
PythonIT (linux/amd64, 17):
task ':core:spotlessJavaCheck'#L1
Execution failed for task ':core:spotlessJavaCheck':
The following files had format violations:
src/main/java/org/apache/gravitino/connector/authorization/RoleAuthorizationPlugin.java
@@ -46,8 +46,8 @@
···*
···*·@param·role·The·entity·of·the·Role.
···*·@return·IF·exist·return·true,·else·return·false.
-···*·@throws·AuthorizationPluginException·If·getting·the·Role·encounters·underlying·access·control·system
-···*·····issues.
+···*·@throws·AuthorizationPluginException·If·getting·the·Role·encounters·underlying·access·control
+···*·····system·issues.
···*/
··Boolean·onRoleAcquired(Role·role)·throws·AuthorizationPluginException;
@@ -114,5 +114,6 @@
···*·@return·True·if·the·revoke·was·successfully·removed,·False·if·the·revoke·failed.
···*·@throws·AuthorizationPluginException·If·revoking·roles·from·a·group·encounters·storage·issues.
···*/
-··Boolean·onRevokedRolesFromGroup(List<Role>·roles,·Group·group)·throws·AuthorizationPluginException;
+··Boolean·onRevokedRolesFromGroup(List<Role>·roles,·Group·group)
+······throws·AuthorizationPluginException;
}
src/main/java/org/apache/gravitino/connector/authorization/UserGroupAuthorizationPlugin.java
@@ -58,8 +58,8 @@
···*
···*·@param·user·The·user·entity.
···*·@return·IF·exist·return·true,·else·return·false.
-···*·@throws·AuthorizationPluginException·If·getting·the·User·encounters·underlying·access·control·system
-···*·····issues.
+···*·@throws·AuthorizationPluginException·If·getting·the·User·encounters·underlying·access·control
+···*·····system·issues.
···*/
··Boolean·onUserAcquired(User·user)·throws·AuthorizationPluginException;
@@ -93,8 +93,8 @@
···*
···*·@param·group·The·group·entity.
···*·@return·If·exist·return·true,·else·return·false.
-···*·@throws·AuthorizationPluginException·If·getting·the·Group·encounters·underlying·access·control·system
-···*·····issues.
+···*·@throws·AuthorizationPluginException·If·getting·the·Group·encounters·underlying·access·control
+···*·····system·issues.
···*/
··Boolean·onGroupAcquired(Group·group)·throws·AuthorizationPluginException;
Run './gradlew :core:spotlessApply' to fix these violations.
at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:111)
at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:53)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:248)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner
|
PythonIT (linux/amd64, 17)
Process completed with exit code 1.
|
changes
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PythonIT (linux/amd64, 17)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-qemu-action@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PythonIT (linux/amd64, 17)
No files were found with the provided path: build/reports
integration-test/build/integration-test.log
distribution/package/logs/gravitino-server.out
distribution/package/logs/gravitino-server.log
catalogs/**/*.log
catalogs/**/*.tar. No artifacts will be uploaded.
|