public class OMASServiceInstance extends AuditableServerServiceInstance
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
defaultZones |
protected RepositoryErrorHandler |
errorHandler |
protected OMRSMetadataCollection |
metadataCollection |
protected List<String> |
publishZones |
protected OMRSRepositoryConnector |
repositoryConnector |
protected RepositoryHandler |
repositoryHandler |
protected OMRSRepositoryHelper |
repositoryHelper |
protected List<String> |
supportedZones |
localServerUserIdinvalidParameterHandler, maxPageSize, securityVerifier, serverName, serviceName| Constructor and Description |
|---|
OMASServiceInstance(String serviceName,
OMRSRepositoryConnector repositoryConnector,
AuditLog auditLog)
Deprecated.
|
OMASServiceInstance(String serviceName,
OMRSRepositoryConnector repositoryConnector,
AuditLog auditLog,
String localServerUserId,
int maxPageSize)
Set up the local repository connector that will service the REST Calls.
|
OMASServiceInstance(String serviceName,
OMRSRepositoryConnector repositoryConnector,
List<String> supportedZones,
List<String> defaultZones,
AuditLog auditLog)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getServerName()
Return the server name.
|
getAuditLoggetInvalidParameterHandler, getServiceName, setMaxPageSize, setSecurityVerifier, setServerName, shutdownprotected OMRSRepositoryConnector repositoryConnector
protected OMRSMetadataCollection metadataCollection
protected OMRSRepositoryHelper repositoryHelper
protected RepositoryHandler repositoryHandler
protected RepositoryErrorHandler errorHandler
@Deprecated public OMASServiceInstance(String serviceName, OMRSRepositoryConnector repositoryConnector, List<String> supportedZones, List<String> defaultZones, AuditLog auditLog) throws NewInstanceException
serviceName - name of this servicerepositoryConnector - link to the repository responsible for servicing the REST calls.supportedZones - list of zones that DiscoveryEngine is allowed to serve Assets from.defaultZones - list of zones that DiscoveryEngine should set in all new Assets.auditLog - logging destinationNewInstanceException - a problem occurred during initialization@Deprecated public OMASServiceInstance(String serviceName, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog) throws NewInstanceException
serviceName - name of this servicerepositoryConnector - link to the repository responsible for servicing the REST calls.auditLog - logging destinationNewInstanceException - a problem occurred during initializationpublic OMASServiceInstance(String serviceName, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String localServerUserId, int maxPageSize) throws NewInstanceException
serviceName - name of this servicerepositoryConnector - link to the repository responsible for servicing the REST calls.auditLog - logging destinationlocalServerUserId - userId used for server initiated actionsmaxPageSize - maximum page sizeNewInstanceException - a problem occurred during initializationpublic String getServerName() throws NewInstanceException
getServerName in class OMAGServerServiceInstanceNewInstanceException - a problem occurred during initializationCopyright © 2018–2020 ODPi. All rights reserved.