Red Hat Bugzilla – Bug 847804
RFE: ProxyFactory should make resource configuration always available
Last modified: 2013-09-01 06:08:20 EDT
+++ This bug was initially created as a clone of Bug #822968 +++
Description of problem:
Directly after import, the resource has no attached resource configuration object. This object is only attached with the first configuration report from the agent or at a request for live configuration of the resource.
The GUI makes sure to always get the configuration of the resource, reaching out to the agent to get the live values.
The ProxyFactory doesn't provide such ability but it should, being the convenience wrapper that we use in the CLI.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Import a resource
2. Instantly after that create a proxy for that resource in the CLI
3. do: pretty.print(resource.resourceConfiguration.properties)
a configuration object containing the true resource configuration
--- Additional comment from email@example.com on 2012-05-21 09:50:14 EDT ---
Mis-added as7-plugin as blocker, removing
--- Additional comment from firstname.lastname@example.org on 2012-05-21 11:43:28 EDT ---
I'd like to see this in 3.1.1 as it makes our scripts more complex
--- Additional comment from email@example.com on 2012-08-02 14:52:26 EDT ---
JON 3.1.1 ER1 build is available. Moving to ON_QA.
--- Additional comment from firstname.lastname@example.org on 2012-08-02 21:17:03 EDT ---
Moving back to ON_DEV. This was incorrectly moved to ON_QA in comment 3.
Author: Lukas Krejci <email@example.com>
Date: Tue Aug 14 13:38:06 2012 +0200
[BZ 847804] - make sure to fetch the latest known resource config through
the proxy factory.
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.