You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/03/06 16:36:28 UTC

svn commit: r1297533 - /incubator/airavata/trunk/modules/registry-migrator/src/main/java/org/apache/airavata/migrator/registry/MigrationUtil.java

Author: heshan
Date: Tue Mar  6 15:36:27 2012
New Revision: 1297533

URL: http://svn.apache.org/viewvc?rev=1297533&view=rev
Log:
AIRAVATA-327 Setting walltime,min-memory,Processor-count

Modified:
    incubator/airavata/trunk/modules/registry-migrator/src/main/java/org/apache/airavata/migrator/registry/MigrationUtil.java

Modified: incubator/airavata/trunk/modules/registry-migrator/src/main/java/org/apache/airavata/migrator/registry/MigrationUtil.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/registry-migrator/src/main/java/org/apache/airavata/migrator/registry/MigrationUtil.java?rev=1297533&r1=1297532&r2=1297533&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/registry-migrator/src/main/java/org/apache/airavata/migrator/registry/MigrationUtil.java (original)
+++ incubator/airavata/trunk/modules/registry-migrator/src/main/java/org/apache/airavata/migrator/registry/MigrationUtil.java Tue Mar  6 15:36:27 2012
@@ -176,6 +176,10 @@ public class MigrationUtil {
             gram.setApplicationName(name);
             gram.setExecutableLocation(appBean.getExecutable());
             gram.setScratchWorkingDirectory(appBean.getTmpDir());
+            //TODO: add to documentation --> ask user to check the hostcount
+            gram.setMaxWallTime(appBean.getMaxWallTime());
+            gram.setCpuCount(appBean.getPcount());
+            gram.setMinMemory(appBean.getMinMemory());
 
             gram.setJobType(getJobTypeEnum(appBean.getJobType()));
             // TODO : verify the following
@@ -230,6 +234,10 @@ public class MigrationUtil {
             gram.setApplicationName(name);
             gram.setExecutableLocation(appBean.getExecutable());
             gram.setScratchWorkingDirectory(appBean.getTmpDir());
+            //TODO: add to documentation --> ask user to check the hostcount
+            gram.setMaxWallTime(appBean.getMaxWallTime());
+            gram.setCpuCount(appBean.getPcount());
+            gram.setMinMemory(appBean.getMinMemory());
 
             gram.setJobType(getJobTypeEnum(appBean.getJobType()));
             // TODO : verify the following