chaoss / grimoirelab-bestiary

GNU General Public License v3.0
3 stars 9 forks source link

[jobs] Add support for redis queue jobs #89

Closed jjmerchante closed 2 years ago

jjmerchante commented 2 years ago

This PR adds support for redis queues. It includes a function to get a job by its ID and another to get the list of the available jobs in the registry.

I couldn't test get_jobs() method using fakeredis but I tested it with a redis server and a worker and it works.

Related to https://github.com/chaoss/grimoirelab-bestiary/issues/87

evamillan commented 2 years ago

The code looks good to me, but I'm missing the GraphQL resolvers to get the list of jobs or find a job, will that be on a different PR?