<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 25, 2013 at 2:41 AM, Flavio Percoco <span dir="ltr"><<a href="mailto:flavio@redhat.com" target="_blank">flavio@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 25/11/13 09:28 +1000, Jamie Lennox wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So the way we have this in keystone at least is that querying GET / will<br>
return all available API versions and querying /v2.0 for example is a<br>
similar result with just the v2 endpoint. So you can hard pin a version<br>
by using the versioned URL.<br>
<br>
I spoke to somebody the other day about the discovery process in<br>
services. The long term goal should be that the service catalog contains<br>
unversioned endpoints and that all clients should do discovery. For<br>
keystone the review has been underway for a while now:<br>
<a href="https://review.openstack.org/#/c/38414/" target="_blank">https://review.openstack.org/#<u></u>/c/38414/</a> the basics of this should be<br>
able to be moved into OSLO for other projects if required.<br>
</blockquote>
<br>
Did you guys create your own 'home document' language? or did you base<br>
it on some existing format? Is it documented somewhere? IIRC, there's<br>
a thread where part of this was discussed, it was related to horizon.<br>
<br>
I'm curious to know what you guys did and if you knew about<br>
JSON-Home[0] when you started working on this.<br></blockquote><div><br></div><div>It looks like our multiple choice response might predate Nottingham's proposal, but not by much. In keystone, it's been stable since I joined the project, midway through the diablo cycle (summer 2011). I don't know any more history than that, but I've CC'd Jorge Williams, who probably knows.</div>
<div><br></div><div>I really like Nottingham's approach of adding relational links from the base endpoint, I've been thinking about doing the same for keystone for quite a while.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
We used json-home for Marconi v1 and we'd want the client to work in a<br>
'follow your nose' way. Since, I'd prefer OpenStack modules to use the<br>
same language for this, I'm curious to know why - if so - you<br>
created your own spec, what are the benefits and if it's documented<br>
somewhere.<br></blockquote><div><br></div><div>Then why didn't Marconi follow the lead of one of the other projects? ;)</div><div><br></div><div>I completely agree though - standardized version discovery across the ecosystem would be fantastic.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
FF<br>
<br>
[0] <a href="http://tools.ietf.org/html/draft-nottingham-json-home-02" target="_blank">http://tools.ietf.org/html/<u></u>draft-nottingham-json-home-02</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
@flaper87<br>
Flavio Percoco<br>
</font></span><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div>-Dolph
</div></div>