[#5070] improvement(core): Add check for the full name of the metadata object #1149
access-control-integration-test.yml
on: pull_request
changes
5s
Matrix: access-control-IT
Annotations
2 errors and 2 warnings
access-control-IT (linux/amd64, 17):
task ':server:spotlessJavaCheck'#L1
Execution failed for task ':server:spotlessJavaCheck':
The following files had format violations:
src/test/java/org/apache/gravitino/server/web/rest/TestOwnerOperations.java
@@ -191,10 +191,10 @@
····//·Test·to·throw·IllegalNamespaceException
····Response·resp4·=
-············target("/metalakes/metalake1/owners/catalog/metalake1.catalog1")
-····················.request(MediaType.APPLICATION_JSON_TYPE)
-····················.accept("application/vnd.gravitino.v1+json")
-····················.get();
+········target("/metalakes/metalake1/owners/catalog/metalake1.catalog1")
+············.request(MediaType.APPLICATION_JSON_TYPE)
+············.accept("application/vnd.gravitino.v1+json")
+············.get();
····ErrorResponse·errorResponse3·=·resp4.readEntity(ErrorResponse.class);
····Assertions.assertEquals(ErrorConstants.ILLEGAL_ARGUMENTS_CODE,·errorResponse3.getCode());
··}
@@ -245,10 +245,10 @@
····//·Test·to·throw·IllegalNamespaceException
····Response·resp4·=
-············target("/metalakes/metalake1/owners/catalog/metalake1.catalog1")
-····················.request(MediaType.APPLICATION_JSON_TYPE)
-····················.accept("application/vnd.gravitino.v1+json")
-····················.put(Entity.entity(request,·MediaType.APPLICATION_JSON_TYPE));
+········target("/metalakes/metalake1/owners/catalog/metalake1.catalog1")
+············.request(MediaType.APPLICATION_JSON_TYPE)
+············.accept("application/vnd.gravitino.v1+json")
+············.put(Entity.entity(request,·MediaType.APPLICATION_JSON_TYPE));
····ErrorResponse·errorResponse3·=·resp4.readEntity(ErrorResponse.class);
····Assertions.assertEquals(ErrorConstants.ILLEGAL_ARGUMENTS_CODE,·errorResponse3.getCode());
··}
Run './gradlew :server: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.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:233)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:216)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:199)
|
access-control-IT (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/
|
access-control-IT (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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|