Author: tejones
Date: 2010-02-19 11:26:46 -0500 (Fri, 19 Feb 2010)
New Revision: 1845
Modified:
branches/JCA/console/src/resources/embedded/META-INF/rhq-plugin.xml
Log:
TEIID-807: Cleaned up legacy code and added VDB deployment/un-deployment. Also added
operation execution framework.
Modified: branches/JCA/console/src/resources/embedded/META-INF/rhq-plugin.xml
===================================================================
--- branches/JCA/console/src/resources/embedded/META-INF/rhq-plugin.xml 2010-02-19
16:05:32 UTC (rev 1844)
+++ branches/JCA/console/src/resources/embedded/META-INF/rhq-plugin.xml 2010-02-19
16:26:46 UTC (rev 1845)
@@ -33,17 +33,64 @@
<parent-resource-type name="JBossAS Server"
plugin="JBossAS5" />
</runs-inside>
+
+ <operation name="listLongRunningQueries"
+ displayName="View current long running queries"
+ description="List current queries executing against the JBEDSP System that have
surpassed the long running query threshhold">
+ <results>
+ <c:list-property name="list">
+ <c:map-property name="map">
+ <c:simple-property displayName="Session ID"
+ name="getSessionId" type="string"
+ description="The name of the resource whose availability is being
reported" />
+ <c:simple-property displayName="Request ID"
+ name="getRequestId" type="string"
+ description="The id for the request" />
+ <c:simple-property displayName="SQL String"
+ name="getCommand" type="string"
+ description="The SQL string for this query" />
+ <c:simple-property displayName="Source Request"
+ name="sourceRequest" type="string"
+ description="If false,this is the top level query. If true, this a physical
source query." />
+ <c:simple-property displayName="Execution ID"
+ name="getExecutionId" type="string"
+ description="The execution id for this request (if this is a physical source
query)" />
+ <c:simple-property displayName="Start Time"
+ name="getCreatedTime" type="string"
+ description="The time this query began" />
+ <c:simple-property displayName="Start Time"
+ name="getProcessingTime" type="string"
+ description="Processing time for this request" />
+ <c:simple-property displayName="Transaction ID"
+ name="getTransactionId" type="string"
+ description="The transaction XID if there is a transaction involved"
/>
+ <c:simple-property displayName="Node ID"
+ name="getNodeId" type="string"
+ description="The node ID of this query" />
+ </c:map-property>
+ </c:list-property>
+ </results>
+ </operation>
- <!-- <metric displayName="Query Count" defaultOn="true"
displayType="summary"
+ <operation name="killRequest" displayName="Terminate query"
+ description="Terminate the processing of a query and it's source
queries">
+ <parameters>
+ <c:simple-property displayName="SessionID|RequestID"
+ name="requestID" type="string" required="true"
+ description="The IDs of the session|request to terminate (use format =
sessionID|requestID)" />
+ </parameters>
+ </operation>
+
+ <metric displayName="Query Count" defaultOn="true"
displayType="detail"
category="throughput" property="queryCount"
description="The number of queries for a given point in time" />
<metric displayName="Long Running Queries" defaultOn="true"
- displayType="summary" category="performance"
property="longRunningQueries"
+ displayType="detail" category="performance"
property="longRunningQueries"
description="The number of queries that have been running longer than the limit
set for queries." />
<metric displayName="Session Count" defaultOn="true"
- displayType="summary" category="throughput"
property="sessionCount"
+ displayType="detail" category="throughput"
property="sessionCount"
description="The number of user connections for a given point in time"
/>
<resource-configuration>
@@ -60,7 +107,7 @@
</c:simple-property>
</c:group>
</resource-configuration>
- -->
+
<service name="Virtual Database (VDB)s"
description="JBoss Enterprise Data Services Virtual Databases"
class="VDBComponent"
discovery="VDBDiscoveryComponent" createDeletePolicy="both"