User Community Service Desk Downloads
If you can't find the product or version you're looking for, visit support.ataccama.com/downloads

Collibra Integration

This guide provides examples of how to set up ONE Desktop integration with Collibra and how you can use the Collibra Reader and Collibra Writer steps in ONE Desktop to read DQ Rules from Collibra or import them back to Collibra respectively.

Prerequisites

  • You have a running instance of Collibra, with valid credentials for logging in and reading and writing assets.

Create a server connection to Collibra

To set up a connection to Collibra via ONE Desktop:

  1. Launch ONE Desktop.

  2. Right-click Servers and select New > Server.

    Create new server
  3. Fill in the following information:

    • Implementation: Generic.

    • Name: Name of the connection.

    • URL: URL of your Collibra instance.

    • Authentication: Basic.

    • Username: Username used to connect to Collibra.

    • Password: Password used to connect to Collibra.

      Configure Collibra properties
  4. Select Finish.

Read data quality rules from Collibra

To extract DQ rule definitions from Collibra into a text file:

  1. Create a project in ONE Desktop to store your work. Right-click DQ Projects and select New > Project.

    Create new project
  2. Name your project and select Finish.

    Configure Collibra project
  3. Right-click the newly created project directory and select New > Plan.

    Create new plan
  4. Give the plan a name and select Finish. This opens the plan canvas where you can implement the solution.

    Configure plan
  5. Right-click the canvas and select Insert Step (or press Ctrl+I).

  6. Select Collibra Reader and then OK. Click the canvas to place the step.

  7. Double-click the step to configure. On the General tab, provide the following:

    • URL Resource: The newly created Collibra server.

    • Community Name: The Collibra community from where you would like to read (found in Collibra).

    • Domain Name: The domain within the community (found in Collibra).

    • Asset Type: The type of asset you would like to read (found in Collibra).

      Collibra Reader - General properties
      Collibra Reader - Main properties
  8. Now you need to configure which columns from Collibra data quality rules you want to read. On the Columns tab, first map the following default columns:

    • Asset Id Column: The unique identifier of the rule.

    • Asset Name Column: The name of the DQ rule.

    • Asset Type Column: The asset type. In this case, it is Data Quality Rules.

    • Domain Id Column: The unique identifier of the domain.

      Collibra Reader - Columns
  9. Import the value of the Description field in Collibra by creating a new column.

    Import column description
  10. Once configured, select Apply and OK to save.

  11. Now that you have configured the Collibra Reader step, you can output the result to a file using the Text File Writer step. Insert the step to the canvas and double-click it to configure.

    Insert Text File Writer
  12. Specify the name of the output file with a .txt extension and select OK.

    Configure Text File Writer
  13. Connect the Collibra Reader and Text File Writer steps.

    Connect Collibra Reader and Text File Writer
  14. Right-click anywhere on the canvas and select Run.

    Run plan
  15. After execution, hold the Ctrl key and double-click the Text File Writer step to view the result.

    View run results

Write data quality rules to Collibra

To create a new rule definition from scratch and write back to Collibra using the Collibra Writer step:

  1. Right-click the required directory (in this example, we will use the same directory as in the previous step) and select New > Plan.

    Create new plan
  2. Give the plan a name and select Finish. This opens the plan canvas where you can implement the solution.

    Configure plan
  3. Insert a Random Record Generator step.

    Insert Random Record Generator

    *

  4. Double-click the Random Generator step to open it and on the General tab, set Record Count to 1.

    Configure Random Record Generator
  5. On the Columns tab, select Add to open the Select Implementation dialog and then select Expression.

    Random Record Generator - Implementation
  6. Fill in the fields as follows:

    • Name: RuleName.

    • Type: String.

    • Expression: "Ataccama Test Rule".

      Rule name expression
  7. Add another column as described in step 5 and fill in the fields as follows:

    • Name: RuleDescription.

    • Type: String.

    • Expression: “This is a test to prove that Ataccama can write data back to Collibra”.

      Rule description expression
  8. Insert a Collibra Writer step.

    Insert Collibra Writer
  9. Open the Collibra Writer step configuration and set up the Url Resource as the name of the server created earlier in this guide.

    Configure Collibra Writer - General
  10. On the Assets tab, create a new configuration as follows:

    • Asset Name Column: The name of the column created in step 6.

    • Asset Type Name: The asset type as it corresponds to the asset type in Collibra.

    • Community Name: The name of the community in Collibra you want to write to.

    • Domain Name: The community domain in Collibra you want to write to.

    • Status Column: The name you would like to use for the status column.

      Configure Collibra Writer - Assets
  11. Write the value of the Description field to Collibra in Asset Writer Columns, using the column name created in step 7.

    Configure Asset Writer Columns
  12. Connect the Collibra Writer and Random Record Generator steps.

    Connect steps
  13. Right-click anywhere on the canvas and select Run.

  14. After running the plan successfully, you can verify that the rule is created in Collibra.

    Rule created in Collibra

Was this page useful?