collado-mike opened a new pull request, #419:
URL: https://github.com/apache/polaris/pull/419

   # Description
   
   The `PolarisEntityManager` is almost entirely used as a means to access the 
`PolarisMetaStoreManager` and the `RealmEntityManagerFactory` is really just an 
alternative to the `MetaStoreManagerFactory`. In order to narrow dependencies 
(as described in https://github.com/apache/polaris/pull/417 ), so that 
components can declare dependency only on the interfaces they need (e.g., 
`PolarisGrantManager` or `PolarisCredentialVendor`), this removes most 
references to the `PolarisEntityManager` and uses the `PolarisMetaStoreManager` 
directly. This will make declaring dependencies on pluggable components (like 
authorization grants) easier.
   
   The only piece of logic the `PolarisEntityManager` actually implements is 
the construction and preparation of the `Resolver`, so its getter methods are 
removed and only the classes that require a `Resolver` have any dependency on 
the `PolarisEntityManager`.
   
   Fixes # (issue)
   
   ## Type of change
   
   Please delete options that are not relevant.
   
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] Documentation update
   - [X] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to not work as expected)
   - [ ] This change requires a documentation update
   
   # How Has This Been Tested?
   
   Interface-only changes, so all existing unit and integration tests still 
pass.
   
   **Test Configuration**:
   * Hardware:
   * Toolchain:
   * SDK:
   
   # Checklist:
   
   Please delete options that are not relevant.
   
   - [X] I have performed a self-review of my code
   - [X] I have commented my code, particularly in hard-to-understand areas
   - [ ] I have made corresponding changes to the documentation
   - [X] My changes generate no new warnings
   - [ ] If adding new functionality, I have discussed my implementation with 
the community using the linked GitHub issue
   


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