0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-27 23:01:43 -05:00
zot/pkg/extensions/search
Andrei Aaron feb7328f50
feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135)
- derivedImageList and baseImageList now use FilterTags to obtain results,
each with its own filter function
- images that have the exact same manifest as the one provided as a
parameter are no longer considered base images or derived images
- both calls can be made with specific pagination parameters, and the
response will include PageInfo

Signed-off-by: Alex Stan <alexandrustan96@yahoo.ro>

fix(tests): fix one of the pagination tests

The results were not reliable as the 2 returned tags were sorted by created date/time
which was not set, resulting in an unpredictable order

Signed-off-by: Andrei Aaron <andaaron@cisco.com>
(cherry picked from commit be504200a1127371422aeb0e5c0219e2a1ead20a)
(cherry picked from commit ed8d797e639f262a63840120afe92da7db9a7600)
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

Signed-off-by: Andrei Aaron <andaaron@cisco.com>
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
Co-authored-by: Alex Stan <alexandrustan96@yahoo.ro>
2023-01-25 14:06:02 -08:00
..
common feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
convert feat(repodb): implement pagination for ImageList and integrate it with RepoDB (#1129) 2023-01-23 09:45:11 -08:00
cve feat(cve): graphql: paginate returned CVEs for a given image (#1136) 2023-01-24 15:03:10 -08:00
digest refactor: Cleanup/simplify testcases in /pkg/extensions (#1116) 2023-01-19 08:54:05 -08:00
gql_generated feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
gqlgen.yml Update to graphql 1.17.13 2022-07-18 12:55:40 -07:00
resolver.go feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
resolver_test.go feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
schema.graphql feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
schema.resolvers.go feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
search.md fix sample request url in search extension README 2022-06-07 11:24:19 -07:00