Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 2.13 KB

File metadata and controls

41 lines (30 loc) · 2.13 KB

Input File Examples

This module demonstrates how to ingest communities, domains, assets, relations, etc from CSV, Excel and JSON files into your Collibra environment.

Table of contents

  1. Project Structure
  2. Project Configuration
  3. Test
  4. Collibra developer terms
  5. Additional resources

Project Structure

This module has the following classes and resources:

  • DataImporter class that has utility methods to import CSV, Excel and JSON files. This class invokes the generated Importer API client methods. This class also has a submit method that takes an internal model object 'AssetImportCommand' as an argument to demonstrate how we could leverage the model objects generated by the OpenAPI generator and import assets.
  • DataImporterTest class that reads files from sub-folders in resources directory and tests the data import. This class also tests importing assets using model object 'AssetImportCommand'.
  • A series of import example files that has all example files to help you get started with the Collibra Import API.

Tests

  • Verify the environment variables are configured as per the Project Configuration.
  • To run an import using files in the example folder execute the DataImporterTest test.
  • To run all the tests, invoke gradle test.

Collibra developer terms

This repository is part of the Collibra Developer Toolkit. By using or accessing the Developer Toolkit, you agree to the Collibra Developer Terms.

Additional resources