Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F68517259 for ; Thu, 23 Apr 2015 17:40:30 +0000 (UTC) Received: (qmail 86462 invoked by uid 500); 23 Apr 2015 17:40:30 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 86416 invoked by uid 500); 23 Apr 2015 17:40:30 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 86406 invoked by uid 99); 23 Apr 2015 17:40:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 17:40:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for dev@airavata.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 17:40:24 +0000 Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 4E2D8428E1 for ; Thu, 23 Apr 2015 17:40:04 +0000 (UTC) Received: by oblw8 with SMTP id w8so19308867obl.0 for ; Thu, 23 Apr 2015 10:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=XqGwB6KRlzGxtYAq0c0+QbVEKI13Rl6hayjD2cwMEYA=; b=A2NTNPlGqwwfkadu3shhGIz2/jsgEFvp8ITEehOdh+UVisfaD/w+ASdziHGQCIcvWX uTzYS/K2lTq41nMjp/Ey3eKKDIgoVgOy7WAAr+XJRhjIS4jc/1EF/mDILYcD5GG3MFzm 4ozcXBDqoQxM6siYwQa8mgMVOGsdZU2kfweUPeA6snDHXlrCurCTnXCXnpigpVTYcssL O03+IyGX9vq2+vpIYU9DozmLfXdVZNtzYl7I/qEj2nMZKuGbXVdnLfM6WI+kQSmKVe4w 6LiZ4Eb/NFfogexrrbV02TMhllckxFUdO6CNXkgbOFgcWwbMdOLb9hjCsONjch2JAaXd VaYQ== X-Received: by 10.60.147.194 with SMTP id tm2mr3510788oeb.75.1429810803891; Thu, 23 Apr 2015 10:40:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.111.130 with HTTP; Thu, 23 Apr 2015 10:39:43 -0700 (PDT) In-Reply-To: References: From: Shameera Rathnayaka Date: Thu, 23 Apr 2015 13:39:43 -0400 Message-ID: Subject: Re: Workflow Event/Time Trigger set-up To: dev Content-Type: multipart/alternative; boundary=047d7b4184ab0fe17c051467c509 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b4184ab0fe17c051467c509 Content-Type: text/plain; charset=UTF-8 Hi Alfredo, There is no in-built support for your requirement, but you can use airavata client API and submit experiments for the same workflow periodically. Following are abstract steps how to do this. when you register the workflow model in app_catalog you will get a workflow Id, String workflowId = airavataClient.registerWorkflow(gatewayId, workflowModel) Then create an experiment by setting experiment applicationId as this workflow Id. experiment.setApplicationId(workflowId); Set other experiment data and submit. airavataClient.createExperiment(gatewayId, experiment) You can run a script which runs on periodically and submit an experiment with the same workflow Id. For more details, have a look org.apache.airavata.xbaya.ui.experiment.WorkflowInterpreterLaunchWindow#execute method. Regards, Shameera. On Wed, Apr 22, 2015 at 2:38 AM, SmashRod Alfredo wrote: > Hello Everyone, > Collecting available Airavata Documentation is not clear to me if it's > possible on Airavata to set-up a certain workflow which can automatically > be triggered by Event generation (for example the creation of a file in a > certain folder) or by Time (automatically execute a defined workflow every > TBD time) > > It this feature available? Which are the steps necessary to build up this > kind of automatic workflow? > > Thank you all, > > Alfredo > -- Best Regards, Shameera Rathnayaka. email: shameera AT apache.org , shameerainfo AT gmail.com Blog : http://shameerarathnayaka.blogspot.com/ --047d7b4184ab0fe17c051467c509 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi = Alfredo,=C2=A0
=
There is n= o in-built support for your requirement, but you can use airavata client AP= I and submit experiments for the same workflow periodically.=C2=A0 Followin= g are abstract steps how to do this.=C2=A0

when you register the workflow model in app_catalog you w= ill get a workflow Id,
St=
ring workflowId =3D airavataClient.registerWorkflow(gatewayId, workflowModel)
Then create an experime= nt by setting experiment applicationId as this workflow Id.
experiment.setApplicationId(workflowId);
Set other experiment data = and submit.=C2=A0
airavat=
aClient.createExperiment(gatewayId, experiment)

You can run a script which runs on periodically and submit an ex= periment with the same workflow Id.=C2=A0

For more details, have a look=C2=A0org.apache.airavata.xba= ya.ui.experiment.WorkflowInterpreterLaunchWindow#execute method.=C2=A0

Regards,=C2=A0
Shameera.


On Wed, Apr 22, 2015 at 2:38 AM, Sm= ashRod Alfredo <smashrod@hotmail.it> wrote:
Hello Everyone,
Collecting available Airavata Docu= mentation is not clear to me if it's possible on Airavata to set-up a c= ertain workflow which can automatically be triggered by Event generation (f= or example the creation of a file in a certain folder) or by Time (automati= cally execute a defined workflow every TBD time)

It this feature ava= ilable? Which are the steps necessary to build up this kind of automatic wo= rkflow?

Thank you all,

Alfredo



--
Best Regards,
Shameera Rathnayaka.

email: shameera AT apache.org , shameerainfo AT gmail.com
Blog : http://shameerarathnayaka.blogspot.com/
<= /div>
--047d7b4184ab0fe17c051467c509--