Merge pull request #3290 from quay/joseph.schorr/QUAY-1124/implement-new-data-model

Implement the new OCI-based registry data model
This commit is contained in:
Joseph Schorr 2018-11-08 13:39:29 -05:00 committed by GitHub
commit 6b86b87a16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 1847 additions and 209 deletions

View file

@ -217,6 +217,7 @@ class RepositoryTagImages(RepositoryParamResource):
all_images = None
if parsed_args['owned']:
# TODO(jschorr): Remove the `owned` image concept once we are fully on V2_2.
all_images = registry_model.get_legacy_images_owned_by_tag(tag_ref)
else:
image_with_parents = registry_model.get_legacy_image(repo_ref, image_id, include_parents=True)