Class GovernanceServiceCache
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.admin.GovernanceServiceCache
GovernanceServiceCache maintains the information about a registered governance service. A single governance service may be registered using
different request types and analysis parameter pairs.
-
Method Summary
Modifier and TypeMethodDescriptionSimple getter for the governance service's unique identifier (GUID).Simple getter for the governance service name - used in messages.Return a governance service connector instance using the registered properties for the governance service.getRequestParameters
(Map<String, String> suppliedRequestParameters) Return the request/analysis parameters to use if none supplied from the caller - these can be null too.Simple getter for the requestType to pass to governance service.
-
Method Details
-
getGovernanceServiceName
Simple getter for the governance service name - used in messages.- Returns:
- name
-
getGovernanceServiceGUID
Simple getter for the governance service's unique identifier (GUID).- Returns:
- string guid
-
getServiceRequestType
Simple getter for the requestType to pass to governance service.- Returns:
- string name
-
getRequestParameters
Return the request/analysis parameters to use if none supplied from the caller - these can be null too.- Parameters:
suppliedRequestParameters
- request parameters from the caller- Returns:
- map of string property name to string property value
-
getNextGovernanceService
public Connector getNextGovernanceService() throws InvalidParameterException, PropertyServerExceptionReturn a governance service connector instance using the registered properties for the governance service.- Returns:
- connector
- Throws:
InvalidParameterException
- bad connectionPropertyServerException
- problem with the governance service connector
-