Bug 668538

Summary: pulp-client consumer history accepts an --id argument
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 22   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 13:59:20 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: 647488    

Description Jay Dobies 2011-01-10 18:37:02 UTC
The ID should be read from the consumer cert; we shouldn't allow one consumer to view the details of another.

Comment 1 Sayli Karmarkar 2011-03-25 06:40:29 UTC
Fixed. 

$ sudo pulp-client consumer history --help
Usage: pulp-client <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled",
                        "errata_installed", "profile_changed")
  --limit=LIMIT         limits displayed history entries to the given amount
                        (must be greater than zero)
  --sort=SORT           indicates the sort direction ("ascending" or
                        "descending") based on the entry's timestamp
  --start_date=START_DATE
                        only return entries that occur on or after the given
                        date (format: yyyy-mm-dd)
  --end_date=END_DATE   only return entries that occur on or before the given
                        date (format: yyyy-mm-dd)

Comment 2 Jeff Ortel 2011-03-29 17:32:37 UTC
Build: 0.158

Comment 3 Preethi Thomas 2011-05-05 13:30:22 UTC
verified
[root@10 ~]# rpm -q pulp-client
pulp-client-0.0.173-1.fc14.noarch

[root@10 ~]# pulp-client -u admin -p admin consumer history --help
Usage: pulp-client <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled",
                        "errata_installed", "profile_changed")
  --limit=LIMIT         limits displayed history entries to the given amount
                        (must be greater than zero)
  --sort=SORT           indicates the sort direction ("ascending" or
                        "descending") based on the entry's timestamp
  --start_date=START_DATE
                        only return entries that occur on or after the given
                        date (format: yyyy-mm-dd)
  --end_date=END_DATE   only return entries that occur on or before the given
                        date (format: yyyy-mm-dd)

Comment 4 Preethi Thomas 2011-08-16 13:59:20 UTC
Closing with Community Release 15

pulp-0.0.223-4.