Commit graph

8 commits

Author SHA1 Message Date
Antoine Lambert
6e7bc49ec7 Harmonize listers parameters and add test to check mandatory ones
Ensure that all lister classes have the same set of mandatory parameters
in their constructors, notably: scheduler, url, instance and credentials.

Add a new test checking listers classes have mandatory parameters declared
in their constructors. The purpose is to avoid deployment issues on staging
or production environment as celery tasks can fail to be executed if mandatory
parameters are not handled by listers.

Reated to swh/infra/sysadm-environment#5030.
2023-09-06 11:55:34 +02:00
Kumar Shivendu
1ee549fc9d hex: Update loader arguments 2023-03-22 08:45:41 +00:00
KShivendu
571d69f965 fix(hex): Use page_size for stopping condition 2023-03-14 17:59:46 +00:00
KShivendu
6d228a8147 fix(hex): Update Hex Lister task name 2023-03-14 17:59:46 +00:00
KShivendu
9095bbec00 fix(hex): Use only updated_after for pagination 2023-03-14 17:59:46 +00:00
KShivendu
ac9993a001 test(hex): Improve comments in the lister tests 2023-03-14 17:59:46 +00:00
KShivendu
cfd9a693aa feat(hex): Use updated_after search query 2023-03-14 17:59:46 +00:00
KShivendu
a452995d95 feat: Add Hex.pm lister 2023-03-14 17:59:46 +00:00