deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: [PATCH] CIMI: system and system_template support for mock driver, with unit tests. Just GET for now, no subcollections
Date Thu, 21 Feb 2013 12:43:46 GMT
On 02/21, Koper, Dies wrote:
> > > David said I should ask you what's going on. :)
> > 
> > Can you check if the system_volumes_collection.rb by accident does not
> > include the same class as system_collection.rb? In that case they will
> > overide themself which will lead to this bug :-)
> 
> It has a:
> 
>     collection :systems do
> 
> at the beginning, which probably should be     collection
> :system_volumes do

Right, I prepared a patch to prevent this in future:

http://tracker.deltacloud.org/patch/19babd48#diff

With this patch you will get an error if you try to start DC/CIMI with
duplicated collection.

  -- Michal

> 
> > For Rabbit, I need to add check where I will refuse to register
> collection
> > that is already registred.
> 
> Thanks,
> Dies
> 

-- 
Michal Fojtik <mfojtik@redhat.com>
Deltacloud API, CloudForms

Mime
View raw message