Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.

[vdk-plugins] Update ingestion interfaces used in plugins - #689

Merged
doks5 merged 1 commit into
mainfrom
person/andonova/update-ingest-interfaces
Feb 1, 2022
Merged

[vdk-plugins] Update ingestion interfaces used in plugins#689
doks5 merged 1 commit into
mainfrom
person/andonova/update-ingest-interfaces

Conversation

@doks5

@doks5 doks5 commented Feb 1, 2022

Copy link
Copy Markdown
Contributor

As part of #682, the
signature of the ingest_payload() method was updated to accept a metadata
object as part of the ingestion flow.

Once the interface change is adopted in vdk-core, this would cause data jobs to
fail, due to missing keyword argument "metadata".

This change updates the signatures of the ingest_payload() methods, implemented
in the vdk-plugins that provide ingestion capabilities. This is done in order to
avoid the abovementioned error.

Testing Done: Not required, as no plugins currently process the metadata.

Signed-off-by: Andon Andonov andonova@vmware.com

@doks5
doks5 force-pushed the person/andonova/update-ingest-interfaces branch from 8d3c17a to 190d6cc Compare February 1, 2022 15:02
@doks5

doks5 commented Feb 1, 2022

Copy link
Copy Markdown
Contributor Author

@ivakoleva

Copy link
Copy Markdown
Contributor

@ivakoleva ivakoleva left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

don't see anything else missing except test_run_ingest.py

@doks5
doks5 force-pushed the person/andonova/update-ingest-interfaces branch 2 times, most recently from e727650 to dc0222f Compare February 1, 2022 18:52
As part of #682, the
signature of the ingest_payload() method was updated to accept a metadata
object as part of the ingestion flow.

Once the interface change is adopted in vdk-core, this would cause data jobs to
fail, due to missing keyword argument "metadata".

This change updates the signatures of the ingest_payload() methods, implemented
in the vdk-plugins that provide ingestion capabilities. This is done in order to
avoid the abovementioned error.

Testing Done: Not required, as no plugins currently process the metadata.

Signed-off-by: Andon Andonov <andonova@vmware.com>
@doks5
doks5 force-pushed the person/andonova/update-ingest-interfaces branch from dc0222f to 4a5bc09 Compare February 1, 2022 18:54
@doks5
doks5 merged commit 29aa26b into main Feb 1, 2022
@doks5
doks5 deleted the person/andonova/update-ingest-interfaces branch February 1, 2022 19:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants