Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 2.44 KB

File metadata and controls

82 lines (58 loc) · 2.44 KB

Offline export fixtures

Versioned tarball of a minimal 3scale tenant export for offline tests and cross-repo import validation (ApiShift INT-3).

Version

Field Value
Export schema 1.0 (manifest.json)
Artifact export-minimal-1.0.tar.gz
Checksum export-minimal-1.0.tar.gz.sha256

Fixture version follows export schema_version, not the application release semver (v0.1.x).

Contents

Source tree: internal/visualize/testdata/export-minimal/

Item Description
Products seed_alpha, seed_multi_backend (YAML + JSON sidecars)
Backends shared_payments, billing_api
Applications applications/page-1.json
Manifest 2 products, 2 backends, applications included

Used by internal/visualize unit tests and documented in docs/TEST_CASES.md (TC-VIZ-001).

Download

Latest on main (raw):

https://github.com/Everything-is-Code/3scaleextract/raw/main/testdata/export-minimal-1.0.tar.gz
https://github.com/Everything-is-Code/3scaleextract/raw/main/testdata/export-minimal-1.0.tar.gz.sha256

Release asset (semver-pinned app release):

https://github.com/Everything-is-Code/3scaleextract/releases/download/vX.Y.Z/export-minimal-1.0.tar.gz
https://github.com/Everything-is-Code/3scaleextract/releases/download/vX.Y.Z/export-minimal-1.0.tar.gz.sha256

Verify and extract

curl -LO https://github.com/Everything-is-Code/3scaleextract/raw/main/testdata/export-minimal-1.0.tar.gz
curl -LO https://github.com/Everything-is-Code/3scaleextract/raw/main/testdata/export-minimal-1.0.tar.gz.sha256
sha256sum -c export-minimal-1.0.tar.gz.sha256
tar xzf export-minimal-1.0.tar.gz

Expected layout after extract:

export-minimal/
├── manifest.json
├── products/
├── backends/
└── applications/

Example with visualize:

threescale-visualize export-minimal -o ./report

Regenerate (maintainers)

After editing internal/visualize/testdata/export-minimal/:

./scripts/pack-export-minimal.sh
./scripts/pack-export-minimal.sh --check   # CI uses this
git add testdata/export-minimal-1.0.tar.gz testdata/export-minimal-1.0.tar.gz.sha256

Related