public class SoftwareServerRegistrationHandler extends Object
| Constructor and Description |
|---|
SoftwareServerRegistrationHandler(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 |
createSoftwareServerCapability(String userId,
String qualifiedName,
String name,
String description,
String type,
String version,
String patchLevel,
String source)
Create the software server capability entity
|
String |
getSoftwareServerCapabilityByQualifiedName(String userId,
String qualifiedName)
Return the guid of a software server capability entity
|
public SoftwareServerRegistrationHandler(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 createSoftwareServerCapability(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 getSoftwareServerCapabilityByQualifiedName(String userId, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userqualifiedName - qualified name of the serverInvalidParameterException - 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.