Interface AssetLineageInterface
- All Known Implementing Classes:
AssetLineage
public interface AssetLineageInterface
The Asset Lineage OMAS provides services to query the lineage of business terms and data assets.
-
Method Summary
Modifier and TypeMethodDescriptionpublishAssetContext
(String userId, String guid, String entityType) Publishes the asset context of an entity - used for data files and relational tables.publishEntities
(String serverName, String userId, String entityType, Optional<Date> updatedAfterDate) Scan the cohort based on the given entity type and publish the contexts for the found entities to the out topic Returns a list that contains entities GUID that were published out.
-
Method Details
-
publishEntities
List<String> publishEntities(String serverName, String userId, String entityType, Optional<Date> updatedAfterDate) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Scan the cohort based on the given entity type and publish the contexts for the found entities to the out topic Returns a list that contains entities GUID that were published out.- Parameters:
serverName
- the server nameuserId
- the user identityType
- the entity typeupdatedAfterDate
- take into account just the entities updated after the specified date, if any (otherwise it loads everything)- Returns:
- the list of entities GUIDs that were published out
- Throws:
InvalidParameterException
- one of the parameters is null or invalid.PropertyServerException
- there is a problem retrieving information from the property server(s).UserNotAuthorizedException
- the requesting user is not authorized to issue this request.
-
publishAssetContext
List<String> publishAssetContext(String userId, String guid, String entityType) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Publishes the asset context of an entity - used for data files and relational tables.- Parameters:
userId
- the caller user Idguid
- the guid of the entityentityType
- the entity type- Returns:
- list of the entities' guids in the asset context
- Throws:
InvalidParameterException
- the invalid parameter exceptionPropertyServerException
- the property server exceptionUserNotAuthorizedException
- the user not authorized exception
-