Support get roles call with optional Service Id param.

Bug #907521 reported by Yogeshwar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Yogeshwar

Bug Description

Changes to support get roles filtered by service id.
i
OS-KSADM/roles? serviceId=string

Changed in keystone:
status: New → In Progress
assignee: nobody → Yogeshwar (yogesh-srikrishnan)
milestone: none → essex-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/2560

Revision history for this message
Yogeshwar (yogesh-srikrishnan) wrote :

This is how the list roles method is defined in the wadl
Ref: https://github.com/openstack/keystone/blob/master/keystone/content/admin/OS-KSADM-admin.wadl

<!--Roles-->
<method name="GET" id="listRoles">
<doc xml:lang="EN" title="List Roles">
<p xmlns="http://www.w3.org/1999/xhtml">List roles.</p>

</doc>
<request>
<param name="serviceId" style="query" required="false" type="xsd:string"/> => Optional service id
<param name="marker" style="query" required="false" type="xsd:string"/>
<param name="limit" style="query" required="false" type="xsd:int"/>
</request>
<response status="200 203">
<representation mediaType="application/xml" element="identity:roles">
<doc xml:lang="EN">
<xsdxt:code href="../common/samples/roles.xml"/>
</doc>
</representation>
<representation mediaType="application/json">
<doc xml:lang="EN">
<xsdxt:code href="../common/samples/roles.json"/>
</doc>
</representation>
</response>
&commonFaults;
&getFaults;
</method>

Our list roles method should support the same call with an optional serviceId as our wadl supports the optional call with serviceId.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/2560
Committed: http://github.com/openstack/keystone/commit/620d2ff33d8f4994d0f31b6c04c38910ce63a082
Submitter: Jenkins
Branch: master

commit 620d2ff33d8f4994d0f31b6c04c38910ce63a082
Author: Yogeshwar Srikrishnan <email address hidden>
Date: Thu Dec 22 09:54:21 2011 -0600

     Bug #907521.
        Changes to support get roles by service.

    Change-Id: I0646ab91f6961e5e3ed40b8697412c31047511d3

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.