Class RepositoryGovernanceAdmin
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
org.odpi.openmetadata.engineservices.repositorygovernance.admin.RepositoryGovernanceAdmin
RepositoryGovernanceAdmin is called during server start-up and initializes the Repository Governance OMES.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
auditLog, invalidParameterHandler, localServerName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(String localServerId, String localServerName, AuditLog auditLog, String localServerUserId, String localServerPassword, int maxPageSize, GovernanceConfigurationClient configurationClient, EngineServiceConfig engineServiceConfig, GovernanceEngineMap governanceEngineMap) Initialize engine service.void
shutdown()
Shutdown the engine service.Methods inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
getPartnerServiceRootURL, getPartnerServiceServerName, validateConfigDocument
-
Constructor Details
-
RepositoryGovernanceAdmin
public RepositoryGovernanceAdmin()
-
-
Method Details
-
initialize
public void initialize(String localServerId, String localServerName, AuditLog auditLog, String localServerUserId, String localServerPassword, int maxPageSize, GovernanceConfigurationClient configurationClient, EngineServiceConfig engineServiceConfig, GovernanceEngineMap governanceEngineMap) throws OMAGConfigurationErrorException Initialize engine service.- Specified by:
initialize
in 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 definitionsengineServiceConfig
- details of the options and the engines to rungovernanceEngineMap
- map of configured engines- Throws:
OMAGConfigurationErrorException
- an issue in the configuration prevented initialization
-
shutdown
public void shutdown()Shutdown the engine service.- Specified by:
shutdown
in classEngineServiceAdmin
-