Hide Forgot
Description of problem: editResourceConfiguration() should be available for resources with configuration, but it is not. getResourceConfiguration(), getResourceConfigurationDefinition(), updateResourceConfiguration() are available. Version-Release number of selected component (if applicable): Version: 4.4.0-SNAPSHOT Build Number: ca5eecb How reproducible: Always Steps to Reproduce: 1. import RHQ Agent to your inventory 2. ./rhq-cli.sh -u rhqadmin -p rhqadmin 3. var agent = ProxyFactory.getResource(rhqAgentId) 4. agent.editResourceConfiguration() Actual results: TypeError: Cannot find function editResourceConfiguration in object [21058] RHQ Agent (RHQ Agent::RHQAgent). (<Unknown source>#1) agent.editResourceConfiguration() ^ Expected results: resource configuration editing wizard
note to QE: please provide a link to the product API documentation
setting priority to medium per BZ triage 4/23 (crouch, santos, oleary, foley)
(In reply to comment #1) > note to QE: please provide a link to the product API documentation According to http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Operations_Network/100/html/Running_JON_Command-Line_Scripts/cli-ref-api.html#ref-proxyobjects methods available via proxies are not in the regular API. Method editResourceConfiguration() is described here: http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Operations_Network/3.1/html/Dev_Writing_JON_Command-Line_Scripts/common-actions.html#Running_the_CLI-Proxy