You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2015/11/03 20:47:57 UTC

[32/51] [abbrv] airavata git commit: compute resource id is not set when creating process model

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/master
Commit: 69c268acefd3451c05028f9c7b458ba77ead68ff
Parents: 05da530
Author: Chathuri Wimalasena <ch...@apache.org>
Authored: Wed Oct 21 11:48:07 2015 -0400
Committer: Chathuri Wimalasena <ch...@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;