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.org.odpi.openmetadata.frameworks.connectors.ConnectorReturn 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 org.odpi.openmetadata.frameworks.connectors.Connector getNextGovernanceService() throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionReturn a governance service connector instance using the registered properties for the governance service.- Returns:
- connector
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- bad connectionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem with the governance service connector
-