Bug 142564 - Extend user.get_details to provide more information in API and interim SQL script
Summary: Extend user.get_details to provide more information in API and interim SQL sc...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Web Site
Version: rhn370
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bret McMillan
QA Contact: Max Spevack
URL:
Whiteboard:
Depends On: 147140
Blocks: 135141 145821
TreeView+ depends on / blocked
 
Reported: 2004-12-10 17:27 UTC by Joe deBlaquiere
Modified: 2007-04-18 17:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-08 16:32:54 UTC
Embargoed:


Attachments (Terms of Use)
simple python test script (1.02 KB, text/plain)
2005-03-01 22:45 UTC, Bret McMillan
no flags Details

Comment 1 Joe deBlaquiere 2004-12-10 17:27:18 UTC
The user.get_details API provides limited information. The customer only
requires created date, but I would suggest also adding last checkin while we're
messing in that part of the code. We need to provide this in an scriptable form
using a SQL query as an interim step to full support in API.

Comment 2 Todd Warner 2004-12-17 12:24:44 UTC
API is bret.

Comment 3 Bret McMillan 2005-01-04 14:12:34 UTC
created is easy to add, but what exactly do you mean by "last checkin"?  you
mean last login?

Comment 4 Joe deBlaquiere 2005-01-14 18:44:12 UTC
correct. last login.

Comment 5 Todd Warner 2005-02-04 15:35:06 UTC
Customer Facing now "NO"
Docs status now tracked by bug 147140

Comment 6 Bret McMillan 2005-02-20 20:10:49 UTC
Ok, it's now in webdev.

Test plan:

use web api unit tests

Comment 7 Bret McMillan 2005-02-20 20:12:13 UTC
updating hours worked

Comment 8 Clay Murphy 2005-02-25 22:14:31 UTC
Done

TEST PLAN
Review the Documentation section of the rhn (hosted) release notes and
ensure this change is mentioned.

Setting to ON_DEV

Comment 9 Clay Murphy 2005-02-28 19:00:15 UTC
Sorry, put this info in the wrong bug. See bug #147140

Comment 10 Max Spevack 2005-03-01 21:15:06 UTC
To actually test this bug, what we really want is a perl script that
can make the API call against prod, and make the API call against QA,
and the we can compare the results and ensure that they differ
appropriately.

Bret, can you provide such a script relatively easily?

Comment 11 Bret McMillan 2005-03-01 22:45:21 UTC
Created attachment 111559 [details]
simple python test script

This is a simple python script... usage is:

python get-details-test.py [username] [password] [env-hostname]

where env-hostname is something like rhn.webqa.redhat.com, and username &
password identify a user both on rhn.redhat.com as well as env-hostname.

Not really sure why we're testing prod and the difference, probably just need
to test env-hostname and make sure we're getting back what we expect, but you
ask and I provide :)

Comment 12 Max Spevack 2005-03-10 21:10:14 UTC
The script passed with success.  Thank you bretm.

Comment 13 Todd Warner 2005-04-08 16:32:54 UTC
mass move: PROD_READY --> CLOSED:CURRENTRELEASE


Note You need to log in before you can comment on or make changes to this bug.