Ekerot / arkimera-robotics-project

0 stars 0 forks source link

API - extractionTime is not correct #229

Open beppek opened 7 years ago

beppek commented 7 years ago

The implementation of extractionTime only shows the time it takes to make the request to AzoraOne, not from the time the file is accepted and the actual extraction begins. The timer should be based on the timestamp received by AzoraOne in the 202 response on file upload.

beppek commented 7 years ago

There is another problem. Even if we get the start time correct, we currently don't have a correct way of getting the end time when the extraction is finished. For that to work properly a webhook needs to be registered as that would be the only way to get the time AzoraOne says it is finished.