You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2013/03/21 14:43:52 UTC

svn commit: r1459308 - in /qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources: js/qpid/management/Broker.js showBroker.html

Author: orudyy
Date: Thu Mar 21 13:43:52 2013
New Revision: 1459308

URL: http://svn.apache.org/r1459308
Log:
QPID-4661: Display java broker store details and platform details in the web management console

Modified:
    qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Broker.js
    qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html

Modified: qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Broker.js
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Broker.js?rev=1459308&r1=1459307&r2=1459308&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Broker.js (original)
+++ qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/Broker.js Thu Mar 21 13:43:52 2013
@@ -441,6 +441,7 @@ define(["dojo/_base/xhr",
 
                              util.flattenStatistics( that.brokerData);
 
+                             that.showReadOnlyAttributes();
                              that.updateHeader();
 
                              var gridProperties = {
@@ -618,5 +619,18 @@ define(["dojo/_base/xhr",
 
            };
 
+           BrokerUpdater.prototype.showReadOnlyAttributes = function()
+           {
+               var brokerData = this.brokerData;
+               dojo.byId("brokerAttribute.name").innerHTML = brokerData.name;
+               dojo.byId("brokerAttribute.operatingSystem").innerHTML = brokerData.operatingSystem;
+               dojo.byId("brokerAttribute.platform").innerHTML = brokerData.platform;
+               dojo.byId("brokerAttribute.productVersion").innerHTML = brokerData.productVersion;
+               dojo.byId("brokerAttribute.managementVersion").innerHTML = brokerData.managementVersion;
+               dojo.byId("brokerAttribute.storeType").innerHTML = brokerData.storeType;
+               dojo.byId("brokerAttribute.storeVersion").innerHTML = brokerData.storeVersion;
+               dojo.byId("brokerAttribute.storePath").innerHTML = brokerData.storePath;
+           }
+
            return Broker;
        });

Modified: qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html?rev=1459308&r1=1459307&r2=1459308&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html (original)
+++ qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/showBroker.html Thu Mar 21 13:43:52 2013
@@ -21,10 +21,38 @@
 <div class="broker">
     <div data-dojo-type="dijit.TitlePane" data-dojo-props="title: 'Broker Attributes',  open: false">
         <div id="brokerAttributes" style="clear:both">
-             <div id="brokerAttribute.name.container" style="display: none; clear:both">
-                <div class="formLabel-labelCell" style="float:left; width: 250px;">Broker Name:</div>
+             <div id="brokerAttribute.name.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Broker name:</div>
                 <div id="brokerAttribute.name" style="float:left;"></div>
             </div>
+            <div id="brokerAttribute.operatingSystem.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Operation system:</div>
+                <div id="brokerAttribute.operatingSystem" style="float:left;"></div>
+            </div>
+            <div id="brokerAttribute.platform.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Platform:</div>
+                <div id="brokerAttribute.platform" style="float:left;"></div>
+            </div>
+            <div id="brokerAttribute.productVersion.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Broker version:</div>
+                <div id="brokerAttribute.productVersion" style="float:left;"></div>
+            </div>
+            <div id="brokerAttribute.managementVersion.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Broker management version:</div>
+                <div id="brokerAttribute.managementVersion" style="float:left;"></div>
+            </div>
+            <div id="brokerAttribute.storeType.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Broker store type:</div>
+                <div id="brokerAttribute.storeType" style="float:left;"></div>
+            </div>
+            <div id="brokerAttribute.storeVersion.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Broker store version:</div>
+                <div id="brokerAttribute.storeVersion" style="float:left;"></div>
+            </div>
+            <div id="brokerAttribute.storePath.container" style="clear:both">
+                <div class="formLabel-labelCell" style="float:left; width: 250px;">Broker store location:</div>
+                <div id="brokerAttribute.storePath" style="float:left;"></div>
+            </div>
             <div id="brokerAttribute.defaultAuthenticationProvider.container" style="display: none; clear:both">
                 <div class="formLabel-labelCell" style="float:left; width: 250px;">Default authentication provider:</div>
                 <div id="brokerAttribute.defaultAuthenticationProvider" style="float:left;"></div>
@@ -79,7 +107,7 @@
                     <div id="brokerAttribute.alertThresholdMessageSize" style="float:left;"></div>
                 </div>
                 <div id="brokerAttribute.alertRepeatGap.container" style="clear:both">
-                    <div class="formLabel-labelCell" style="float:left; width: 250px;">Queue alert alert repeat gap:</div>
+                    <div class="formLabel-labelCell" style="float:left; width: 250px;">Queue alert repeat gap:</div>
                     <div id="brokerAttribute.alertRepeatGap" style="float:left;"></div> ms
                 </div>
                 <div id="brokerAttribute.maximumDeliveryAttempts.container" style="clear:both">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org