deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: [PATCH] allow multiple mock provider accounts
Date Fri, 08 Jun 2012 10:39:09 GMT
On Fri, 2012-06-08 at 09:36 +0300, marios@redhat.com wrote:
> On 08/06/12 02:30, Francesco Vollero wrote:
> > Hi Dave,
> > 
> > On Thu, Jun 7, 2012 at 6:24 PM, Dave Johnson <dajo@redhat.com> wrote:
> >> Ultimately needed for some unrelated conductor QE testing
> > 
> > Nack.
> 
> +1 - needs a bit more explanation about what/why this is needed.

I like the idea of multiple mock users, but I'd structure it slightly
differently. Shouldn't the storage for the mock driver be scoped by
user ? IOW, shouldn't mockuser01 and mockuser02 see completely different
sets of resources ?

Also: should we set up different mock users explicitly, or is it enough
for your use case that they are created implicitly just by using them ?
And if so, shouldn't we initialize the mock user's resources with stock
resources ?

David



Mime
View raw message