Class GovernanceServerInstance

java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstance
org.odpi.openmetadata.accessservices.governanceserver.server.GovernanceServerInstance

public class GovernanceServerInstance extends org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstance
GovernanceEngineInstance caches references to OMRS objects for a specific server. It is also responsible for registering itself in the instance map. It is created by the admin class during server start up and
  • Constructor Summary

    Constructors
    Constructor
    Description
    GovernanceServerInstance(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryConnector repositoryConnector, List<String> supportedZones, List<String> defaultZones, List<String> publishedZones, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, String localServerUserId, int maxPageSize, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection outTopicEventBusConnection)
    Set up the local repository connector that will service the REST Calls.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.commonservices.generichandlers.EngineActionHandler<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement>
    Return the handler for governance action requests.
    org.odpi.openmetadata.frameworkservices.gaf.handlers.MetadataElementHandler<org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement>
    Return the handler for open metadata store requests.

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMASServiceInstance

    getInTopicClientConnection, getServerName

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance

    getInvalidParameterHandler, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServiceInstanceStatus, shutdown

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GovernanceServerInstance

      public GovernanceServerInstance(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryconnector.OMRSRepositoryConnector repositoryConnector, List<String> supportedZones, List<String> defaultZones, List<String> publishedZones, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, String localServerUserId, int maxPageSize, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection outTopicEventBusConnection) throws org.odpi.openmetadata.commonservices.multitenant.ffdc.exceptions.NewInstanceException
      Set up the local repository connector that will service the REST Calls.
      Parameters:
      repositoryConnector - link to the repository responsible for servicing the REST calls.
      supportedZones - list of zones that GovernanceEngine is allowed to serve Assets from.
      defaultZones - list of zones that GovernanceEngine should set in all new Assets.
      publishedZones - list of zones that Governance Server can use to make a governance service visible.
      auditLog - logging destination
      localServerUserId - userId used for server initiated actions
      maxPageSize - max number of results to return on single request.
      outTopicEventBusConnection - inner event bus connection to use to build topic connection to send to client if they which to listen on the out topic.
      Throws:
      org.odpi.openmetadata.commonservices.multitenant.ffdc.exceptions.NewInstanceException - a problem occurred during initialization
  • Method Details

    • getMetadataElementHandler

      public org.odpi.openmetadata.frameworkservices.gaf.handlers.MetadataElementHandler<org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement> getMetadataElementHandler()
      Return the handler for open metadata store requests.
      Returns:
      handler object
    • getEngineActionHandler

      public org.odpi.openmetadata.commonservices.generichandlers.EngineActionHandler<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement> getEngineActionHandler()
      Return the handler for governance action requests.
      Returns:
      handler object