-
Notifications
You must be signed in to change notification settings - Fork 366
Remove dropwizard-jackson dep from core #470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2ccfe20 to
e70180f
Compare
|
This is an alternative to #435 |
eric-maynard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may be better than the approach in #435, thanks for iterating on this. LGTM
|
@collado-mike : What's your take on this alternative approach? |
This is a simplification / cleanup. The dependency does not appear to be required in `polaris-core` Add custom code to `PolarisApplication` find classes directly listed in the `Discoverable` service descriptor and register them with the ObjectMapper. This approach to finding sub-types is consistent both with the java service descriptors (listed types actually implement the service interface) and at the same time allows moving the Dropwizard `Discoverable` dependencies to the polaris-service module that actually integrates with Dropwizard. Move leaf metastore classes to the `Discoverable` service descriptor in their respective module. Note: this fixes the cross-jar leak of EclipseLinkPolarisMetaStoreManagerFactory in service descriptors.
39c3f05 to
a29a910
Compare
|
rebased and resolved conflicts |
snazy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM!
This is a simplification / cleanup. The dependency does not appear to be required in
polaris-coreAdd custom code to
PolarisApplicationfind classes directly listed in theDiscoverableservice descriptor and register them with the ObjectMapper. This approach to finding sub-types is consistent both with the java service descriptors (listed types actually implement the service interface) and at the same time allows moving the DropwizardDiscoverabledependencies to the polaris-service module that actually integrates with Dropwizard.Move leaf metastore classes to the
Discoverableservice descriptor in their respective module.Note: this fixes the cross-jar leak of EclipseLinkPolarisMetaStoreManagerFactory in service descriptors.