Bug 817805

Summary: [eap6] JAXR subsystem has wrong resource configuration exposed
Product: [Other] RHQ Project Reporter: Stefan Negrea <snegrea>
Component: PluginsAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.4CC: ahovsepy, hrupp
Target Milestone: ---   
Target Release: RHQ 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 821858 (view as bug list) Environment:
Last Closed: 2013-08-31 10:17:15 UTC 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:
Bug Depends On:    
Bug Blocks: 707223, 821858    

Description Stefan Negrea 2012-05-01 11:16:29 UTC
The JAXR subsystem has outdated resource configuration exposed. The current configuration has a different set of properties and no children. This is due to changes the API between ER versions (from the time the subsystem was initially added to ER6).

The current set of properties: 
<c:simple-property name="connection-factory" required="false" type="string" readOnly="false" description="The JNDI name for the ConnectionFactory"/>
<c:simple-property name="publish-url" required="false" type="string" readOnly="false" description="The jUDDI server publish URL"/>
<c:simple-property name="query-url" required="false" type="string" readOnly="false" description="The jUDDI server query URL"/>

No subresources available in the plugin.


From the EAP cli:
[standalone@localhost:9999 subsystem=jaxr] pwd
/subsystem=jaxr

[standalone@localhost:9999 subsystem=jaxr] :read-resource-description
"attributes" => {
  "jndi-name" => {
     "type" => STRING,
     "description" => "The JNDI name under which the JAXR ConnectionFactory is bound",
     "expressions-allowed" => false,
     "nillable" => true,
     "min-length" => 1L,
     "max-length" => 2147483647L,
     "access-type" => "read-write",
     "storage" => "configuration",
     "restart-required" => "no-services"
   },
   "class" => {
     "type" => STRING,
     "description" => "The JAXR ConnectionFactory implementation class",
     "expressions-allowed" => false,
     "nillable" => true,
     "min-length" => 1L,
     "max-length" => 2147483647L,
     "access-type" => "read-write",
     "storage" => "configuration",
     "restart-required" => "no-services"
   }
}

"children" => {"property" => {
    "description" => "A JAXR property. The identity of the resource defines the property name.",
    "model-description" => undefined
}

Comment 1 Heiko W. Rupp 2012-05-02 12:56:50 UTC
Not exposed in console

Comment 2 Stefan Negrea 2012-05-14 20:10:28 UTC
Updated resource definition for JAXR subsystem to match current server definition.

master branch commit:
http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=cea93bf5f746a91e1d2a16a90d7767c2956c0034

Comment 3 Armine Hovsepyan 2012-07-26 13:00:34 UTC
verified.

No subsystem is visible under jaxr subsystem. Propery with class and jndi-name are visible and configurable.

version: RHQ-1.5.0, EAP6 ER6

Comment 4 Heiko W. Rupp 2013-08-31 10:17:15 UTC
Bulk close of old bugs in VERIFIED state.