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 Reset to Local Head State operation, the node allows resetting a plugin's state to its local Git HEAD state. This is useful when you want to discard any uncommitted changes in the plugin and revert it to the last committed state locally.

Common scenarios include:

  • Developers managing plugins who want to quickly reset their plugin code to the last local commit.
  • Automation workflows that require ensuring the plugin is in a clean state before deployment or further modifications.

Example use case:

  • You have made experimental changes to a plugin but want to discard them and revert to the stable local version. Using this node operation, you can automate the reset process without manual intervention.

Properties

Name Meaning
Plugin ID The unique identifier of the plugin to operate on. Required to specify which plugin to reset.

Output

The node outputs the response from the Dataiku DSS API after performing the reset operation. The output is a JSON object representing the result of the reset action. Typically, this will confirm success or provide details if an error occurred.

If the operation involves downloading files (not applicable here), binary data would be returned, but for this reset operation, only JSON output is expected.

Dependencies

  • Requires a valid connection to a Dataiku DSS instance.
  • Requires an API key credential for authentication with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the API key or server URL is not provided, the node throws an error indicating missing credentials. Ensure the API key credential is properly set up.
  • Plugin ID Required: The operation requires a valid Plugin ID. Omitting this will cause an error.
  • API Errors: Any errors returned by the Dataiku DSS API (e.g., plugin not found, permission denied) will be surfaced as node errors with descriptive messages.
  • Network Issues: Connectivity problems to the Dataiku DSS server will cause request failures. Verify network access and server availability.

Links and References


This summary focuses on the "Plugin" resource and the "Reset to Local Head State" operation as requested, based on static analysis of the provided source code and property definitions.

Discussion