public class AssetLineage extends FFDCRESTClient implements AssetLineageInterface
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
AssetLineage(String serverName,
String serverPlatformURLRoot)
Instantiates a new Asset lineage Client.
|
AssetLineage(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Instantiates a new Asset Lineage Client.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
publishAssetContext(String userId,
String guid,
String entityType)
Publishes the asset context of an entity - used for data files and relational tables.
|
List<String> |
publishEntities(String serverName,
String userId,
String entityType,
Optional<LocalDateTime> 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.
|
callConnectorTypeGetRESTCall, callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCallpublic AssetLineage(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - the server nameserverPlatformURLRoot - the network address of the server running the OMAS REST serversInvalidParameterException - one of the parameters is null or invalid.InvalidParameterExceptionpublic AssetLineage(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - the server nameserverPlatformURLRoot - the server platform url rootuserId - the user idpassword - the passwordInvalidParameterException - one of the parameters is null or invalid.InvalidParameterExceptionpublic List<String> publishEntities(String serverName, String userId, String entityType, Optional<LocalDateTime> updatedAfterDate) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
publishEntities in interface AssetLineageInterfaceserverName - 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)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.public List<String> publishAssetContext(String userId, String guid, String entityType) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
publishAssetContext in interface AssetLineageInterfaceuserId - the caller user Idguid - the guid of the entityentityType - the entity typeInvalidParameterException - the invalid parameter exceptionPropertyServerException - the property server exceptionUserNotAuthorizedException - the user not authorized exceptionCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.