Class RepositoryGovernanceHandlerFactory
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.registration.GovernanceEngineHandlerFactory
org.odpi.openmetadata.engineservices.repositorygovernance.handlers.RepositoryGovernanceHandlerFactory
GovernanceEngineHandler factory class for the Repository Governance OMES.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateGovernanceEngineHandler
(EngineConfig engineConfig, String localServerName, String localServerUserId, String localServerPassword, String partnerServerName, String partnerURLRoot, GovernanceConfigurationClient configurationClient, GovernanceContextClient serverClient, AuditLog auditLog, int maxPageSize) Create a client-side object for calling a survey action engine.
-
Constructor Details
-
RepositoryGovernanceHandlerFactory
public RepositoryGovernanceHandlerFactory()
-
-
Method Details
-
createGovernanceEngineHandler
public GovernanceEngineHandler createGovernanceEngineHandler(EngineConfig engineConfig, String localServerName, String localServerUserId, String localServerPassword, String partnerServerName, String partnerURLRoot, GovernanceConfigurationClient configurationClient, GovernanceContextClient serverClient, AuditLog auditLog, int maxPageSize) throws InvalidParameterException Create a client-side object for calling a survey action engine.- Specified by:
createGovernanceEngineHandler
in classGovernanceEngineHandlerFactory
- Parameters:
engineConfig
- information about the governance engine.localServerName
- the name of the engine host server where the survey action engine is runninglocalServerUserId
- user id for the engine host server to uselocalServerPassword
- optional password for the engine host server to usepartnerServerName
- name of partner serverpartnerURLRoot
- partner platformconfigurationClient
- client to retrieve the configurationserverClient
- client used by the engine host services to control the execution of engine action requestsauditLog
- logging destinationmaxPageSize
- maximum number of results that can be returned in a single request- Returns:
- governance engine handler
- Throws:
InvalidParameterException
- unable to connect to the clients
-