-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
using jandex for kubernetesdeserializer #4024
Conversation
My guess at ways forward here are:
|
It seems that kubernetes-model-core requires TBH, I am not a big fan of introducing jandex as a runtime dependency. So, if this is the case I think we might want to reconsider. |
This is something that we talked about in the last call. It makes sense to use jandex as the indexes are already being built. Requiring the manual creation of a class that registers all of the type classes is not desirable. |
Right I had assumed that was taken care of automatically. The next issue is that we are including the jandex files in the bundles at META-INF/jandex.idx - however that is only for use within the bundle and there doesn't seem to be a simple way to export that. |
Why not use the SPI ? |
Separated the resolving changes into #4039 - once that is committed we'll revisit this for the usage of jandex. |
Kudos, SonarCloud Quality Gate passed! |
@iocanel @manusa here's what it looks like now:
What else is out there:
|
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.
Is there any way to remove the jandex dependency from runtime?
@iocanel unfortunately there is not as we need to read the index to find the classes. |
closing in favor of #4511 |
Description
Addresses #3923
The classes will be discovered by the jandex index rather than by package.
Type of change
test, version modification, documentation, etc.)
Checklist