Configure the Collibra Connector

Synchronize Collibra assets with DataGalaxy Portfolio by configuring authentication, polling, asset types, and field mappings.

9 min read

A Collibra integration can be configured, in order to sync Collibra assets with DataGalaxy Portfolio instances.

It is possible to do so via Admin settings > Integration.

Set Up DataGalaxy Portfolio

  1. In Admin settings > Integration, create a new Integration and give it a name, for example “Collibra integration”.
  1. Generate an API Token and copy the value. Unless there is a very specific need, the Collibra connector token must be chosen preferentially with no expiration date.
    The token will never be accessible again, so copy the value in a secure place.
  1. Give DataGalaxy Portfolio the API token and the link to the configured connector.
  1. DataGalaxy Portfolio needs to re-deploy your app with this information and add a feature-flag.
  1. Create or have these concepts on DataGalaxy Portfolio:
    1. (mandatory) A concept representing the Collibra instance you want to map, which must have an External key field.

Understand Synchronization Behavior

Create Instances

Collibra → DataGalaxy Portfolio

Trigger: Every X minutes (see polling).

Actions: Creates the DataGalaxy Portfolio instance based on mapping and populates the fields mapped in the connector configuration.

DataGalaxy Portfolio → Collibra

Creation is not supported.

Update Instances

Collibra → DataGalaxy Portfolio

Trigger: Every X minutes (see polling).

Actions: Updates the DataGalaxy Portfolio instance based on mapping and populates the fields mapped in the connector configuration.

DataGalaxy Portfolio → Collibra

Update is not supported.

Delete Instances

Collibra → DataGalaxy Portfolio

Behavior

Nothing happens; the instance will no longer be synchronized.

DataGalaxy Portfolio → Collibra

Nothing happens; the instance will no longer be synchronized.

Review Connector Restarts

The connector restarts when the DataGalaxy Portfolio app restarts or the JSON configuration is changed.

On connector restart, we re-fetch all Collibra instances that are in mapped projects.

Configure the Connector

Create the JSON Configuration

You need to create a JSON as below; more information on the JSON structure is available below:

{
  "url": "https://{instance}.collibra.com",
  "auth": { see Authentication },
  "polling": {
     "cron": "0 23 * * *", // Synchronization done every day at 23:00 
     "timezone": "Europe/Paris"  
  },
  "autoCreateUsers": true | false,
  "assetTypes": [ see Asset type ]
}

Choose an Authentication Method

DataGalaxy Portfolio supports two kinds of authentication:

"auth": {
  "type": "Basic",
  "user": "user",
  "token": "password"
}
"auth": {
  "type": "OAuth",
  "user": "user",
  "token": "token"
}

Configure Polling

The polling configuration takes two options:

  • cron: A cron-like string that defines when polling is done.
    • Use a website like crontab.guru to help create the configuration.
  • timezone (optional):
    • If not specified, UTC will be used by default.
    • Valid timezones are:
