Re: [openstack-dev] [horizon] REST and Django

2014-12-15 Thread Tihomir Trifonov
: [openstack-dev] [horizon] REST and Django In your previous example, you are posting to a certain URL (i.e. /keystone/{ver:=x.0}/{method:=update}). client: POST /keystone/{ver:=x.0}/{method:=update} = middleware: just forward to clients[ver].getattr(method)(**kwargs) = keystone: update Correct me

Re: [openstack-dev] [horizon] REST and Django

2014-12-12 Thread Tihomir Trifonov
@lists.openstack.orgmailto: openstack-...@lists.openstack.or g Date: Thursday, December 11, 2014 at 7:53 AM To: OpenStack List openstack-dev@lists.openstack.orgmailto: openstack-...@lists.openstack.or g Subject: Re: [openstack-dev] [horizon] REST and Django ​​ Client just needs to know which URL to hit

Re: [openstack-dev] [horizon] REST and Django

2014-12-12 Thread Thai Q Tran
enstack-...@lists.openstack.or g Subject: Re: [openstack-dev] [horizon] REST and Django Client just needs to know which URL to hit in order to invoke a certain API, and does not need to know the procedure name or parameters ordering. That's where the difference is. I think the client has t

Re: [openstack-dev] [horizon] REST and Django

2014-12-12 Thread Tripp, Travis S
: Tihomir Trifonov t.trifo...@gmail.commailto:t.trifo...@gmail.com Date: 12/12/2014 04:53AM Subject: Re: [openstack-dev] [horizon] REST and Django Here's an example: Admin user Joe has an Domain open and stares at it for 15 minutes while he updates the description. Admin user Bob is asked to go ahead

Re: [openstack-dev] [horizon] REST and Django

2014-12-11 Thread Tihomir Trifonov
(not for usage questions) openstack-dev@lists.openstack.org From: Tihomir Trifonov t.trifo...@gmail.com Date: 12/10/2014 03:04AM Subject: Re: [openstack-dev] [horizon] REST and Django Richard, thanks for the reply, I agree that the given example is not a real REST. But we already have

Re: [openstack-dev] [horizon] REST and Django

2014-12-11 Thread Tripp, Travis S
Date: 12/10/2014 03:04AM Subject: Re: [openstack-dev] [horizon] REST and Django Richard, thanks for the reply, I agree that the given example is not a real REST. But we already have the REST API - that's Keystone, Nova, Cinder, Glance, Neutron etc, APIs. So what we plan to do here? To add a new

Re: [openstack-dev] [horizon] REST and Django

2014-12-11 Thread Richard Jones
On Fri Dec 12 2014 at 1:06:08 PM Tripp, Travis S travis.tr...@hp.com wrote: ​Do we really need the lines:​ project = api.keystone.tenant_get(request, id) kwargs = _tenant_kwargs_from_DATA(request.DATA, enabled=None) ​ I agree that if you already have all the data it is really bad to have

Re: [openstack-dev] [horizon] REST and Django

2014-12-10 Thread Richard Jones
travis.tr...@hp.com wrote: From: Richard Jones r1chardj0...@gmail.com To: Tripp, Travis S travis.tr...@hp.com, OpenStack List openstack-dev@lists.openstack.org Date: 11/27/2014 05:38 PM Subject: Re: [openstack-dev] [horizon] REST and Django -- On Fri Nov 28 2014

Re: [openstack-dev] [horizon] REST and Django

2014-12-10 Thread Tihomir Trifonov
, OpenStack List openstack-dev@lists.openstack.org Date: 11/27/2014 05:38 PM Subject: Re: [openstack-dev] [horizon] REST and Django -- On Fri Nov 28 2014 at 5:58:00 AM Tripp, Travis S *travis.tr...@hp.com* travis.tr...@hp.com wrote: Hi Richard, You are right

Re: [openstack-dev] [horizon] REST and Django

2014-12-10 Thread Thai Q Tran
Richard Jones ---11/27/2014 05:38:53 PM---On Fri Nov 28 2014 at 5:58:00 AM Tripp, Travis S travis.tr...@hp.com wrote: From: Richard Jones r1chardj0...@gmail.com To: "Tripp, Travis S

Re: [openstack-dev] [horizon] REST and Django

2014-12-09 Thread Tihomir Trifonov
openstack-dev@lists.openstack.org Date: 11/27/2014 05:38 PM Subject: Re: [openstack-dev] [horizon] REST and Django -- On Fri Nov 28 2014 at 5:58:00 AM Tripp, Travis S *travis.tr...@hp.com* travis.tr...@hp.com wrote: Hi Richard, You are right, we should

Re: [openstack-dev] [horizon] REST and Django

2014-12-02 Thread Adam Young
...@hp.com, OpenStack List openstack-dev@lists.openstack.org mailto:openstack-dev@lists.openstack.org Date: 11/27/2014 05:38 PM Subject: Re: [openstack-dev] [horizon] REST and Django On Fri Nov 28

Re: [openstack-dev] [horizon] REST and Django

2014-12-01 Thread Richard Jones
...@hp.com, OpenStack List openstack-dev@lists.openstack.org Date: 11/27/2014 05:38 PM Subject: Re: [openstack-dev] [horizon] REST and Django -- On Fri Nov 28 2014 at 5:58:00 AM Tripp, Travis S *travis.tr...@hp.com* travis.tr...@hp.com wrote: Hi Richard

Re: [openstack-dev] [horizon] REST and Django

2014-11-30 Thread Thai Q Tran
@lists.openstack.org Date: 11/27/2014 05:38 PM Subject:Re: [openstack-dev] [horizon] REST and Django On Fri Nov 28 2014 at 5:58:00 AM Tripp, Travis S travis.tr...@hp.com wrote: Hi Richard, You are right, we should put this out on the main ML, so copying thread out to there.  ML

[openstack-dev] [horizon] REST and Django

2014-11-27 Thread Tripp, Travis S
Hi Richard, You are right, we should put this out on the main ML, so copying thread out to there. ML: FYI that this started after some impromptu IRC discussions about a specific patch led into an impromptu google hangout discussion with all the people on the thread below. As I mentioned in

Re: [openstack-dev] [horizon] REST and Django

2014-11-27 Thread Richard Jones
On Fri Nov 28 2014 at 5:58:00 AM Tripp, Travis S travis.tr...@hp.com wrote: Hi Richard, You are right, we should put this out on the main ML, so copying thread out to there. ML: FYI that this started after some impromptu IRC discussions about a specific patch led into an impromptu google