lasdf1234 opened a new pull request, #12842: URL: https://github.com/apache/gravitino/pull/12842
## Summary - Remove `external_id` and `enabled` from `user_meta`, and `external_id` from `group_meta`, across H2/MySQL/PostgreSQL 2.0.0 schema and 1.3.0→2.0.0 upgrade scripts. - Delete the related authorization/storage APIs (by external id / by Gravitino id, UserChange/GroupChange, external managers) and simplify add user/group to name-only. - Update REST/OpenAPI, Java client, DTOs, events, and tests accordingly. ## Why Identity sync metadata belongs on dedicated IdP/SCIM tables, not on canonical Gravitino `user_meta` / `group_meta` rows. Fix: #12841 ## User-facing changes - **Breaking:** Users/Groups REST add/list/get no longer accept or return `externalId` / `enabled`. - **Breaking:** Java client `addUser(name, externalId, enabled)` / `addGroup(name, externalId)` overloads removed. - **Breaking:** Internal dispatcher by-external-id / by-id user/group APIs removed. ## Test plan - [ ] `./gradlew spotlessApply` - [ ] `./gradlew :core:test :server:test :clients:client-java:test -PskipITs` - [ ] `./gradlew :docs:build` (OpenAPI validation) > WIP: initial refactor landed; CI may still need fixes. 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]
