Actions
Feature #36750
closedAdd content counts to API results and add aggregated CV version content counts to smart proxy content counts
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Description
Add content counts to API results and add aggregated CV version content counts to Capsule content counts.
The cv_version will look something like below. Note the aggregated cv_version_content_counts key which holds the aggregated sum of all content counts in the CV version repositories.
cv_version: { repositories: { 8: { ansible.collection_version: 10 }, 9: { docker_tag: 1, container.blob: 3, docker_manifest: 1 }, 47: { rpm: 22, erratum: 7, rpm.modulemd: 14, package_group: 2, rpm.packagecategory: 1, rpm.distribution_tree: 1, rpm.modulemd_defaults: 3 }, 48: { python_package: 243 } }, cv_version_content_counts: { rpm: 22, erratum: 7, docker_tag: 1, rpm.modulemd: 14, package_group: 2, container.blob: 3, python_package: 243, docker_manifest: 1, rpm.packagecategory: 1, rpm.distribution_tree: 1, rpm.modulemd_defaults: 3, ansible.collection_version: 10 } }
Once this is available, we can add the capsule content count to API return and make it available for the UI.
Actions