Names and unique names in workflows
In Collibra Data Intelligence Cloud version 5.4 or newer, there is a significant API change with regards to asset names. From this version onwards, assets have names and unique full names, respectively referred to as displayName and name in the API . In older versions, you only had name to refer to the asset name.
|
Action via API |
Behavior |
|---|---|
| Add asset |
When you add an asset via an API call, you can enter a
If you don't use the |
| Update asset |
The same arguments, The update will not overwrite the |
Example
The following example shows how you can change the asset name in Collibra Data Intelligence Cloud 5.3 or older and 5.4 or newer, both using API v2.
- It is no longer recommended to use API v1.
- After an upgrade to 5.4 or newer, verify workflows that affect asset names, with the new APIs.
|
5.3 or older |
5.4 or newer |
|---|---|
assetApi.changeAsset(builders.get("ChangeAssetRequest")
.id(UUID assetUUID)
.name(String newAssetName)
.build())
|
assetApi.changeAsset(builders.get("ChangeAssetRequest")
.id(UUID assetUUID)
.name(String newAssetFullName)
.displayName(String newAssetDisplayName)
.build())
|