Collibra Data Governance Center Connector. This version is compatible with Data Governance Center 5.1.x and above and not compatible with Data Governance Center 5.0.x and below. This connector is using both: versions (version 1 and version 2) of the public REST API to perform communication with selected DGC instance. Define a java system property 'com.collibra.dgc.rest.client.debug=true' to see the exact calls that are made with each call. The connector makes use of the ConnectionStrategy to 'login' and store the open session. Re-using the open session is carried out automatically and no longer requires the 'login' method to be called before the beginning of a flow. For backwards compatibility, each method still accepts a 'sessionId' argument. If the arugment's value provided is equal to the one that is in the connectionStrategy or null, the ConnectionStrategy class returns the client instance. Otherwise, it throws an IllegalArgumentException.
Additional Info
Requires Mule Enterprise License |
No |
Requires Entitlement |
No |
Mule Version |
3.5.0 or higher |
Configs
Connection Managament type strategy
<collibra-dgc:config>
Connection Management
Defines parameters of the connection. Clicking "Test Connection..." will perform login (1.0/user/login), version check (1.0/application/version) and logout (1.0/user/logout).
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
name |
The name of this configuration. With this name can be later referenced. |
x |
||
username |
A username |
x |
||
password |
A password |
x |
||
baseApplicationUrl |
Base url of Collibra DGC application. Example: http://localhost:8080/dgc. |
|
||
proxyHostName |
The property defines a host of a HTTP proxy the connector should use. Example proxyname.collibra.com. |
|
||
proxyPort |
The property defines a port of a HTTP proxy the connector should use. |
|
||
proxyUsername |
The property defines a user name which will be used for HTTP proxy authentication. The property is ignored if no HTTP proxyHostName has been set. |
|
||
proxyPassword |
The property defines a user password which will be used for HTTP proxy authentication. The property is ignored if no HTTP proxyHostName has been set. |
|
||
overridePUTAndDELETEWithPOST |
If set to true - all PUT and DELETE HTTP methods to be replaced by POST. |
false |
|
|
maxRetry |
Number of retry attempts for retryable exceptions |
0 |
|
|
bypassSSLValidation |
Bypass SSL Validation |
false |
|
Processors
Login
<collibra-dgc:login>
Performs login (2.0/auth/sessions) to start a new session and retrieve JSESSIONID cookie. Cookie is automatically set to #[sessionVars.dgcSessionId] for backwards compatibility. Additionally if CSRF token is enabled in DGC this operation will store the retrieved CSRF token in #[sessionVars.dgcCsrfToken] variable. Because all operations by default check this property it will be automatically propagated and passed to the subsequent operations using this session variable.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Logout
<collibra-dgc:logout>
Performs logout (2.0/auth/sessions/current) to end the session.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add community
<collibra-dgc:add-community>
Adds the community
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addCommunityRequest |
- object of type AddCommunityRequest describing the Community. |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get community
<collibra-dgc:get-community>
Gets the Community by ID
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
communityId |
- the id of the Community |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get community by name
<collibra-dgc:get-community-by-name>
Gets the Community by name
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
communityName |
- the name of the Community |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change community
<collibra-dgc:change-community>
Changes the specific Community
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeCommunityRequest |
- object of type ChangeCommunityRequest describing the Community. |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove community
<collibra-dgc:remove-community>
Removes the Community
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
communityId |
- the id of the Community |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add domain
<collibra-dgc:add-domain>
Adds the new Domain
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addDomainRequest |
- object of type AddDomainRequest describing the Domain. |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get domain
<collibra-dgc:get-domain>
Gets the Domain by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
domainId |
- the id of the Domain |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get domain by name
<collibra-dgc:get-domain-by-name>
Gets the Domain by name from specific Community
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
communityId |
- the id of the Community that owns the Domain |
x |
||
domainName |
- the name of the Domain |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change domain
<collibra-dgc:change-domain>
Change the specific Domain
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeDomainRequest |
- object of type ChangeDomainRequest describing the Domain. |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove domain
<collibra-dgc:remove-domain>
Removes the specific Domain
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
domainId |
- the id of the Domain |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove domains
<collibra-dgc:remove-domains>
Removes Domains
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
domainIds |
- Ids of domains to be removed |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
List assets
<collibra-dgc:list-assets>
Paged Operation
Returns the list of the Assets from specific Domain
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
domainId |
- the id of the Domain |
x |
||
pagingConfiguration |
PagingConfiguration |
- the query pagination configuration |
x |
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
ProviderAwarePagingDelegate<Asset,CollibraDGCConnector> |
the list of the Assets |
List Assets By Asset Type, and Last Modified Date
<collibra-dgc:list-assets-by-asset-type-and-last-modified-date>
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetType |
- The asset Type |
x |
||
lastModifiedDate |
long |
- The last Modified date |
x |
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- The csrfToken |
#[sessionVars.dgcCsrfToken] |
|
Add asset
<collibra-dgc:add-asset>
Adds the Asset
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addAssetRequest |
- object of type AddAssetRequest describing the Asset |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get asset
<collibra-dgc:get-asset>
Gets the Asset by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetId |
- the id of the Asset |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get asset by external entity id
<collibra-dgc:get-asset-by-external-id>
Get asset by external entity ID.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
externalId |
- the ID of an external entity (entity from another system) that was created for an Asset in DGC. |
x |
||
externalSystemId |
- the id of the external system |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get asset by name
<collibra-dgc:get-asset-by-name>
Gets the asset by name from specific Domain
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
domainId |
- the id of the Domain that owns the Asset |
x |
||
assetName |
- the name of the Asset |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change asset
<collibra-dgc:change-asset>
Changes the specific Asset
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeAssetRequest |
- the object of type ChangeAssetRequest describing the Asset |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove asset
<collibra-dgc:remove-asset>
Removes the specific Asset
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetId |
- the id of the Asset |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove assets
<collibra-dgc:remove-assets>
Removes Assets
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetIds |
- Ids of assets to be removed |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add user
<collibra-dgc:add-user>
Adds user
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addRequest |
- object of type AddUserRequest describing the user to be added. |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get user
<collibra-dgc:get-user>
Gets the user by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
userId |
- the id of the User |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change user
<collibra-dgc:change-user>
Changes the specific User NOTE: changing userName is no longer supported. (API V2 limitation)
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeUserRequest |
- the object of type ChangeUserRequest describing the User |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove user
<collibra-dgc:remove-user>
Removes the specific User Still using V1 of the API
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
userId |
- the id of the User |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add relation
<collibra-dgc:add-relation>
Adds the Relation between assets
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addRelationRequest |
- object of type AddRelationRequest describing the Relation |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get relation
<collibra-dgc:get-relation>
Gets the Relation by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
relationId |
- the id of the Relation |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change relation
<collibra-dgc:change-relation>
Changes the Relation
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeRelationRequest |
- object of type ChangeRelationRequest describing the Relation |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove relation
<collibra-dgc:remove-relation>
Removes the Relation
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
relationId |
- the id of the Relation |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Find relations
<collibra-dgc:find-relations>
Paged Operation
Gets the Relations of desired type between selected assets
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
findRelationsRequest |
- object of type FindRelationsRequest describing the Relations |
#[payload] |
|
|
pagingConfiguration |
PagingConfiguration |
- the query pagination configuration |
x |
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
ProviderAwarePagingDelegate<Relation,CollibraDGCConnector> |
the relations list |
Add comment
<collibra-dgc:add-comment>
Adds a Comment into a resource
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addCommentRequest |
- object of type AddCommentRequest describing the comment |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add reply
<collibra-dgc:add-reply>
Post a reply to the Comment
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addReplyRequest |
- object of type AddReplyRequest describing the reply |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get comment
<collibra-dgc:get-comment>
Gets a Comment by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
commentId |
- the id of the Comment |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change comment
<collibra-dgc:change-comment>
Modifies the Comment
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeCommentRequest |
- object of type ChangeCommentRequest describing a comment |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove comment
<collibra-dgc:remove-comment>
Removes the Comment
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
commentId |
- the id of the Comment |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
List replies
<collibra-dgc:list-replies>
Gets list of replies for Comment
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
commentId |
- the id of the Comment |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
List comments
<collibra-dgc:list-comments>
Gets a list of comments for selected Resource
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
resourceId |
- the id of the Resource |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Simulate CSV Import
<collibra-dgc:simulate-import-c-s-v>
Simulates import for CSV file. Import simulation is triggered using POST /input/csv/simulate. Then the job status is checked for completeness (each second for jobs under 10 seconds and each 10 seconds for longer jobs). If import is unsuccessful then a exception is thrown with the message containing 'state' and the 'message' properties of the job that was returned by the server.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
csvFileId |
- the ID of CSV file uploaded to DGC, used to import |
#[payload] |
|
|
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
separator |
- the delimiter character used to separate entries |
, |
|
|
quote |
- the delimiter character used for quoted entries |
" |
|
|
escape |
- the delimiter character used to escape separator or quote character |
\ |
|
|
strictQuotes |
boolean |
- set the character outside quotes are ignored (true) or not (false) |
false |
|
ignoreLeadingWhiteSpace |
boolean |
- set if white space before quotes are ignored (true) or not (false) |
false |
|
headerRow |
boolean |
- set if the first row of the sheet is the header (true) or not (false) |
false |
|
sendNotification |
boolean |
- true to send notification, false otherwise |
false |
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Import CSV
<collibra-dgc:import-c-s-v>
Imports CSV file. Import is done in 3 steps. A file is uploaded using POST /file method. In next step an import is triggered using POST /input/csv. Then the job status is checked for completeness (each second for jobs under 10 seconds and each 10 seconds for longer jobs). If import is unsuccessful then a exception is thrown with the message containing 'state' and the 'message' properties of the job that was returned by the server.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
csvFile |
- the CSV file to import |
#[payload] |
|
|
csvFileId |
- the ID of CSV file uploaded to DGC, used to import |
|
||
csvFileName |
- the optional name of the file to be uploaded |
|
||
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
separator |
- the delimiter character used to separate entries |
, |
|
|
quote |
- the delimiter character used for quoted entries |
" |
|
|
escape |
- the delimiter character used to escape separator or quote character |
\ |
|
|
strictQuotes |
boolean |
- set the character outside quotes are ignored (true) or not (false) |
false |
|
ignoreLeadingWhiteSpace |
boolean |
- set if white space before quotes are ignored (true) or not (false) |
false |
|
headerRow |
boolean |
- set if the first row of the sheet is the header (true) or not (false) |
false |
|
deleteFile |
boolean |
- true if the file must be deleted when the Job is terminated, false otherwise |
false |
|
sendNotification |
boolean |
- true to send a notification, false otherwise |
false |
|
waitForImportToFinish |
boolean |
- if true then this operation will trigger import job and return only when the job is finished (status will be checked by polling the running job). If false then this operation returns immediately after the import job is started |
true |
|
jobStatusCheckIntervalMilliseconds |
- how often status of the job should be checked for completeness. This interval defines time (given in milliseconds) between two consecutive checks. If not provided then standard checking strategy applies (each second for jobs under 10 seconds and each 10 seconds for longer jobs) |
|
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Import CSV from string
<collibra-dgc:import-c-s-v-from-string>
Imports CSV file form a String argument. Import is done in 3 steps. A file is uploaded using POST /file method. In next step an import is triggered using POST /input/csv. Then the job status is checked for completeness (each second for jobs under 10 seconds and each 10 seconds for longer jobs). If import is unsuccessful then a exception is thrown with the message containing 'state' and the 'message' properties of the job that was returned by the server.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
stringCsvFile |
- CVS file in string |
#[payload] |
|
|
fileName |
- the optional name of the file to be uploaded |
|
||
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
separator |
- the delimiter character used to separate entries |
, |
|
|
quote |
- the delimiter character used for quoted entries |
" |
|
|
escape |
- the delimiter character used to escape separator or quote character |
\ |
|
|
strictQuotes |
boolean |
- set the character outside quotes are ignored (true) or not (false) |
false |
|
ignoreLeadingWhiteSpace |
boolean |
- set if white space before quotes are ignored (true) or not (false) |
false |
|
headerRow |
boolean |
- set if the first row of the sheet is the header (true) or not (false) |
false |
|
deleteFile |
boolean |
- true if the file must be deleted when the Job is terminated, false otherwise |
false |
|
sendNotification |
boolean |
- true to send a notification, false otherwise |
false |
|
waitForImportToFinish |
boolean |
- if true then this operation will trigger import job and return only when the job is finished (status will be checked by polling the running job). If false then this operation returns immediately after the import job is started |
true |
|
jobStatusCheckIntervalMilliseconds |
- how often status of the job should be checked for completeness. This interval defines time (given in milliseconds) between two consecutive checks. If not provided then standard checking strategy applies (each second for jobs under 10 seconds and each 10 seconds for longer jobs) |
|
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Simulate Excel Import
<collibra-dgc:simulate-import-excel>
Imports Excel file. Import is triggered using POST /input/excel/simulate. Then the job status is checked for completeness (each second for jobs under 10 seconds and each 10 seconds for longer jobs). If import is unsuccessful then a exception is thrown with the message containing 'state' and the 'message' properties of the job that was returned by the server.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
excelFileId |
- the ID of Excel file uploaded to DGC, used to import |
#[payload] |
|
|
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
headerRow |
boolean |
- set if the first row of the sheet is the header (true) or not (false) |
false |
|
sendNotification |
boolean |
- true to send a notification, false otherwise |
false |
|
sheetName |
- the name of the sheet. If the name is null, the first sheet of the workbook will be used for the import |
|
||
sheetIndex |
- the index of the sheet (zero-based). If the index is null or negative, the first sheet of the workbook will be used for the import |
|
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Import Excel
<collibra-dgc:import-excel>
Imports Excel file. Import is done in 3 steps. A file is uploaded using POST /file method. In next step an import is triggered using POST /input/excel. Then the job status is checked for completeness (each second for jobs under 10 seconds and each 10 seconds for longer jobs). If import is unsuccessful then a exception is thrown with the message containing 'state' and the 'message' properties of the job that was returned by the server.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
excelFile |
- the Excel file to import |
#[payload] |
|
|
excelFileId |
- the ID of Excel file uploaded to DGC, used to import |
|
||
excelFileName |
- the optional name of the file to be uploaded |
|
||
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
headerRow |
boolean |
- set if the first row of the sheet is the header (true) or not (false) |
false |
|
deleteFile |
boolean |
- true if the file must be deleted when the Job is terminated, false otherwise |
false |
|
sendNotification |
boolean |
- true to send a notification, false otherwise |
false |
|
sheetName |
- the name of the sheet. If the name is null, the first sheet of the workbook will be used for the import |
|
||
sheetIndex |
- the index of the sheet (zero-based). If the index is null or negative, the first sheet of the workbook will be used for the import |
|
||
waitForImportToFinish |
boolean |
- if true then this operation will trigger import job and return only when the job is finished (status will be checked by polling the running job). If false then this operation returns immediately after the import job is started |
true |
|
jobStatusCheckIntervalMilliseconds |
- how often status of the job should be checked for completeness. This interval defines time (given in milliseconds) between two consecutive checks. If not provided then standard checking strategy applies (each second for jobs under 10 seconds and each 10 seconds for longer jobs) |
|
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Import Metrics
<collibra-dgc:import-metrics-from-c-s-v>
Imports metrics from CVS file. The POST request to /statistic/metric/upload resource is performed.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
metricsFile |
- the CVS file to import |
#[payload] |
|
|
fileName |
- the optional name of the file to be uploaded |
|
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Export CSV
<collibra-dgc:export-c-s-v>
Exports the table to CSV file.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
file |
- the name of the file or null to use a generated file name |
|
||
separator |
- the delimiter character used to separate entries |
, |
|
|
quote |
- the delimiter character used for quoted entries |
" |
|
|
escape |
- the delimiter character used to escape separator or quote character |
\ |
|
|
headerRow |
- set if the file will include a header (true) or not (false) |
true |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Export CSV as String
<collibra-dgc:export-c-s-v-as-string>
Exports the table in CSV format to String
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
file |
- the name of the file or null to use a generated file name |
|
||
separator |
- the delimiter character used to separate entries |
, |
|
|
quote |
- the delimiter character used for quoted entries |
" |
|
|
escape |
- the delimiter character used to escape separator or quote character |
\ |
|
|
headerRow |
- set if the file will include a header (true) or not (false) |
true |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Export Excel
<collibra-dgc:export-excel>
Exports the table to Excel file
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
tableViewConfig |
- JSON String representation of TableViewConfig |
x |
||
file |
- the name of the file or null to use a generated file name |
|
||
sheetName |
- the name of the sheet or null if no sheet name has to be set |
|
||
useXLSX |
- set if the Excel file to export will be .xlsx file (true) or a .xls file (false) |
true |
|
|
headerRow |
- set if the file will include a header (true) or not (false) |
true |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Export JSON
<collibra-dgc:export-j-s-o-n>
Exports the table as JSON
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
tableViewConfig |
- JSON String representation of TableViewConfig |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Download file
<collibra-dgc:download-file>
Download file content with given file's id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
fileId |
- The id of the file [required] |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Upload file
<collibra-dgc:upload-file>
Upload file to the temporary upload directory.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
file |
- the file to upload |
#[payload] |
|
|
fileName |
- name of the file to be uploaded (optional) |
|
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add responsibility
<collibra-dgc:add-responsibility>
Adds a responsibility to the existing list of Responsibilities.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addResponsibilityRequest |
- object of type AddResponsibilityRequest describing the responsibility |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Find responsibilities
<collibra-dgc:find-responsibility>
Gets the Responsibilities list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
findResponsibilityRequest |
- object of type FindResponsibilityRequest describing the |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the list of the Responsibility type objects |
Get status
<collibra-dgc:get-status>
Gets the Status by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
statusId |
- the id of the Status |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
Status |
the Status type object describing the Status |
Get status by name
<collibra-dgc:get-status-by-name>
Gets the Status by name
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
statusName |
- the name of the Status |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
Status |
the Status type object describing the Status |
Get attribute type
<collibra-dgc:get-attribute-type>
Gets the Attribute type by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
attributeTypeId |
- the id of the Attribute |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the NamedResourceReference type object describing the |
Get attribute type by name
<collibra-dgc:get-attribute-type-by-name>
Gets the Attribute Type by name
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
attributeTypeName |
- the name of the Attribute |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the NamedResourceReference type object describing the |
Get domain type
<collibra-dgc:get-domain-type>
Gets the domain Type by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
domainTypeId |
- the id of the domain Type |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the NamedResourceReference type object describing the |
Get domain type by name
<collibra-dgc:get-domain-type-by-name>
Gets domain Type by Type name
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
domainTypeName |
- the name of the domain Type |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the NamedResourceReference type object describing the |
Get asset type
<collibra-dgc:get-asset-type>
Gets the asset Type by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetTypeId |
- the id of the asset Type |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the NamedResourceReference type object describing the |
Get asset type by name
<collibra-dgc:get-asset-type-by-name>
Gets the asset Type by name
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetTypeName |
- the name of the asset Type |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the NamedResourceReference type object describing the |
Get relation type
<collibra-dgc:get-relation-type>
Gets the relation Type by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
relationTypeId |
- the id of the relation Type |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the RelationType type object describing the relation Type |
Add mapping
<collibra-dgc:add-mapping>
Adds mapping
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addMappingRequest |
- object of type AddMappingRequest describing the mapping |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get mapping
<collibra-dgc:get-mapping>
Gets the mapping by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
mappingId |
- the id of the mapping |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove mapping
<collibra-dgc:remove-mapping>
Removes the mapping
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
mappingId |
- the id of the mapping |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove mapping by external entity id
<collibra-dgc:remove-mapping-ext-entity-id>
Removes the mapping identified by the external system id and external entity id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
extSystemId |
- the id of the external system |
x |
||
extEntityId |
- the id of the the external entity |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove mapping by resource id
<collibra-dgc:remove-mapping-by-resource-id>
Removes the mapping identified by the external system id and resource id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
extSystemId |
- the id of the external system |
x |
||
resourceId |
- the id of the Asset or Domain in DGC |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove all mappings to external system
<collibra-dgc:clean-mappings>
Removes all mappings for given external system
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
extSystemId |
- the id of the external system |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Find mapping by external entity id
<collibra-dgc:find-mapping-by-ext-entity-id>
Gets a mapping identified by the external system id and external entity id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
extSystemId |
- the id of the external system |
x |
||
extEntityId |
- the id of the external entity |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Find mapping by resource id
<collibra-dgc:find-mapping-by-resource-id>
Gets a mapping identified by the external system id and resource id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
extSystemId |
- the id of the external system |
x |
||
resourceId |
- the id of the Asset or Domain in DGC |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Find mappings
<collibra-dgc:find-mappings>
Paged Operation
Returns the mappings list
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
findMappingRequest |
- object of type FindMappingsRequest describing the mappings |
#[payload] |
|
|
pagingConfiguration |
PagingConfiguration |
- the query pagination configuration |
x |
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
ProviderAwarePagingDelegate<Mapping,CollibraDGCConnector> |
the mappings list |
Change mapping
<collibra-dgc:change-mapping>
Modifies the mapping
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeMappingRequest |
- object of type ChangeMappingRequest describing the mapping |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add attribute
<collibra-dgc:add-attribute>
Adds atrribute with given value to the Asset
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addAttributeRequest |
- object of type AddAttributeRequest that represents the Attribute |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add multivalue attribute
<collibra-dgc:add-multivalue-list-attribute>
Adds atribute with multiple values to the Asset
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addMultivalueAttributeRequest |
- object of type AddMultivalueAttributeRequest that represents the Attribute |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get attribute
<collibra-dgc:get-attribute>
Gets the attribute by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
attributeId |
- the id of the attribute |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Find attributes
<collibra-dgc:find-attributes>
Gets list of the attributes for selected resource
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
findAttributesRequest |
- object of type FindAttributesRequest that represents the querry |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change attribute
<collibra-dgc:change-attribute>
Makes changes to an attribute that is already in the list of attributes.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeAttributeRequest |
- object of type changeAttributeRequest that represents the querry |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Change multivalue attribute
<collibra-dgc:change-multivalue-list-attribute>
Changes a multivalue attribute based on the changeMultivalueAttributeRequest request.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
changeMultivalueAttributeRequest |
- object of type ChangeMultivalueAttributeRequest describing the Attribute |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Remove attribute
<collibra-dgc:remove-attribute>
Removes the Attribute by id
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
attributeId |
- the id of the Attribute |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Start workflow
<collibra-dgc:start-workflow>
Starts one workflow process
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
startWorkflowRequest |
- object of type StartWorkflowRequest describing the workflow |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Send message event to workflow
<collibra-dgc:send-workflow-message-event>
Sends message event to the workflow engine.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
sendWorkflowMessageEventRequest |
- object of type SendWorkflowMessageEventRequest describing message event |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Add issue
<collibra-dgc:add-issue>
Adds issue basing on given parameters.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
addIssueRequest |
- object of type AddIssueRequest describing the issue to be created |
#[payload] |
|
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Upsert assets by external entity ID
<collibra-dgc:upsert-assets>
DataSense enabled
Upserts assets of given type into DGC (creates new assets and updates existing ones). This method is performing multiple API calls and using the Integration Framework described in https://compass.collibra.com/display/DOC/Integration+Framework. Because of that this operation is not atomic (although it is idempotent). In first step it checks which assets exist in DGC (based on their 'externalId'). Two import operations are performed (one for creating new assets and one for updating existing ones). If the second import operation fails then the assets that have been created in the first step will not be removed. If the method is called once again for the same input data then assets created in the previous method call are found as already existing in DGC and will be updated instead of being recreated. Additional API calls may be made to retrieve necessary information needed to perform the imports. The number of API calls does not depend on the number of assets being imported. While performing upsert, it is checked whether given communities and domains exist in DGC. If not, they will be created (assuming that all the necessary data is provided). If communities and/or domains already exist then they will be updated.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetTypeId |
- The id of a type for assets which are created. Type of assets which are updated will not change. |
x |
||
assets |
- Assets that are going to be imported where each asset is in form of Map |
#[payload] |
|
|
defaultDomainId |
- The id of a parent domain for assets which are created. The domain of the assets which are updated will not change. If this property is provided in each asset as 'defaultDomain' then it is not obligatory here. (any string like: 'IGNORED' can be put in this field and it will not be used in that case). |
x |
||
externalSystemId |
- Any string that serves as identifier of given systems and is unique across all systems integrated with DGC (for more information see https://compass.collibra.com/display/DOC/Integration +Framework) |
x |
||
fileName |
- the name of the file which is used to represent upsert operation in the DGC (visible in Activities table) |
|
||
sendNotification |
boolean |
- Boolean to signal whether notification should be sent |
false |
|
batchSize |
- the size of batch to be processed by collibra instance. |
|
||
jobStatusCheckIntervalMilliseconds |
- how often status of the job should be checked for completeness. This interval defines time (given in milliseconds) between two consecutive checks. If not provided then standard checking strategy applies (each second for jobs under 10 seconds and each 10 seconds for longer jobs) |
|
||
updateResponsibilitiesAndReturnDGCIDsOfAssets |
boolean |
- (Advanced) whether the responsibilities should be updated and DGC IDs of assets that are imported should be returned in the response of this operation. In some situation this is not needed. In those cases it should be skipped as it may cause performance problems. If argument is set to false - the id property of each asset in response of this request is not set and responsibilities are not imported. |
true |
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Upsert assets by name
<collibra-dgc:upsert-assets-by-name>
DataSense enabled
Upserts assets of given type into DGC (creates new assets and updates existing ones). This method is performing multiple API calls and using the Integration Framework described in https://compass.collibra.com/display/DOC/Integration+Framework. Because of that this operation is not atomic (although it is idempotent). In the first step it checks which assets exist in DGC (based on their 'externalId'). Two import operations are performed (one for creating new assets and one for updating existing ones). If the second import operation fails then the assets that have been created in the first step will not be removed. If the method is called once again for the same input data then assets created in the previous method call are found as already existing in DGC and will be updated instead of being recreated. Additional API calls may be made to retrieve necessary information needed to perform the imports. The number of API calls does not depend on the number of assets being imported. While performing upsert, it is checked whether given communities and domains exist in DGC. If not, they will be created (assuming that all the necessary data is provided). If communities and/or domains already exist then they will be updated.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
assetTypeId |
- The id of a type for assets which are created. Type of assets which are updated will not change. |
x |
||
assets |
- Assets that are going to be imported where each asset is in form of Map |
#[payload] |
|
|
fileName |
- the name of the file which is used to represent upsert operation in the DGC (visible in Activities table) |
|
||
sendNotification |
boolean |
- Boolean to signal whether notification should be sent |
false |
|
batchSize |
- the size of batch to be processed by collibra instance. |
|
||
jobStatusCheckIntervalMilliseconds |
- how often status of the job should be checked for completeness. This interval defines time (given in milliseconds) between two consecutive checks. If not provided then standard checking strategy applies (each second for jobs under 10 seconds and each 10 seconds for longer jobs) |
|
||
updateResponsibilitiesAndReturnDGCIDsOfAssets |
boolean |
- (Advanced) whether the responsibilities should be updated and DGC IDs of assets that are imported should be returned in the response of this operation. In some situation this is not needed. In those cases it should be skipped as it may cause performance problems. If argument is set to false - the id property of each asset in response of this request is not set and responsibilities are not imported. |
true |
|
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Get Job
<collibra-dgc:get-job>
Returns the Job representation.
Attributes
Name | Java Type | Description | Default Value | Required |
---|---|---|---|---|
config-ref |
Specify which config to use |
x |
||
jobId |
- the id of the Job |
x |
||
sessionId |
- Id an id on an open session with DGC. An existing session from ConnectionStrategy will be used for this method. If session is provided, a check will be made to make sure that the session id matches the one in ConnectionStrategy. |
#[sessionVars.dgcSessionId] |
|
|
csrfToken |
- CSRF Token. |
#[sessionVars.dgcCsrfToken] |
|
Returns
Return Java Type | Description |
---|---|
the job |