swh-lister/swh/lister
Antoine R. Dumont (@ardumont) 6d11705908
phabricator.lister: Use credentials setup from configuration file
Prior to this commit, this expected the api.token to be provided at task
initialization. That behavior has been kept for cli purposes. It's no good for
production purposes though (as this leaks the credentials in the scheduler db).

So now, the credentials is fetched from the lister's configuration file as the
other listers do.

Another change is the authentication mechanism which is slighly different. It's
not using a basic `auth` mechanism. It's expecting an `api.token` query
parameter so the `request_params` is overriden to provide that.

Related T1809
2019-06-17 16:19:23 +02:00
..
bitbucket lister: Unify credentials structure between listers 2019-05-29 14:00:11 +02:00
core phabricator.lister: Use credentials setup from configuration file 2019-06-17 16:19:23 +02:00
cran swh.lister.cran 2019-06-11 21:26:31 +05:30
debian lister.core: Stop creating origins when scheduling tasks 2019-06-13 15:42:07 +02:00
github lister: Unify credentials structure between listers 2019-05-29 14:00:11 +02:00
gitlab gitlab.lister: Remove request_params method override 2019-06-14 18:26:36 +02:00
gnu swh.lister.gnu: Add function to check for file extension. 2019-06-11 15:12:53 +05:30
npm lister: Unify credentials structure between listers 2019-05-29 14:00:11 +02:00
phabricator phabricator.lister: Use credentials setup from configuration file 2019-06-17 16:19:23 +02:00
pypi lister: Unify credentials structure between listers 2019-05-29 14:00:11 +02:00
tests Rename test methods to test_ to allow collection by pytest 2018-10-15 10:11:07 +02:00
__init__.py Add missing __init__.py files 2017-10-30 16:38:27 +01:00
cli.py swh.lister.cran 2019-06-11 21:26:31 +05:30
utils.py gitlab.lister: Simplify retrieving headers information 2018-07-16 13:57:34 +02:00