Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

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 Plugin resource and the Push to Git Remote operation, it allows pushing the content of a plugin to a previously-declared git remote repository.

Common scenarios where this node is beneficial include automating plugin management tasks within Dataiku DSS projects, such as synchronizing plugin code with remote Git repositories, managing plugin files, or updating plugin settings programmatically. For example, a user can automate the deployment pipeline by pushing plugin changes to a Git remote directly from an n8n workflow.

Properties

Name Meaning
Plugin ID The unique identifier of the plugin to operate on. Required for all plugin-related actions including pushing to git remote.

Note: The node supports many other properties depending on the resource and operation selected, but for the Plugin resource and Push to Git Remote operation, only the pluginId property is required.

Output

The output of the node is an array of JSON objects representing the response from the Dataiku DSS API after performing the requested operation.

  • For the Push to Git Remote operation on a plugin, the output will typically be a JSON object indicating the success or failure of the push action.
  • If the operation returns binary data (not typical for this operation), it would be provided in the binary field with the key data.
  • In case of textual responses (e.g., logs), the output will contain a text or json field accordingly.

Dependencies

  • Requires valid credentials for the Dataiku DSS API, specifically an API server URL and a user API key.
  • The node expects these credentials to be configured in n8n under a generic "Dataiku DSS API" credential type.
  • The Dataiku DSS instance must have the plugin and git remote properly configured to allow pushing.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Dataiku DSS API Credentials," ensure that the API server URL and user API key are correctly set up in n8n credentials.
  • Required Parameter Errors: The node validates required parameters per operation. For the Push to Git Remote operation, if pluginId is missing, it will throw an error. Make sure to provide all required inputs.
  • API Request Failures: Network issues, incorrect API URLs, or insufficient permissions on the Dataiku DSS side may cause request failures. Check the API endpoint URL and user permissions.
  • Unexpected Response Format: If the API returns unexpected data, the node attempts to parse JSON; if parsing fails, it returns raw text. Verify the API response format and adjust usage accordingly.

Links and References


This summary focuses on the Plugin resource and the Push to Git Remote operation as requested, based on static analysis of the provided source code and input property definitions.

Discussion