Saving drafts and publishing a tool to the catalog

Save a tool as a draft that only you can see, or publish it to the tool catalog of Cloudera Agent Studio as a version that other users can discover.

A draft is private to you and shows the version N/A. A published tool has a version number and a scope. Saving a draft does not validate the tool. Publishing validates the tool first.

To save a draft:
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Assets > Tool Catalog.
    The Tools page is displayed.
  3. In the row of the tool, click the the actions menu, and then click Edit.
    If an authoring session is not ready, a progress dialog opens. Wait for the dialog to close.
    The tool editor opens.
  4. Optional: Make your changes to the tool files.
    Agent Studio saves changes to files in your workspace automatically. This step does not save a draft version of the tool.
  5. In the tool editor, click Save, and then click Save as draft.
    A message Saved "name" as draft is displayed.
To publish a tool from the tool editor:
  1. In the tool editor, click Save, and then click Publish to catalog.
    Agent Studio validates the tool before it publishes the tool. When the publish completes, a message Published "name" to catalog is displayed.
    If the validation reports errors, the Validation report dialog opens, and Agent Studio does not publish the tool. To publish the tool without validation, select Skip validation and publish anyway, and then click Publish to catalog. Cloudera recommends that you fix the errors instead. For more information, see Validating a tool.
  2. To return to the catalog, click Back to catalog.
To publish a draft from the Tool Catalog page:
  1. In the left navigation pane, under Assets, click Tool Catalog.
  2. In the My Drafts section, in the row of the tool, click Actions to open the actions menu, and then click Publish.
    A message confirms the publish and shows the version and the scope of the new catalog version.

Publishing creates a catalog version of the tool. The tool appears in the Tools section of the Tool Catalog page with a version number.

  • The scope of the new version is Public if you already own a published tool with the same name and the scope Public. Otherwise, the scope is User.
  • If a version with the same number already exists, Agent Studio increments the version number automatically.
  • Validation runs before publishing from the tool editor. If validation fails, publishing does not complete, and the report lists the issues.
  • Publishing is rejected if the bundle is larger than 64 MB.