lasdf1234 opened a new pull request, #14121:
URL: https://github.com/apache/gravitino/pull/14121

   ### What changes were proposed in this pull request?
   
   Second slice of the in-job track (A2). Stacked on A1 (#14054), targets 
`branch-tms-scheduler`.
   
   - REST sample / finish for maintenance actions 
(`TableMaintenanceActionOperations`)
   - `MaintenanceActionManager` + plugin-local DTOs / binder / REST utils 
(idp-basic style)
   - OpenAPI under `docs/open-api/maintenance/`
   - Sample/finish resolve metalake from the **table id** via 
`TableMetaService.getMetalakeNameByTableId` (not the current policy metalake)
   
   ### Why are the changes needed?
   
   In-job Spark jobs need HTTP sample (S0 recommend gate) and finish (S1) 
against the control plane. Metalake for the action path must come from the 
occupied table, not from policy lookup.
   
   Part of #13760. Depends on #14054.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes — maintenance action sample/finish REST (plugin OpenAPI).
   
   ### How was this patch tested?
   
   `./gradlew :plugins:tms:compileJava :plugins:tms:compileTestJava -PskipITs`
   
   `./gradlew :plugins:tms:test -PskipITs -PskipDockerTests=true --tests 
org.apache.gravitino.maintenance.web.rest.TestTableMaintenanceActionOperations`
   
   Made with [Cursor](https://cursor.com)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to