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:
commit
6b86b87a16
23 changed files with 1847 additions and 209 deletions
|
@ -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)
|
||||
|
|
|
@ -52,4 +52,4 @@ def test_e2e_query_count_manifest_norewrite(client, app):
|
|||
conduct_call(client, 'v2.write_manifest_by_digest', url_for, 'PUT', params, expected_code=202,
|
||||
headers=headers, raw_body=tag_manifest.json_data)
|
||||
|
||||
assert counter.count <= 25
|
||||
assert counter.count <= 27
|
||||
|
|
Reference in a new issue