Class RepositoryGovernanceAdmin

java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
org.odpi.openmetadata.engineservices.repositorygovernance.admin.RepositoryGovernanceAdmin

public class RepositoryGovernanceAdmin extends org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
RepositoryGovernanceAdmin is called during server start-up and initializes the Repository Governance OMES.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,org.odpi.openmetadata.governanceservers.enginehostservices.admin.GovernanceEngineHandler>
    initialize(String localServerId, String localServerName, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, String localServerUserId, String localServerPassword, int maxPageSize, org.odpi.openmetadata.accessservices.governanceengine.client.GovernanceEngineConfigurationClient configurationClient, org.odpi.openmetadata.accessservices.governanceengine.client.GovernanceEngineClient governanceActionClient, org.odpi.openmetadata.adminservices.configuration.properties.EngineServiceConfig engineServiceConfig)
    Initialize engine service.
    void
    Shutdown the engine service.

    Methods inherited from class java.lang.Object

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

    • RepositoryGovernanceAdmin

      public RepositoryGovernanceAdmin()
  • Method Details

    • initialize

      public Map<String,org.odpi.openmetadata.governanceservers.enginehostservices.admin.GovernanceEngineHandler> initialize(String localServerId, String localServerName, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, String localServerUserId, String localServerPassword, int maxPageSize, org.odpi.openmetadata.accessservices.governanceengine.client.GovernanceEngineConfigurationClient configurationClient, org.odpi.openmetadata.accessservices.governanceengine.client.GovernanceEngineClient governanceActionClient, org.odpi.openmetadata.adminservices.configuration.properties.EngineServiceConfig engineServiceConfig) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException
      Initialize engine service.
      Specified by:
      initialize in class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
      Parameters:
      localServerId - unique identifier of this server
      localServerName - name of this server
      auditLog - link to the repository responsible for servicing the REST calls
      localServerUserId - user id for this server to use if sending REST requests and processing inbound messages
      localServerPassword - password for this server to use if sending REST requests
      maxPageSize - maximum number of records that can be requested on the pageSize parameter
      configurationClient - client used by the engine host services to connect to the Governance Engine OMAS to retrieve the governance engine definitions
      governanceActionClient - client used by the engine host services to connect to the Governance Engine OMAS to manage governance actions
      engineServiceConfig - details of the options and the engines to run
      Throws:
      org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException - an issue in the configuration prevented initialization
    • shutdown

      public void shutdown()
      Shutdown the engine service.
      Specified by:
      shutdown in class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin