lasdf1234 opened a new pull request, #11066:
URL: https://github.com/apache/gravitino/pull/11066
### What changes were proposed in this pull request?
This PR splits the built-in IdP relational storage model work from #11043
and adds the user metadata model layer under `plugins:idp-basic`.
It introduces:
- the `IdpUserPO` relational persistent object
- the MyBatis mapper and SQL provider factory for user metadata
- base, H2, and PostgreSQL SQL providers for user metadata
- initial mapper package registration for the `idp-basic` plugin
- unit tests covering the user PO, mapper package provider, SQL providers,
and mapper behavior
### Why are the changes needed?
The built-in IdP relational storage model should land in smaller, reviewable
pieces. The user metadata model is the first layer and provides the base shared
wiring needed by the following stacked PRs.
Part of #11045
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
```bash
./gradlew :plugins:idp-basic:test -PskipITs -PskipDockerTests=false \
--tests org.apache.gravitino.storage.relational.po.TestIdpUserPO \
--tests
org.apache.gravitino.storage.relational.mapper.provider.TestIdpBasicMapperPackageProvider
\
--tests
org.apache.gravitino.storage.relational.mapper.provider.base.TestIdpUserMetaBaseSQLProvider
\
--tests
org.apache.gravitino.storage.relational.mapper.TestIdpUserMetaMySQLProvider \
--tests
org.apache.gravitino.storage.relational.mapper.provider.h2.TestIdpUserMetaH2Provider
\
--tests
org.apache.gravitino.storage.relational.mapper.provider.postgresql.TestIdpUserMetaPostgreSQLProvider
\
--tests
org.apache.gravitino.storage.relational.mapper.TestIdpUserMetaMapper
```
--
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]