Class OpenLineageGovernanceActionResolver
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageGovernanceActionResolver
OpenLineageGovernanceActionResolver finds the open metadata elements behind a run that the governance action
publisher reported. The run's egeria_governanceAction facet names the process instance that the engine action is
part of (processName) and the process step that it implements (processStepName) by their qualified names.
- The process is the GovernanceActionProcess that the process instance is governed by (or the process instance itself if it is not linked to one). The lineage of every run of the process meets at this element, which is the same element that provisioning services such as Wedgwood connect their own lineage to.
- The process step is the GovernanceActionProcessStep. Each step of a process runs separately, so the RunMetrics that describe how often and how long the runs take are kept on the step.
- The process instance represents this run of the process.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe elements behind a governance action run. -
Constructor Summary
ConstructorsConstructorDescriptionOpenLineageGovernanceActionResolver(ConnectorContextBase context, String sourceName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionFind the elements behind a run reported by the governance action publisher.
-
Constructor Details
-
OpenLineageGovernanceActionResolver
Constructor.- Parameters:
context- context of the calling connector or governance servicesourceName- name of the caller (for property helper calls)
-
-
Method Details
-
resolve
public OpenLineageGovernanceActionResolver.GovernanceActionElements resolve(OpenLineageEgeriaGovernanceActionRunFacet facet) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Find the elements behind a run reported by the governance action publisher.- Parameters:
facet- the run's egeria_governanceAction facet- Returns:
- elements, or null if the run is not part of a governance action process that can be found
- Throws:
InvalidParameterException- invalid parameterPropertyServerException- repository problemUserNotAuthorizedException- security problem
-