[openstack-dev] Does murano dymamic-ui have plan to support edit function?

2015-08-12 Thread WANG, Ming Hao (Tony T)
Dear OpenStack developers,

Currently, murano dynamic-ui is one-time GUI, and I can't edit data what has 
been submitted.
Does murano dynamic-ui have plan to support edit function in the future?

For example, developer develops some Wizard GUI to do some configuration, and 
user wants to change some configuration after the deployment.

Thanks,
Tony

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Does murano dymamic-ui have plan to support edit function?

2015-08-12 Thread Kirill Zaitsev
Hi, sure there are such plans! This have been long referred as 
per-component-UI. I’m really hoping there would be some traction about it 
during mitaka cycle. Not in liberty though, feature freeze is less than a month 
away.

btw, if you’re interested in custom tweaking and fine-tuning of murano 
object-model you can take a look at these CLI tools 
https://review.openstack.org/#/q/project:openstack/python-muranoclient+branch:master+topic:bp/env-configuration-from-cli,n,z

and this https://review.openstack.org/#/c/208659/ commit in particular. 
Although using those would require you to have some knowledge about how murano 
handles things internally.


-- 
Kirill Zaitsev
Murano team
Software Engineer
Mirantis, Inc

On 12 Aug 2015 at 13:23:47, WANG, Ming Hao (Tony T) 
(tony.a.w...@alcatel-lucent.com) wrote:

Dear OpenStack developers,

 

Currently, murano dynamic-ui is “one-time” GUI, and I can’t edit data what has 
been submitted.

Does murano dynamic-ui have plan to support edit function in the future? 

 

For example, developer develops some Wizard GUI to do some configuration, and 
user wants to change some configuration after the deployment.

 

Thanks,

Tony

 

__  
OpenStack Development Mailing List (not for usage questions)  
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe  
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev  
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Does murano dymamic-ui have plan to support edit function?

2015-08-12 Thread WANG, Ming Hao (Tony T)
Kirll,

Thanks for your info very much!
We will study it first.

Thanks,
Tony

From: Kirill Zaitsev [mailto:kzait...@mirantis.com]
Sent: Wednesday, August 12, 2015 7:12 PM
To: WANG, Ming Hao (Tony T); OpenStack Development Mailing List (not for usage 
questions)
Subject: Re: [openstack-dev] Does murano dymamic-ui have plan to support edit 
function?

Hi, sure there are such plans! This have been long referred as 
per-component-UI. I’m really hoping there would be some traction about it 
during mitaka cycle. Not in liberty though, feature freeze is less than a month 
away.

btw, if you’re interested in custom tweaking and fine-tuning of murano 
object-model you can take a look at these CLI tools 
https://review.openstack.org/#/q/project:openstack/python-muranoclient+branch:master+topic:bp/env-configuration-from-cli,n,z

and this https://review.openstack.org/#/c/208659/ commit in particular. 
Although using those would require you to have some knowledge about how murano 
handles things internally.


--
Kirill Zaitsev
Murano team
Software Engineer
Mirantis, Inc


On 12 Aug 2015 at 13:23:47, WANG, Ming Hao (Tony T) 
(tony.a.w...@alcatel-lucent.commailto:tony.a.w...@alcatel-lucent.com) wrote:
Dear OpenStack developers,

Currently, murano dynamic-ui is “one-time” GUI, and I can’t edit data what has 
been submitted.
Does murano dynamic-ui have plan to support edit function in the future?

For example, developer develops some Wizard GUI to do some configuration, and 
user wants to change some configuration after the deployment.

Thanks,
Tony

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
openstack-dev-requ...@lists.openstack.org?subject:unsubscribemailto:openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Does murano dymamic-ui have plan to support edit function?

2015-08-12 Thread Kirill Zaitsev
Hi Tony, 

After re-readng your question again I tend to agree with Alex. Actions seem to 
be exactly what you’re asking for.

-- 
Kirill Zaitsev
Murano team
Software Engineer
Mirantis, Inc

On 12 Aug 2015 at 20:16:08, Alexander Tivelkov (ativel...@mirantis.com) wrote:

Hi Tony,  

Thanks for your interest!  

This is a complicated topic. Being able to edit the object model (with  
DynamicUI, the CLI tools mentioned by Kirill or manually with murano's  
API) is just the tip of the iceberg: if you have already deployed your  
application, modifying of some of its input properties will not be  
enough: the application developer has to supply the logic which will  
handle the changes and will execute all the needed actions to  
reconfigure the app.  

Right now the right way to do so is to create an action method (see  
[1] for details), which may be called for already deployed apps. In  
this action you may change the properties of the object and do  
whatever custom handling you may need to reconfigure your app. For  
example, if you want to change the password of the database admin user  
of the mysql app, you may add an action method changeAdminPassword  
which will not only set '$.password' property to a new value, but will  
also execute an appropriate password-changing script on the VM running  
the database instance.  

Right now the actions are partially supported on the UI level (in the  
dashboard you may call any action of any deployed application),  
however currently you cannot pass any parameters to these actions if  
called from the UI, and being able to pass them is indeed required for  
your scenario (in the aforementioned example with DB password change,  
such an action should have at least one parameter - the new password  
value). This will be probably addressed during the M cycle as part of  
the per-component UI initiative mentioned by Kirill: we will provide  
a way to render dynamic UI dialogs not only for the new applications  
being added but also for the actions of the already deployed apps.  

Hope this helps.  
Please let me know if you have any questions on Actions and any other  
related topics  

[1] 
http://murano.readthedocs.org/en/latest/draft/appdev-guide/murano_pl.html#murano-actions
  

--  
Regards,  
Alexander Tivelkov  


