Interface TriageGovernanceContext
- All Superinterfaces:
GovernanceContext
TriageGovernanceContext provides access to details of the triage request and associated governance action plus with access to the
metadata store.
A triage governance action service typically assesses the request source elements and makes a choice to
call an external triage service, create a to-do for a profile in the open metadata ecosystem,
or directly completing the associated governance action with a decision for the completion status and guards that are used to
determine the next step to proceed.
-
Method Summary
Methods inherited from interface org.odpi.openmetadata.frameworks.opengovernance.GovernanceContext
getActionTargetElements, getCompletionStatus, getConnectorConfigClient, getDuplicateManagementClient, getEngineActionGUID, getMaxPageSize, getRequesterUserId, getRequestParameters, getRequestSourceElements, getRequestType, recordCompletionStatus, recordCompletionStatus, recordCompletionStatus, recordCompletionStatus, recordCompletionStatus, updateActionTargetStatus
-
Method Details
-
openToDo
String openToDo(String toDoQualifiedName, String title, String instructions, String toDoType, int priority, Date dueDate, String assignToGUID, String actionTargetGUID, String actionTargetName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a "To Do" request for someone to work on.- Parameters:
toDoQualifiedName
- unique name for the to do. (Could be the engine name and a guid?)title
- short meaningful phrase for the person receiving the requestinstructions
- further details on what to dotoDoType
- type of to dopriority
- priority value (based on organization's scale)dueDate
- date/time this needs to be completedassignToGUID
- unique identifier for the recipient actoractionTargetGUID
- unique identifier of the element to work on.actionTargetName
- name of the element to work on.- Returns:
- unique identifier of new to do element
- Throws:
InvalidParameterException
- either todoQualifiedName or assignedTo are null or not recognizedUserNotAuthorizedException
- the governance action service is not authorized to create a to doPropertyServerException
- there is a problem connecting to (or inside) the metadata store
-