Bug 785005
Summary: | JON 3.0.1 RC#1 CLI API Doc is incomplete | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Mike Foley <mfoley> |
Component: | Documentation | Assignee: | Deon Ballard <dlackey> |
Status: | CLOSED WORKSFORME | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.0.1 | CC: | hrupp |
Target Milestone: | --- | ||
Target Release: | JON 3.0.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-08 18:33:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 782579 |
Description
Mike Foley
2012-01-26 21:45:03 UTC
12/30/2012 BZ triage meeting mfoley, ccrouch, loleary, asantos I am looking at the 3.0 javadoc, so I cannot attest, at the moment, to whether the method is in the 2.4 javadoc. I did find findResourcesByCriteria in the ResourceManager class here (apologies for the long URL): http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/100/html/API/remote-api/org/rhq/enterprise/server/resource/ResourceManagerRemote.html#findResourcesByCriteria(org.rhq.core.domain.auth.Subject, org.rhq.core.domain.criteria.ResourceCriteria) Backing up to the other part, about the objects. My understanding is that those are commands specifically for the CLI in interactive mode, not methods that can or should be invoked in a script file or things that should be in the API. I think. I will verify that with dev. At the least, that point should be clear when I redo the docs for 3.1. Still on comment 2), I checked, and findResourcesByCriteria is also in the 2.4 API. As for 1), the locations of a lot of those implicit variables is different, of course. Everything in org.rhq.core.domain* is here: http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/100/html/API/domain/index.html That's where I found subject, pageControl, and unlimited PC. There are a fair number of managers in org.rhq.enterprise.server.*, which all seem to be in the normal remote API set. http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/100/html/API/remote-api/index.html I cannot find anything in org.rhq.enterprise.client.* in the public APIs. According to Ian, the rhq method is contained in the CLI JAR itself, so I don't think these are public APIs at all, just tools available to the CLI to use. I can try to make it more clear in the docs where these methods and classes are coming from. |