Class VerificationGovernanceContext
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.governanceaction.GovernanceContext
-
- org.odpi.openmetadata.frameworks.governanceaction.VerificationGovernanceContext
-
public class VerificationGovernanceContext extends GovernanceContext
VerificationGovernanceContext provides access to details of the verification request along with access to the metadata store. A verification service is typically verifying that the properties associated with actionTargetElements are set appropriately. Part of these checks may look for consistency with the request source elements. For example, if a discovery service documented a schema extracted from the real world counterpart of an Asset metadata element, a verification service could check that the schema metadata elements for the Asset are correct.
-
-
Constructor Summary
Constructors Constructor Description VerificationGovernanceContext(String userId, String governanceActionGUID, String requestType, Map<String,String> requestParameters, List<RequestSourceElement> requestSourceElements, List<ActionTargetElement> actionTargetElements, OpenMetadataClient openMetadataStore)Constructor sets up the key parameters for processing the request to the governance action service.
-
Method Summary
-
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.GovernanceContext
getActionTargetElements, getCompletionStatus, getOpenMetadataStore, getRequestParameters, getRequestSourceElements, getRequestType, recordCompletionStatus, recordCompletionStatus, recordCompletionStatus, toString, updateActionTargetStatus
-
-
-
-
Constructor Detail
-
VerificationGovernanceContext
public VerificationGovernanceContext(String userId, String governanceActionGUID, String requestType, Map<String,String> requestParameters, List<RequestSourceElement> requestSourceElements, List<ActionTargetElement> actionTargetElements, OpenMetadataClient openMetadataStore)
Constructor sets up the key parameters for processing the request to the governance action service.- Parameters:
userId- calling usergovernanceActionGUID- unique identifier of the governance action that triggered this governance servicerequestType- unique identifier of the asset that the annotations should be attached torequestParameters- name-value properties to control the governance action servicerequestSourceElements- metadata elements associated with the request to the governance action serviceactionTargetElements- metadata elements that need to be worked on by the governance action serviceopenMetadataStore- client to the metadata store for use by the governance action service
-
-