harbor/src/pkg/task
Chlins Zhang e180723bdc
[cherry-pick] fix: improve the performance of list artifacts (#18632)
fix: improve the performance of list artifacts

1. Change the query for listing tasks of scan which can use the db
   index.
2. Add the gin index for task.extra_attrs.report_uuids

Fixes: #18013

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-05-05 14:15:55 +08:00
..
dao [cherry-pick] fix: improve the performance of list artifacts (#18632) 2023-05-05 14:15:55 +08:00
execution_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
execution.go (cherry-pick) Avoid internal error in the UI when reset a schedule (#17960) 2022-12-09 10:58:42 +08:00
hook_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
hook.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
mock_execution_dao_test.go upgrade: bump up mockery to v2.14.0 (#17415) 2022-08-22 14:21:13 +08:00
mock_jobservice_client_test.go Add jobservice monitoring api list pool, worker and stop running task (#17658) 2022-11-03 10:47:40 +08:00
mock_task_dao_test.go [cherry-pick] fix: improve the performance of list artifacts (#18632) 2023-05-05 14:15:55 +08:00
mock_task_manager_test.go [cherry-pick] fix: improve the performance of list artifacts (#18632) 2023-05-05 14:15:55 +08:00
mock.go chore(mocks): add make targets to generate and check mocks 2020-07-22 01:59:32 +00:00
model.go feat(schedule):sync schedules in db to js datastore 2021-09-07 08:33:01 +08:00
registry_test.go Refactor the replication execution 2020-11-23 14:24:10 +08:00
registry.go Fix duplicate execution record issue 2021-05-12 15:40:52 +08:00
task_test.go [cherry-pick] fix: improve the performance of list artifacts (#18632) 2023-05-05 14:15:55 +08:00
task.go [cherry-pick] fix: improve the performance of list artifacts (#18632) 2023-05-05 14:15:55 +08:00