Bug 821858

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, jsanda
Target Milestone: ---   
Target Release: JON 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 817805 Environment:
Last Closed: 2013-09-03 11:18:39 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 817805    
Bug Blocks: 707223    

Description Stefan Negrea 2012-05-15 11:21:08 EDT
+++ This bug was initially created as a clone of Bug #817805 +++

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
}

--- Additional comment from hrupp@redhat.com on 2012-05-02 08:56:50 EDT ---

Not exposed in console
Comment 1 Stefan Negrea 2012-05-15 11:22:04 EDT
release/jon3.1.x branch commit:

http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=69adc6d33efe4425e22d66e424e3d69ebf49584c
Comment 2 Armine Hovsepyan 2012-07-26 09:10:41 EDT
verified.

Jaxr without child subsystems is visible. jaxr property with class and jndi-name is visible .
Jon.3.1.0 EAP6 ER6
Comment 3 Heiko W. Rupp 2013-09-03 11:18:39 EDT
Bulk closing of old issues in VERIFIED state.