Feature #1403

Update API implementation for server/image metadata based on latest version of spec

Added by Vangelis Koukis over 9 years ago. Updated over 9 years ago.

Status:Closed Start date:10/03/2011
Priority:Medium Due date:
Assignee:Giorgos Verigakis % Done:

0%

Category:Cyclades API Spent time: -
Target version:v0.7

Description

Update API implementation for handling of server and image metadata, allow creation of new metadata items in POST call.

This ticket concerns the semantic change of allowing an 'Update metadata' operation to also create new metadata items. The API spec prescribes a URL change from .../meta to @.../metadata', this will have to happen at a later stage to avoid breaking the UI client.


Related issues

related to Synnefo - Bug #1399: The kamaki client lib fails to set server metadata Closed 10/02/2011 10/03/2011
precedes Synnefo - Feature #1462: Update API implementation based on latest version of spec... Assigned 10/10/2011 11/11/2011

Associated revisions

Revision 7cc3c7d9
Added by Giorgos Verigakis over 9 years ago

Change Update Metadata to create non-existing keys

Update Metadata methods for servers and images
used to ignore keys that did not exist. This patch
will create them instead.

Refs #1403
Refs #1399

History

#1 Updated by Giorgos Verigakis over 9 years ago

There are many incompatible changes in the new spec that will break the clients. Commit 7cc3c7d94d48761ed12bb675b541602b78d38248 fixes update metadata which was a bit ambiguous, but the rest should probably go into a separate ticket to update the whole API to the new spec.

#2 Updated by Vangelis Koukis over 9 years ago

  • Status changed from Assigned to Closed

Opened #1462 to track updating the API implementation to latest version of the spec draft, closing ticket.

Also available in: Atom PDF