← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1448602] Re: Policy related operations of Identity v3 API in API Complete Reference need modification.

 

Reviewed:  https://review.openstack.org/230627
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=19ba28ae497b120497f4fa661ca2376f57a1ce95
Submitter: Jenkins
Branch:    master

commit 19ba28ae497b120497f4fa661ca2376f57a1ce95
Author: Diane Fleming <diflemin@xxxxxxxxx>
Date:   Fri Oct 2 15:04:13 2015 -0500

    Update Identity v3 to match spec
    
    Match the spec here:
    http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#openstack-identity-api-v3
    
    Updated calls, parameters, faults, descriptions, and samples for
    
    * API versions
    * Credentials
    * Domains
    * Endpoints
    * Groups
    * Policies
    * Projects
    * Regions
    * Roles
    * Role assignments
    & Services
    * Tokens
    * Users
    
    Code samples: Removed unused code samples.
    
    Change-Id: Ida11399456a4fa6ccff6336a02005192e1897a54
    Closes-Bug: #1448602
    Closes-Bug: #1513587
    Closes-Bug: #1512305


** Changed in: openstack-api-site
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1448602

Title:
  Policy related operations of Identity v3 API in API Complete Reference
  need modification.

Status in OpenStack Identity (keystone):
  Triaged
Status in openstack-api-site:
  Fix Released

Bug description:
  Recently, when I was trying to construct policy related HTTP requests
  according to the API Complete Reference's Identity v3 API page, the
  requests I constructed are not accepted by Keystone.

  So I used openstackclient to do what I want and got the network
  packets using wireshark. Then I found that the correct requests and
  responses are actually not the ones recorded in API Complete
  Reference.

  For example, in order to create a policy, the API details showed in
  API Complete Reference: http://developer.openstack.org/api-ref-
  identity-v3.html#createPolicy  indicates that "project_id" and
  "user_id" are needed, while actually they are not! The HTTP requests
  constructed by openstackclient are same with those in API guide of
  Keystone, still, taking policy creation as an example,
  http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-
  api-v3.html#create-policy

  Thus, I think that the policy related API reference in API Complete
  Reference is out dated and should be modified according to Keystone's
  api specs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1448602/+subscriptions


References