Hi!

Sorry for the late response.

Applications in Murano are described with object modal.

You can set any parameter application accepts and may ask user to enter it
in UI.
Object modal with entered values will be passed to API as it is.

In the provided specification each item under "services" parameter is an
object modal.
It's set in UI definition in "Application" section. In this
<https://github.com/murano-project/murano-app-incubator/blob/master/io.murano.apps.apache.ApacheHttpServer/UI/ui.yam>
[1] repository, you can find some examples.

Regarding you main question. To add new "keyPair" parameter you need to:

* Add new "keyPair" char field to the form. Suppose, that form called "
instanceConfiguration"
* In Application section, assign $.instanceConfiguration.keyPair to the
desired property.

After that, "keyPair" value can be accessible in Murano application
creation workflow.

For more details, take a look at screencast
<http://www.youtube.com/watch?v=AODj_amMGvk> [2] about Murano from
definition and object modal generation (second part of the video).

Please, contact us at #murano channel!

Regards,
Kate.

[1] -
https://github.com/murano-project/murano-app-incubator/blob/master/io.murano.apps.apache.ApacheHttpServer/UI/ui.yaml
[2] - http://www.youtube.com/watch?v=AODj_amMGvk


On Tue, Nov 11, 2014 at 6:26 PM, Shahzad Mughal -X (shmughal - NETPACE INC
at Cisco) <[email protected]> wrote:

>  Hi,
>
>
>
> Is there any way to pass application specific parameters to Murano RESTful
> API? As I didn’t find anything related to pass parameters while
> provisioning application using Murano API in these docs
> http://murano.readthedocs.org/en/latest/specification/index.html .
>
> For example how can I pass key pair or any other application input
> parameter that we need to provide while provisioning application from
> Murano UI/browser web interface in RESTful json?
>
>
>
> [image:
> http://www.cisco.com/web/europe/images/email/signature/est2014/cisco-30-year-banner-02.png?ct=1399014909566]
>
> *Shahzad Mughal*
> Engineer / Developer
> Cloud Services Group - US
> [email protected] (epage) <[email protected]>
> WebEx Social profile <http://iwe.cisco.com/web/shmughal>
>
> *Cisco Systems Pakistan (Private) Limited*
> 3rd Floor, Suite # 317 The Forum, G-20
> Block-09, KDA Scheme NO. 05, Kehkashan,
> 7600
> Karachi
> Pakistan
> Cisco.com <http://www.cisco.com/>
> Cloud Services Group - US
> <http://http/wwwin-tools.cisco.com/dir/empadvquery.go?group=Cloud%20Services%20Group%20-%20US&mode=exact&accmsg=true>
> Download vCard[image: Virtual Card File]
> <http://wwwin-tools.cisco.com/dir/vcard/shmughal.vcf>
>
> [image:
> http://www.cisco.com/assets/social_media_icons/ciscoblogs-16x16.png]
> <http://wwwin.cisco.com/marketing/corporate/brand/intelbrand/brandstrat/signature/Insert%20your%20Cisco%20Blogs%20link>
>
>
> [image: http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif] Think
> before you print.
>
> This email may contain confidential and privileged material for the sole
> use of the intended recipient. Any review, use, distribution or disclosure
> by others is strictly prohibited. If you are not the intended recipient (or
> authorized to receive for the recipient), please contact the sender by
> reply email and delete all copies of this message.
>
> Please click here
> <http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for
> Company Registration Information.
>
>
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : [email protected]
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to