Created attachment 573146 [details] systemmanager.js Description of problem: SystemManager.getServerVersion(subject) method is not in the API Version-Release number of selected component (if applicable): JON 3.1 How reproducible: 100% Steps to Reproduce: 1. use the remote CLI ... as follows: ./rhq-cli.sh -u rhqadmin -p rhqadmin -f /home/mfoley/automation2/automatjon/jon/clitest/resources/js-files/systemmanager.js (this file is attached) Actual results: mfoley@foleymonsterbox1 bin]$ ./rhq-cli.sh -u rhqadmin -p rhqadmin -f /home/mfoley/automation2/automatjon/jon/clitest/resources/js-files/systemmanager.js Remote server version is: 4.4.0-SNAPSHOT (94f6790) Login successful Exception in thread "main" org.rhq.enterprise.client.script.CLIScriptException: javax.script.ScriptException: sun.org.mozilla.javascript.EcmaError: TypeError: Cannot find function getServerVersion in object SystemManagerBean. (<Unknown source>#10) in <Unknown source> at line number 10 Expected results: the method should exist ... for 2 reasons: 1) it is documented in the CLI API doc 2) it was in a developer-written CLI test at this location http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=blob_plain;f=modules/cli-tests/src/test/script/org/rhq/enterprise/remoting/cli/test_SystemManager.js;h=4316690446e33b4d433d7b07eb1a5ce7e83fcc8e;hb=HEAD Additional info: attachments
API changed unexpectedly ... * ccrouch-grabfood is now known as ccrouch <jshaughn> ok, it was unceremoniously changed 2/9/11. It was not deprecated. Just manhandled.
link to API doc is not correct for master <jshaughn> the doc does match the API, that was the API for that version. It is *not* the right link for master.
<jshaughn> sunny-dee: I thought so <sunny-dee> i can get with ips about what to do for wiki publishing <jshaughn> Our RHQ release process should be updated to include this in the RHQ wiki <jshaughn> which, as mfolye just pointed out, is sadly out of date <jshaughn> I'm not sure how easy it is for us to actually add the requisite pages to the wiki <sunny-dee> i think the rhq wiki even points to, like, the jon 2.3 api docs
documented and x-ref'd in https://bugzilla.redhat.com/show_bug.cgi?id=803737
the resolution of this BZ 807393 *** This bug has been marked as a duplicate of bug 807393 ***