Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-18 Thread Ruby Loo
On Fri, Oct 14, 2016 at 7:14 PM, Joshua Harlow wrote: > >> This is exactly what we are planning to do. Work is ongoing to add >> to_json_schema >> support for every VersionedObject field [1]. Then we would like to add a >> small >> tool to nova that makes it possible to

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-14 Thread Joshua Harlow
This is exactly what we are planning to do. Work is ongoing to add to_json_schema support for every VersionedObject field [1]. Then we would like to add a small tool to nova that makes it possible to generate the json schemas for the versioned notifications [2]. Meanwhile we continue to

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-14 Thread Balázs Gibizer
> -Original Message- > From: Joshua Harlow [mailto:harlo...@fastmail.com] > Sent: October 11, 2016 22:36 > > Chris Dent wrote: > > On Tue, 11 Oct 2016, Joshua Harlow wrote: > > > >> Damn, that's crazy that the projects emitting events don't want to > >> own the formats and versions (and

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-12 Thread Joshua Harlow
Julien Danjou wrote: On Tue, Oct 11 2016, Joshua Harlow wrote: Has there been any ideas from folks to split those 'event_definitions.yaml' into something else (a notifications schema repo?)? I'd be up for helping do that (nice to have would be an included ability/code-gen(?) to turn those

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-12 Thread Julien Danjou
On Tue, Oct 11 2016, Joshua Harlow wrote: > Has there been any ideas from folks to split those 'event_definitions.yaml' > into something else (a notifications schema repo?)? I'd be up for helping do > that (nice to have would be an included ability/code-gen(?) to turn those > schemas into code

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread Joshua Harlow
gordon chung wrote: On 11/10/16 05:38 PM, Joshua Harlow wrote: Yes yes, normalization would be nice to, though a little beyond what I am (or was) thinking of currently. Going back to how event_definitions.yaml is the best 'source' we have currently, is it possible to rip out (for now)

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread gordon chung
On 11/10/16 05:38 PM, Joshua Harlow wrote: > Yes yes, normalization would be nice to, though a little beyond what I > am (or was) thinking of currently. Going back to how > event_definitions.yaml is the best 'source' we have currently, is it > possible to rip out (for now) event_definitions.yaml

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread Joshua Harlow
gordon chung wrote: On 11/10/16 04:18 PM, Joshua Harlow wrote: To be productive here, would there be any problem if I (or someone I know) just split that yaml off into a new git repository, and started iterating on figuring out how to turn the yaml into something that can generate code for

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread gordon chung
On 11/10/16 04:18 PM, Joshua Harlow wrote: > > To be productive here, would there be any problem if I (or someone I > know) just split that yaml off into a new git repository, and started > iterating on figuring out how to turn the yaml into something that can > generate code for [python, java,

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread Joshua Harlow
Chris Dent wrote: On Tue, 11 Oct 2016, Joshua Harlow wrote: Damn, that's crazy that the projects emitting events don't want to own the formats and versions (and schemas) that they emit. That is ummm, like ummm, what the, ha, words can't describe... And the fact that nothing much has changed

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread Chris Dent
On Tue, 11 Oct 2016, Joshua Harlow wrote: Damn, that's crazy that the projects emitting events don't want to own the formats and versions (and schemas) that they emit. That is ummm, like ummm, what the, ha, words can't describe... And the fact that nothing much has changed since kilo, ya,

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread Joshua Harlow
gordon chung wrote: On 11/10/16 01:14 PM, Joshua Harlow wrote: Ah, right, nearly forgot about that yaml. Thanks gordon! Has there been any ideas from folks to split those 'event_definitions.yaml' into something else (a notifications schema repo?)? I'd be up for helping do that (nice to have

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread gordon chung
On 11/10/16 01:14 PM, Joshua Harlow wrote: > > Ah, right, nearly forgot about that yaml. Thanks gordon! > > Has there been any ideas from folks to split those > 'event_definitions.yaml' into something else (a notifications schema > repo?)? I'd be up for helping do that (nice to have would be an

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread Joshua Harlow
gordon chung wrote: On 10/10/16 04:48 PM, Joshua Harlow wrote: So the question started to be raised of is there a documented format/schema for the events that are being emitted from (there seems to be some at http://docs.openstack.org/developer/nova/notifications.html)? we have something to

Re: [openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-11 Thread gordon chung
On 10/10/16 04:48 PM, Joshua Harlow wrote: > > So the question started to be raised of is there a documented > format/schema for the events that are being emitted from various services> (there seems to be some at > http://docs.openstack.org/developer/nova/notifications.html)? we have something

[openstack-dev] Event notification descriptors/schemas (? swagger ?)

2016-10-10 Thread Joshua Harlow
Hi folks, At godaddy we are looking to consume the various events emitted by [nova, neutron, glance, ...] and for a while we have been having some python code to handle these and parse them and turn the ones we care about back into useful objects. At the current time though we are expanding