You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2014/07/09 17:02:04 UTC

[jira] [Comment Edited] (BATCHEE-45) add a few simple BatchOperator commands to our batchee-servlet

    [ https://issues.apache.org/jira/browse/BATCHEE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056265#comment-14056265 ] 

Mark Struberg edited comment on BATCHEE-45 at 7/9/14 3:00 PM:
--------------------------------------------------------------

for starting batches:

{code}
wget http://localhost:8080/myapp/jbatch/rest/start/mybatch?param1=x&param2=y
{code}

As response the following 2 content variants will be sent with MIME type text/plain:

In case of OK, where '123' is the id of the batch execution which got started:
{code}
123\n
STARTED
{code}

In case of a FAILURE:
{code}
123\n
FAILURE\n
error message\
stack trace
{code}

something like that...


was (Author: struberg):
for starting batches:

{code}
wget http://localhost:8080/myapp/jbatch/start?name=mybatch&param1=x&param2=y
{code}

As response the following 2 content variants will be sent with MIME type text/plain:

In case of OK, where '123' is the id of the batch execution which got started:
{code}
123\n
STARTED
{code}

In case of a FAILURE:
{code}
123\n
FAILURE\n
error message\
stack trace
{code}

something like that...

> add a few simple BatchOperator commands to our batchee-servlet
> --------------------------------------------------------------
>
>                 Key: BATCHEE-45
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-45
>             Project: BatchEE
>          Issue Type: New Feature
>          Components: jbatch-servlet
>    Affects Versions: 0.1-incubating
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.2-incubating
>
>
> For some environments having a full JAX-RS application is too heavy weight. There are also some containers which have a pretty borked JAX-RS implementation (WAS-8.x). 
> For such scenarios it would be better to additionally add simple ways to start jobs and query their status with a simple GET.



--
This message was sent by Atlassian JIRA
(v6.2#6252)