Re: [openstack-dev] Pecan Version 1.2

2016-09-26 Thread Ryan Petrello
ecan/pecan/issues/72 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Ryan Petrello Senior Developer, DreamHost ryan.pe

Re: [openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Ryan Petrello
bin/mailman/listinfo/openstack-dev -- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...

Re: [openstack-dev] [Fuel][Nailgun] Web framework

2014-12-08 Thread Ryan Petrello
> > OpenStack-dev mailing list > > OpenStack-dev@lists.openstack.org > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > > > -- > Best regards, > Nick Markov > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Re: [openstack-dev] [Fuel][Nailgun] Web framework

2014-12-04 Thread Ryan Petrello
>>>> > >>>> Best, > >>>> -jay > >>>> > >>>> ___ > >>>> OpenStack-dev mailing list > >>>> OpenStack-dev@lists.openstack.org > >>>> h

Re: [openstack-dev] [Fuel][Nailgun] Web framework

2014-12-03 Thread Ryan Petrello
us can and do find things we > >> don't like about *all* of the projects that we work on. The difference > >> between team players and non-team players is that team players strongly > >> weigh their decisions and opinions based on what the team is doing and how &

Re: [openstack-dev] [Fuel][Nailgun] Web framework

2014-12-02 Thread Ryan Petrello
> [4] http://flask.pocoo.org/ > > [5] http://webpy.org/ > > [6] https://lists.launchpad.net/fuel-dev/msg01501.html > > > > ___ > > OpenStack-dev mailing list > > OpenStack-dev@lists.openstack.org > >

Re: [openstack-dev] [Ceilometer] Way to get wrapped method's name/class using Pecan secure decorators?

2014-08-15 Thread Ryan Petrello
> slightly out of date but should give you a beter idea of our goals. > > Thanks > > > Eric, > > > > If you can give us some more information about your end goal, independent > of the implementation, maybe we can propose an alternate technique to > achieve

Re: [openstack-dev] [Ceilometer] Way to get wrapped method's name/class using Pecan secure decorators?

2014-08-12 Thread Ryan Petrello
; > (Pdb) state.__dict__ > > > {'hooks': [, > > > , > > > , > > > ], 'app': > > > , 'request': > > 0x3ed7390 GET http://localhost:8777/v2/meters>, 'controller': None, > > > 'response': } >

Re: [openstack-dev] [Ceilometer] Way to get wrapped method's name/class using Pecan secure decorators?

2014-08-12 Thread Ryan Petrello
n.core import state > (Pdb) state.__dict__ > {'hooks': [, > , > , > ], 'app': > , 'request': http://localhost:8777/v2/meters>, 'controller': None, 'response': at 0x3ed74d0 200 OK>} > > > -Original Message-

Re: [openstack-dev] [Ceilometer] Way to get wrapped method's name/class using Pecan secure decorators?

2014-08-12 Thread Ryan Petrello
> OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com ___ OpenStack-dev mailing list

Re: [openstack-dev] [blazar] py26 and py27 jobs failing

2014-07-05 Thread Ryan Petrello
t; > On Wed, 2014-07-02 at 17:24 -0400, Ryan Petrello wrote: > > That's a pretty notable review to accommodate the pecan change. In the > > meantime, wouldn't something like this would get the py26 and py27 tests > > passing? > > > > index 9aced3f..

Re: [openstack-dev] [blazar] py26 and py27 jobs failing

2014-07-02 Thread Ryan Petrello
it returns the versions > instead of an empty dictionary. > > Pablo. > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com

Re: [openstack-dev] [magnetodb] Using gevent in MagnetoDB. OpenStack standards and approaches

2014-03-19 Thread Ryan Petrello
?highlight=gunicorn#gunicorn --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Mar 18, 2014, at 2:51 PM, Dmitriy Ukhlov wrote: > Hello openstackers, > > We are working on MagnetoDB project and trying our best to follow OpenStack > standards. > > So,

Re: [openstack-dev] [Mistral] Local vs. Scalable Engine

2014-03-17 Thread Ryan Petrello
))] ) --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Mar 14, 2014, at 8:53 AM, Renat Akhmerov wrote: > Take a look at method get_pecan_config() in mistral/api/app.py. It’s where > you can pass any parameters into pecan app (see a dictionary ‘cfg_dict’ > initi

Re: [openstack-dev] [Ironic] A ramdisk agent

2014-03-09 Thread Ryan Petrello
FYI, the API scaffolding isn’t actually released yet, though I’m planning on making a pecan release with this in the next week or two. --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Mar 9, 2014, at 12:10 PM, Devananda van der Veen wrote: > For those looking

Re: [openstack-dev] [nova] api schema validation pattern changes

2014-01-13 Thread Ryan Petrello
/Falcon/). --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Jan 13, 2014, at 9:23 AM, Jay Pipes wrote: > On Sun, 2014-01-12 at 19:52 -0800, Christopher Yeoh wrote: >> On my phone so will be very brief but perhaps the extensions extension >> could publish t

