You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Kottapalli, Venkatesh" <VK...@DIRECTV.com> on 2015/11/18 23:57:37 UTC

Reg. REST calls to kill and start an application

Hello,

                Please provide references if any on how to make REST calls to kill and start an application. This is needed as we are trying to trigger DT application using oozie workflow.

Thanks,
Venkatesh.

Re: Reg. REST calls to kill and start an application

Posted by Ashwin Chandra Putta <as...@gmail.com>.
In the document below, here are the apis you are specifically looking for:

1. launch
POST
/ws/v2/appPackages/{owner}/{packageName}/{packageVersion}/applications/{appName}/launch[?config={configName}&originalAppId={originalAppId}&queue={queueName}]

2. kill
POST /ws/v2/applications/{appid}/kill

For the launch, you need to make sure the app package is already uploaded
to the gateway.

Regards,
Ashwin.

On Wed, Nov 18, 2015 at 3:14 PM, Sandesh Hegde <sa...@datatorrent.com>
wrote:

> Here is the quick reference for REST apis,
>
> http://docs.datatorrent.com/dtgateway_api/
>
> On Wed, Nov 18, 2015 at 2:57 PM, Kottapalli, Venkatesh <
> VKottapalli@directv.com> wrote:
>
> > Hello,
> >
> >                 Please provide references if any on how to make REST
> calls
> > to kill and start an application. This is needed as we are trying to
> > trigger DT application using oozie workflow.
> >
> > Thanks,
> > Venkatesh.
> >
>
>
>
> --
> Thanks
> Sandesh
>



-- 

Regards,
Ashwin.

Re: Reg. REST calls to kill and start an application

Posted by Sandesh Hegde <sa...@datatorrent.com>.
Here is the quick reference for REST apis,

http://docs.datatorrent.com/dtgateway_api/

On Wed, Nov 18, 2015 at 2:57 PM, Kottapalli, Venkatesh <
VKottapalli@directv.com> wrote:

> Hello,
>
>                 Please provide references if any on how to make REST calls
> to kill and start an application. This is needed as we are trying to
> trigger DT application using oozie workflow.
>
> Thanks,
> Venkatesh.
>



-- 
Thanks
Sandesh