VCST-5387: Add binary sidecar export/import contracts - #3099
Open
ToxaKZ wants to merge 1 commit into
Open
Conversation
ToxaKZ
force-pushed
the
feat/VCST-5387-top-level-catalog-assets
branch
from
August 11, 2026 13:47
f9df2ba to
da0b53e
Compare
|
OlegoO
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Adds optional streaming contracts to VirtoCommerce.Platform.Core.ExportImport for modules whose export contains a readable primary payload together with binary sidecar entries.
Previously an export module received only one output stream. A module that needed to include files therefore had to turn its .json part into an opaque nested ZIP. That makes a backup difficult to inspect and prevents the archive owner, such as BackupRestore, from placing files in a normal top-level structure like assets/.
The new contracts preserve ownership of the export container:
This API allows BackupRestore to keep VirtoCommerce.Catalog.json as readable JSON while storing Catalog files as regular top-level ZIP entries. Binary content is streamed through the contracts; the API does not require the archive, JSON payload, or asset files to be materialized in memory.
After the Platform.Core package is published, the corresponding BackupRestore and Catalog changes will consume these contracts.
References
QA-test:
End-to-end QA is covered by the consuming BackupRestore and Catalog changes after the Platform.Core package is published.
Jira-link:
https://virtocommerce.atlassian.net/browse/VCST-5387
Artifact URL:
Image tag:
ghcr.io/VirtoCommerce/platform:3.1059.0-pr-3099-da0b-vcst-5387-top-level-catalog-assets-da0b53ea