lasdf1234 commented on PR #11043:
URL: https://github.com/apache/gravitino/pull/11043#issuecomment-4428011186

   Here are the shared `core` capabilities still used by `idp-basic` beyond the 
`Idp*Meta` interfaces:
   
   | Shared capability | Location in `core` | How `idp-basic` uses it | Files |
   |---|---|---|---|
   | `JDBCBackendType` | relational backend definition in `core` | SQL provider 
factories use it to choose MySQL/H2/PostgreSQL providers | 
`IdpUserMetaSQLProviderFactory.java:25,48`, 
`IdpGroupMetaSQLProviderFactory.java:24,47`, 
`IdpGroupUserRelSQLProviderFactory.java:25,49` |
   | `SqlSessionFactoryHelper` | 
`core/.../storage/relational/session/SqlSessionFactoryHelper.java` | Reads 
MyBatis `databaseId`, then the factory picks the matching provider | 
`IdpUserMetaSQLProviderFactory.java:30,42-46`, 
`IdpGroupMetaSQLProviderFactory.java:29,41-45`, 
`IdpGroupUserRelSQLProviderFactory.java:30,43-47` |
   | `MapperPackageProvider` SPI | 
`core/.../storage/relational/mapper/provider/MapperPackageProvider.java` | 
`IdpBasicMapperPackageProvider` implements this SPI so the plugin’s mappers can 
be registered into MyBatis | 
`plugins/idp-basic/.../provider/IdpBasicMapperPackageProvider.java:28-34` |
   


-- 
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]

Reply via email to