00:00:23 #startmeeting api wg 00:00:23 Meeting started Thu May 28 00:00:23 2015 UTC and is due to finish in 60 minutes. The chair is etoews. Information about MeetBot at http://wiki.debian.org/MeetBot. 00:00:24 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 00:00:28 The meeting name has been set to 'api_wg' 00:00:42 hi, etoews 00:00:47 hello! 00:01:25 these are always quiet, but I'm surprised elmiko isn't here 00:01:37 he mentioned he wouldn't be able to make it 00:01:43 ah, okay 00:02:14 i think we can toss the agenda out the window. anything you want to discuss? 00:02:29 i haven't been able to catch up to the reviews yet 00:02:43 much less get to any action items from the summit 00:03:01 I was hoping to discuss caching, but maybe we should wait till next meeting 00:03:49 ya. not exactly at quorum. 00:04:10 and also, Angus published the user notifications spec, have you seen it? 00:04:13 could discuss anyway but shouldn't make any binding decisions from it 00:04:24 hiya stevelle 00:04:30 let me find the review link 00:04:47 https://review.openstack.org/#/c/185822/ 00:08:01 I have done a few reviews of the current patches, but nothing really worth discussing that I recall. 00:08:06 you guys have anything? 00:08:42 i was just reading the user events thing 00:08:56 I want to help draw attention and eyeballs to the experimental Artifacts API inside the Glance project which is now being called a v3 API. 00:09:08 i was also looking at https://review.openstack.org/#/c/185180/2/guidelines/http.rst 00:09:17 stevelle: link? 00:09:38 lemme see if I can find something for it. It was released as experimental in Kilo 00:10:01 etoews: I was shocked when I saw those GET requests that carry out actions 00:10:29 ugh 00:11:07 https://etherpad.openstack.org/p/MetadataRepository-ArtifactRepositoryAPI 00:11:22 hard to find something more solid than that 00:11:40 stevelle: not published in the official API docs? 00:12:22 i think the GET patch needs to call out that GET must be idempotent 00:12:32 miguelgrinberg: Sadly no. It was only partially-delivered in Kilo though it was code complete but many patches failed in review 00:13:22 stevelle: there wasn't even a spec for it? 00:13:23 stevelle: the v3 API uses /v2/whatever :/ 00:13:40 etoews: digging for a spec now 00:13:52 http://specs.openstack.org/openstack/glance-specs/specs/kilo/artifact-repository.html 00:14:42 stevelle: what are roles? 00:14:53 miguelgrinberg: pretty sure they are not going to be going with a /v2 url path at this point, but the etherpads are likely a bit out of date since summit 00:15:48 miguelgrinberg: think you're referring to role-based access control (RBAC) 00:16:13 this seems a lot like swift. am i missing something? 00:16:24 oh, I see, they are keystone roles 00:16:45 etoews: spec even has a bit about "why not swift" iirc 00:18:34 sorry afk brb 00:18:49 just to circle back, this seems like a great opportunity to influence an API that isn't yet solidified so I wanted to be sure that the WG is aware of the opportunity. 00:19:51 the plan is to have it officially out by Liberty? 00:20:11 * sigmavirus24 sneaks in 00:20:14 miguelgrinberg: the hope is to have a complete implementation in Liberty. 00:20:59 it doesn't seem that the glance team expects it to become officially The New Hotness in Liberty however. 00:21:12 but the chance to influence the API is likely in this cycle 00:21:12 Well some people do 00:21:16 I see that the spec defines a query language for filtering 00:21:17 Most people don't 00:21:33 miguelgrinberg: custom query languages are the best, don't you know? 00:21:57 yeah, I built my very own and presented at PyCon, it's different from everything else, like it should be 00:22:59 the API looks decent to me, nothing really jumps at me 00:23:21 unfortunately we haven't made up our mind on filtering 00:24:02 the filtering bit is a great opportunity in my eyes to see if we can 00:24:18 there is a guideline in the works, let me find it 00:24:31 https://review.openstack.org/#/c/177468/ 00:24:36 work in progress 00:25:49 might need to resurrect that 00:26:19 let's please do that 00:26:25 I think this came about after a bunch of heat specs had filtering in them, but ryanb did not write the complex filters section yet 00:26:48 also, I care about this topic because I have a Glance V2 API impact that I want to propose that adds filters 00:27:46 *catches up* 00:28:03 so filtering guidance would be helpful for my blueprint as well 00:28:25 looks like he came up with a way to grep for the current filters in APIs: https://wiki.openstack.org/wiki/API_Working_Group/Current_Design/Query 00:29:12 this one is better formatted: https://etherpad.openstack.org/p/find_filters 00:29:38 stevelle: do you want to take an action item to push forward on the filtering guideline along with ryansb? 00:30:46 etoews: I can 00:31:30 #action stevelle to push forward on the filtering guideline along with ryansb 00:32:15 are there any api wg people on the artifact side of glance? 00:32:54 etoews: I don't believe there are any within the sub team 00:33:34 does anyone know someone on the sub team? 00:34:00 what i'm driving at is seeing if they'd be interested in working with us like the nova team does. 00:34:55 I can make contact with ativelkov unless sigmavirus24 would like to 00:35:25 etoews: I'm going to take a guess and say they just want to push it out 00:35:31 It was supposed to land in time for Kilo 00:35:53 That said, as a glance driver and core, I'll see if I can convince them to work with us 00:36:36 sure. as i always say, i don't want to see the api wg become a bottleneck for projects getting work done. 00:36:49 if we can help them, that's great. 00:37:10 if not, that's how it goes. 00:37:29 I'm also wary of another situation wherein they involve the WG as a means of having their API design approved (e.g., deactivate/reactivate actions) 00:37:47 we've been down that path before... 00:37:53 the glance-spec for this was not tagged with APIImpact, I wonder if they don't know or wanted to avoid the hassle 00:38:07 link: https://review.openstack.org/#/c/177397/ 00:38:08 (to be fair the team that we spent 3 meetings on with that discussion does not intersect with the artifacts team) 00:38:20 miguelgrinberg: jaypipes is their boss, so I'd hope they know =P 00:38:56 they they did it on purpose :) 00:39:28 Either way, just asked Mike to add it =P 00:39:34 I'm sorry and you're welcome 00:40:56 and the API described in that page is different than the one in the etherpad stevelle shared earlier 00:41:15 I guess the spec wins 00:41:21 miguelgrinberg: afaic it does 00:41:26 i assume the spec wins too 00:42:34 shall we ask jaypipes to reach out to that team about working with us like the nova team? 00:43:26 i can take that one 00:43:32 I think that pretty much guarantees that it will get done 00:43:40 :) 00:43:54 I haven't looked at this at all 00:44:05 How much work will it need before we're okay with it? =P 00:44:17 #action etoews to ask jaypipes to reach out to the glance artifacts sub-team about working with us like the nova team 00:45:00 sigmavirus24: one concern, they have optional components in the URL, but not at the end 00:45:20 example: GET /v2/artifacts/{artifact_type}/[{type_version}/]creating 00:46:14 type_version appears to be optional 00:46:33 my initial reaction to that is that 'creating' is a filter and is best as a query param anyway 00:46:42 stevelle: +1 00:46:51 So 00:47:14 Tangential to this, we should either find an existing way of doing this, or make up our own convention for writing out URIs 00:47:44 I seem to recall there is a related RFC 00:47:45 URI Templates (RFC 6570) are very familiar to me, so we can use those, but I suspect they'll be less helpful to others 00:48:03 stevelle: interesting, I don't think I've seen it yet 00:48:14 But that [{type_version}/] really bothers me 00:48:18 sigmavirus24: I was thinking of URI templates 00:48:34 stevelle: Yeah, that's not really meant to be used in this way 00:48:40 But we could probably use it that way 00:48:57 better than ABNF imo 00:49:59 stevelle: do you think the experimental version that is out agrees with this spec, or is it older? 00:50:21 miguelgrinberg: would be absolute speculation for me to answer 00:53:27 sorry i've been distracted...back now. 00:53:48 any action to take here? 00:54:03 can't find any API definitions in glance master 00:54:08 for artifacts 00:54:23 etoews: I'll review the spec and comment 00:54:35 miguelgrinberg: what do you mean exactly by "API definitions"? 00:54:56 etoews: I was looking to see what endpoints they have in master for artifacts, but I have found none 00:54:58 so the change sets that included the api impl probably didn't land. some of the pre-requisites did and I didn't recall 00:55:14 #action miguelgrinberg to review https://review.openstack.org/#/c/177397/ and comment 00:55:14 which 00:55:20 ah 00:55:50 there are artifact models in master 00:57:20 miguelgrinberg: there is no API endpoint in kilo 00:57:27 only the DB layer was added 00:57:54 before we sign off here, i want to mention that i've got a really pressing deadline on june 9. i'm not going to have much time to put towards the api wg until june 15 really. 00:57:59 well, that's good, that means it isn't too late to discuss the API 00:59:32 thx all 01:00:08 thx everyone. i think some good stuff can come out of this artifacts api review. 01:00:12 #endmeeting