Bug 713199

Summary: CLI Docs: Unclear reference to JBoss AS appTypeName
Product: [Other] RHQ Project Reporter: Ondřej Žižka <ozizka>
Component: DocumentationAssignee: Deon Ballard <dlackey>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.0.0CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:18:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ondřej Žižka 2011-06-14 16:10:36 UTC
In "4.2. Creating a New Resource",
there's "appTypeName" without explanation what's that value and where to get it.

I'd explicitely note that these values are available in rhq-plugin.xml
(or if it's avaiable somewhere in online docs, the better).

Also, in many CLI examples, there are variables used which are not created anywhere and there's no comment on what they are good for;
Even if you're familiar with RHQ GUI, it's not quite clear.
E.g.:

-------------------------------------------------------
ResourceFactoryManager.createPackageBackedResource(
    server.id,      
    appType.id,
    packageName,     <<<
    null,  // pluginConfiguration
    packageName,     <<<  Why twice?
    packageVersion,  <<<
    null, // architectureId    <<<
    deployConfig,    <<<
    fileBytes
);
-------------------------------------------------------


http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html-single/CLI_Guide/index.html#Scripted_Group_Deployments_using_the_CLI_API-Creating_a_new_resource

Comment 2 Mike Foley 2012-02-07 19:18:27 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE