You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2014/07/08 19:22:56 UTC

git commit: updating to use the app id

Repository: airavata
Updated Branches:
  refs/heads/master 40198cc57 -> bdad5c67a


updating to use the app id


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

Branch: refs/heads/master
Commit: bdad5c67a0896d5e478c4d95ac5dc73904b1d37a
Parents: 40198cc
Author: Saminda Wijeratne <sa...@gmail.com>
Authored: Tue Jul 8 13:22:46 2014 -0400
Committer: Saminda Wijeratne <sa...@gmail.com>
Committed: Tue Jul 8 13:22:46 2014 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/airavata/integration/SimpleEchoIT.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/bdad5c67/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
----------------------------------------------------------------------
diff --git a/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java b/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
index 8c30975..719a664 100644
--- a/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
+++ b/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
@@ -57,7 +57,7 @@ public class SimpleEchoIT extends SingleAppIntegrationTestBase {
         log.info("========================");
         log.info("Adding applications...");
         DocumentCreatorNew documentCreatorNew = new DocumentCreatorNew(getClient());
-        documentCreatorNew.createLocalHostDocs();
+        String appId = documentCreatorNew.createLocalHostDocs();
 
         List<DataObjectType> exInputs = new ArrayList<DataObjectType>();
         DataObjectType input = new DataObjectType();
@@ -77,7 +77,7 @@ public class SimpleEchoIT extends SingleAppIntegrationTestBase {
         String projectId = getClient().createProject(project);
 
         Experiment simpleExperiment =
-                ExperimentModelUtil.createSimpleExperiment(projectId, "admin", "echoExperiment", "SimpleEcho0", "SimpleEcho0", exInputs);
+                ExperimentModelUtil.createSimpleExperiment(projectId, "admin", "echoExperiment", appId, appId, exInputs);
         simpleExperiment.setExperimentOutputs(exOut);
 
         ComputationalResourceScheduling scheduling = ExperimentModelUtil.createComputationResourceScheduling("localhost", 1, 1, 1, "normal", 0, 0, 1, "sds128");