Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1317129 - [Docs] [Java SDK] authentication via the sessionid is not documented for python/java SDK
[Docs] [Java SDK] authentication via the sessionid is not documented for pyth...
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.6.3
Unspecified Unspecified
medium Severity medium
: ovirt-4.0.0-beta
: 4.0.0
Assigned To: Andrew Dahms
Lucy Bopf
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-12 04:16 EST by Roman Hodain
Modified: 2016-05-30 18:58 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-05-30 18:58:58 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Docs
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Roman Hodain 2016-03-12 04:16:37 EST
Description of problem:
    The documentation does not contain instruction how to use the session id for the available SDKs. This is problematic as event java-docs does not contain some information.

Affected docs:
   Java SDK Guide - Using the Red Hat Enterprise Virtualization Java SDK 
   Python SDK Guide - Using the Red Hat Enterprise Virtualization Python SDK

Version-Release number of selected component (if applicable):
3.6

Additional notes:
For example java doc says that the Api constructor can be called in the following way:

    Api(java.lang.String url, java.lang.String sessionid) 

but it does not explain what is the format of the sessionid. This is confusing as one would do:

     sessionid='V7tybi14lt8GrzWoqlGobQnf'

but the right way is:

     sessionid='JSESSIONID=V7tybi14lt8GrzWoqlGobQnf...'

So the documentation should include a description of the session id usage and an example of usage.
Comment 1 Andrew Dahms 2016-05-09 01:32:10 EDT
Taking to work on in conjunction with BZ#1325323.
Comment 2 Yaniv Lavi 2016-05-09 06:56:36 EDT
oVirt 4.0 Alpha has been released, moving to oVirt 4.0 Beta target.
Comment 3 Andrew Dahms 2016-05-10 01:43:05 EDT
Moving to modified.

Tech review being requested in BZ#1325323 alongside the changes in that bug that also touch on the Java SDK.
Comment 4 Andrew Dahms 2016-05-19 21:59:34 EDT
Moving to ON_QA.

Assigning Lucy as the QA contact.

Lucy - would you be able to take a look at the changes for this bug?

See comment #4 in BZ#1325323 for the details.
Comment 5 Lucy Bopf 2016-05-22 23:53:55 EDT
Thanks, Andrew. I've reviewed the changes in bug 1325323, and everything looks good to me.

Moving to VERIFIED.

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