airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: compute resource id is not set when creating process model
Date Wed, 21 Oct 2015 15:48:12 GMT
Repository: airavata
Updated Branches:
  refs/heads/orchestratorTaskBreakdown 05da53014 -> 69c268ace


compute resource id is not set when creating process model


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/69c268ac
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/69c268ac
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/69c268ac

Branch: refs/heads/orchestratorTaskBreakdown
Commit: 69c268acefd3451c05028f9c7b458ba77ead68ff
Parents: 05da530
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Wed Oct 21 11:48:07 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Wed Oct 21 11:48:07 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/airavata/model/util/ExperimentModelUtil.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/69c268ac/airavata-api/airavata-model-utils/src/main/java/org/apache/airavata/model/util/ExperimentModelUtil.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-model-utils/src/main/java/org/apache/airavata/model/util/ExperimentModelUtil.java
b/airavata-api/airavata-model-utils/src/main/java/org/apache/airavata/model/util/ExperimentModelUtil.java
index aea9538..4faa4e7 100644
--- a/airavata-api/airavata-model-utils/src/main/java/org/apache/airavata/model/util/ExperimentModelUtil.java
+++ b/airavata-api/airavata-model-utils/src/main/java/org/apache/airavata/model/util/ExperimentModelUtil.java
@@ -100,6 +100,7 @@ public class ExperimentModelUtil {
             ComputationalResourceSchedulingModel scheduling = configData.getComputationalResourceScheduling();
             if (scheduling != null){
                 processModel.setResourceSchedule(scheduling);
+                processModel.setComputeResourceId(scheduling.getResourceHostId());
             }
         }
         return processModel;


Mime
View raw message