Bug 758655 - connection-url should not be required when on Add XA Datasource operation
Summary: connection-url should not be required when on Add XA Datasource operation
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI, Operations
Version: 4.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHQ 4.3.0
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2011-11-30 11:13 UTC by Libor Zoubek
Modified: 2015-11-02 00:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-14 15:30:33 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.