Overview possible scenarios
When you are defining an integration flow to import data from a different application in Collibra DGC, there are a few scenarios that the integration has to support. Below is a list of the most common and important scenarios.
Scenario | Description | Solution |
---|---|---|
Only import the delta |
You do not typically want to import the entire external system every time you run the integration. You only want to import the assets from the external system that are new or have changed since the last time the integration was running. This is mainly for performance reasons. |
To accomplish this, you have to:
|
Move asset in Collibra DGC | When you have imported an external entity into Collibra DGC with the integration flow, you usually want to move that asset to a different community or domain. Other systems typically don't have the same concept of communities or domains, as they are not governance solutions. When you have moved an asset in Collibra DGC to a different community or domain, you do not want the asset to be created again the next time you run the integration flow. The integration flow has to be smart enough to recognize that the asset already exists in Collibra DGC, but that it's in a different location. |
To accomplish this, you have to:
|
Update asset in external system | When an entity is updated in the external system, you want the changes to be reflected in the asset in Collibra DGC. You do not want to create a completely new asset in Collibra DGC, because you might have added other attributes or relations to the asset that you do not want to lose. |
To accomplish this, you have to:
|
Recreate asset in Collibra DGC | When an imported asset in Collibra DGC is deleted by accident, you typically want it to be re-created the next time the integration flow is run. |
To accomplish this, you have to:
|
Delete asset in external system | When entity is deleted in the external system you usually also want to delete the corresponding asset in Collibra DGC. Other approaches could be to change the status of the asset in Collibra DGC to Deleted or Deprecated for example. |
To accomplish this, you have multiple options: Sometimes external systems provide easy ways to retrieve entities that were removed since given point in time. If this is the case you can:
If external system doesn't provide information about entities that were removed then you can:
|
When using the upsert assets operation, you do not have to look manually for corresponding assets in Collibra DGC through mapping because it is done automatically. You only have to provide the unique identifier of the entity in the external system (here you can find more information about that).
The operation also takes care of recreating assets that have been removed from Collibra DGC and of checking if an asset already exists and creating or updating it accordingly. This way, you are free to move assets to different domains in Collibra DGC, as described in the Move asset in Collibra DGC scenario.