[OTDev] rejecting tasks

Martin Guetlein martin.guetlein at googlemail.com
Mon Nov 22 10:14:53 CET 2010


Hi Nina, All,

I would vote for adding "Rejected" to the possible task states.

Regards,
Martin

On Mon, Nov 22, 2010 at 9:47 AM, Nina Jeliazkova
<jeliazkova.nina at gmail.com> wrote:
> Hi All,
>
> We have recently implemented "task rejection" functionality in IDEA
> services.  If a task is rejected (e.g. because of high load), it gets status
> "Cancelled" and returns HTTP code 503.
>
> Both "Cancelled" status and 503 codes are already in the Task API
> http://opentox.org/dev/apis/api-1.1/AsyncTask , but it is not quite clear if
> it was intended to be applied in "task rejection" case.  Do we need separate
> task status for marking rejected tasks, or the current setup is acceptable?
>
> Best regards,
> Nina
> _______________________________________________
> Development mailing list
> Development at opentox.org
> http://www.opentox.org/mailman/listinfo/development
>



-- 
Dipl-Inf. Martin Gütlein
Phone:
+49 (0)761 203 8442 (office)
+49 (0)177 623 9499 (mobile)
Email:
guetlein at informatik.uni-freiburg.de



More information about the Development mailing list