Bug 806240 - [as7] Flush datasource for domain only on managed servers
Summary: [as7] Flush datasource for domain only on managed servers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: RHQ 4.4.0
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-03-23 09:47 UTC by Heiko W. Rupp
Modified: 2013-09-01 10:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-01 10:11:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 809622 0 high CLOSED [as7] a bunch of DataSource metrics return null values 2021-02-22 00:41:40 UTC

Internal Links: 809622

Description Heiko W. Rupp 2012-03-23 09:47:15 UTC
flush connection used to be available at domain level, but this is now gone and only at managed server level

[domain@localhost:9999 data-source=ExampleDS] :read-operation-names
{
    "outcome" => "success",
    "result" => [
        "flush-all-connection-in-pool",
        "flush-idle-connection-in-pool",
        "read-attribute",
        "read-children-names",
        "read-children-resources",
        "read-children-types",
        "read-operation-description",
        "read-operation-names",
        "read-resource",
        "read-resource-description",
        "test-connection-in-pool"
    ]
}
[domain@localhost:9999 data-source=ExampleDS] pwd
/host=master/server=server-one/subsystem=datasources/data-source=ExampleDS

and

[domain@localhost:9999 data-source=ExampleDS] :read-operation-names
{
    "outcome" => "success",
    "result" => [
        "add",
        "disable",
        "enable",
        "read-attribute",
        "read-children-names",
        "read-children-resources",
        "read-children-types",
        "read-operation-description",
        "read-operation-names",
        "read-resource",
        "read-resource-description",
        "remove",
        "undefine-attribute",
        "whoami",
        "write-attribute"
    ]
}
[domain@localhost:9999 data-source=ExampleDS] pwd
/profile=default/subsystem=datasources/data-source=ExampleDS


Also there are now 2 commands to support:

       "flush-all-connection-in-pool",
        "flush-idle-connection-in-pool",

Comment 1 Mike Foley 2012-03-26 15:50:23 UTC
priority=high, blocks 707223, target release = 3.1  per BZ triage (crouch, asantos, loleary, mfoley)

Comment 2 Stefan Negrea 2012-04-27 05:33:09 UTC
Split Datasources subsystem into three subsystems based on the parent server type (Standalone, Managed, and Profile). Each new subsystem has only applicable properties, metrics and operations.

This follows the same solution used for the Transactions subsystem, the only difference is the usage of entity&include to reduce the number of lines of XML.

Comment 3 Heiko W. Rupp 2013-09-01 10:11:22 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.


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