| Summary: | Consumer Errata API lacks needed information | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Eric Helms <ehelms> |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:14:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
commit 02b7616043db69c6cf59033e1f83b8d2c4cbc2f1 $ curl -k -u admin:admin https://localhost/pulp/api/consumers/prad/errata/ |json_reformat % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 984 0 984 0 0 1434 0 --:--:-- --:--:-- --:--:-- 1436 [ { "issued": "2010-11-7 00:00:00", "references": [ ], "pkglist": [ { "packages": [ { "src": "xen-3.0.3-80.el5_3.3.src.rpm", "name": "emoticons", "sum": [ "md5", "366bb5e73a5905eacb82c96e0578f92b" ], "filename": "emoticons-0.1-2.x86_64.rpm", "epoch": "0", "version": "0.1", "release": "2", "arch": "x86_64" }, { "src": "xen-3.0.3-80.el5_3.3.src.rpm", "name": "patb", "sum": [ "md5", "f3c197a29d9b66c5b65c5d62b25db5b4" ], "filename": "patb-0.1-2.x86_64.rpm", "epoch": "0", "version": "0.1", "release": "2", "arch": "x86_64" } ], "name": "F13 Pulp Test Packages", "short": "F13PTP" } ], "id": "RHEA-2010:9999", "severity": "", "title": "test package enhancements", "_ns": "errata", "version": "1", "reboot_suggested": false, "type": "enhancements", "immutable": true, "status": "final", "updated": "2010-11-8 00:00:00", "description": null, "repo_defined": true, "pushcount": 1, "from_str": "enhancements", "rights": "", "solution": "", "summary": "", "release": "", "_id": "RHEA-2010:9999" } ] build: 0.255 verified [root@preethi ~]# rpm -q pulp pulp-0.0.255-1.fc15.noarch [root@preethi ~]# [root@preethi ~]# curl -k -u admin:admin https://localhost/pulp/api/consumers/preethi/errata/ |json_reformat |more % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:12 --:--:-- 0[ { "issued": "2011-08-26 18:29:35", "references": [ ], "pkglist": [ { "packages": [ { "src": "http://download.fedoraproject.org/pub/fedora/linux/updates/15/ i686/traceroute-debuginfo-2.0.18-1.fc15.i686.rpm", "name": "traceroute-debuginfo", "filename": "traceroute-debuginfo-2.0.18-1.fc15.i686.rpm", "epoch": "3", "version": "2.0.18", "release": "1.fc15", "arch": "i686" }, { "src": "http://download.fedoraproject.org/pub/fedora/linux/updates/15/ i686/traceroute-2.0.18-1.fc15.i686.rpm", "name": "traceroute", "filename": "traceroute-2.0.18-1.fc15.i686.rpm", "epoch": "3", "version": "2.0.18", "release": "1.fc15", "arch": "i686" }, Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
Description of problem: Querying for Consumer Errata via the API does not return all required data fields. Version-Release number of selected component (if applicable): pulp-0.0.244-5.fc15.noarch How reproducible: Always. Steps to Reproduce: 1. Register Consumer to Pulp 2. Subscribe Consumer to Repo that pulp knows about 3. Bind Consumer to repository using Consumer ID and RepoID 4. Query Pulp API for Consumer errata Actual results: Limited set of data fields for each errata within the list. e.g. { "_id": "RHBA-2011:1199", "type": "bugfix", "id": "RHBA-2011:1199", "title": "tmpwatch bug fix update" } Expected results: Expecting each errata to be represented by: https://fedorahosted.org/pulp/wiki/UGREST-Errata#ListErratabyConsumer Additional info: API call used: curl -k -u admin:admin https://localhost/pulp/api/consumers/<consumer id>/errata/ | json_reformat