Bug 767629

Summary: [as7] Unable to add datasource - having deployment breaks UI when adding DS
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: Core UI, OperationsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: medium    
Version: 4.3CC: asantos, hrupp, theute
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-02 07:23:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 707223    
Attachments:
Description Flags
adding datasource - broken UI none

Description Libor Zoubek 2011-12-14 14:57:04 UTC
Created attachment 546754 [details]
adding datasource - broken UI

Version-Release number of selected component (if applicable):
Version: 4.3.0-SNAPSHOT
Build Number: 35fcafb

How reproducible:always


Steps to Reproduce:
1. have as7 standalone (I have eap6 DR8)
2. create deployment child using RHQ UI (hello.war)
3. wait for agent to discover deployment
4. try to add datasource using RHQ UI
  
Actual results: I am not able to fill all required fields when adding datasource, instead of 'Driver Name:' input field there is radio with the name of deployment (hello.war), see screenshot


Expected results: Driver name field is available


Additional info:

Comment 1 Heiko W. Rupp 2011-12-15 15:49:50 UTC
Did you upload a valid driver first?
You need to go to the server, add a driver as deployment and then go to the datasources to create the datasource.

But I agree, that .war files should not show up in that list.

Comment 2 Libor Zoubek 2011-12-15 18:20:08 UTC
No, I don't add driver, I am creating datasource with same driver as the exampleDS, so I use h2 driver

Comment 3 Heiko W. Rupp 2012-01-30 16:20:52 UTC
master 4073cfff18630 filters for .jar files as drivers, so deployed .war and .ear should no longer show.

Question is how to deal with module loaded drivers - h2 is (afaik) supposed to go away in EAP6.
One could allow an additional text field where such a driver name can be entered by hand. The list of deployed jars would then be optional.

Comment 4 Heiko W. Rupp 2012-04-10 20:27:00 UTC
Add text field for naming the driver. If neither selected driver nor text field or both are present, throw an Exception in code.

Comment 5 Heiko W. Rupp 2012-04-10 20:28:05 UTC
We put this on QA, as the original task is done.

and open a new RfE for support of module loaded drivers

Comment 6 Heiko W. Rupp 2013-09-02 07:23:23 UTC
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.