lasdf1234 opened a new pull request, #12646: URL: https://github.com/apache/gravitino/pull/12646
### 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. - Include fileset alter wiring and `SecretManager` alter helpers in the same branch (prerequisite for catalog/schema alter; mirrors the split in the development fork). ### Why are the changes needed? Create-time `secretBindings` / `secretReferences` for catalog and schema are already on `main` (#12420). Entity 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`. - Fileset alter gains the same `@type` values (included as prerequisite in this PR). ### How was this patch tested? - Unit tests: `TestSecretManagerAlter`, `TestCatalogManager`, `TestSchemaOperationDispatcher`, `TestFilesetOperationDispatcher`, `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]
