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

2014-08-12 Thread Ryan Petrello
://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] [Ceilometer] Way to get wrapped method's name/class using Pecan secure decorators?

2014-08-12 Thread Ryan Petrello
, 'request': Request at 0x3ed7390 GET http://localhost:8777/v2/meters, 'controller': None, 'response': Response at 0x3ed74d0 200 OK} -Original Message- From: Ryan Petrello [mailto:ryan.petre...@dreamhost.com] Sent: Tuesday, August 12, 2014 10:34 AM To: OpenStack Development Mailing

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

2014-08-12 Thread Ryan Petrello
at 0x2e76390, 'request': Request at 0x3ed7390 GET http://localhost:8777/v2/meters, 'controller': None, 'response': Response at 0x3ed74d0 200 OK} -Original Message- From: Ryan Petrello [mailto:ryan.petre...@dreamhost.com] Sent: Tuesday, August 12, 2014 10:34 AM

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

2014-08-15 Thread Ryan Petrello
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 the same thing. Doug On Aug 12, 2014, at 6:21 PM, Ryan Petrello ryan.petre...@dreamhost.com wrote

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 rbry

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

2013-12-11 Thread Ryan Petrello
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...@dreamhost.com

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-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 ryan.petre...@dreamhost.com wrote: Jamie: Your approach makes sense

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] [Solum][Pecan][Security] Pecan SecureController vs. Nova policy

2014-01-10 Thread Ryan Petrello
the *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] [nova] api schema validation pattern changes

2014-01-13 Thread Ryan Petrello
/Falcon/fill in WSGI framework here). --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Jan 13, 2014, at 9:23 AM, Jay Pipes jaypi...@gmail.com 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

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 devananda@gmail.com wrote

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 rakhme...@mirantis.com 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

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

2013-11-10 Thread Ryan Petrello
for both. --- Ryan Petrello Senior Developer, DreamHost ryan.petre...@dreamhost.com On Nov 7, 2013, at 7:02 PM, Jay Pipes jaypi...@gmail.com 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 this thread

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

2014-07-05 Thread Ryan Petrello
-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..4051fad 100644 --- a/climate/tests/api/test_root.py +++ b/climate/tests

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 endre.karl...@gmail.com wrote: What am I doing wrong

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

2013-09-27 Thread Ryan Petrello
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 list OpenStack-dev@lists.openstack.org http

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

2014-12-03 Thread Ryan Petrello
://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

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

2014-12-04 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 OpenStack-dev

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

2014-12-08 Thread Ryan Petrello
://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

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

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

Re: [openstack-dev] Pecan Version 1.2

2016-09-26 Thread Ryan Petrello
__ 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.petre...@dreamhost.com