[OTDev] Task redirect
Nina Jeliazkova nina at acad.bgTue Apr 27 12:05:24 CEST 2010
- Previous message: [OTDev] Task redirect
- Next message: [OTDev] Task redirect
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin Guetlein wrote: > On Tue, Apr 27, 2010 at 11:24 AM, Tobias Girschick < > tobias.girschick at in.tum.de> wrote: > > >> Hi All, >> >> On Tue, 2010-04-27 at 11:52 +0300, Nina Jeliazkova wrote: >> >>> Hello Tobias, >>> >>> Tobias Girschick wrote: >>> >>>> Hello All, >>>> >>>> we removed the redirect from the TUM task services as suggested by >>>> Martin. All Tasks now return the resulting URI and status code 200 on >>>> finishing. No automatic redirects anymore. >>>> >>>> >>> Just to clarify - if a model completes execution and posts the result >>> dataset to the dataset service, what will be returned - 200 or 202 ? >>> >> Now I return 200. How are other groups handling this, e.g. Pantelis? >> Martin? >> >> > > > Hello Tobias, Nina, > > I would expect 202 as long as the task is running, > 202 as soon as the task > is finished. I guess you mean 200. > The resultURI of the task maybe another task tough. > > So in Tobias Case: > * model building returns tum-task with 202 while the model is running > * model finishes: the results are posted to ambits dataset service, the > model service receives an ambit task > * tum-task is set to 200, resultURI of tum-task is set to ambit-task > Then how do you distinguish between resultURI pointing to another task and final result (a dataset, anythig else), if both have 200 code ? This can be done if reading RDF representation, but not text/uri-list. Does it mean we should drop uri-list ? Best regards, Nina > Best regards, > Martin > > > > > >> Nina told me that returning 200 will cause Problems with ToxPredict (at >> the moment). What exactly is expected by the validation services? >> >> We definitely need a uniform solution here. What do other developers >> think? I have no problem returning 202 on completion (calculation >> completion) if the complete job is still not done (e.g. AMBIT upload >> initiated by my service). >> >> regards, >> Tobias >> >> >>> Best regards, >>> Nina >>> >>>> @Martin: Could you check if everything works fine now with the >>>> validation services? >>>> >>>> regards, >>>> Tobias + Fabian >>>> >>>> >>>> >> -- >> Dipl.-Bioinf. Tobias Girschick >> >> Technische Universität München >> Institut für Informatik >> Lehrstuhl I12 - Bioinformatik >> Bolzmannstr. 3 >> 85748 Garching b. München, Germany >> >> Room: MI 01.09.042 >> Phone: +49 (89) 289-18002 >> Email: tobias.girschick at in.tum.de >> Web: http://wwwkramer.in.tum.de/girschick >> >> _______________________________________________ >> Development mailing list >> Development at opentox.org >> http://www.opentox.org/mailman/listinfo/development >> >> > > > >
- Previous message: [OTDev] Task redirect
- Next message: [OTDev] Task redirect
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list