public class MetadataSourceClient extends ConnectedAssetClientBase implements MetadataSourceInterface
auditLog, invalidParameterHandler, nullRequestBody, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
MetadataSourceClient(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
MetadataSourceClient(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
MetadataSourceClient(String serverName,
String serverPlatformURLRoot,
SecurityManagerRESTClient restClient,
int maxPageSize,
AuditLog auditLog)
Create a new client that is to be used within an OMAG Server.
|
MetadataSourceClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
MetadataSourceClient(String serverName,
String serverPlatformURLRoot,
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 |
|---|---|
String |
createDatabaseManager(String userId,
String externalSourceGUID,
String externalSourceName,
DatabaseManagerProperties databaseManagerProperties)
Create information about the integration daemon that is managing the acquisition of metadata from the
security manager.
|
String |
createFileManager(String userId,
String externalSourceGUID,
String externalSourceName,
FileManagerProperties fileManagerProperties)
Create information about an application that manages a collection of data files.
|
String |
createFileSystem(String userId,
String externalSourceGUID,
String externalSourceName,
FileSystemProperties fileSystemProperties)
Create information about a File System that is being used to store data files.
|
String |
getMetadataSourceGUID(String userId,
String qualifiedName)
Retrieve the unique identifier of the integration daemon.
|
getAssetForConnection, getAssetProperties, getAssetSummary, getConnectionByGUID, getConnectionByName, getConnectionForAsset, getConnectorForConnectionpublic MetadataSourceClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - 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 MetadataSourceClient(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - 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 MetadataSourceClient(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - 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 MetadataSourceClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - 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 MetadataSourceClient(String serverName, String serverPlatformURLRoot, SecurityManagerRESTClient restClient, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversrestClient - pre-initialized REST clientmaxPageSize - pre-initialized parameter limitauditLog - logging destinationInvalidParameterException - there is a problem with the information about the remote OMASpublic String createFileSystem(String userId, String externalSourceGUID, String externalSourceName, FileSystemProperties fileSystemProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createFileSystem in interface MetadataSourceInterfaceuserId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileSystemProperties - description of the file systemInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createFileManager(String userId, String externalSourceGUID, String externalSourceName, FileManagerProperties fileManagerProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createFileManager in interface MetadataSourceInterfaceuserId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcefileManagerProperties - description of theInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createDatabaseManager(String userId, String externalSourceGUID, String externalSourceName, DatabaseManagerProperties databaseManagerProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createDatabaseManager in interface MetadataSourceInterfaceuserId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcedatabaseManagerProperties - description of the integration daemon (specify qualified name at a minimum)InvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String getMetadataSourceGUID(String userId, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getMetadataSourceGUID in interface MetadataSourceInterfaceuserId - calling userqualifiedName - unique name of the integration daemonInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.