Inist-CNRS / lodex

Linked Open Data EXperiment
https://www.lodex.fr/
Other
54 stars 12 forks source link

Fix precomputed job cancelation #1883

Closed slax57 closed 9 months ago

slax57 commented 9 months ago

Problems

Solutions

Testing

This PR includes a commit that was reverted, which contains some code allowing to test the different status of a precomputed job.

To use it, re-apply the changes from that commit, then run make start-dev again.

Once it's done, you will be able to create a precomputed job with the following URL: http://json-server:3001/webhook

This fake service is set up to answer to the precomputed job after 20 seconds, and then call the success callback after 20 more seconds. Timers can be configured in the server-json.js file.