Bug 817802

Summary: [eap6] Transactions subsystem has children resources not exposed in the plugin
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: low    
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:
: 821855 (view as bug list) Environment:
Last Closed: 2013-08-31 10:09:27 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, 821855    
Attachments:
Description Flags
eap-transactions-childresources none

Description Stefan Negrea 2012-05-01 11:05:08 UTC
Description of problem:
The transactions subsystem has children resources currently not exposed for configuration by the RHQ plugin. Currently only the subsystem configuration is exposed.


Here is an edited output from the EAP cli with the children structure:

[standalone@localhost:9999 subsystem=transactions] pwd
/subsystem=transactions


[standalone@localhost:9999 subsystem=transactions] :read-resource-description(recursive=true)
"children" => {"log-store" => {
     ...
     "children" => {"transactions" => {
          ...    
          "children" => {"participants" => {

Comment 1 Heiko W. Rupp 2012-05-02 12:59:40 UTC
Exposed child data is transient ( runtime information about tx status )

Comment 2 Stefan Negrea 2012-05-14 20:13:39 UTC
Added sub-resources (log-store, transactions, and participants) for transactions subsystems for standalone server, Profile, and managed server resources.

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

Comment 3 Armine Hovsepyan 2012-07-25 13:21:54 UTC
reopened.

only the log-store child resource is visible, while in CLI it has it'w own child resources - transactions and participants.

Please get attached screenshot.

Comment 4 Armine Hovsepyan 2012-07-25 13:23:48 UTC
Created attachment 600298 [details]
eap-transactions-childresources

Comment 5 Stefan Negrea 2012-08-14 20:10:30 UTC
The screenshot posted in comment #4 shows the resource definition (the template) and not the actual resources available for management. Please use ls and :read-resource() commands to check what children are actually created and available for management for a given resource. 

:read-resource-description() shows the definition of a resource and not the actual resource. Please use this command only to find possible children types, their cardinality, properties and their types, and resource description.


Please retest, no code changes required.

Comment 6 Armine Hovsepyan 2012-08-15 11:55:20 UTC
thanks for detailed answer Stefan.

verified!

Comment 7 Heiko W. Rupp 2013-08-31 10:09:27 UTC
Bulk close of old bugs in VERIFIED state.