-
Notifications
You must be signed in to change notification settings - Fork 296
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
Fixes #36820 - translate modulemd content counts #10765
Conversation
Issues: #36820 |
8b12045
to
3008d4d
Compare
Looks good, here is my output:
One question I have is do we want to change this field too? |
We don't index |
3008d4d
to
6d13fd5
Compare
I really wish we didn't make the content type for module streams be "modulemd" internally, but I think it'll have to stay for now... we use it all over the place. So, to get around it, I'm just going to hardcode the translation for modulemds to be "module_stream". |
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.
ACK, looks good
6d13fd5
to
b762e44
Compare
[test katello] |
What are the changes introduced in this pull request?
Module streams weren't translated properly to Katello terms for smart proxy counts.
Considerations taken when implementing this change?
I considered that rpm.modulemd is completely confusing for Katello users.
What are the testing steps for this pull request?
curl -X GET https://
hostname/katello/api/capsules/2/content/counts -H "Content-Type: application/json" -uadmin:changeme | jq