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

vdk-core: Verify payload after pre-processing it #777

Merged

Conversation

YanaZhivkova
Copy link
Contributor

Ingestion allows pre-processing payloads. If the payload
is curated during pre-processing, currently, verification
would fail.

Verify payload after pre-processing it, since this
pre-processing might be responsible for making it serializable.
Also, add VDK_ prefix to configs so that ingestion pre/post
processors are properly initialized.

Tested by: locally run ingestion job which curates json
during pre-processing

Signed-off-by: Yana Zhivkova [email protected]

@ivakoleva ivakoleva enabled auto-merge (squash) March 28, 2022 15:38
@YanaZhivkova YanaZhivkova force-pushed the person/yzhivkova/Verify_ingestion_payload_after_pre-process branch from 6d85dc4 to ea20713 Compare April 14, 2022 10:02
Ingestion allows pre-processing payloads. If the payload
is curated during pre-processing, currently, verification and
subsequently job execution would fail.

Verify payload after pre-processing it, since this
pre-processing might be responsible for making it serializable.
Add payload verification functional tests since it can no
longer be tested in send_object_for_ingestion async function.

Tested by: locally run ingestion job which curates json
during pre-processing; functional test added.

Signed-off-by: Yana Zhivkova <[email protected]>
@YanaZhivkova YanaZhivkova force-pushed the person/yzhivkova/Verify_ingestion_payload_after_pre-process branch from ea20713 to e65a8c6 Compare April 18, 2022 05:53
@ivakoleva ivakoleva merged commit fa96ce9 into main Apr 18, 2022
@ivakoleva ivakoleva deleted the person/yzhivkova/Verify_ingestion_payload_after_pre-process branch April 18, 2022 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants