You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/05/18 16:44:32 UTC

[airavata] branch staging updated: Adding user resource profile to Task Context

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new e91c302  Adding user resource profile to Task Context
e91c302 is described below

commit e91c302a7183cbdac291f1e815017ec2c75ea0d5
Author: dimuthu <di...@gmail.com>
AuthorDate: Fri May 18 12:44:24 2018 -0400

    Adding user resource profile to Task Context
---
 .../src/main/java/org/apache/airavata/helix/impl/task/TaskContext.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/TaskContext.java b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/TaskContext.java
index 6ed3410..cae8297 100644
--- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/TaskContext.java
+++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/TaskContext.java
@@ -763,6 +763,7 @@ public class TaskContext {
             ctx.setApplicationInterfaceDescription(registryClient.getApplicationInterface(processModel.getApplicationInterfaceId()));
             ctx.setComputeResourceDescription(registryClient.getComputeResource(ctx.getComputeResourceId()));
             ctx.setStorageResource(registryClient.getStorageResource(ctx.getStorageResourceId()));
+            ctx.setUserResourceProfile(registryClient.getUserResourceProfile(processModel.getUserName(), gatewayId));
 
             List<OutputDataObjectType> applicationOutputs = ctx.getApplicationInterfaceDescription().getApplicationOutputs();
             if (applicationOutputs != null && !applicationOutputs.isEmpty()) {

-- 
To stop receiving notification emails like this one, please contact
dimuthuupe@apache.org.