Class 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 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 user
        governanceActionGUID - unique identifier of the governance action that triggered this governance service
        requestType - unique identifier of the asset that the annotations should be attached to
        requestParameters - name-value properties to control the governance action service
        requestSourceElements - metadata elements associated with the request to the governance action service
        actionTargetElements - metadata elements that need to be worked on by the governance action service
        openMetadataStore - client to the metadata store for use by the governance action service