On Wed, Aug 12, 2015 at 2:16 PM, WANG, Ming Hao (Tony T)  
tony.a.w...@alcatel-lucent.com wrote:  
 Kirll,  
  
  
  
 Thanks for your info very much!  
  
 We will study it first.  
  
  
  
 Thanks,  
  
 Tony  
  
  
  
 From: Kirill Zaitsev [mailto:kzait...@mirantis.com]  
 Sent: Wednesday, August 12, 2015 7:12 PM  
 To: WANG, Ming Hao (Tony T); OpenStack Development Mailing List (not for  
 usage questions)  
 Subject: Re: [openstack-dev] Does murano dymamic-ui have plan to support  
 edit function?  
  
  
  
 Hi, sure there are such plans! This have been long referred as  
 per-component-UI. I’m really hoping there would be some traction about it  
 during mitaka cycle. Not in liberty though, feature freeze is less than a  
 month away.  
  
  
  
 btw, if you’re interested in custom tweaking and fine-tuning of murano  
 object-model you can take a look at these CLI tools  
 https://review.openstack.org/#/q/project:openstack/python-muranoclient+branch:master+topic:bp/env-configuration-from-cli,n,z
   
  
  
  
 and this https://review.openstack.org/#/c/208659/ commit in particular.  
 Although using those would require you to have some knowledge about how  
 murano handles things internally.  
  
  
  
  
  
 --  
 Kirill Zaitsev  
 Murano team  
  
 Software Engineer  
  
 Mirantis, Inc  
  
  
  
 On 12 Aug 2015 at 13:23:47, WANG, Ming Hao (Tony T)  
 (tony.a.w...@alcatel-lucent.com) wrote:  
  
 Dear OpenStack developers,  
  
  
  
 Currently, murano dynamic-ui is “one-time” GUI, and I can’t edit data what  
 has been submitted.  
  
 Does murano dynamic-ui have plan to support edit function in the future?  
  
  
  
 For example, developer develops some Wizard GUI to do some configuration,  
 and user wants to change some configuration after the deployment.  
  
  
  
 Thanks,  
  
 Tony  
  
  
  
 __  
 OpenStack Development Mailing List (not for usage questions)  
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe  
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev  
  
  
 __  
 OpenStack Development Mailing List (not for usage questions)  
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe  
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev  
  
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo

Re: [openstack-dev] Does murano dymamic-ui have plan to support edit function?

2015-08-12 Thread Alexander Tivelkov
Hi Tony,

Thanks for your interest!

This is a complicated topic. Being able to edit the object model (with
DynamicUI, the CLI tools mentioned by Kirill or manually with murano's
API) is just the tip of the iceberg: if you have already deployed your
application, modifying of some of its input properties will not be
enough: the application developer has to supply the logic which will
handle the changes and will execute all the needed actions to
reconfigure the app.

Right now the right way to do so is to create an action method (see
[1] for details), which may be called for already deployed apps. In
this action you may change the properties of the object and do
whatever custom handling you may need to reconfigure your app. For
example, if you want to change the password of the database admin user
of the mysql app, you may add an action method changeAdminPassword
which will not only set '$.password' property to a new value, but will
also execute an appropriate password-changing script on the VM running
the database instance.

Right now the actions are partially supported on the UI level (in the
dashboard you may call any action of any deployed application),
however currently you cannot pass any parameters to these actions if
called from the UI, and being able to pass them is indeed required for
your scenario (in the aforementioned example with DB password change,
such an action should have at least one parameter - the new password
value). This will be probably addressed during the M cycle as part of
the per-component UI initiative mentioned by Kirill: we will provide
a way to render dynamic UI dialogs not only for the new applications
being added but also for the actions of the already deployed apps.

Hope this helps.
Please let me know if you have any questions on Actions and any other
related topics

[1] 
http://murano.readthedocs.org/en/latest/draft/appdev-guide/murano_pl.html#murano-actions

--
Regards,
Alexander Tivelkov


On Wed, Aug 12, 2015 at 2:16 PM, WANG, Ming Hao (Tony T)
tony.a.w...@alcatel-lucent.com wrote:
 Kirll,



 Thanks for your info very much!

 We will study it first.



 Thanks,

 Tony



 From: Kirill Zaitsev [mailto:kzait...@mirantis.com]
 Sent: Wednesday, August 12, 2015 7:12 PM
 To: WANG, Ming Hao (Tony T); OpenStack Development Mailing List (not for
 usage questions)
 Subject: Re: [openstack-dev] Does murano dymamic-ui have plan to support
 edit function?



 Hi, sure there are such plans! This have been long referred as
 per-component-UI. I’m really hoping there would be some traction about it
 during mitaka cycle. Not in liberty though, feature freeze is less than a
 month away.



 btw, if you’re interested in custom tweaking and fine-tuning of murano
 object-model you can take a look at these CLI tools
 https://review.openstack.org/#/q/project:openstack/python-muranoclient+branch:master+topic:bp/env-configuration-from-cli,n,z



 and this https://review.openstack.org/#/c/208659/ commit in particular.
 Although using those would require you to have some knowledge about how
 murano handles things internally.





 --
 Kirill Zaitsev
 Murano team

 Software Engineer

 Mirantis, Inc



 On 12 Aug 2015 at 13:23:47, WANG, Ming Hao (Tony T)
 (tony.a.w...@alcatel-lucent.com) wrote:

 Dear OpenStack developers,



 Currently, murano dynamic-ui is “one-time” GUI, and I can’t edit data what
 has been submitted.

 Does murano dynamic-ui have plan to support edit function in the future?



 For example, developer develops some Wizard GUI to do some configuration,
 and user wants to change some configuration after the deployment.



 Thanks,

 Tony



 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev