Project

General

Profile

Actions

Feature #36750

closed

Add content counts to API results and add aggregated CV version content counts to smart proxy content counts

Added by Samir Jha about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 #1

Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Samir Jha
  • Pull request https://github.com/Katello/katello/pull/10736 added
Actions #2

Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/Katello/katello/pull/10745 added
Actions #3

Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/Katello/katello/pull/10746 added
Actions #4

Updated by Samir Jha about 1 year ago

  • Pull request deleted (https://github.com/Katello/katello/pull/10736, https://github.com/Katello/katello/pull/10745)
Actions #5

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.11.0 added
Actions #6

Updated by Lucy Fu about 1 year ago

  • Category set to Foreman Proxy Content
  • Target version set to Katello 4.11.0
  • Triaged changed from No to Yes
Actions #7

Updated by Samir Jha about 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Ian Ballou 12 months ago

  • Subject changed from Add content counts to API results and add aggregated CV version content counts to Capsule content counts to Add content counts to API results and add aggregated CV version content counts to smart proxy content counts
Actions

Also available in: Atom PDF