Class WatchdogActionAdmin
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
org.odpi.openmetadata.engineservices.watchdogaction.admin.WatchdogActionAdmin
WatchdogActionAdmin is called during server start up to set up the Watchdog Action OMES.
- 
Field SummaryFields inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdminauditLog, invalidParameterHandler, localServerName
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinitialize(String localServerId, String localServerName, AuditLog auditLog, String localServerUserId, String localServerPassword, int maxPageSize, GovernanceConfigurationClient configurationClient, EngineServiceConfig engineServiceConfig, GovernanceEngineMap governanceEngineMap) Initialize engine service.voidshutdown()Shutdown the engine service.Methods inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmingetPartnerServiceRootURL, getPartnerServiceServerName, validateConfigDocument
- 
Constructor Details- 
WatchdogActionAdminpublic WatchdogActionAdmin()
 
- 
- 
Method Details- 
initializepublic 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:
- initializein class- 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
- engineServiceConfig- details of the options and the engines to run
- governanceEngineMap- map of configured engines
- Throws:
- OMAGConfigurationErrorException- an issue in the configuration prevented initialization
 
- 
shutdownpublic void shutdown()Shutdown the engine service.- Specified by:
- shutdownin class- EngineServiceAdmin
 
 
-