Class GovernanceActionAdmin
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
org.odpi.openmetadata.engineservices.governanceaction.admin.GovernanceActionAdmin
public class GovernanceActionAdmin
extends org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
-
Field Summary
Fields inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
auditLog, invalidParameterHandler, localServerName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap<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 serverClient, org.odpi.openmetadata.adminservices.configuration.properties.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
-
Constructor Details
-
GovernanceActionAdmin
public GovernanceActionAdmin()
-
-
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 serverClient, org.odpi.openmetadata.adminservices.configuration.properties.EngineServiceConfig engineServiceConfig) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException Initialize engine service.- Specified by:
initializein classorg.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin- Parameters:
localServerId- unique identifier of this serverlocalServerName- name of this serverauditLog- 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 parameterconfigurationClient- client used to connect to the Governance Engine OMAS to retrieve the governance engine definitions.serverClient- client used to connect to the Governance Engine OMAS to manage governance actionsengineServiceConfig- 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:
shutdownin classorg.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
-