Uploading a tool artifact

Upload a packaged tool bundle to the tool catalog in Cloudera Agent Studio instead of creating a new tool, either as a personal draft or as a published catalog version.

Agent Studio names the tool after the bundle file. For example, the file my-tool.tar.gz creates a tool named my-tool.

  • You must have the Admin or Builder role. For more information, see User roles and capabilities.
  • Package your tool in an MCPB folder that contains a manifest.json file at the root, compressed as a .tar.gz archive. The upload dialog only accepts gzip-compressed tar archives.
  • Your .tar.gz file must be 64 MiB or smaller.
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Assets > Tool Catalog.
    The Tools page is displayed.
  3. Click Upload Artifact.
    The Upload tool dialog box opens.
  4. Optional: To publish the tool to the catalog, select Check to publish the tool to the catalog.
    If you leave the check box unselected, Agent Studio uploads the bundle as your personal draft, visible only to you. If you select the check box, Agent Studio publishes a catalog version that other users can discover and use.
  5. Add the bundle file in one of the following ways:
    • Drag the .tar.gz file into the drop zone.
    • Click Drop a tool bundle here, and then select the file on your computer.
    If the file is not a .tar.gz file, the dialog displays the message Pick a .tar.gz bundle under the size limit.
  6. Click Upload tool.
    To close the dialog without uploading the bundle, click Cancel.

A confirmation message is displayed after upload. For a draft, the Uploaded "name" to draft successfully (where name is the tool name) is displayed. For a published tool, the Published "name" to the catalog is displayed.

An uploaded draft tool is displayed in the My Drafts section of the Tool Catalog page. A published tool is displayed in the Tools section.