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 |
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, 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–2020 ODPi. All rights reserved.