Updating path of applications

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

Branch: refs/heads/workflow-support
Commit: b197a6a34c88f329e089915afb48325a9ee0600c
Parents: 498c5c5
Author: Suresh Marru <[email protected]>
Authored: Sat Jul 12 09:23:50 2014 -0400
Committer: Suresh Marru <[email protected]>
Committed: Sat Jul 12 09:23:50 2014 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/client/tools/DocumentCreatorNew.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/b197a6a3/modules/airavata-client/src/main/java/org/apache/airavata/client/tools/DocumentCreatorNew.java
----------------------------------------------------------------------
diff --git 
a/modules/airavata-client/src/main/java/org/apache/airavata/client/tools/DocumentCreatorNew.java
 
b/modules/airavata-client/src/main/java/org/apache/airavata/client/tools/DocumentCreatorNew.java
index c13bceb..895736d 100644
--- 
a/modules/airavata-client/src/main/java/org/apache/airavata/client/tools/DocumentCreatorNew.java
+++ 
b/modules/airavata-client/src/main/java/org/apache/airavata/client/tools/DocumentCreatorNew.java
@@ -363,7 +363,7 @@ public class DocumentCreatorNew {
         
application2.addToApplicationOutputs(DocumentCreatorUtils.createAppOutput("WRF_Execution_Log",
 null, DataType.URI));
         
application2.setApplicationInterfaceId(client.registerApplicationInterface(application2));
 
-        ApplicationDeploymentDescription deployment2 = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
module2.getAppModuleId(), "/home/ogce/apps/wrf_wrapper.sh", 
ApplicationParallelismType.MPI, "WRF");
+        ApplicationDeploymentDescription deployment2 = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
module2.getAppModuleId(), "/home/ogce/production/app_wrappers/wrf_wrapper.sh", 
ApplicationParallelismType.MPI, "WRF");
         
deployment2.setAppDeploymentId(client.registerApplicationDeployment(deployment2));
         return host.getComputeResourceId() + "," + 
application2.getApplicationInterfaceId();
     }
@@ -403,7 +403,7 @@ public class DocumentCreatorNew {
         
application2.addToApplicationOutputs(DocumentCreatorUtils.createAppOutput("WRF_Execution_Log",
 null, DataType.URI));
         
application2.setApplicationInterfaceId(client.registerApplicationInterface(application2));
 
-        ApplicationDeploymentDescription deployment2 = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
module2.getAppModuleId(), "/home1/01437/ogce/apps/wrf_wrapper.sh", 
ApplicationParallelismType.MPI, "WRF");
+        ApplicationDeploymentDescription deployment2 = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
module2.getAppModuleId(), 
"/home1/01437/ogce/production/app_wrappers/wrf_wrapper.sh", 
ApplicationParallelismType.MPI, "WRF");
         
deployment2.setAppDeploymentId(client.registerApplicationDeployment(deployment2));
         return host.getComputeResourceId() + "," + 
application2.getApplicationInterfaceId();
 
@@ -786,7 +786,7 @@ public class DocumentCreatorNew {
         
application.addToApplicationOutputs(DocumentCreatorUtils.createAppOutput("AMBER_Prod.rst",
 null, DataType.URI));
         
application.setApplicationInterfaceId(client.registerApplicationInterface(application));
 
-        ApplicationDeploymentDescription deployment = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
amodule.getAppModuleId(), "/home1/01437/ogce/apps/amber_wrapper.sh", 
ApplicationParallelismType.SERIAL, "AmberStampede");
+        ApplicationDeploymentDescription deployment = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
amodule.getAppModuleId(), 
"/home1/01437/ogce/production/app_wrappers/amber_wrapper.sh", 
ApplicationParallelismType.SERIAL, "AmberStampede");
         
deployment.setAppDeploymentId(client.registerApplicationDeployment(deployment));
 
         
client.addGatewayComputeResourcePreference(getGatewayResourceProfile().getGatewayID(),
 host.getComputeResourceId(), 
DocumentCreatorUtils.createComputeResourcePreference(host.getComputeResourceId(),
 "/home1/01437/ogce", "TG-STA110014S", false, null, null, null));
@@ -830,7 +830,7 @@ public class DocumentCreatorNew {
         
application.addToApplicationOutputs(DocumentCreatorUtils.createAppOutput("AMBER_Prod.rst",
 null, DataType.URI));
         
application.setApplicationInterfaceId(client.registerApplicationInterface(application));
 
-        ApplicationDeploymentDescription deployment = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
amodule.getAppModuleId(), "/home/ogce/apps/amber_wrapper.sh", 
ApplicationParallelismType.SERIAL, "AmberStampede");
+        ApplicationDeploymentDescription deployment = 
DocumentCreatorUtils.createApplicationDeployment(host.getComputeResourceId(), 
amodule.getAppModuleId(), 
"/home/ogce/production/app_wrappers/amber_wrapper.sh", 
ApplicationParallelismType.SERIAL, "AmberStampede");
         
deployment.setAppDeploymentId(client.registerApplicationDeployment(deployment));
 
         
client.addGatewayComputeResourcePreference(getGatewayResourceProfile().getGatewayID(),
 host.getComputeResourceId(), 
DocumentCreatorUtils.createComputeResourcePreference(host.getComputeResourceId(),
 "/oasis/scratch/trestles/ogce/temp_project/", "sds128", false, null, null, 
null));

Reply via email to