feat(storage): xRegistry core data model extensions (Phase 1)#8097
feat(storage): xRegistry core data model extensions (Phase 1)#8097carlesarnal wants to merge 2 commits into
Conversation
|
PR auto-accepted (trusted author). Smoke tests will run on each push. When ready, use A maintainer can use Note (fork PR): Review label updates may not apply automatically. A maintainer can use |
… pattern" This reverts commit f5eff80.
Add foundational storage layer changes for xRegistry specification support (Phase 1). Extends the data model with epoch-based optimistic concurrency and resource metadata stored as artifact labels. - Add epoch column (auto-incremented on modification) to groups, artifacts, and versions (SQL migration 108) - Add ResourceMetaDto projected from artifact labels with xregistry.meta.* prefix (compatibility, deprecation, etc.) - Add DeprecationInfoDto for structured deprecation info - Default interface methods for resource meta CRUD on RegistryStorage - Unit tests for epoch behavior and resource meta operations Signed-off-by: Carles Arnal <carlesarnal92@gmail.com>
|
|
This PR has been inactive for 7 days. @carlesarnal, please update or comment |
|
This PR has been inactive for 7 days. @carlesarnal, please update or comment |
|
This PR has been inactive for 7 days. @carlesarnal, please update or comment |
|
This PR has been inactive for 7 days. @carlesarnal, please update or comment |
|
This PR has been inactive for 7 days. @carlesarnal, please update or comment |



Summary
Implements Phase 1 (#7446) of the xRegistry specification support epic (#7445). Extends the storage layer and data model with foundational xRegistry concepts.
epochfield (modification counter for optimistic concurrency) to groups, artifacts, and versions — auto-incremented on every metadata updateancestorfield to versions for lineage trackingicon,documentationURL fields to groups, artifacts, and versionscontenttypefield to versionsResourceMetaDtofor xRegistry Meta entity, stored as artifact labels withxregistry.meta.*prefixDeprecationInfoDtofor structured deprecation infoTest plan
XRegistryDataModelTestwith 7 tests covering:DefaultRegistryStorageTest(27 existing tests) — no regressionsCloses #7446