yuqi1129 opened a new pull request, #11804: URL: https://github.com/apache/gravitino/pull/11804
### What changes were proposed in this pull request? Adds the remaining MCP write tools called out in #11693, each following the existing pattern (interface method → plain REST client impl → FastMCP tool → mock → unit tests). All new write tools are **disabled by default** (consistent with the existing `create_tag`/`alter_tag`/`delete_tag`): - **policy**: `create_policy`, `alter_policy`, `delete_policy` - **statistics**: `update_statistics`, `drop_statistics`, `update_partition_statistics`, `drop_partition_statistics` - **model version alias**: `update_model_version_aliases` - **job templates**: `register_job_template`, `delete_job_template` ### Why are the changes needed? A few metadata types still lacked full write support after #11574 / #11567. This completes them, with authorization enforced by Gravitino. Fix: #11693 ### Does this PR introduce _any_ user-facing change? Yes — the new MCP tools listed above. They are all disabled by default and must be explicitly enabled. ### How was this patch tested? New unit tests for every tool (`pytest tests/unit` → 123 passed). `pylint` 10.00/10; `black`/`isort` clean. > Note: opened as **draft**. The `model` write base (`register_model` / `delete_model` / `link_model_version` from #11574) is not yet merged; this PR adds `update_model_version_aliases` standalone and will be rebased once either PR lands. The two PRs do not block each other. -- 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]
