Class RepositoryGovernanceAdmin
- java.lang.Object
-
- org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
-
- org.odpi.openmetadata.engineservices.repositorygovernance.admin.RepositoryGovernanceAdmin
-
public class RepositoryGovernanceAdmin extends EngineServiceAdmin
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
auditLog, invalidParameterHandler, localServerName
-
-
Constructor Summary
Constructors Constructor Description RepositoryGovernanceAdmin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,GovernanceEngineHandler>initialize(String localServerId, String localServerName, AuditLog auditLog, String localServerUserId, String localServerPassword, int maxPageSize, GovernanceEngineConfigurationClient configurationClient, GovernanceEngineClient governanceActionClient, EngineServiceConfig engineServiceConfig)Initialize engine service.voidshutdown()Shutdown the engine service.-
Methods inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
getEngines, getPartnerServiceRootURL, getPartnerServiceServerName, validateConfigDocument
-
-
-
-
Method Detail
-
initialize
public Map<String,GovernanceEngineHandler> initialize(String localServerId, String localServerName, AuditLog auditLog, String localServerUserId, String localServerPassword, int maxPageSize, GovernanceEngineConfigurationClient configurationClient, GovernanceEngineClient governanceActionClient, EngineServiceConfig engineServiceConfig) throws OMAGConfigurationErrorException
Initialize engine service.- Specified by:
initializein classEngineServiceAdmin- Parameters:
localServerId- unique identifier of this serverlocalServerName- name of this serverauditLog- link to the repository responsible for servicing the REST callslocalServerUserId- user id for this server to use if sending REST requests and processing inbound messageslocalServerPassword- password for this server to use if sending REST requestsmaxPageSize- maximum number of records that can be requested on the pageSize parameterconfigurationClient- client used by the engine host services to connect to the Governance Engine OMAS to retrieve the governance engine definitionsgovernanceActionClient- client used by the engine host services to connect to the Governance Engine OMAS to manage governance actionsengineServiceConfig- details of the options and the engines to run- Throws:
OMAGConfigurationErrorException- an issue in the configuration prevented initialization
-
shutdown
public void shutdown()
Shutdown the engine service.- Specified by:
shutdownin classEngineServiceAdmin
-
-