← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1419945] [NEW] metadef tags create api does not match blue-print

 

Public bug reported:

The blueprint for metadef tags shows:
Create / Replace all tags in a specific namespace
    POST /metadefs/namespaces/{namespace}/tags/
and
Add tag in a specific namespace:	
    POST /metadefs/namespaces/{namespace}/tags/{tag}

Unfortunately, these were implemented as:
Create / Replace all tags in a specific namespace
    PUT  /metadefs/namespaces/{namespace}/tags/
and
    POST  /metadefs/namespaces/{namespace}/tags/

This bug seeks to rectify this situation and use the correct action/URI.
Even though the metadef tag library has been checked in, the associated python-glanceclient check in has not been approved yet. Additionally, the specs for the metadef tag changes have not been posted anywhere yet, so, hopefully this can be changed with minimal impact.

** Affects: glance
     Importance: Undecided
     Assignee: Wayne (wayne-okuma)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Wayne (wayne-okuma)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1419945

Title:
  metadef tags create api does not match blue-print

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  The blueprint for metadef tags shows:
  Create / Replace all tags in a specific namespace
      POST /metadefs/namespaces/{namespace}/tags/
  and
  Add tag in a specific namespace:	
      POST /metadefs/namespaces/{namespace}/tags/{tag}

  Unfortunately, these were implemented as:
  Create / Replace all tags in a specific namespace
      PUT  /metadefs/namespaces/{namespace}/tags/
  and
      POST  /metadefs/namespaces/{namespace}/tags/

  This bug seeks to rectify this situation and use the correct action/URI.
  Even though the metadef tag library has been checked in, the associated python-glanceclient check in has not been approved yet. Additionally, the specs for the metadef tag changes have not been posted anywhere yet, so, hopefully this can be changed with minimal impact.

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


Follow ups

References