<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 14, 2016 at 7:14 PM, Joshua Harlow <span dir="ltr"><<a href="mailto:harlowja@fastmail.com" target="_blank">harlowja@fastmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This is exactly what we are planning to do.  Work is ongoing to add to_json_schema<br>
support for every VersionedObject field [1]. Then we would like to add a small<br>
tool to nova that makes it possible to generate the json schemas for the versioned<br>
notifications [2]. Meanwhile we continue to transform legacy notifications to a versioned<br>
format [3].<br>
<br>
As soon as you have json schema you can find (or create) tools that generate an object<br>
model and a parser from the json schema of the notifications in any modern language.<br>
<br>
I hope this work in nova will servers as an example for other OpenStack project and<br>
in the end OpenStack will have well defined and easy to consume notifications.<br>
<br>
Any feedback on our plans are highly appreciated.<br>
<br>
Cheers,<br>
gibi<br>
<br>
[1] <a href="https://review.openstack.org/#/q/topic:bp/json-schema-for-versioned-object,n,z" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/q/topic:bp/json-schema-for-ve<wbr>rsioned-object,n,z</a><br>
[2] <a href="https://blueprints.launchpad.net/nova/+spec/json-schema-for-versioned-notifications" rel="noreferrer" target="_blank">https://blueprints.launchpad.n<wbr>et/nova/+spec/json-schema-for-<wbr>versioned-notifications</a><br>
[3] <a href="https://vntburndown-gibi.rhcloud.com/index.html" rel="noreferrer" target="_blank">https://vntburndown-gibi.rhclo<wbr>ud.com/index.html</a><br>
<br>
</blockquote>
<br></span>
Great! :)<br>
<br>
Any thoughts on the ideas/burndown for the other projects that emit events (aka, going and doing similar changes, is there a list of other projects that need to have changes, ie glance, neutron, keystone (I think))?<br>
<br>
-Josh<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>ironic just added notifications (like, the first notifications went in this week). ironic believes in re-use and that there are smart people in OpenStack, so it is mostly based on nova's work :) I don't have any other thoughts on the matter at the moment...</div><div><br></div><div>--ruby</div><div>(note, these are my opinions, not the ironic community's :)) </div></div></div></div>