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

MINOR - Hybrid Ingestion Agent - Link ingestion agents to ingestion pipelines #19751

Conversation

gyohub
Copy link
Contributor

@gyohub gyohub commented Feb 11, 2025

Describe your changes:

Adds the IngestionAgent field to the IngestionPipeline schema. The field is a simple entity reference.
There's no db migrations since the field can be null.
This is required for the Collate's Hybrid ingestion agent feature.

Fixes GEN-2117

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@gyohub gyohub requested review from a team as code owners February 11, 2025 13:26
Copy link

Copy link
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

Copy link
Contributor

github-actions bot commented Feb 11, 2025

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 64%
64.63% (41371/64009) 41% (16709/40757) 44.22% (5040/11398)

Copy link
Contributor

The Java checkstyle failed.

Please run mvn spotless:apply in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Java code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

@@ -221,6 +221,10 @@
"applicationType": {
"description": "Type of the application when pipelineType is 'application'.",
"type": "string"
},
"ingestionAgent" : {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requires migration right cc @pmbrull

Copy link
Contributor Author

@gyohub gyohub Feb 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harshach db migration is not required since this field is nullable so any ingestion pipeline that is not hybrid won't have an agent reference.

Copy link

Copy link

@gyohub gyohub enabled auto-merge (squash) February 12, 2025 12:33
@pmbrull pmbrull disabled auto-merge February 12, 2025 13:31
@pmbrull pmbrull merged commit 2559c79 into open-metadata:main Feb 12, 2025
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Collate safe to test Add this label to run secure Github workflows on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants