← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1756140] Re: Project Tags Documentation Wrong - Create Tag

 

Reviewed:  https://review.openstack.org/553422
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=d10bafeb04b60f899d2618985a8f7a6ad7b21ade
Submitter: Zuul
Branch:    master

commit d10bafeb04b60f899d2618985a8f7a6ad7b21ade
Author: Gage Hugo <gagehugo@xxxxxxxxx>
Date:   Thu Mar 15 09:40:44 2018 -0500

    Fix api-ref for project tag create
    
    Keystone currently returns a 201 with no body when creating a single
    project tag by calling /v3/projects/{id}/tags/{value}, however the
    current api documentation states that an array of tags is returned.
    
    This is inconsistent with the current implementation which matches the
    api-wg spec[0] for tags.
    
    [0] https://specs.openstack.org/openstack/api-wg/guidelines/tags.html#addressing-individual-tags
    
    Closes-Bug: #1756140
    
    Change-Id: Ia15be1c79a6e8718b3613a16383ce0f5af839013


** Changed in: keystone
       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/1756140

Title:
  Project Tags Documentation Wrong - Create Tag

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  The API ref for Adding a single tag[0] to a project has the wrong
  response parameters. Currently it states that the response will be an
  array of tags when adding a single tag to a project. However this does
  not match the current implementation in keystone as well as the API-WG
  spec for tags[1].

  Fix will be to remove the parameters from the response since it
  returns no body and a 201.

  [0] https://developer.openstack.org/api-ref/identity/v3/#add-single-tag-to-a-project
  [1] https://specs.openstack.org/openstack/api-wg/guidelines/tags.html#addressing-individual-tags

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


References