Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

The "Create Deployment" operation of the Dataiku DSS node allows users to create a new deployment in the Dataiku Project Deployer service via its API. This node interacts with the Dataiku DSS API to manage deployments, enabling automation and integration within workflows.

Typical use cases include:

  • Automating the deployment of Dataiku projects to different environments.
  • Integrating deployment creation into CI/CD pipelines.
  • Managing project lifecycle by programmatically creating deployments as part of data workflows.

For example, a user can configure this node to create a deployment for a specific project key with custom deployment settings provided in JSON format, facilitating automated release processes.

Properties

Name Meaning
Request Body A JSON object containing the details and configuration for the deployment to be created.

Note: The "Request Body" property is used to specify the payload sent to the API when creating the deployment. It should conform to the expected schema of the Dataiku Project Deployer API for deployment creation.

Output

The node outputs the response from the Dataiku DSS API after attempting to create the deployment. The output is structured as JSON and typically contains information about the newly created deployment, such as deployment ID, status, and other metadata returned by the API.

If the API returns binary data (not typical for deployment creation), 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.
  • Requires valid API credentials: specifically, an API key credential for authenticating requests to the Dataiku DSS API.
  • The node uses HTTP requests to communicate with the Dataiku DSS server; thus, network access to the server is necessary.
  • No additional external services or environment variables are required beyond the API credentials.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not set or invalid, the node will throw an error indicating missing Dataiku DSS API credentials. Ensure that the API key credential is configured correctly in n8n.
  • Required Parameters Missing: The node validates required parameters such as the deployment ID or project key depending on the operation. For "Create Deployment," ensure the request body is properly formed and includes all mandatory fields.
  • API Errors: If the Dataiku DSS API returns an error (e.g., due to invalid JSON, insufficient permissions, or server issues), the node will throw an error with the message from the API. Review the error message and stack trace for troubleshooting.
  • Network Issues: Connectivity problems to the Dataiku DSS server will cause request failures. Verify network connectivity and server availability.

Links and References


This summary focuses on the "Create Deployment" operation of the "Project Deployer" resource based on the provided source code and input properties.

Discussion