Bug 817802 - [eap6] Transactions subsystem has children resources not exposed in the plugin
Summary: [eap6] Transactions subsystem has children resources not exposed in the plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: RHQ 4.5.0
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin 821855
TreeView+ depends on / blocked
 
Reported: 2012-05-01 11:05 UTC by Stefan Negrea
Modified: 2013-08-31 10:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 821855 (view as bug list)
Environment:
Last Closed: 2013-08-31 10:09:27 UTC
Embargoed:


Attachments (Terms of Use)
eap-transactions-childresources (382.75 KB, image/png)
2012-07-25 13:23 UTC, Armine Hovsepyan
no flags Details

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.


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