Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A95F67F33 for ; Thu, 14 Jul 2011 14:59:00 +0000 (UTC) Received: (qmail 80388 invoked by uid 500); 14 Jul 2011 14:59:00 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 80337 invoked by uid 500); 14 Jul 2011 14:59:00 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 80305 invoked by uid 99); 14 Jul 2011 14:58:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 14:58:59 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marios@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 14:58:53 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6EEwWgC007421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 14 Jul 2011 10:58:32 -0400 Received: from name.redhat.com (vpn1-5-78.ams2.redhat.com [10.36.5.78]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6EEwU9R008221 for ; Thu, 14 Jul 2011 10:58:31 -0400 From: marios@redhat.com To: deltacloud-dev@incubator.apache.org Subject: Adds get/set blob metadata for ec2 driver Date: Thu, 14 Jul 2011 17:58:32 +0300 Message-Id: <1310655513-15048-1-git-send-email-marios@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 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 X-Deltacloud-Blobmeta-KEY:Value X-Deltacloud-Blobmeta-Version:2.1 marios