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 |
auditLog, 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.
|
OMASServiceInstance(String serviceName,
OMRSRepositoryConnector repositoryConnector,
List<String> supportedZones,
List<String> defaultZones,
List<String> publishZones,
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,
List<String> publishZones,
AuditLog auditLog,
String localServerUserId,
int maxPageSize,
String inTopicConnectorProviderName,
Connection inTopicEventBusConnection,
String outTopicConnectorProviderName,
Connection outTopicEventBusConnection)
Set up the local repository connector that will service the REST Calls.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getServerName()
Return the server name.
|
protected void |
validateActiveRepository(String methodName)
Validate that the repository services are ok for this instance.
|
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 OMASServiceInstance(String serviceName, OMRSRepositoryConnector repositoryConnector, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog, String localServerUserId, int maxPageSize) 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.publishZones - list of zones that the access service sets up in published Asset instances.auditLog - logging destinationlocalServerUserId - userId used for server initiated actionsmaxPageSize - maximum page sizeNewInstanceException - a problem occurred during initializationpublic OMASServiceInstance(String serviceName, OMRSRepositoryConnector repositoryConnector, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog, String localServerUserId, int maxPageSize, String inTopicConnectorProviderName, Connection inTopicEventBusConnection, String outTopicConnectorProviderName, Connection outTopicEventBusConnection) 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.publishZones - list of zones that the access service sets up in published Asset instances.auditLog - logging destinationlocalServerUserId - userId used for server initiated actionsmaxPageSize - maximum page sizeinTopicConnectorProviderName - class name of the client side in topic connectorinTopicEventBusConnection - connection for the event bus configured with the in topicoutTopicConnectorProviderName - class name of the client side out topic connectoroutTopicEventBusConnection - connection for the event bus configured with the out topicNewInstanceException - a problem occurred during initializationpublic String getServerName() throws NewInstanceException
getServerName in class OMAGServerServiceInstanceNewInstanceException - a problem occurred during initializationprotected void validateActiveRepository(String methodName) throws PropertyServerException
methodName - calling methodPropertyServerException - problem with the repository servicesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.