Re: [openstack-dev] Adding notifications to Horizon

2013-11-26 Thread Florent Flament
- From: Lance D Bragstad ldbra...@us.ibm.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Sent: Monday, November 25, 2013 6:21:55 PM Subject: Re: [openstack-dev] Adding notifications to Horizon Sandy Walsh sandy.wa...@rackspace.com wrote

[openstack-dev] Adding notifications to Horizon

2013-11-25 Thread Florent Flament
Hi, I am interested in adding AMQP notifications to the Horizon dashboard, as described in the following blueprint: https://blueprints.launchpad.net/horizon/+spec/horizon-notifications There are currently several implementations in Openstack. While Nova and Cinder define `notify_about_*` methods

Re: [openstack-dev] Adding notifications to Horizon

2013-11-25 Thread Sandy Walsh
+1 on the inline method. It makes it clear when a notification should be emitted and, as you say, handles the exception handling better. Also, if it makes sense for Horizon, consider bracketing long-running operations in .start/.end pairs. This will help with performance tuning and early error