Dataiku · Arazzo Workflow

Dataiku Create Govern Blueprint and Version

Version 1.0.0

Create a governance blueprint, add a first version to it, and read the version back.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsArtificial IntelligenceData PlatformData ScienceMachine LearningArazzoWorkflows

Provider

dataiku

Workflows

create-govern-blueprint-version
Create a blueprint, add a version, and confirm the version.
Creates a governance blueprint, creates a version under it, and gets the version to confirm its status.
3 steps inputs: apiKey, description, icon, name outputs: blueprintId, status, versionId
1
createBlueprint
createBlueprint
Create a new governance blueprint.
2
createVersion
createBlueprintVersion
Create a first version under the newly created blueprint.
3
confirmVersion
getBlueprintVersion
Read the blueprint version back to confirm its status.

Source API Descriptions

Arazzo Workflow Specification

dataiku-create-govern-blueprint-version-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Dataiku Create Govern Blueprint and Version
  summary: Create a governance blueprint, add a first version to it, and read the version back.
  description: >-
    Stands up a new governance blueprint in Dataiku Govern. The workflow creates
    a blueprint from a name and description, creates a first version under that
    blueprint, and reads the version back to confirm its status. Every step
    inlines its request so the flow can be executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: dssGovernApi
  url: ../openapi/dataiku-govern-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-govern-blueprint-version
  summary: Create a blueprint, add a version, and confirm the version.
  description: >-
    Creates a governance blueprint, creates a version under it, and gets the
    version to confirm its status.
  inputs:
    type: object
    required:
    - apiKey
    - name
    properties:
      apiKey:
        type: string
        description: Govern API key passed as a Bearer token in the Authorization header.
      name:
        type: string
        description: Display name for the new blueprint.
      description:
        type: string
        description: Description of the blueprint.
      icon:
        type: string
        description: Icon identifier for the blueprint.
  steps:
  - stepId: createBlueprint
    description: Create a new governance blueprint.
    operationId: createBlueprint
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        description: $inputs.description
        icon: $inputs.icon
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      blueprintId: $response.body#/id
  - stepId: createVersion
    description: Create a first version under the newly created blueprint.
    operationId: createBlueprintVersion
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    - name: blueprintId
      in: path
      value: $steps.createBlueprint.outputs.blueprintId
    requestBody:
      contentType: application/json
      payload: {}
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      versionId: $response.body#/id
  - stepId: confirmVersion
    description: Read the blueprint version back to confirm its status.
    operationId: getBlueprintVersion
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    - name: blueprintId
      in: path
      value: $steps.createBlueprint.outputs.blueprintId
    - name: versionId
      in: path
      value: $steps.createVersion.outputs.versionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
      versionNumber: $response.body#/versionNumber
  outputs:
    blueprintId: $steps.createBlueprint.outputs.blueprintId
    versionId: $steps.createVersion.outputs.versionId
    status: $steps.confirmVersion.outputs.status