lasdf1234 opened a new pull request, #12647: URL: https://github.com/apache/gravitino/pull/12647
### What changes were proposed in this pull request? - Add catalog / schema alter change types `setSecretBinding` / `setSecretReference` (API, DTOs, OpenAPI, Java/Python clients). - Wire `CatalogManager` / `SchemaOperationDispatcher` with local `prepare*SecretChanges` loops calling `SecretManager` alter helpers. > **Depends on** #12646 (fileset alter + `SecretManager` alter helpers). ### Why are the changes needed? Create-time `secretBindings` / `secretReferences` for catalog and schema are already on `main` (#12420). Catalog/schema alter still needs the typed secret update contract from the entity-secrets design (ยง5.9.4). Fix: #12645 ### Does this PR introduce _any_ user-facing change? - Yes. Catalog and schema alter APIs / REST update requests gain `setSecretBinding` and `setSecretReference`. ### How was this patch tested? - Unit tests: `TestSecretManagerAlter`, `TestCatalogManager`, `TestSchemaOperationDispatcher`, `TestRequestJsonSerDe` - `./gradlew spotlessApply` - `./gradlew :core:test :common:test -PskipITs` (targeted secret/alter tests) 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]
