Author: justi9
Date: 2010-10-01 16:19:19 -0400 (Fri, 01 Oct 2010)
New Revision: 4369
Modified:
mgmt/newdata/cumin/python/cumin/messaging/broker.py
mgmt/newdata/cumin/python/cumin/messaging/brokergroup.py
mgmt/newdata/cumin/python/cumin/messaging/main.py
Log:
Hide broker group functionality, since it's not functional
Modified: mgmt/newdata/cumin/python/cumin/messaging/broker.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/messaging/broker.py 2010-10-01 20:09:05 UTC (rev
4368)
+++ mgmt/newdata/cumin/python/cumin/messaging/broker.py 2010-10-01 20:19:19 UTC (rev
4369)
@@ -55,7 +55,7 @@
return sql_options
class BrokerSelector(ObjectSelector):
- def __init__(self, app, name, data):
+ def __init__(self, app, name):
# Actually a vhost selector, as it happens
vhost = app.model.org_apache_qpid_broker.Vhost
@@ -136,7 +136,7 @@
self.exchange_add = ExchangeAdd(app, self)
self.brokerlink_add = BrokerLinkAdd(app, self)
self.move_messages = MoveMessages(app, self)
- self.engroup = BrokerEngroup(app, self)
+ #self.engroup = BrokerEngroup(app, self)
def get_title(self, session):
return self.broker.get(session).name
@@ -223,8 +223,7 @@
self.group_tmpl = WidgetTemplate(self, "group_html")
- data = BrokerData(app)
- self.brokers = BrokerSelector(app, "brokers", data)
+ self.brokers = BrokerSelector(app, "brokers")
self.add_child(self.brokers)
def render_title(self, session, *args):
Modified: mgmt/newdata/cumin/python/cumin/messaging/brokergroup.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/messaging/brokergroup.py 2010-10-01 20:09:05 UTC (rev
4368)
+++ mgmt/newdata/cumin/python/cumin/messaging/brokergroup.py 2010-10-01 20:19:19 UTC (rev
4369)
@@ -79,8 +79,7 @@
super(BrokerGroupFrame, self).__init__(app, name, cls)
- data = BrokerData(app)
- brokers = BrokerSelector(app, "brokers", data)
+ brokers = BrokerSelector(app, "brokers")
brokers.group = self.object
self.view.add_tab(brokers)
Modified: mgmt/newdata/cumin/python/cumin/messaging/main.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/messaging/main.py 2010-10-01 20:09:05 UTC (rev 4368)
+++ mgmt/newdata/cumin/python/cumin/messaging/main.py 2010-10-01 20:19:19 UTC (rev 4369)
@@ -61,8 +61,7 @@
self.tabs = TabbedModeSet(app, "tabs")
self.add_child(self.tabs)
- self.tabs.add_tab(BrokerBrowser(app, "brokers"))
- self.tabs.add_tab(BrokerGroupSelector(app, "brokergroups"))
+ self.tabs.add_tab(BrokerSelector(app, "brokers"))
class Heading(CuminHeading):
def render_title(self, session):
Show replies by date