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 A1F7B9181 for ; Wed, 16 Nov 2011 19:05:29 +0000 (UTC) Received: (qmail 83067 invoked by uid 500); 16 Nov 2011 19:05:29 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 83056 invoked by uid 500); 16 Nov 2011 19:05:29 -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 83048 invoked by uid 99); 16 Nov 2011 19:05:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 19:05:29 +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 (nike.apache.org: domain of lutter@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; Wed, 16 Nov 2011 19:05:21 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pAGJ4UKY015616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 16 Nov 2011 14:04:59 -0500 Received: from [10.3.112.14] ([10.3.112.14]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pAGHisgr015633 for ; Wed, 16 Nov 2011 12:44:54 -0500 Subject: Re: [PATCH core 3/5] CIMI: Added MachineImage model From: David Lutterkort To: deltacloud-dev@incubator.apache.org Date: Wed, 16 Nov 2011 09:44:53 -0800 In-Reply-To: <1321283371-2298-4-git-send-email-mfojtik@redhat.com> References: <1321283371-2298-1-git-send-email-mfojtik@redhat.com> <1321283371-2298-4-git-send-email-mfojtik@redhat.com> Organization: Red Hat Inc Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Message-ID: <1321465494.18704.58.camel@melon.watzmann.net> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2011-11-14 at 16:09 +0100, mfojtik@redhat.com wrote: > diff --git a/server/lib/cimi/model/machine_image.rb b/server/lib/cimi/model/machine_image.rb > new file mode 100644 > index 0000000..dd3c960 > --- /dev/null > +++ b/server/lib/cimi/model/machine_image.rb > @@ -0,0 +1,23 @@ > +class CIMI::Model::MachineImage < CIMI::Model::Base > + > + scalar :image_location This should be 'href', not 'scalar'. 'href' is syntactic sugar for struct :image_location do scalar :href end David