Daniel Messer
e73d096b28
api: OCI compliant tag listing and pagination (PROJQUAY-6931) ( #2884 )
...
implement OCI compliant pagination and tag listing
Signed-off-by: dmesser <dmesser@redhat.com >
2024-06-13 11:28:02 +02:00
Kenny Lee Sin Cheong
4546163e83
registry: implements the OCI 1.1 referrers API (PROJQUAY-7280) ( #2597 )
...
* registry: implements the OCI 1.1 referrers API
Migrations:
- Adds a subject column for lookup
- Adds a subject_backfilled column to track status of the backfilling
of existing manifests
- Adds a manifest_json column making use of postgres' JSONB support,
for future use.
Manifestsubjectbackfillworker: Indexes existing manifests for possible
existing subject field.
* Deprecate IGNORE_UNKNOWN_MEDIATYPES
* Cleanup
2024-06-07 13:28:13 -04:00
Kenny Lee Sin Cheong
be4edd02a3
cache: add caching for manifest requests (PROJQUAY-6482) ( #2522 )
2024-03-04 16:56:56 -05:00
Sunandadadi
88168d0878
chore: adding debug logging for repository_lookup cache key(PROJQUAY-6472) ( #2610 )
...
log: adding debug logging for repository_lookup cache key(PROJQUAY-6472)
2024-01-16 13:25:23 -05:00
Sunandadadi
a7737722fc
cache: adding caching on look_up repository (PROJQUAY-6472) ( #2521 )
...
* adding caching on look_up repository
* fixing query count in tests
* fixing tests
* isort fix
2024-01-16 09:58:56 -05:00
Sunandadadi
6fc77823da
Revert "api: add caching for get_repository method (PROJQUAY-6472)" ( #2517 )
...
Revert "api: add caching for get_repository method (PROJQUAY-6472) (#2515 )"
This reverts commit 9c89e843f3 .
2023-12-01 09:07:19 -05:00
Sunandadadi
9c89e843f3
api: add caching for get_repository method (PROJQUAY-6472) ( #2515 )
...
* api: add caching for get_repository method (PROJQUAY-6472)
* fixing formatting
* using pickle to serialize and deserialize objects
* adding model_cache parameter to lookup_repository func for interface and registry_proxy_model
* adding test
* formatting fix
2023-11-30 12:46:28 -05:00
Syed Ahmed
54fcfd14f9
secscan: Cache clair vuln reports (PROJQUAY-6057) ( #2245 )
...
uses modelcache to for caching clair security report responses
2023-09-20 20:33:41 +00:00
Flavian Missi
5987534718
endpoints/v2: handle generic proxy related errors ( #1213 )
...
also add upstream registry to proxy cache key. if a user changes their
mind about what registry to proxy, we shouldn't try to reuse the token.
2022-03-30 15:30:05 +02:00
Flavian Missi
fe4d66b030
feat: pull-thru proxy cache ( #1053 )
...
introduces the possibility to pull images from external registries
through Quay, storing them locally for faster subsequent pulls.
Closes PROJQUAY-3030 and PROJQUAY-3033
2022-03-23 17:20:00 +01:00
Syed Mushtaq Ahmed
df4ad94527
modelcache: Make ModelCache TTL configurable (PROJQUAY-1878) ( #765 )
...
Adds a configuration option to modify the cache expiry timeout
for ModelCache objects
Co-authored-by: Syed <syed@apache.org >
2021-04-28 10:46:32 -04:00
Joseph Schorr
1b083d7d51
Add caching support for app registry show package call ( #460 )
2020-06-26 12:36:59 -04:00
Joseph Schorr
9833713b0c
Add caching for app registry listing package API ( #374 )
...
Fixes https://issues.redhat.com/browse/PROJQUAY-670
2020-05-18 11:07:11 -04:00
alecmerdler
3dd5f045ff
fix all the docstrings
2020-02-05 19:55:07 -08:00
Tom McKay
e6ae94db8b
'make black' results
2019-12-02 12:23:08 -05:00
Jimmy Zelinskie
9c0dd3b722
initial import for Open Source 🎉
2019-11-12 11:09:47 -05:00