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 390C4D4A8 for ; Tue, 20 Nov 2012 18:46:59 +0000 (UTC) Received: (qmail 92599 invoked by uid 500); 20 Nov 2012 18:46:59 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 92543 invoked by uid 500); 20 Nov 2012 18:46:59 -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 92487 invoked by uid 99); 20 Nov 2012 18:46:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 18:46:59 +0000 Date: Tue, 20 Nov 2012 18:46:58 +0000 (UTC) From: "Lahiru Gunathilake (JIRA)" To: dev@airavata.apache.org Message-ID: <1439559858.8162.1353437219051.JavaMail.jiratomcat@arcas> In-Reply-To: <805848482.88625.1352406733085.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (AIRAVATA-635) Providing sample to configure workflow context header for each node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AIRAVATA-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501372#comment-13501372 ] Lahiru Gunathilake commented on AIRAVATA-635: --------------------------------------------- WorkflowContextHeaderBuilder workflowContextHeader = airavataClient.getExecutionManager().createWorkflowContextHeader(); WorkflowSchedulingContext workflowSchedulingContext= WorkflowSchedulingContext.Factory.newInstance(); workflowContextHeader.setWorkflowSchedulingContext(workflowSchedulingContext); ApplicationSchedulingContext applicationSchedulingContext = workflowContextHeader.getWorkflowSchedulingContext().addNewApplicationSchedulingContext(); applicationSchedulingContext.setCpuCount(cpuCount); applicationSchedulingContext.setNodeCount(nodeCount); applicationSchedulingContext.setServiceId("NodeId"); airavataClient.getExecutionManager().runExperiment(templateId, workflowInputs, AiravataClientManager.getCurrentUser(),null, workflowInstanceName,workflowContextHeader); // Like this you can add multiple ApplicationContext with required NodeID. > Providing sample to configure workflow context header for each node > ------------------------------------------------------------------- > > Key: AIRAVATA-635 > URL: https://issues.apache.org/jira/browse/AIRAVATA-635 > Project: Airavata > Issue Type: Bug > Components: Workflow Tracking > Environment: mac > Reporter: Lahiru Gunathilake > Fix For: 0.7 > > > $subject -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira