lasdf1234 opened a new pull request, #11921:
URL: https://github.com/apache/gravitino/pull/11921
## Summary
- Extend `POST /metalakes/{metalake}/users` and `groups` to accept optional
`externalId` (and optional `enabled` for users), routing to external-id
dispatcher APIs while keeping name-only create backward compatible
- Extend `UserAddRequest` / `GroupAddRequest` request DTOs
- Update OpenAPI docs for users/groups create request schemas
- Add REST tests in `TestUserOperations` and `TestGroupOperations`
## Test plan
- [x] `./gradlew spotlessApply`
- [x] `./gradlew :server:test --tests
"org.apache.gravitino.server.web.rest.TestUserOperations" --tests
"org.apache.gravitino.server.web.rest.TestGroupOperations" -PskipITs`
- [x] `./gradlew :docs:build`
Fix: #11835
Split from #11918.
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]