public class DataEngineRegistrationHandler extends Object
| Constructor and Description |
|---|
DataEngineRegistrationHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
String |
createExternalDataEngine(String userId,
SoftwareServerCapability softwareServerCapability)
Create the software server capability entity from an external data engine
|
String |
createExternalDataEngine(String userId,
String qualifiedName,
String name,
String description,
String type,
String version,
String patchLevel,
String source)
Create the software server capability entity from an external data engine
|
String |
getExternalDataEngineByQualifiedName(String userId,
String qualifiedName)
Return the guid of a software server capability entity from an external data engine
|
public DataEngineRegistrationHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper)
serviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectspublic String createExternalDataEngine(String userId, String qualifiedName, String name, String description, String type, String version, String patchLevel, String source) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - the name of the calling userqualifiedName - the qualifiedName name of the servername - the name of the serverdescription - the description of the servertype - the type of the serverversion - the version of the serverpatchLevel - the patch level of the serversource - the source of the serverInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createExternalDataEngine(String userId, SoftwareServerCapability softwareServerCapability) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - the name of the calling usersoftwareServerCapability - the entity of external data engineInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String getExternalDataEngineByQualifiedName(String userId, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userqualifiedName - qualified name of the external data engineInvalidParameterException - one of the parameters is null or invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem retrieving the discovery engine definitionCopyright © 2018–2019 ODPi. All rights reserved.