Bug 880860

Summary: [jboss-as-5] Create Child XA, Local Tx, and No Tx Datasource resource should provide templates for many common datasource types as described in jboss-as/docs/examples/jca
Product: [Other] RHQ Project Reporter: Larry O'Leary <loleary>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: medium    
Version: 4.4CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 848207 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 848207    

Description Larry O'Leary 2012-11-27 18:06:45 EST
+++ This bug was initially created as a clone of JBoss ON Bug #848207 +++

Description of problem:
When creating a new datasource child resource for an as-5 server a list of templates is presented. However, the list only provided Oracle as a template. It would be ideal that other templates be provided.

Perhaps one possibility is to simply separate the template definitions from the plug-in descriptor and plug-in JAR and point the plug-in at a local directory to find template information? This type of feature would allow the user to add other templates based on their own datasource descriptor requirements and ensure that the plug-in JAR itself would not need to be modified or revised to include new templates or changes to existing templates.

Version-Release number of selected component (if applicable):
JON 3.1.0 - RHQ 4.4.0

How reproducible:

Steps to Reproduce:
1.  Start EAP server
2.  Start JON server and agent
3.  Import EAP server into inventory
4.  Navigate to imported EAP resource
5.  Select the EAP resource's Inventory > Child Resources tab
6.  Select Create Child -> XA Datasource

Actual results:
Notice *Resource Configuration Template* only contains `default` and `Oracle XA`.

This can also be seen when selecting Local Tx Datasource and No Tx Datasource.  

Expected results:
Other templates should be available in the *Resource Configuration Template* drop-down.