Valid timezone
Timezone
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
Africa/Blantyre
Africa/Brazzaville
Africa/Bujumbura
Africa/Cairo
Africa/Casablanca
Africa/Ceuta
Africa/Conakry
Africa/Dakar
Africa/Dar_es_Salaam
Africa/Djibouti
Africa/Douala
Africa/El_Aaiun
Africa/Freetown
Africa/Gaborone
Africa/Harare
Africa/Johannesburg
Africa/Juba
Africa/Kampala
Africa/Khartoum
Africa/Kigali
Africa/Kinshasa
Africa/Lagos
Africa/Libreville
Africa/Lome
Africa/Luanda
Africa/Lubumbashi
Africa/Lusaka
Africa/Malabo
Africa/Maputo
Africa/Maseru
Africa/Mbabane
Africa/Mogadishu
Africa/Monrovia
Africa/Nairobi
Africa/Ndjamena
Africa/Niamey
Africa/Nouakchott
Africa/Ouagadougou
Africa/Porto-Novo
Africa/Sao_Tome
Africa/Tripoli
Africa/Tunis
Africa/Windhoek
America/Adak
America/Anchorage
America/Anguilla
America/Antigua
America/Araguaina
America/Argentina/Buenos_Aires
America/Argentina/Catamarca
America/Argentina/Cordoba
America/Argentina/Jujuy
America/Argentina/La_Rioja
America/Argentina/Mendoza
America/Argentina/Rio_Gallegos
America/Argentina/Salta
America/Argentina/San_Juan
America/Argentina/San_Luis
America/Argentina/Tucuman
America/Argentina/Ushuaia
America/Aruba
America/Asuncion
America/Atikokan
America/Bahia
America/Bahia_Banderas
America/Barbados
America/Belem
America/Belize
America/Blanc-Sablon
America/Boa_Vista
America/Bogota
America/Boise
America/Cambridge_Bay
America/Campo_Grande
America/Cancun
America/Caracas
America/Cayenne
America/Cayman
America/Chicago
America/Chihuahua
America/Costa_Rica
America/Creston
America/Cuiaba
America/Curacao
America/Danmarkshavn
America/Dawson
America/Dawson_Creek
America/Denver
America/Detroit
America/Dominica
America/Edmonton
America/Eirunepe
America/El_Salvador
America/Fort_Nelson
America/Fortaleza
America/Glace_Bay
America/Godthab
America/Goose_Bay
America/Grand_Turk
America/Grenada
America/Guadeloupe
America/Guatemala
America/Guayaquil
America/Guyana
America/Halifax
America/Havana
America/Hermosillo
America/Indiana/Indianapolis
America/Indiana/Knox
America/Indiana/Marengo
America/Indiana/Petersburg
America/Indiana/Tell_City
America/Indiana/Vevay
America/Indiana/Vincennes
America/Indiana/Winamac
America/Inuvik
America/Iqaluit
America/Jamaica
America/Juneau
America/Kentucky/Louisville
America/Kentucky/Monticello
America/Kralendijk
America/La_Paz
America/Lima
America/Los_Angeles
America/Lower_Princes
America/Maceio
America/Managua
America/Manaus
America/Marigot
America/Martinique
America/Matamoros
America/Mazatlan
America/Menominee
America/Merida
America/Metlakatla
America/Mexico_City
America/Miquelon
America/Moncton
America/Monterrey
America/Montevideo
America/Montserrat
America/Nassau
America/New_York
America/Nipigon
America/Nome
America/Noronha
America/North_Dakota/Beulah
America/North_Dakota/Center
America/North_Dakota/New_Salem
America/Ojinaga
America/Panama
America/Pangnirtung
America/Paramaribo
America/Phoenix
America/Port_of_Spain
America/Port-au-Prince
America/Porto_Velho
America/Puerto_Rico
America/Punta_Arenas
America/Rainy_River
America/Rankin_Inlet
America/Recife
America/Regina
America/Resolute
America/Rio_Branco
America/Santarem
America/Santiago
America/Santo_Domingo
America/Sao_Paulo
America/Scoresbysund
America/Sitka
America/St_Barthelemy
America/St_Johns
America/St_Kitts
America/St_Lucia
America/St_Thomas
America/St_Vincent
America/Swift_Current
America/Tegucigalpa
America/Thule
America/Thunder_Bay
America/Tijuana
America/Toronto
America/Tortola
America/Vancouver
America/Whitehorse
America/Winnipeg
America/Yakutat
America/Yellowknife
Antarctica/Casey
Antarctica/Davis
Antarctica/DumontDUrville
Antarctica/Macquarie
Antarctica/Mawson
Antarctica/McMurdo
Antarctica/Palmer
Antarctica/Rothera
Antarctica/Syowa
Antarctica/Troll
Antarctica/Vostok
Arctic/Longyearbyen
Asia/Aden
Asia/Almaty
Asia/Amman
Asia/Anadyr
Asia/Aqtau
Asia/Aqtobe
Asia/Ashgabat
Asia/Atyrau
Asia/Baghdad
Asia/Bahrain
Asia/Baku
Asia/Bangkok
Asia/Barnaul
Asia/Beirut
Asia/Bishkek
Asia/Brunei
Asia/Chita
Asia/Choibalsan
Asia/Colombo
Asia/Damascus
Asia/Dhaka
Asia/Dili
Asia/Dubai
Asia/Dushanbe
Asia/Famagusta
Asia/Gaza
Asia/Hebron
Asia/Ho_Chi_Minh
Asia/Hong_Kong
Asia/Hovd
Asia/Irkutsk
Asia/Jakarta
Asia/Jayapura
Asia/Jerusalem
Asia/Kabul
Asia/Kamchatka
Asia/Karachi
Asia/Kathmandu
Asia/Khandyga
Asia/Kolkata
Asia/Krasnoyarsk
Asia/Kuala_Lumpur
Asia/Kuching
Asia/Kuwait
Asia/Macau
Asia/Magadan
Asia/Makassar
Asia/Manila
Asia/Muscat
Asia/Nicosia
Asia/Novokuznetsk
Asia/Novosibirsk
Asia/Omsk
Asia/Oral
Asia/Phnom_Penh
Asia/Pontianak
Asia/Pyongyang
Asia/Qatar
Asia/Qostanay
Asia/Qyzylorda
Asia/Riyadh
Asia/Sakhalin
Asia/Samarkand
Asia/Seoul
Asia/Shanghai
Asia/Singapore
Asia/Srednekolymsk
Asia/Taipei
Asia/Tashkent
Asia/Tbilisi
Asia/Tehran
Asia/Thimphu
Asia/Tokyo
Asia/Tomsk
Asia/Ulaanbaatar
Asia/Urumqi
Asia/Ust-Nera
Asia/Vientiane
Asia/Vladivostok
Asia/Yakutsk
Asia/Yangon
Asia/Yekaterinburg
Asia/Yerevan
Atlantic/Azores
Atlantic/Bermuda
Atlantic/Canary
Atlantic/Cape_Verde
Atlantic/Faroe
Atlantic/Madeira
Atlantic/Reykjavik
Atlantic/South_Georgia
Atlantic/St_Helena
Atlantic/Stanley
Australia/Adelaide
Australia/Brisbane
Australia/Broken_Hill
Australia/Currie
Australia/Darwin
Australia/Eucla
Australia/Hobart
Australia/Lindeman
Australia/Lord_Howe
Australia/Melbourne
Australia/Perth
Australia/Sydney
Europe/Amsterdam
Europe/Andorra
Europe/Astrakhan
Europe/Athens
Europe/Belgrade
Europe/Berlin
Europe/Bratislava
Europe/Brussels
Europe/Bucharest
Europe/Budapest
Europe/Chisinau
Europe/Copenhagen
Europe/Dublin
Europe/Gibraltar
Europe/Guernsey
Europe/Helsinki
Europe/Isle_of_Man
Europe/Istanbul
Europe/Jersey
Europe/Kaliningrad
Europe/Kiev
Europe/Kirov
Europe/Lisbon
Europe/Ljubljana
Europe/London
Europe/Luxembourg
Europe/Madrid
Europe/Malta
Europe/Mariehamn
Europe/Minsk
Europe/Monaco
Europe/Moscow
Europe/Oslo
Europe/Paris
Europe/Podgorica
Europe/Prague
Europe/Riga
Europe/Rome
Europe/Samara
Europe/San_Marino
Europe/Sarajevo
Europe/Saratov
Europe/Simferopol
Europe/Skopje
Europe/Sofia
Europe/Stockholm
Europe/Tallinn
Europe/Tirane
Europe/Ulyanovsk
Europe/Uzhgorod
Europe/Vaduz
Europe/Vatican
Europe/Vienna
Europe/Vilnius
Europe/Volgograd
Europe/Warsaw
Europe/Zagreb
Europe/Zaporozhye
Europe/Zurich
Indian/Antananarivo
Indian/Chagos
Indian/Christmas
Indian/Cocos
Indian/Comoro
Indian/Kerguelen
Indian/Mahe
Indian/Maldives
Indian/Mauritius
Indian/Mayotte
Indian/Reunion
Pacific/Apia
Pacific/Auckland
Pacific/Bougainville
Pacific/Chatham
Pacific/Chuuk
Pacific/Easter
Pacific/Efate
Pacific/Enderbury
Pacific/Fakaofo
Pacific/Fiji
Pacific/Funafuti
Pacific/Galapagos
Pacific/Gambier
Pacific/Guadalcanal
Pacific/Guam
Pacific/Honolulu
Pacific/Kiritimati
Pacific/Kosrae
Pacific/Kwajalein
Pacific/Majuro
Pacific/Marquesas
Pacific/Midway
Pacific/Nauru
Pacific/Niue
Pacific/Norfolk
Pacific/Noumea
Pacific/Pago_Pago
Pacific/Palau
Pacific/Pitcairn
Pacific/Pohnpei
Pacific/Port_Moresby
Pacific/Rarotonga
Pacific/Saipan
Pacific/Tahiti
Pacific/Tarawa
Pacific/Tongatapu
Pacific/Wake
Pacific/Wallis

