public class CSVFileAssetOwner extends AssetOwner implements AssetOnboardingCSVFileInterface
restClientauditLog, invalidParameterHandler, nullRequestBody, serverName, serverPlatformRootURL| Constructor and Description |
|---|
CSVFileAssetOwner(String serverName,
String serverPlatformRootURL)
Create a new client with no authentication embedded in the HTTP request.
|
CSVFileAssetOwner(String serverName,
String serverPlatformRootURL,
AssetOwnerRESTClient restClient,
int maxPageSize,
AuditLog auditLog)
Create a new client that is going to be used in an OMAG Server (view service or integration service typically).
|
CSVFileAssetOwner(String serverName,
String serverPlatformRootURL,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request and an audit log.
|
CSVFileAssetOwner(String serverName,
String serverPlatformRootURL,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
CSVFileAssetOwner(String serverName,
String serverPlatformRootURL,
String userId,
String password,
AuditLog auditLog)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addCSVFileToCatalog(String userId,
String displayName,
String description,
String fullPath)
Add a simple asset description linked to a connection object for a CSV file.
|
List<String> |
addCSVFileToCatalog(String userId,
String displayName,
String description,
String fullPath,
List<String> columnHeaders,
Character delimiterCharacter,
Character quoteCharacter)
Add a simple asset description linked to a connection object for a CSV file.
|
addAssetOrigin, addAssetToCatalog, addAssetToCatalog, addCombinedSchemaToAsset, addConnectionToAsset, addSchemaAttribute, addSchemaAttributes, addSchemaTypeToAsset, addSecurityTags, addSemanticAssignment, attachSchemaTypeToAsset, deleteAsset, deleteAssetSchemaType, detachSchemaTypeFromAsset, findAssets, getAssetProperties, getAssetsByName, getAssetSummary, getConnectorToAsset, getDiscoveryAnalysisReports, getDiscoveryReportAnnotations, getExtendedAnnotations, getTypesOfAnnotation, getTypesOfAnnotationWithDescriptions, getTypesOfAsset, getTypesOfAssetWithDescriptions, publishAsset, removeAssetOrigin, removeSecurityTags, removeSemanticAssignment, updateAssetOwner, updateAssetZones, withdrawAssetgetAssetForConnection, getAssetProperties, getAssetSummary, getConnectionByGUID, getConnectionByName, getConnectionForAsset, getConnectorForConnectionpublic CSVFileAssetOwner(String serverName, String serverPlatformRootURL, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public CSVFileAssetOwner(String serverName, String serverPlatformRootURL) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public CSVFileAssetOwner(String serverName, String serverPlatformRootURL, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public CSVFileAssetOwner(String serverName, String serverPlatformRootURL, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public CSVFileAssetOwner(String serverName, String serverPlatformRootURL, AssetOwnerRESTClient restClient, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversrestClient - client that issues the REST API callsmaxPageSize - maximum number of results supported by this serverauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public List<String> addCSVFileToCatalog(String userId, String displayName, String description, String fullPath) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addCSVFileToCatalog in interface AssetOnboardingCSVFileInterfaceuserId - calling user (assumed to be the owner)displayName - display name for the file in the catalogdescription - description of the file in the catalogfullPath - full path of the file - used to access the file through the connectorInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> addCSVFileToCatalog(String userId, String displayName, String description, String fullPath, List<String> columnHeaders, Character delimiterCharacter, Character quoteCharacter) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addCSVFileToCatalog in interface AssetOnboardingCSVFileInterfaceuserId - calling user (assumed to be the owner)displayName - display name for the file in the catalogdescription - description of the file in the catalogfullPath - full path of the file - used to access the file through the connectorcolumnHeaders - does the first line of the file contain the column names. If not pass the list of column headers.delimiterCharacter - what is the delimiter character - null for default of commaquoteCharacter - what is the character to group a field that contains delimiter charactersInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.