Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node interacts with the Dataiku DSS API to perform various operations related to project deployment infrastructure management, among many other resources. Specifically for the Project Deployer resource and the Delete Infra operation, it deletes an automation infrastructure (infra) on the deployer by making an authenticated HTTP DELETE request to the appropriate API endpoint.

Common scenarios where this node is beneficial include automating the lifecycle management of Dataiku projects, deployments, bundles, and infrastructures within a CI/CD pipeline or orchestration workflow. For example, you can automate deleting an obsolete or decommissioned infrastructure setup in your deployment environment directly from n8n.

Practical example:

  • You have automated deployment pipelines that create and tear down cloud infrastructures for Dataiku projects. This node can be used to delete a specific infra by its ID when it is no longer needed, helping maintain a clean and cost-effective environment.

Properties

Name Meaning
Infra ID The unique identifier of the automation infrastructure to delete on the project deployer.

Note: The provided property "Infra ID" is required for the Delete Infra operation under the Project Deployer resource.

Output

The node outputs the response from the Dataiku DSS API call in JSON format under the json field. The output typically contains the result of the delete operation, which may be an empty object or confirmation message depending on the API's response.

If the API returns binary data (not typical for delete operations), it would be available in the binary field, but for Delete Infra, the output is expected to be JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key credential) for authentication with the Dataiku DSS API.
  • The node expects the base URL of the DSS server and the 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 and linked to the node.
  • Required Parameter Missing: Errors like "Infra ID is required" indicate that the necessary input parameter was not provided. Make sure to supply the Infra ID when using the Delete Infra operation.
  • HTTP Errors: If the API call fails, check the network connectivity to the DSS server, verify the API key permissions, and confirm that the Infra ID exists and is correct.
  • Unexpected Response Format: If the node cannot parse the response, verify that the DSS API version is compatible and that the endpoint behaves as expected.

Links and References


This summary focuses on the Project Deployer resource and the Delete Infra operation as requested, based on static analysis of the provided source code and properties.

Discussion