#217: BatchUploader: add callback URL
-------------------------+--------------------------------------------------
 Reporter:  jcaffaro     |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  major        |   Milestone:     
Component:  BibUpload    |     Version:     
 Keywords:               |  
-------------------------+--------------------------------------------------
 Add a possibility for robots uploading files with BatchUploader to specify
 a URL to be called once the corresponding BibUpload task is done. This
 feature can be built on top of the {{{--post-process}}} option of
 BibTasks.

 It would be interesting that the the reply includes the list of updated
 record IDs.

 Probably a dedicated BibTasklet would have to be implemented and run with
 {{{--post-process}}} to 1) retrieve the inserted/modified record IDs, and
 2) contact the sender of the BatchUploader/BibUpload task, either based on
 originator IP address, or based on the parameters sent to BatchUploader,
 for eg.
 {{{http://invenio-
 
demo.cern.ch/batchuploader/robotupload?callback=http%3A%2F%2Findico.cern.ch%2Ftask_done.py%3Ftaskid%3D526}}}.

-- 
Ticket URL: <http://invenio-software.org/ticket/217>
Invenio <http://invenio-software.org>

Reply via email to