<div dir="ltr"><div><div><div><div><div><div>Hi!<br><br></div>Sorry for the late response. <br><br>Applications in Murano are described with object modal.<br><br></div>You can set any parameter application accepts and may ask user to enter it in UI.<br></div>Object modal with entered values will be passed to API as it is.<br></div><br>In the provided specification each item under "services" parameter is an object modal.<br></div>It's set in UI definition in "Application" section. In <a href="https://github.com/murano-project/murano-app-incubator/blob/master/io.murano.apps.apache.ApacheHttpServer/UI/ui.yam">this</a> [1] repository, you can find some examples.<br><br></div><div>Regarding you main question. To add new "<span class=""><span class="">keyPair</span></span>" parameter you need to:<br><br>* Add new "<span class=""><span class="">keyPair</span></span>" char field to the form. Suppose, that form called "<span class=""><span class="">instanceConfiguration"<br></span></span></div><div><span class=""><span class="">* In Application section, assign </span></span><span class=""><span class="">$.instanceConfiguration.keyPair to the desired property.<br></span></span></div><div><span class=""><span class=""><br></span></span></div><div><span class=""><span class="">After that, "</span></span><span class=""><span class=""><span class=""><span class="">keyPair</span></span>" value can be accessible in Murano application creation workflow.<br><br></span></span></div><div><span class=""><span class="">For more details, take a look at <a href="http://www.youtube.com/watch?v=AODj_amMGvk">screencast</a> [2] about Murano from definition and object modal generation (second part of the video).<br></span></span></div><div><span class=""><span class=""><br></span></span></div><div><span class=""><span class="">Please, contact us at #murano channel!<br><br></span></span></div><div><span class=""><span class="">Regards,<br></span></span></div><div><span class=""><span class="">Kate.<br></span></span></div><div><br>[1] - <a href="https://github.com/murano-project/murano-app-incubator/blob/master/io.murano.apps.apache.ApacheHttpServer/UI/ui.yaml">https://github.com/murano-project/murano-app-incubator/blob/master/io.murano.apps.apache.ApacheHttpServer/UI/ui.yaml</a><br></div><div class="gmail_extra">[2] - <a href="http://www.youtube.com/watch?v=AODj_amMGvk">http://www.youtube.com/watch?v=AODj_amMGvk</a><br><br><br><div class="gmail_quote">On Tue, Nov 11, 2014 at 6:26 PM, Shahzad Mughal -X (shmughal - NETPACE INC at Cisco) <span dir="ltr"><<a href="mailto:shmughal@cisco.com" target="_blank">shmughal@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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
<a href="http://murano.readthedocs.org/en/latest/specification/index.html" target="_blank">http://murano.readthedocs.org/en/latest/specification/index.html</a> .<u></u><u></u></p>
<p class="MsoNormal">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?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<table style="width:325.8pt;border:1pt solid rgb(204,204,204)" border="1" cellpadding="0" cellspacing="0" width="543">
<tbody>
<tr>
<td colspan="3" style="border-width:medium medium 1pt;border-style:none none solid;border-color:-moz-use-text-color -moz-use-text-color rgb(204,204,204);padding:0in">
<p class="MsoNormal"><span style="font-size:12pt;font-family:"Tahoma","sans-serif""><img src="cid:image001.jpg@01CFFDED.C81E9E40" alt="http://www.cisco.com/web/europe/images/email/signature/est2014/cisco-30-year-banner-02.png?ct=1399014909566" border="0" height="90" width="679"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="border:medium none;padding:11.25pt 0in 11.25pt 0.25in" valign="top">
<p class="MsoNormal"><b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:rgb(102,102,102)">Shahzad Mughal</span></b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:rgb(102,102,102)"><br>
Engineer / Developer<br>
Cloud Services Group - US<br>
<a href="mailto:shmughal@cisco.com" target="_blank"><span style="color:rgb(102,102,102);text-decoration:none">shmughal@cisco.com</span></a> <a href="mailto:shmughal@epage.cisco.com" target="_blank"><span style="color:rgb(102,102,102);text-decoration:none">(epage)</span></a><br>
<a href="http://iwe.cisco.com/web/shmughal" target="_blank"><span style="color:rgb(102,102,102);text-decoration:none">WebEx Social profile</span></a><u></u><u></u></span></p>
</td>
<td style="width:50%;border:medium none;padding:11.25pt 0in 7.5pt 15pt" valign="top" width="50%">
<p class="MsoNormal"><b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:rgb(102,102,102)">Cisco Systems Pakistan (Private) Limited</span></b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:rgb(102,102,102)"><br>
3rd Floor, Suite # 317 The Forum, G-20<br>
Block-09, KDA Scheme NO. 05, Kehkashan,<br>
7600<br>
Karachi<br>
Pakistan<br>
<a href="http://www.cisco.com/" target="_blank"><span style="color:rgb(102,102,102);text-decoration:none">Cisco.com</span></a><br>
<a href="http://http/wwwin-tools.cisco.com/dir/empadvquery.go?group=Cloud%20Services%20Group%20-%20US&mode=exact&accmsg=true" target="_blank"><span style="color:rgb(102,102,102)">Cloud Services Group - US</span></a><br>
<a href="http://wwwin-tools.cisco.com/dir/vcard/shmughal.vcf" target="_blank"><span style="color:rgb(102,102,102);text-decoration:none">Download vCard<img src="cid:image002.png@01CFFDED.C81E9E40" alt="Virtual Card File" border="0" height="15" width="23"></span></a><u></u><u></u></span></p>
</td>
<td style="border:medium none;padding:0in"></td>
</tr>
<tr>
<td colspan="3" style="border:medium none;padding:0in">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding:0in 0in 3.75pt 0.25in">
<p class="MsoNormal"><a href="http://wwwin.cisco.com/marketing/corporate/brand/intelbrand/brandstrat/signature/Insert%20your%20Cisco%20Blogs%20link" target="_blank"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";text-decoration:none"><img src="cid:image003.png@01CFFDED.C81E9E40" alt="http://www.cisco.com/assets/social_media_icons/ciscoblogs-16x16.png" border="0" height="20" width="20"></span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:rgb(0,153,0)"> <u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="3" style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(204,204,204) -moz-use-text-color -moz-use-text-color;padding:3.75pt 15pt 3.75pt 0.25in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:rgb(0,153,0)"><img src="cid:image004.png@01CFFDED.C81E9E40" alt="http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif" border="0" height="24" width="23"> Think
before you print.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:rgb(153,153,153)">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:rgb(153,153,153)">Please <a href="http://www.cisco.com/web/about/doing_business/legal/cri/index.html" title="Legal Information" target="_blank"><span style="color:rgb(14,88,160)">click
here</span></a> for Company Registration Information.<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div></div>