Namespace bundles
provides access to Bundle subsystem
Defined in: rhqapi.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
bundles.create(params)
creates a bundle (a wrapper method above createFromDistFile)
|
<static> |
bundles.createFromDistFile(dist, username, password, groups)
creates a bundle (deprecated)
|
<static> |
bundles.find(params)
finds bundles based on query parameters
|
Method Detail
<static>
{Bundle}
bundles.create(params)
creates a bundle (a wrapper method above createFromDistFile)
- Parameters:
- {Object} params
- If URL it must be reachable by RHQ server
- See:
- bundles#createFromDistFile
<static>
{Bundle}
bundles.createFromDistFile(dist, username, password, groups)
creates a bundle (deprecated)
- Parameters:
- {String} dist
- - path to bundle distribution ZIP file or URL.
- {String} username
- - basic HTTP auth username (use when 'dist' is URL)
- {String} password
- - basic HTTP auth password (use when 'dist' is URL)
- {BundleGroup[]} groups
- - array of bundle groups to assign into If URL it must be reachable by RHQ server
<static>
{Bundle[]}
bundles.find(params)
finds bundles based on query parameters
- Parameters:
- {Object} params
- - hash of query params See BundleCriteria class for available params