Author: tmckay
Date: 2012-03-30 20:32:08 +0000 (Fri, 30 Mar 2012)
New Revision: 5281
Modified:
branches/play_plumage/cumin/python/cumin/messaging/broker.py
Log:
Moved messaging specific rosemary classes created by cumin into
a com.redhat.cumin.messaging package.
Missed this file.
Modified: branches/play_plumage/cumin/python/cumin/messaging/broker.py
===================================================================
--- branches/play_plumage/cumin/python/cumin/messaging/broker.py 2012-03-30 20:27:05 UTC
(rev 5280)
+++ branches/play_plumage/cumin/python/cumin/messaging/broker.py 2012-03-30 20:32:08 UTC
(rev 5281)
@@ -27,7 +27,7 @@
broker = app.model.org_apache_qpid_broker.Broker
system = app.model.org_apache_qpid_broker.System
cluster = app.model.org_apache_qpid_cluster.Cluster
- mapping = app.model.com_redhat_cumin.BrokerGroupMapping
+ mapping = app.model.com_redhat_cumin_messaging.BrokerGroupMapping
super(BrokerData, self).__init__(app, vhost)
@@ -235,7 +235,7 @@
return branch.marshal()
def render_group_filters(self, session):
- cls = self.app.model.com_redhat_cumin.BrokerGroup
+ cls = self.app.model.com_redhat_cumin_messaging.BrokerGroup
groups = cls.get_selection(session.cursor)
return self._render_filters(session, groups, self.group_tmpl)
@@ -294,7 +294,7 @@
vhost = self.object.get(session)
- cls = self.app.model.com_redhat_cumin.BrokerGroupMapping
+ cls = self.app.model.com_redhat_cumin_messaging.BrokerGroupMapping
mappings = cls.get_selection(session.cursor, _broker_id=vhost._brokerRef_id)
checked_groups = [x._group_id for x in mappings]
self.groups.inputs.set(session, checked_groups)
@@ -313,7 +313,7 @@
return "Groups"
def do_get_items(self, session):
- cls = self.app.model.com_redhat_cumin.BrokerGroup
+ cls = self.app.model.com_redhat_cumin_messaging.BrokerGroup
groups = cls.get_selection(session.cursor)
return (FormInputItem(x._id, title=x.name) for x in groups)
@@ -332,11 +332,11 @@
try:
cursor = conn.cursor()
- cls = self.app.model.com_redhat_cumin.BrokerGroup
+ cls = self.app.model.com_redhat_cumin_messaging.BrokerGroup
all_groups = cls.get_selection(cursor)
selected_ids = [x._id for x in groups]
- cls = self.app.model.com_redhat_cumin.BrokerGroupMapping
+ cls = self.app.model.com_redhat_cumin_messaging.BrokerGroupMapping
for group in all_groups:
existing_mapping = cls.get_selection \
Show replies by date