-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working impl of HK2 dependency injection (#493)
* Working impl of HK2 dependency injection * Add RealmScope and make EntityCache and PolarisMetaStoreManager realm-scoped services * Remove dependency on HK2 from core module * Fix EntityCache to work with RealmScope * fix TimedApplicationEventListener.class * Add integration test to validate EntityCache in RealmScope * Added comments on PolarisApplication startup * Update HK2 setup to use PolarisApplicationConfig as interface to serviceLocator and handle DI for configured instances * Fixed RealmEntityManagerFactory to use EntityCache provider * Update Dockerfile to use entrypoint and fix vended-credentials delegation header * fix spotless * Update polaris-core/src/main/java/org/apache/polaris/core/context/RealmScope.java Co-authored-by: Robert Stupp <snazy@snazy.de> * Removed Jackson type annotations from interfaces * Address PR comments * Update build versions to include jakarta.inject * Removed unnecessary Discoverable service files * Fixes for rebase on main * Update Jersey ServiceLocator to use bootstrapped locator as parent * Addressed more PR comments * Update RealmScopeContext to use request-scoped RealmContext bean * Update CDI impls to use @Identifier and replaced all setter injection with field injection * Fix helm test to match expectation * Revert PolarisStorageIntegrationProviderImpl back to service module * Fix missing project mentions in LICENSE * Fix lint issue in helm values * Add logic in build to merge multiple hks-locator files --------- Co-authored-by: Robert Stupp <snazy@snazy.de> Co-authored-by: Michael Collado <michael.collado@snowflake.com>
- Loading branch information
1 parent
5c3c7d6
commit 9809e0e
Showing
80 changed files
with
1,427 additions
and
822 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...tence/eclipselink/src/main/resources/META-INF/services/io.dropwizard.jackson.Discoverable
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.