0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-10 23:39:39 -05:00
zot/pkg/cli
Andrei Aaron 74f769d2c1
fix(cli): make sure all needed ImageSummary properties are requested from the server (#1618)
Resolves #1597

Fix missing properties in some calls OS/Arch/IsSigned/LastUpdated.
Since the properties were missing from the graphql requests, zli was showing default values.

Update the tests to generate a tets image with the created date different from
the go detault value for time.Time{}. The tests are now checking a non-default
value in the responses client side, in order to avoid missing issues like this in the future.

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
2023-07-14 09:22:14 +03:00
..
cli.go feat(cli): add referrers and search commands to cli (#1497) 2023-06-22 10:43:01 -07:00
client.go fix: removed duplicate structures from service.go and moved them to pkg/common (#1436) 2023-05-25 11:27:49 -07:00
client_elevated_test.go refactor: Cleanup/simplify testcases in /pkg/cli (#1103) 2023-01-16 21:52:50 -08:00
client_test.go test(refactor): cleanup/simplify testcases (#1124) 2023-01-20 10:01:52 -08:00
client_utils_test.go refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
config_cmd.go feat(zli): add new subcommand to remove a zli config (#1619) 2023-07-13 09:34:01 -07:00
config_cmd_test.go feat(zli): add new subcommand to remove a zli config (#1619) 2023-07-13 09:34:01 -07:00
config_reloader.go feat: remove usage of zerolog.Logger.Msgf() from zot code (#1382) 2023-04-27 19:44:22 -07:00
config_reloader_test.go fix(test): TestConfigReloader, wait for trivy db download (#1543) 2023-07-06 14:17:49 +03:00
cve_cmd.go fix(CVE): attempt to scan now returns early with an error if trivyDB metadata json is missing (#1548) 2023-07-05 09:08:16 -07:00
cve_cmd_test.go fix(cli): make sure all needed ImageSummary properties are requested from the server (#1618) 2023-07-14 09:22:14 +03:00
discover.go fix: removed duplicate structures from service.go and moved them to pkg/common (#1436) 2023-05-25 11:27:49 -07:00
extensions_test.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
image_cmd.go feat(cli): add referrers and search commands to cli (#1497) 2023-06-22 10:43:01 -07:00
image_cmd_test.go fix(cli): make sure all needed ImageSummary properties are requested from the server (#1618) 2023-07-14 09:22:14 +03:00
minimal.go build(tags): remove redundant build tag ui_base (#857) 2022-10-10 15:05:55 +03:00
repo_cmd.go feat(cli): add referrers and search commands to cli (#1497) 2023-06-22 10:43:01 -07:00
root.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
root_test.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
search_cmd.go fix(cli): add help message for searching referrers under search command (#1551) 2023-06-23 17:44:30 +03:00
search_cmd_referrers_test.go feat: add additional manifest validations (#1609) 2023-07-13 09:31:39 -07:00
search_cmd_test.go feat(cli): Fix multiple issues with zli output (#1612) 2023-07-12 10:21:12 -07:00
searcher.go feat(cli): Fix multiple issues with zli output (#1612) 2023-07-12 10:21:12 -07:00
service.go fix(cli): make sure all needed ImageSummary properties are requested from the server (#1618) 2023-07-14 09:22:14 +03:00
stress_test.go refactor: Cleanup/simplify testcases in /pkg/cli (#1103) 2023-01-16 21:52:50 -08:00