Bug 1122514

Summary: Query Resource only available in postgres Plugin
Product: [Other] RHQ Project Reporter: Andre Rösner <roesner.andre>
Component: PluginsAssignee: Thomas Segismont <tsegismo>
Status: ON_QA --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12CC: hrupp, tsegismo
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
plugin descriptor oracle plugin none

Description Andre Rösner 2014-07-23 12:10:58 UTC
Created attachment 920205 [details]
plugin descriptor oracle plugin

Description of problem:
The rhq-plugin.xml of the oracle and the Mysql plugin don't contain the service element for the query resource.

Version-Release number of selected component (if applicable):
4.12

How reproducible:
add oracle server/mysql server, try to add Query resource

Steps to Reproduce:
1.
2.
3.

Actual results:
no import possible

Expected results:
import of query resource to gather sql based metrics

Additional info:
as decribed here (for other version and with postgres):
http://management-platform.blogspot.fr/2012/03/monitoring-custom-data-from-db-queries.html

i added the corrected rhq-plugin.xml (from https://raw.githubusercontent.com/rhq-project/rhq/master/modules/plugins/oracle/src/main/resources/META-INF/rhq-plugin.xml) for the oracle plugin (not tested yet)

Comment 1 Thomas Segismont 2014-07-23 13:09:38 UTC
Thanks Andre! I'll merge ASAP.

Comment 2 Thomas Segismont 2014-07-24 12:29:12 UTC
Fixed in master

commit d4ae35c7bcc77f9418600d5f3485e92d496a4026
Author: Thomas Segismont <tsegismo>
Date:   Thu Jul 24 14:27:17 2014 +0200
    
Added to the MySQL and Oracle plugins
    
Tested on Oracle XE and MariaDB