eclipse / vorto

Vorto Project
www.eclipse.org/vorto
Eclipse Public License 2.0
225 stars 105 forks source link

Display progress indication with minimal output information when restoring a repository #2574

Open ghost opened 4 years ago

ghost commented 4 years ago

The "restore" REST endpoint for the whole repository tends to respond with a HTTP 504 (gateway timeout) due to the time it takes to restore the model.

For repository administrators, it would be better usable if the endpoint returned immediately e.g. with a token, and then that token could be used until expiration to query the state of the restore (with minimal logging and progress information).

ghost commented 4 years ago

Note that the same model for progress indication could be used in a number of "long-ish"-term operations across the repository, e.g import.