incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Adds get/set blob metadata for ec2 driver
Date Thu, 14 Jul 2011 14:58:32 GMT

While updating the API docs and writing the line 'EC2 does not 
support retrieving or setting of blob metadata values' I thought 
I'd double check the EC2 API/appoxy aws rubygem. It seems I missed 
this (or the EC2 API was updated... weak I know ... ). This patch 
adds the 'blob_metadata' and 'update_blob_metadata' methods to the
 EC2 driver:

retrieve metadata like:

HEAD /api/buckets/:bucket/:blob
(since its HEAD, no message body, but response headers contain the 
blob metadata)

set metadata like:

POST /api/buckets/:bucket/:blob


View raw message