Create Users Automatically

By default, users are not auto-created in the platform.

Set the autoCreateUsers option to true to import all users from Collibra upon startup.

Configure Asset Types

Asset types define a list of the Collibra asset types you want to sync with DataGalaxy Portfolio.

Each entry will be used to provide a mapping in the connector configuration interface.

An entry of the asset types array is as follows:

 {
   "id": "collibraAssetTypeId",
   "includeInherited": true | false,
   "syncMode": "automatic|manual",
   "roleIds": ["roleId1", "roleId2"] | undefined,
 }

Configure Inherited Asset Types

includeInherited defines whether the connector should also include asset types that extend (inherit from) the specified type.

For example, suppose you have an asset type called Asset in Collibra, with subtypes such as Asset: Domain Asset and Asset: Data Product, which inherit from Asset.

If you set id to the ID of Asset and:

  • includeInherited to false, the connector will only map and synchronize instances of the Asset type itself.
  • includeInherited to true, the connector will map and synchronize instances of the Asset and all its subtypes, in this example, Asset, Asset: Domain Asset, and Asset: Data Product.
All AssetTypes share the same mapping and will appear under only one Integration object on the connector and will be mapped under the same concept on DataGalaxy Portfolio. As a result, there is no way to distinguish between an instance Asset: Domain Asset and an instance Asset: Data Product in DataGalaxy Portfolio if the mapping is configured this way.