Re: [openstack-dev] [Solum][Pecan][Security] Pecan SecureController vs. Nova policy

2014-01-10 Thread Ryan Petrello
*type* of the controller attribute. This could be False, depending on the URL path :) Important to note is that `state.controller` will be `None` in the `on_route` hook, because the routing of the path to controller hasn’t actually happened at that point. --- Ryan Petrello Senior Developer

Re: [openstack-dev] [Solum][Pecan][Security] Pecan SecureController vs. Nova policy

2014-01-09 Thread Ryan Petrello
, they give you the opportunity to hook in security *before* the controller call, but they avoid the nastiness of parsing the WSGI environ by hand and writing code that duplicates pecan’s route-to-controller resolution. --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Jan

Re: [openstack-dev] [Nova] Support for Pecan in Nova

2013-12-18 Thread Ryan Petrello
Additionally, can anyone here summarize the current status of v3 documentation? Is there a process I can currently run against Nova to generate a WADL (I want to make sure the Pecan changes work with it)? --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Dec 18

Re: [openstack-dev] [Nova] Support for Pecan in Nova

2013-12-18 Thread Ryan Petrello
Sounds like what I’m hearing is “Let’s see something that uses this (that works)”? I’ll work on that :) --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Dec 18, 2013, at 9:45 AM, Ryan Petrello wrote: > Jamie: > > Your approach makes sense, but it still

Re: [openstack-dev] [Nova] Support for Pecan in Nova

2013-12-18 Thread Ryan Petrello
and regular-expression style routes). --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Dec 18, 2013, at 6:05 AM, Jamie Lennox wrote: > I attempted this in keystone as part of a very simple extension [1]. I > understand that it is a much simpler case but nesti

Re: [openstack-dev] [Nova] Support for Pecan in Nova

2013-12-17 Thread Ryan Petrello
So any additional feedback on this patch? I’d love to start working on porting some of the other extensions to pecan, but want to make sure I’ve got approval on this approach first. https://review.openstack.org/#/c/61303/7 --- Ryan Petrello Senior Developer, DreamHost ryan.petre

Re: [openstack-dev] [Nova] Support for Pecan in Nova

2013-12-13 Thread Ryan Petrello
Unless there’s some other trickiness going on that I’m unaware of, the routes for the WSGI app are defined at application startup time (by methods called in the WSGI app’s __init__). --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Dec 13, 2013, at 12:56 PM, Doug

[openstack-dev] [Nova] Support for Pecan in Nova

2013-12-11 Thread Ryan Petrello
pecan implementation. Is the goal to deserialize the request *body* from e.g., XML into a usable data structure? Is there an equivalent for JSON handling? How does this relate to the schema validation that’s being done in v3? --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhos

Re: [openstack-dev] [qa] [Solum] [tempest] Use of pecan test framework in functional tests

2013-12-10 Thread Ryan Petrello
called down the line). When you involve Tempest, though, you’re generally pointing at a real HTTP server and testing for correctness, so using HTTP here makes sense (imo). --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Dec 10, 2013, at 4:12 PM, Russell Bryant

Re: [openstack-dev] [Solum] Choice of API infrastructure

2013-11-10 Thread Ryan Petrello
just fine for both. --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Nov 7, 2013, at 7:02 PM, Jay Pipes wrote: > On 11/07/2013 06:41 PM, Adrian Otto wrote: >> Solum Team, >> >> First of all I wanted to say that I have been thinking a lot about

[openstack-dev] [Pecan] is now on StackForge

2013-09-27 Thread Ryan Petrello
in the #pecanpy IRC channel on Freenode or send an email to openstack-...@lists.launchpad.net with "[Pecan]" in the subject. --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com ___ OpenStack-dev mailing lis

Re: [openstack-dev] Pecan - PATCH not working on nested REST

2013-07-29 Thread Ryan Petrello
Endre, Pecan's RestController doesn't seem to provide support for an explicit `patch` method in the manner you're attempting to use it: http://pecan.readthedocs.org/en/latest/rest.html#url-mapping On Jul 29, 2013, at 6:32 AM, Endre Karlson wrote: > What am I doing wrong here? > > doing > >