Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions100

Overview

This node integrates with the Dataiku DSS API, enabling users to perform a wide range of operations on various Dataiku DSS resources. Specifically for the Bundles Automation-Side resource and the Preload Bundle operation, the node preloads a specified bundle within a project, which involves creating the necessary code environments for that bundle. This is useful in automation scenarios where bundles need to be prepared or initialized before activation or further processing.

Common use cases include:

  • Preparing a bundle for execution by setting up its environment.
  • Automating deployment workflows where bundles are preloaded as part of CI/CD pipelines.
  • Managing project bundles programmatically without manual intervention.

Example: Preloading a bundle identified by its Bundle ID in a given project to ensure all dependencies and environments are ready for activation.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku DSS project where the bundle resides.
Bundle ID The identifier of the bundle to preload (i.e., prepare the code environment for).

Output

The node outputs JSON data representing the response from the Dataiku DSS API after attempting to preload the bundle. The structure depends on the API's response but typically includes status information about the preload action.

If the operation returns binary data (not typical for preload), it would be provided as binary output, but for this operation, the output is JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs an API authentication token credential for the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • No additional external dependencies beyond the Dataiku DSS API and n8n's HTTP request capabilities.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Dataiku DSS API Credentials," ensure that the API key credential is properly set up in n8n.
  • Required Parameter Errors: The node validates required parameters such as Project Key and Bundle ID. Missing these will cause errors like "Project Key is required" or "Bundle ID is required." Make sure these inputs are correctly provided.
  • API Request Failures: Network issues, incorrect server URLs, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Unexpected Response Format: If the API returns unexpected data, parsing errors may occur. Check the API documentation and ensure compatibility with the current Dataiku DSS version.

Links and References


This summary focuses on the "Bundles Automation-Side" resource and the "Preload Bundle" operation as requested, based on static analysis of the provided source code and property definitions.

Discussion