Class GovernanceOfficerInstance
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
org.odpi.openmetadata.viewservices.governanceofficer.server.GovernanceOfficerInstance
GovernanceOfficerInstance caches references to the objects it needs for a specific server.
It is also responsible for registering itself in the instance map.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
remoteServerName, remoteServerURL
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
auditLog, localServerUserId
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
invalidParameterHandler, maxPageSize, securityVerifier, serverName, serviceName
-
Constructor Summary
ConstructorsConstructorDescriptionGovernanceOfficerInstance
(String serverName, AuditLog auditLog, String localServerUserId, int maxPageSize, String remoteServerName, String remoteServerURL, List<ViewServiceConfig> activeViewServices) Set up the Governance Officer OMVS instance -
Method Summary
Modifier and TypeMethodDescriptiongetGovernanceDefinitionHandler
(String viewServiceURLMarker, String methodName) Return the client.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
getRemoteServerName, getRemoteServerURL
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
getAuditLog
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
getInvalidParameterHandler, getServerName, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServerName, setServiceInstanceStatus, shutdown
-
Constructor Details
-
GovernanceOfficerInstance
public GovernanceOfficerInstance(String serverName, AuditLog auditLog, String localServerUserId, int maxPageSize, String remoteServerName, String remoteServerURL, List<ViewServiceConfig> activeViewServices) Set up the Governance Officer OMVS instance- Parameters:
serverName
- name of this serverauditLog
- logging destinationlocalServerUserId
- userId used for server initiated actionsmaxPageSize
- maximum page sizeremoteServerName
- remote server nameremoteServerURL
- remote server URLactiveViewServices
- list of view services active in this server
-
-
Method Details
-
getGovernanceDefinitionHandler
public GovernanceDefinitionHandler getGovernanceDefinitionHandler(String viewServiceURLMarker, String methodName) throws InvalidParameterException Return the client. This client is from the Open Metadata Store services and is for maintaining governance definition artifacts.- Returns:
- client
- Throws:
InvalidParameterException
-