Re: [openstack-dev] [heat] Shared code between server and client

2015-10-27 Thread Dean Troyer
On Thu, Oct 22, 2015 at 6:13 PM, Steve Baker wrote: > heat server already depends on heatclient, which was done so that some > template parsing could live in heatclient and be shared by both (this isn't > finished, and anyone who wants to pick it up is welcome to) > I don't know the details here

Re: [openstack-dev] [heat] Shared code between server and client

2015-10-27 Thread Zane Bitter
On 28/10/15 00:09, Jay Dobies wrote: On 23/10/15 05:35, Robert Collins wrote: My 2c - if its a stable API in the client, and can be kept stable, there's no problem. +1 Ok, forgive me for sounding dumb here (and changing the topic of the thread somewhat), but what do we consider a stable clie

Re: [openstack-dev] [heat] Shared code between server and client

2015-10-27 Thread Jay Dobies
On 10/27/2015 11:09 AM, Jay Dobies wrote: On 23/10/15 05:35, Robert Collins wrote: My 2c - if its a stable API in the client, and can be kept stable, there's no problem. +1 Ok, forgive me for sounding dumb here (and changing the topic of the thread somewhat), but what do we consider a stab

Re: [openstack-dev] [heat] Shared code between server and client

2015-10-27 Thread xuanlangjian
I would like to see that we just need to maintain a common template_utils.py/template_format.py in heat client side. But I still find some difference between client and server. https://github.com/openstack/heat/blob/master/heat/common/template_format.py#L84-L87

Re: [openstack-dev] [heat] Shared code between server and client

2015-10-27 Thread Jay Dobies
On 23/10/15 05:35, Robert Collins wrote: My 2c - if its a stable API in the client, and can be kept stable, there's no problem. +1 Ok, forgive me for sounding dumb here (and changing the topic of the thread somewhat), but what do we consider a stable client API? Is it as broad as any method

Re: [openstack-dev] [heat] Shared code between server and client

2015-10-26 Thread Zane Bitter
On 23/10/15 05:35, Robert Collins wrote: My 2c - if its a stable API in the client, and can be kept stable, there's no problem. +1 -Rob On 23 October 2015 at 08:49, Jay Dobies wrote: I'm working on moving the functionality for merging environments from the client into the server [1]. I've

Re: [openstack-dev] [heat] Shared code between server and client

2015-10-22 Thread Steve Baker
On 23/10/15 08:49, Jay Dobies wrote: I'm working on moving the functionality for merging environments from the client into the server [1]. I've only superficially looked at template_utils.py (in heatclient) but I'm guessing there is stuff in there I will want to use server-side. The server ha

Re: [openstack-dev] [heat] Shared code between server and client

2015-10-22 Thread Robert Collins
My 2c - if its a stable API in the client, and can be kept stable, there's no problem. -Rob On 23 October 2015 at 08:49, Jay Dobies wrote: > I'm working on moving the functionality for merging environments from the > client into the server [1]. I've only superficially looked at > template_utils.

[openstack-dev] [heat] Shared code between server and client

2015-10-22 Thread Jay Dobies
I'm working on moving the functionality for merging environments from the client into the server [1]. I've only superficially looked at template_utils.py (in heatclient) but I'm guessing there is stuff in there I will want to use server-side. The server has a requirement on heatclient, but I'm