Bug 519706
Summary: | packages.getDetails API support for multiple package checksums | ||
---|---|---|---|
Product: | [Retired] Red Hat Network | Reporter: | Sebastian Skracic <sskracic> |
Component: | RHN/API | Assignee: | Sebastian Skracic <sskracic> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Network Quality Assurance <rhn-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | RHN Stable | CC: | acarter, dhughes, ggainey |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | US81 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-18 12:49:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 519193, 523965 |
Description
Sebastian Skracic
2009-08-27 13:51:59 UTC
Support for multiple package checksums implemented in packages.getDetails via 6ca4562b1d117e882585b2fc21e1f7cd2a81e8e9 and 2b06c995b01d93cfc0460948726824ea270f75eb. The code is on webdev. *** Bug 522584 has been marked as a duplicate of this bug. *** TEST PLAN: ========= 1) identify an RPM which has MD% and at least one other checksum type defined for it in RHN 2) Get that package's package_id 3) Request that package's details via packages.getDetails <pid> call EXPECTED BEHAVIOR: 1) package_md5sum key continues to return the md5 checksum for the package 2) package_checksums key returns a map of checksums, keyed by checksum type EXAMPLE: ======= callAnyMethod.py sskracicgit redhat packages.getDetails 315908 ... 'package_checksums': {'md5': 'f7890d88eb58fec2a5f868fbd6b4dc00', 'sha-256': '079469edbae9f94ba2f5fcb0d0cfe423a078d7852580306b4080399d200844db', 'sha-384': '80c3cad3c5b4181744acc593d9c649236437a513a395b9b8904bf226a3328bf783f985f6c8d7bf349daf14ba6b7e899d', 'sha-512': '1bb9cabc376d16b022d37d991b04ffa673ac2b7bf1dad026801fbff3fa20eea921652e6f74166c1edde9abe3a275eebed585da285de364744f9b378dc9ece981', 'sha1': '7b3eb1bc24b7f18020388e3106311a35fe5c9519'}, ... 'package_md5sum': 'f7890d88eb58fec2a5f868fbd6b4dc00', ... Verified on webdev |