[rhmessaging-commits] rhmessaging commits: r1461 - in mgmt: notes and 1 other directory.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Dec 12 10:18:04 EST 2007


Author: justi9
Date: 2007-12-12 10:18:04 -0500 (Wed, 12 Dec 2007)
New Revision: 1461

Modified:
   mgmt/cumin/python/cumin/model.py
   mgmt/notes/justin-todo.txt
Log:
Makes the xml for object names more compact.



Modified: mgmt/cumin/python/cumin/model.py
===================================================================
--- mgmt/cumin/python/cumin/model.py	2007-12-11 23:20:58 UTC (rev 1460)
+++ mgmt/cumin/python/cumin/model.py	2007-12-12 15:18:04 UTC (rev 1461)
@@ -265,8 +265,7 @@
         stat.categories = ("byte", "persistent")
 
     def write_xml(self, queue, writer):
-        writer.write("<queue id=\"%i\">" % queue.id)
-        writer.write("<name>%s</name>" % queue.name)
+        writer.write("<queue id=\"%i\" name=\"%s\">" % (queue.id, queue.name))
 
         self.write_event_xml(queue, writer)
         self.write_action_xml(queue, writer)
@@ -323,8 +322,8 @@
         stat.categories = ("general")
 
     def write_xml(self, exchange, writer):
-        writer.write("<exchange id=\"%i\">" % exchange.id)
-        writer.write("<name>%s</name>" % exchange.name)
+        writer.write("<exchange id=\"%i\" name=\"%s\">" % \
+                         (exchange.id, exchange.name))
 
         self.write_event_xml(exchange, writer)
         self.write_action_xml(exchange, writer)

Modified: mgmt/notes/justin-todo.txt
===================================================================
--- mgmt/notes/justin-todo.txt	2007-12-11 23:20:58 UTC (rev 1460)
+++ mgmt/notes/justin-todo.txt	2007-12-12 15:18:04 UTC (rev 1461)
@@ -10,11 +10,6 @@
 
  * Sort in tables
 
- * Add a ~3 second (or use broker update interval, if we can get that)
-   cache to *XmlPage
-
- * Add said cache to ChartPages as well, perhaps
-
  * Render stats without values as something other than 0, say a --
 
  * Render the "" exchange as "Default"
@@ -25,8 +20,23 @@
 
  * Paginate queue bindings in exchange view
 
+ * Paginate producers
+
+ * Paginate consumers
+
+ * Paginate clients
+
+ * Prevent users from mapping a broker to a group more than once
+
 Deferred
 
+ * Add a do_get_item_count, and cache result for use by get_item_count
+
+ * Add a ~3 second (or use broker update interval, if we can get that)
+   cache to *XmlPage
+
+ * Add said cache to ChartPages as well, perhaps
+
  * Better demo data
 
  * Make mini status tables a little prettier




More information about the rhmessaging-commits mailing list