Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DataFlow relationships instead of LineageMappings for capturing lineage #7318

Merged
merged 22 commits into from
Feb 1, 2023

Conversation

popa-raluca
Copy link
Contributor

Description

Use DataFlow relationships instead of LineageMappings for capturing lineage. This PR contains changes for the following components involved in capturing and retrieving lineage: DE OMAS, AL OMAS, OLS, DS Connector

Related Issue(s)

Testing

Tested locally with updated FVTs, unit tests & DE OMAS samples

Release Notes & Documentation

Additional notes

*/
List<LineageMapping> getChangedLineageMappings(Date from, Date to) throws ConnectorCheckedException, PropertyServerException;
List<DataFlow> getChangedDataFlows(Date from, Date to) throws ConnectorCheckedException, PropertyServerException;

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'from' is never used.
*/
List<LineageMapping> getChangedLineageMappings(Date from, Date to) throws ConnectorCheckedException, PropertyServerException;
List<DataFlow> getChangedDataFlows(Date from, Date to) throws ConnectorCheckedException, PropertyServerException;

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'to' is never used.
Signed-off-by: Raluca Popa <[email protected]>
Signed-off-by: Raluca Popa <[email protected]>
Signed-off-by: Raluca Popa <[email protected]>
@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Jan 20, 2023

🛠 Lift Auto-fix

Some of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1

# Download the patch
curl https://lift.sonatype.com/api/patch/github.com/odpi/egeria/7318.diff -o lift-autofixes.diff

# Apply the patch with git
git apply lift-autofixes.diff

# Review the changes
git diff

Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command:

curl https://lift.sonatype.com/api/patch/github.com/odpi/egeria/7318.diff | git apply

Once you're satisfied commit and push your changes in your project.

Footnotes

  1. You can preview the patch by opening the patch URL in the browser.

@popa-raluca popa-raluca marked this pull request as ready for review January 31, 2023 13:26
@popa-raluca popa-raluca merged commit e46945b into odpi:main Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants