Bug 758655

Summary: connection-url should not be required when on Add XA Datasource operation
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: Core UI, OperationsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED WORKSFORME QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3CC: hrupp, theute
Target Milestone: ---   
Target Release: RHQ 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-14 15:30:33 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    

Description Libor Zoubek 2011-11-30 11:13:03 UTC
Description of problem:

When creating new XA datasource on EAP6, UI forces you to insert Connection-url. But it does not make sense. 

1. Passing connection-url property XA DS creation command using eap6 cli results to failure, this means agent does not use this property, because creation XA DS using JON is successfull
2. Connection-url is not listed in configuration of any XA DS


Version-Release number of selected component (if applicable):
RHQ 4.3.0.SNAP Build Number: 4a6ec5f

How reproducible: always


Steps to Reproduce:
1. Inventory EAP6 (standalone)
2. create XA Datasource
3. assert connection-url property is not required
  
Actual results: connection-url property is required but not used anyway


Expected results:


Additional info:

Comment 1 Heiko W. Rupp 2012-01-30 13:01:38 UTC
C-U. was required in earlier versions of AS7/EAP6 like the pool-name.
They have now been removed.

Also AS7-1209 is fixed and no more fake xa-properties need to be added.

master a8622b6e11a7

Comment 2 Heiko W. Rupp 2012-01-30 16:16:23 UTC
master 4073cfff18630 contains additional fixes

Comment 3 Libor Zoubek 2012-02-03 14:48:35 UTC
On Version: 4.3.0-SNAPSHOT Build Number: 58bf2d2 

Connection-url field is still mandatory in UI. New datasource that appears in EAP has connection-url undefined anyway 

/subsystem=datasources/xa-data-source=xa-ds:read-resource returns

"xa-datasource-properties" => {"connection-url" => undefined}

Comment 4 Heiko W. Rupp 2012-02-14 15:30:33 UTC
connection-url stays, but is under the covers translated to a xa-property, so that it is more clear to the user that he needs to submit it and will not forget the xa-property.
More work on XA is done in Bug 708293