<div dir="ltr">1. This is for simplicity as file name doesn't really matter. HOT processing code needs to know where to look for template and it is easier to have fixed file name/location rather than force users to explicitly specify location in package manifest. But if if you have valid case where this becomes an issue please share it so that we could improve the code. BTW python-muranoclient may/should rename template file and what inside archive package is just an implementation detail<div><br></div><div>2. HOT syntax is not validated during import time as HOT validation is Heat's job and this can be done only during deployment time. However because Murano generates UI form and MuranoPL class syntax errors in HOT file may prevent it doing so. So this can be considered as some sort of validation but it is very very basic. Heat does much more in this area. We are doing this on server-side because this code is needed during deployment time (to generate MuranoPL on the fly) and also so that any changes made to HOT processor will immediately affect all HOT packages as this generation done on each deployment. This would be impossible if python-muranoclient would do the code generation (and this is the only thing that validates HOT in Murano). Also it is good to have clients thin to simplify development of clients for languages other then Python</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small">Sincerely yours,<br>Stan Lagun<br>Principal Software Engineer @ Mirantis</span></span><br><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><br><a href="mailto:slagun@mirantis.com" target="_blank"></a></span></span></div></div></div>
<br><div class="gmail_quote">On Sat, Aug 8, 2015 at 2:40 AM, Vahid S Hashemian <span dir="ltr"><<a href="mailto:vahidhashemian@us.ibm.com" target="_blank">vahidhashemian@us.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">Hello,</font>
<br>
<br><font size="2" face="sans-serif">These two subjects have probably been
discussed already, but I couldn't find any info on them, so very much appreciate
if someone could clarify.</font>
<br>
<ol>
<li value="1"><font size="2" face="sans-serif">Why is the HOT template that
is fed to package-create command renamed to "template.yaml"?
Any issue with keeping the original name?<br>
</font>
</li><li value="2"><font size="2" face="sans-serif">Why HOT syntax validation is
deferred until package import time? Why not do it when creating the package?</font></li></ol>
<br><font size="2" face="sans-serif">Thanks.</font>
<br><font size="2" face="sans-serif"><br>
Regards,</font><font size="3"><br>
-----------------------------------------------------------------------------</font>
<table width="463" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="264" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="2" color="blue" face="Calibri"><b>Vahid
Hashemian, Ph.D.</b></font><font size="2" face="Calibri"><br>
Advisory Software Engineer, IBM Cloud Labs<br>
</font>
</td><td width="199" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<div align="right"></div></td></tr></tbody></table>
<br><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>