Class GovernanceEngineInstanceHandler
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
org.odpi.openmetadata.viewservices.governanceengine.server.GovernanceEngineInstanceHandler
GovernanceEngineInstanceHandler retrieves information from the instance map for the
view service instances. The instance map is thread-safe. Instances are added
and removed by the GovernanceEngineAdmin class.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor registers the view service -
Method Summary
Modifier and TypeMethodDescriptiongetGovernanceCompletionClient(String userId, String serverName, String serviceOperationName) This method returns the client for the tenant to use to manage the lifecycle of engine actions.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
getExceptionHandlerMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
getAuditLog, getAuditLogMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServerServiceInstance, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstance
-
Constructor Details
-
GovernanceEngineInstanceHandler
public GovernanceEngineInstanceHandler()Default constructor registers the view service
-
-
Method Details
-
getGovernanceCompletionClient
public GovernanceCompletionInterface getGovernanceCompletionClient(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns the client for the tenant to use to manage the lifecycle of engine actions.- Parameters:
userId- local server useridserverName- name of the server that the request is forserviceOperationName- service operation - usually the top level rest call- Returns:
- client
- Throws:
InvalidParameterException- unknown server/serviceUserNotAuthorizedException- User not authorized to call this servicePropertyServerException- internal error
-