Branch: refs/heads/master Home: https://github.com/rhq-project/rhq Commit: a3480101861ae6aed8f20d9010507602796504cc https://github.com/rhq-project/rhq/commit/a3480101861ae6aed8f20d901050760279... Author: Thomas Segismont tsegismo@redhat.com Date: 2014-06-12 (Thu, 12 Jun 2014)
Changed paths: M modules/plugins/jboss-as-7/intentional-api-changes-since-4.11.0.xml A modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/HibernatePersistenceUnitComponent.java R modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/QueryCacheDiscovery.java M modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml M modules/plugins/jboss-as-7/src/test/java/org/rhq/modules/plugins/jbossas7/itest/standalone/DeploymentRuntimeResourcesTest.java
Log Message: ----------- Bug 1033130 - [AS7] Exception during discovery of Query Cache resources of RHQ Server resource
Instead of importing tons of Query Cache resources, AS7 plugin will mimic Hibernate Plugin's behavior and expose a "viewQueries" operation to gather the Query Cache nodes statistics.
Added HibernatePersistenceUnitComponent to implement "viewQueries" operation. The operation processes Query Cache nodes in batches to avoid sending too many queries to the management interface Deleted the never used QueryCacheDiscovery class (updated API check file accordingly) Removed the commented-out Query Cache service in AS7 plugin descriptor and added the "viewQueries" operation on the Hibernate Persistence Unit service Added itest for the "viewQueries" operation
rhq-commits@lists.fedorahosted.org