*** MaxV has joined #storyboard | 00:00 | |
*** MaxV has quit IRC | 00:05 | |
*** timrc is now known as timrc-afk | 02:59 | |
*** MaxV has joined #storyboard | 03:33 | |
*** MaxV has quit IRC | 03:37 | |
*** miqui has quit IRC | 03:38 | |
*** MaxV has joined #storyboard | 04:34 | |
*** MaxV has quit IRC | 04:38 | |
*** alexismonville has joined #storyboard | 04:42 | |
*** alexismonville has quit IRC | 04:48 | |
*** reed has quit IRC | 05:49 | |
*** alexismonville has joined #storyboard | 05:57 | |
*** alexismonville has quit IRC | 06:05 | |
*** alexismonville has joined #storyboard | 06:06 | |
*** alexismonville has quit IRC | 06:34 | |
*** MaxV has joined #storyboard | 06:35 | |
*** MaxV has quit IRC | 06:40 | |
*** k4n0 has joined #storyboard | 06:57 | |
*** cody-somerville has quit IRC | 07:16 | |
*** cody-somerville has joined #storyboard | 07:16 | |
*** MaxV has joined #storyboard | 07:47 | |
*** jtomasek has joined #storyboard | 09:09 | |
*** alexismonville has joined #storyboard | 09:16 | |
*** jedimike has joined #storyboard | 10:02 | |
*** alexismonville has quit IRC | 10:24 | |
*** alexismonville has joined #storyboard | 10:24 | |
*** alexismonville has quit IRC | 10:25 | |
*** alexismonville has joined #storyboard | 11:47 | |
*** alexismonville has quit IRC | 11:51 | |
*** alexismonville has joined #storyboard | 12:30 | |
*** miqui has joined #storyboard | 12:36 | |
*** k4n0 has quit IRC | 12:46 | |
*** timrc-afk is now known as timrc | 13:39 | |
*** alexismonville1 has joined #storyboard | 13:45 | |
*** alexismonville has quit IRC | 13:45 | |
*** mattfarina has joined #storyboard | 14:14 | |
*** alexismonville1 has quit IRC | 14:15 | |
*** miqui has quit IRC | 14:25 | |
*** alexismonville has joined #storyboard | 14:33 | |
*** miqui has joined #storyboard | 14:37 | |
*** wenlock has joined #storyboard | 14:53 | |
*** mattfarina has quit IRC | 14:59 | |
*** mattfarina has joined #storyboard | 15:22 | |
*** alexismonville has quit IRC | 15:55 | |
*** miqui has quit IRC | 15:59 | |
*** miqui_ has joined #storyboard | 15:59 | |
*** miqui_ has quit IRC | 16:26 | |
*** reed has joined #storyboard | 16:27 | |
*** alexismonville has joined #storyboard | 16:30 | |
zaro | krotscheck: how do you run storyboard outside of the tox env? asking because i want to run in eclipse so i can use the debugger. | 16:47 |
---|---|---|
*** MaxV has quit IRC | 17:25 | |
*** MaxV has joined #storyboard | 17:25 | |
*** MaxV has quit IRC | 17:30 | |
krotscheck | zaro: So, what I did (in intellij) is just tell the IDE to use the venv, and when I clicked debug it magically started using the debugger | 18:08 |
krotscheck | I don’t know how to set up eclipse :/ | 18:08 |
zaro | krotscheck: i know how to tell eclipse how to use the venv, i just don't know how to tell it to use tox. what would be the command to execute from within the venv without tox? | 18:12 |
zaro | how would i run this command 'tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"' without tox? | 18:13 |
krotscheck | If the venv is active, can’t you just execute “storyboard-api —config-file? | 18:14 |
zaro | krotscheck: ohh of course | 18:14 |
*** alexismonville has quit IRC | 18:16 | |
*** jedimike has quit IRC | 19:21 | |
*** MaxV has joined #storyboard | 20:14 | |
*** MaxV has quit IRC | 20:15 | |
*** MaxV has joined #storyboard | 20:17 | |
*** MaxV has quit IRC | 20:29 | |
*** MaxV has joined #storyboard | 20:30 | |
openstackgerrit | Michael Krotscheck proposed a change to openstack-infra/storyboard: Updated & Expanded Subscription API. https://review.openstack.org/131564 | 21:02 |
openstackgerrit | Michael Krotscheck proposed a change to openstack-infra/storyboard: Added Vagrant VM for development purposes. https://review.openstack.org/131306 | 21:07 |
*** MaxV has joined #storyboard | 21:27 | |
*** MaxV has quit IRC | 21:29 | |
*** mattfarina has quit IRC | 21:50 | |
zaro | krotscheck: arrg! i can't git it to run in the eclipse env. | 22:02 |
zaro | krotscheck: anyways. got a question about the rest endpoints. | 22:03 |
krotscheck | zaro: Urm, I’m sorry? | 22:03 |
krotscheck | Shoot | 22:03 |
zaro | krotscheck: it seems like they are designed around retrieving data from the database. is there one that doesn't do that? | 22:03 |
krotscheck | ttx, NikitaKonovalov: I figured out the subscription bug on prod, but the fix is a bit meaty: https://review.openstack.org/#/c/131564/ | 22:03 |
krotscheck | zaro: As opposed to what, writing? | 22:04 |
zaro | krotscheck: i just wanted to add one that will return version info. | 22:04 |
krotscheck | zaro: Should be easy enough. | 22:06 |
krotscheck | zaro: Are you confused about the wsmexpose annotation? | 22:06 |
zaro | yes, and what type of data the controller should return on a get | 22:07 |
krotscheck | zaro: Here’s an example: https://gist.github.com/krotscheck/934e58dcf601ee5d0c80 | 22:08 |
krotscheck | zaro: You don’t _have_ to extend the DB models when creating something to return. | 22:08 |
krotscheck | zaro: You can even return a dict. | 22:08 |
krotscheck | zaro: the user preferences controller users @wsme_pecan.wsexpose(types.DictType(unicode, unicode)) | 22:09 |
zaro | krotscheck: i tried that, but didn't work for me :( | 22:10 |
zaro | krotscheck: i just returned a simple dict like this {"version":"34342"} | 22:11 |
zaro | krotscheck: i will upload my attempt to gerrit for you to take a look at. | 22:12 |
openstackgerrit | Michael Krotscheck proposed a change to openstack-infra/storyboard: Test Version Controller https://review.openstack.org/131584 | 22:14 |
krotscheck | zaro: ^^ That works | 22:15 |
krotscheck | zaro: (Except for the mirantis copyright. You should change that) | 22:15 |
krotscheck | zaro: In my case, http://localhost:8080/v1/version is the endpoint | 22:16 |
zaro | krotscheck: ohh i didn't add the types to the wsexpose params. your example on gist didn't have them either. | 22:17 |
zaro | krotscheck: i assume that's required? | 22:17 |
krotscheck | zaro: If you’re returning an actual model, it will do introspection on that model. Dicts, however, need the key/value types to expect. | 22:17 |
zaro | krotscheck: ok. thanks. will try it. | 22:19 |
*** timrc is now known as timrc-afk | 23:01 | |
*** timrc-afk is now known as timrc | 23:07 | |
openstackgerrit | Khai Do proposed a change to openstack-infra/storyboard: Add a rest endpoint to retreive system information https://review.openstack.org/131599 | 23:13 |
openstackgerrit | Khai Do proposed a change to openstack-infra/storyboard: Add a rest endpoint to retreive system information https://review.openstack.org/131599 | 23:29 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!