<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Oct 23, 2015 at 8:10 AM Steve Baker <<a href="mailto:sbaker@redhat.com">sbaker@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 23/10/15 09:35, Jay Dobies wrote:<br>
> In looking through the environment file loading code, I keep seeing a<br>
> check for base_url in the resource registry. It looks like a way to<br>
> have the registry entries only be the filenames (I suppose relative<br>
> filenames work as well) instead of having to enter the full path every<br>
> time. The base_url would be used as the root URL for those filenames<br>
> when loading them.<br>
><br>
> Thing is, I can't find any reference to that in the docs. I did a<br>
> search for resource_registry, but the only thing I can find is [1]<br>
> which doesn't talk about base_url.<br></blockquote><div><br></div><div>Hi</div><div><br></div><div>I think the problem is, this is a heat client only feature. Meaning that the</div><div>docs for the API and service will not have any details of it.</div><div><br></div><div>There are other features in this boat too. I am not sure where the docs for them</div><div>should live. I suspect in the heat client tree.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br>
> Is this something that's still supported or was it "turned off" (so to<br>
> speak) by removing the docs about it so users didn't know to use it?<br>
> Is the syntax to just sit it side by side with the resource<br>
> definitions, similar to:<br>
><br>
> resource_registry:<br>
>   "base_url": /home/jdob/my_templates<br>
>   "OS::Nova::Server": my_nova.yaml<br>
><br></blockquote><div><br></div><div>I think this is correct usage, tho' it's been ages since I wrote it and the code has changed</div><div>heaps since then.</div><div><br></div><div>-Angus</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Or am I just totally missing where in the docs it's talked about<br>
> (which is also terribly possible)?<br>
><br>
> [1]<br>
> <a href="http://docs.openstack.org/developer/heat/template_guide/environment.html?highlight=resource_registry" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/heat/template_guide/environment.html?highlight=resource_registry</a><br>
><br>
> Thanks :)<br>
<br>
I'm not sure, since I've never used an explicit base_url. I just put the<br>
environment file which defines the resource_registry in the same<br>
directory as my_nova.yaml and the relative paths will resolve. Is that<br>
an option for you?<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>
</blockquote></div></div>