*** elmiko has quit IRC | 00:21 | |
*** salv-orlando has joined #openstack-api | 00:59 | |
*** salv-orlando has quit IRC | 01:04 | |
*** apoorvad has quit IRC | 01:07 | |
*** apoorvad has joined #openstack-api | 01:37 | |
*** apoorvad has quit IRC | 01:59 | |
*** salv-orlando has joined #openstack-api | 02:05 | |
*** salv-orlando has quit IRC | 02:12 | |
*** annegentle has quit IRC | 02:22 | |
*** annegentle has joined #openstack-api | 02:23 | |
*** annegentle has quit IRC | 02:54 | |
*** annegentle has joined #openstack-api | 03:29 | |
*** annegentle has quit IRC | 03:38 | |
*** salv-orlando has joined #openstack-api | 04:10 | |
*** salv-orlando has quit IRC | 04:22 | |
*** fifieldt has joined #openstack-api | 04:32 | |
*** salv-orlando has joined #openstack-api | 05:21 | |
*** salv-orlando has quit IRC | 05:23 | |
*** salv-orlando has joined #openstack-api | 06:41 | |
*** alex_klimov has joined #openstack-api | 06:53 | |
*** salv-orlando has quit IRC | 07:38 | |
*** e0ne has joined #openstack-api | 07:47 | |
*** e0ne has quit IRC | 07:52 | |
*** e0ne has joined #openstack-api | 07:56 | |
*** e0ne has quit IRC | 08:04 | |
*** lucasagomes has joined #openstack-api | 08:10 | |
*** salv-orlando has joined #openstack-api | 08:39 | |
*** e0ne has joined #openstack-api | 09:31 | |
*** salv-orlando has quit IRC | 09:36 | |
*** e0ne has quit IRC | 09:38 | |
*** cdent has joined #openstack-api | 09:45 | |
*** e0ne has joined #openstack-api | 10:30 | |
*** salv-orlando has joined #openstack-api | 10:34 | |
*** e0ne has quit IRC | 10:46 | |
*** e0ne has joined #openstack-api | 11:07 | |
*** lucasagomes is now known as lucas-hungry | 11:32 | |
*** e0ne has quit IRC | 11:34 | |
*** e0ne has joined #openstack-api | 12:06 | |
*** lucas-hungry is now known as lucasagomes | 12:33 | |
*** salv-orlando has quit IRC | 12:37 | |
*** salv-orlando has joined #openstack-api | 12:45 | |
*** elmiko has joined #openstack-api | 13:03 | |
*** sc68cal_ has joined #openstack-api | 13:46 | |
*** sc68cal has quit IRC | 13:52 | |
*** salv-orlando has quit IRC | 13:53 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 13:56 | |
*** woodster_ has joined #openstack-api | 14:08 | |
*** annegentle has joined #openstack-api | 14:23 | |
*** pballand has joined #openstack-api | 14:40 | |
*** salv-orlando has joined #openstack-api | 16:06 | |
*** openstackgerrit_ has joined #openstack-api | 16:30 | |
*** apoorvad has joined #openstack-api | 16:39 | |
*** alex_klimov has quit IRC | 16:46 | |
*** openstackgerrit_ has quit IRC | 17:05 | |
*** e0ne has quit IRC | 17:13 | |
*** openstackgerrit_ has joined #openstack-api | 17:24 | |
*** openstackgerrit_ has quit IRC | 17:34 | |
elmiko | hey folks, i'm working on the sahara api upgrade and i'm curious if there are any opinions about URIs that include the version | 17:43 |
---|---|---|
elmiko | like, if i push to introduce some sort of negotiated microversion then does it even make sense to have /v2/... or /v3/.... ? | 17:43 |
ryansb | I think for the microversion case it's ok to include /v2/... if the negotiated version was somewhere in 2.x | 17:44 |
ryansb | and have the full microversion in the response header as (IIRC) we already have spec'd | 17:44 |
elmiko | fair, but if you start to introduce non-backward compat changes then the version would need to bump up to v3 | 17:44 |
elmiko | so, is it ok to have a v3.0.0 in the microversion header but still talk to a /v2/.... endpoint? | 17:45 |
ryansb | hm. That would make me a little sad personally | 17:45 |
elmiko | me too | 17:45 |
elmiko | i'd rather just drop the version from the URI altogether | 17:46 |
elmiko | but i'm not sure what pitfalls that opens up | 17:46 |
ryansb | ¯\_ツ_/¯ | 17:47 |
elmiko | lol | 17:47 |
ryansb | I kind of like keeping the major in the URI | 17:47 |
elmiko | yea, that's probably safer | 17:47 |
elmiko | just makes it more difficult to make big changes | 17:47 |
ryansb | ehh, I think it encourages additive-only changes | 17:48 |
elmiko | right | 17:48 |
elmiko | but i want to fix a bunch of stuff | 17:48 |
ryansb | so I'm in favor of keeping it | 17:48 |
elmiko | i'm probably nutty to be thinking about dropping it anyways, just a thought though | 17:49 |
elmiko | but like we have an issue now where we have a few update style methods that use PUT, and i want to change them to PATCH, as more are being introduced i'm stamping my feet about making them PATCH | 17:50 |
elmiko | so, in order to fix the 4 broken methods, we have spin a new major api version | 17:50 |
elmiko | which just means that the api is completely messy for the time being | 17:51 |
ryansb | yeah. That's how it is over in heat as well. Our "solution" is to have a running spec for all our hopes and dreams for API v2 | 17:51 |
elmiko | i guess that's what i will have to do as well for our v2 | 17:52 |
ryansb | yeah. Not perfect, but it works. | 17:52 |
*** e0ne has joined #openstack-api | 17:53 | |
elmiko | unless you embrace the dark side and have all version info negotiated in the headers, muahahaha | 17:53 |
elmiko | ;) | 17:53 |
*** annegentle has quit IRC | 17:56 | |
* ryansb grumbles | 18:01 | |
sigmavirus24 | elmiko: I'd love to see real version negotiation sans the URL | 18:23 |
elmiko | sigmavirus24, ok, so i'm not *that* crazy then ;) | 18:24 |
sigmavirus24 | No you're not | 18:24 |
sigmavirus24 | I've been thinking of how one might use the same endpoint to deliver a schema based off of content negotiation | 18:24 |
elmiko | i'm just getting a bunch of push back about wanting to fix things, but not breaking without bumping the major api version. which seems highly difficult when we encode the version in the uri | 18:25 |
elmiko | which is fair, because i'm talking about introducing complexity | 18:25 |
sigmavirus24 | sure | 18:31 |
sigmavirus24 | I mean glance is kind of running 3 versions now | 18:32 |
sigmavirus24 | Because we didn't want to add artifacts to v2 | 18:32 |
elmiko | did they ever consider adding microversions or some sort of version negotiation? | 18:32 |
elmiko | like, i'm wondering how hard a sell it might be to try and shepherd this change | 18:33 |
*** annegentle has joined #openstack-api | 18:35 | |
sigmavirus24 | elmiko: no clue | 18:44 |
*** openstackgerrit has quit IRC | 18:46 | |
*** openstackgerrit has joined #openstack-api | 18:47 | |
*** lucasagomes is now known as lucas-dinner | 19:12 | |
*** cdent has quit IRC | 19:13 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 19:24 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 19:24 | |
*** e0ne has quit IRC | 19:38 | |
*** apoorvad has quit IRC | 19:49 | |
*** apoorvad has joined #openstack-api | 19:57 | |
*** sc68cal_ is now known as sc68cal | 20:13 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 20:36 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 20:36 | |
*** apoorvad has quit IRC | 21:07 | |
*** alex_klimov has joined #openstack-api | 21:18 | |
*** lucas-dinner has quit IRC | 22:05 | |
*** apoorvad has joined #openstack-api | 22:05 | |
*** alex_klimov has quit IRC | 22:18 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 22:27 | |
*** woodster_ has quit IRC | 23:20 | |
*** oomichi has joined #openstack-api | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!