[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Loading fake data into broker DB



It does if you can then just create a massive script to create stuff as fast as possible, then snapshot it.

----- Original Message -----
> Fake data could be recorded to the side in the DB so that it would be
> *consistently* fake (this would make more sense than using the cache). I was
> vaguely thinking that maybe most of this might have a place in the broker
> proper, so maybe I should just refactor this into a broker plugin. It could
> proxy to the real application proxy for anything it doesn't need to override
> (currently all we need to fake would be specific facts retrieval calls).
> Application proxy proxy...
> 
> Still doesn't get us fake apps in the DB :(
> 
> ----- Original Message -----
> > From: "Clayton Coleman" <ccoleman redhat com>
> > Sent: Tuesday, July 23, 2013 1:01:17 PM
> > 
> > We should write a fake application proxy that generates data based on
> > what's in the broker and returns random data.  Would be nice for
> > console/rhc/broker integration tests at scale.
> > 
> > On Jul 23, 2013, at 11:40 AM, Luke Meyer <lmeyer redhat com> wrote:
> > 
> > > To make it easier to work on the admin console, I'm working on a
> > > script that loads a lot of fake districts and nodes into the
> > > broker DB (and mock statistics for them into the admin console
> > > cache).
> > > 
> > > https://github.com/sosiouxme/origin-server/compare/fake-data?expand=1
> > > 
> > > Of course none of the nodes created actually exist or respond to
> > > MCollective calls.
> > > 
> > > I'm wondering if anyone has already worked on a way to mass-add
> > > lots of fake apps based on available cartridges. That would really
> > > help fill out the data views.
> > > 
> > > _______________________________________________
> > > dev mailing list
> > > dev lists openshift redhat com
> > > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> > 
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]