Re: POC: DataMapper support for CIMI attributes

2012-11-28 Thread Michal Fojtik
On 11/20, David Lutterkort wrote: > The reason I want to store stuff at the entity level is that it greatly > reduces the amount of rows in the DB, number of queries etc. Since we do > not need to do anything fancy with the data in the DB for now, there's > no need for the more granular data model

Re: POC: DataMapper support for CIMI attributes

2012-11-20 Thread David Lutterkort
On Tue, 2012-11-20 at 14:59 +0100, Michal Fojtik wrote: > This is exactly what I did after conversation with Dies last week, sorry for > not updating this thread. The new patchset is uploaded here: > > http://tracker.deltacloud.org/set/130 > > The updated set is using exactly the same model as yo

Re: POC: DataMapper support for CIMI attributes

2012-11-20 Thread Michal Fojtik
On Nov 20, 2012, at 1:57 AM, David Lutterkort wrote: > On Tue, 2012-11-13 at 12:54 +0100, Michal Fojtik wrote: >> The horrible looking 'uuid' field is SHA1 hash composed from >> credentials, driver name and provider string, so different clients will >> not override their properties. > > We sho

Re: POC: DataMapper support for CIMI attributes

2012-11-19 Thread David Lutterkort
Hi Michal, excellent ! It's good to finally get this off the ground. For the state we store, at a minimum, we should store the basic attributes that all entities have (name, description, ...) plus the properties map. On Tue, 2012-11-13 at 12:54 +0100, Michal Fojtik wrote: > The horrible looking '

RE: DataMapper support for CIMI attributes

2012-11-15 Thread Koper, Dies
To: dev@deltacloud.apache.org > Subject: Re: DataMapper support for CIMI attributes > > > On Nov 15, 2012, at 3:02 AM, "Koper, Dies" wrote: > > > Hi Michal, > > > >>>> Deltacloud side. So I put together a small PoC of how complex (or > > not

Re: DataMapper support for CIMI attributes

2012-11-15 Thread Michal Fojtik
--- >> From: Michal Fojtik [mailto:mfoj...@redhat.com] >> Sent: Tuesday, 13 November 2012 11:37 PM >> To: dev@deltacloud.apache.org >> Subject: Re: DataMapper support for CIMI attributes >> >> On 11/13/2012 01:10 PM, Koper, Dies wrote: >>> Hi Michal,

RE: DataMapper support for CIMI attributes

2012-11-14 Thread Koper, Dies
egards, Dies Koper > -Original Message- > From: Michal Fojtik [mailto:mfoj...@redhat.com] > Sent: Tuesday, 13 November 2012 11:37 PM > To: dev@deltacloud.apache.org > Subject: Re: DataMapper support for CIMI attributes > > On 11/13/2012 01:10 PM, Koper, Dies wrote: >

Re: DataMapper support for CIMI attributes

2012-11-13 Thread Michal Fojtik
ght approach or I miss something? :-) -- Michal Regards, Dies Koper -Original Message- From: Michal Fojtik [mailto:mfoj...@redhat.com] Sent: Tuesday, 13 November 2012 10:54 PM To: dev@deltacloud.apache.org Subject: POC: DataMapper support for CIMI attributes Hi, I was playing a b

RE: DataMapper support for CIMI attributes

2012-11-13 Thread Koper, Dies
:54 PM > To: dev@deltacloud.apache.org > Subject: POC: DataMapper support for CIMI attributes > > Hi, > > I was playing a bit with adding DataMapper to Deltacloud to support > storing certain CIMI attributes that cannot be stored on the provider > side (like 'descriptio

POC: DataMapper support for CIMI attributes

2012-11-13 Thread Michal Fojtik
Hi, I was playing a bit with adding DataMapper to Deltacloud to support storing certain CIMI attributes that cannot be stored on the provider side (like 'description', etc.). We were discussing earlier that for that attributes we will need to create some persistent storage on Deltacloud side.