Choose a Synchronization Mode

syncMode defines whether the connector should automatically pull all instances from Collibra or rely on manual mapping using the external key.

  • If set to automatic, all instances of the specified type will be retrieved and synchronized from Collibra.
  • If set to manual, no instances will be retrieved automatically. Instead, instances must first be created in DataGalaxy Portfolio and have their external field populated with the corresponding Collibra key in order to be synchronized.

Synchronize Roles

roleIds is an array defining which roles the connector should synchronize for each asset type. For each id in it, it will create an Association field mapping with the role name, and use it to synchronize users for the related role.

Map Collibra Assets

Map Fields

Fields that can be mapped for Collibra instances are all available in this section. Those types of fields are available for mapping:

  • Text
  • Number
  • Boolean
  • Workflow
  • Association many to one (n-1) (relation):
    • Only association fields whose target AssetTypes are declared in the connector are shown for mapping. For example, if an association links AssetType A and AssetType B, but only AssetType A is declared in the connector, the association field will not be available for mapping.
    • Association in Collibra can target a parent AssetType that can have subtypes. A field per AssetType and explicitly declared subtypes of the association will be shown for mapping.
  • Enumeration (string value list):
    • Values should be mapped; they are named Enumeration: [Name of the field] on the connector
  • External key

Mandatory fields are:

  • External key. It is thanks to this key that the connector knows which DataGalaxy Portfolio instance is mapped to which Collibra issue.
The External Key, filled by the connector, should not be modified on mapped instances. To prevent any mistakes, it might be a good idea to make the External Key field only updated by integration.

Map Status

An integration object Status is automatically added to the mapping section. Instances that are mapped provide the value for the workflow field Status in Collibra, which can then be linked to a corresponding field in DataGalaxy Portfolio.

Map Synchronization Status

An integration object Sync status is also automatically added to the mapping section. It does not correspond to a Collibra object but can be mapped to represent the synchronization status of the instance:

  • Synced: The last synchronization of the instance was successful.
  • Failed: The last synchronization of the instance failed.

If needed, for each mapped concept, a field Sync workflow is available to represent this synchronization status.

Read more

Related articles

Was this page helpful?