Tuesday, 2014-10-28

*** MaxV has joined #storyboard00:00
*** MaxV has quit IRC00:05
*** timrc is now known as timrc-afk02:59
*** MaxV has joined #storyboard03:33
*** MaxV has quit IRC03:37
*** miqui has quit IRC03:38
*** MaxV has joined #storyboard04:34
*** MaxV has quit IRC04:38
*** alexismonville has joined #storyboard04:42
*** alexismonville has quit IRC04:48
*** reed has quit IRC05:49
*** alexismonville has joined #storyboard05:57
*** alexismonville has quit IRC06:05
*** alexismonville has joined #storyboard06:06
*** alexismonville has quit IRC06:34
*** MaxV has joined #storyboard06:35
*** MaxV has quit IRC06:40
*** k4n0 has joined #storyboard06:57
*** cody-somerville has quit IRC07:16
*** cody-somerville has joined #storyboard07:16
*** MaxV has joined #storyboard07:47
*** jtomasek has joined #storyboard09:09
*** alexismonville has joined #storyboard09:16
*** jedimike has joined #storyboard10:02
*** alexismonville has quit IRC10:24
*** alexismonville has joined #storyboard10:24
*** alexismonville has quit IRC10:25
*** alexismonville has joined #storyboard11:47
*** alexismonville has quit IRC11:51
*** alexismonville has joined #storyboard12:30
*** miqui has joined #storyboard12:36
*** k4n0 has quit IRC12:46
*** timrc-afk is now known as timrc13:39
*** alexismonville1 has joined #storyboard13:45
*** alexismonville has quit IRC13:45
*** mattfarina has joined #storyboard14:14
*** alexismonville1 has quit IRC14:15
*** miqui has quit IRC14:25
*** alexismonville has joined #storyboard14:33
*** miqui has joined #storyboard14:37
*** wenlock has joined #storyboard14:53
*** mattfarina has quit IRC14:59
*** mattfarina has joined #storyboard15:22
*** alexismonville has quit IRC15:55
*** miqui has quit IRC15:59
*** miqui_ has joined #storyboard15:59
*** miqui_ has quit IRC16:26
*** reed has joined #storyboard16:27
*** alexismonville has joined #storyboard16:30
zarokrotscheck: 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 IRC17:25
*** MaxV has joined #storyboard17:25
*** MaxV has quit IRC17:30
krotscheckzaro: 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 debugger18:08
krotscheckI don’t know how to set up eclipse :/18:08
zarokrotscheck: 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
zarohow would i run this command 'tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"' without tox?18:13
krotscheckIf the venv is active, can’t you just execute “storyboard-api —config-file?18:14
zarokrotscheck: ohh of course18:14
*** alexismonville has quit IRC18:16
*** jedimike has quit IRC19:21
*** MaxV has joined #storyboard20:14
*** MaxV has quit IRC20:15
*** MaxV has joined #storyboard20:17
*** MaxV has quit IRC20:29
*** MaxV has joined #storyboard20:30
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Updated & Expanded Subscription API.  https://review.openstack.org/13156421:02
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Added Vagrant VM for development purposes.  https://review.openstack.org/13130621:07
*** MaxV has joined #storyboard21:27
*** MaxV has quit IRC21:29
*** mattfarina has quit IRC21:50
zarokrotscheck: arrg! i can't git it to run in the eclipse env.22:02
zarokrotscheck: anyways.  got a question about the rest endpoints.22:03
krotscheckzaro: Urm, I’m sorry?22:03
krotscheckShoot22:03
zarokrotscheck: it seems like they are designed around retrieving data from the database.  is there one that doesn't do that?22:03
krotscheckttx, NikitaKonovalov: I figured out the subscription bug on prod, but the fix is a bit meaty: https://review.openstack.org/#/c/131564/22:03
krotscheckzaro: As opposed to what, writing?22:04
zarokrotscheck: i just wanted to add one that will return version info.22:04
krotscheckzaro: Should be easy enough.22:06
krotscheckzaro: Are you confused about the wsmexpose annotation?22:06
zaroyes, and what type of data the controller should return on a get22:07
krotscheckzaro: Here’s an example: https://gist.github.com/krotscheck/934e58dcf601ee5d0c8022:08
krotscheckzaro: You don’t _have_ to extend the DB models when creating something to return.22:08
krotscheckzaro: You can even return a dict.22:08
krotscheckzaro: the user preferences controller users @wsme_pecan.wsexpose(types.DictType(unicode, unicode))22:09
zarokrotscheck: i tried that, but didn't work for me :(22:10
zarokrotscheck: i just returned a simple dict like this {"version":"34342"}22:11
zarokrotscheck: i will upload my attempt to gerrit for you to take a look at.22:12
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Test Version Controller  https://review.openstack.org/13158422:14
krotscheckzaro: ^^ That works22:15
krotscheckzaro: (Except for the mirantis copyright. You should change that)22:15
krotscheckzaro: In my case, http://localhost:8080/v1/version is the endpoint22:16
zarokrotscheck: ohh i didn't add the types to the wsexpose params.  your example on gist didn't have them either.22:17
zarokrotscheck: i assume that's required?22:17
krotscheckzaro: 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
zarokrotscheck: ok. thanks. will try it.22:19
*** timrc is now known as timrc-afk23:01
*** timrc-afk is now known as timrc23:07
openstackgerritKhai Do proposed a change to openstack-infra/storyboard: Add a rest endpoint to retreive system information  https://review.openstack.org/13159923:13
openstackgerritKhai Do proposed a change to openstack-infra/storyboard: Add a rest endpoint to retreive system information  https://review.openstack.org/13159923:29

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!