This module demonstrates how to ingest communities, domains, assets, relations, etc from CSV, Excel and JSON files into your Collibra environment.
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.
- 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
.
This repository is part of the Collibra Developer Toolkit. By using or accessing the Developer Toolkit, you agree to the Collibra Developer Terms.