airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1220886 - /incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/utils/WorkflowTestUtils.java
Date Mon, 19 Dec 2011 18:38:04 GMT
Author: heshan
Date: Mon Dec 19 18:38:04 2011
New Revision: 1220886

URL: http://svn.apache.org/viewvc?rev=1220886&view=rev
Log:
Updating WorkflowTestUtils AIRAVATA-225

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/utils/WorkflowTestUtils.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/utils/WorkflowTestUtils.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/utils/WorkflowTestUtils.java?rev=1220886&r1=1220885&r2=1220886&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/utils/WorkflowTestUtils.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/utils/WorkflowTestUtils.java
Mon Dec 19 18:38:04 2011
@@ -23,6 +23,7 @@ package org.apache.airavata.xbaya.interp
 import org.apache.airavata.xbaya.XBayaConfiguration;
 import org.apache.airavata.xbaya.XBayaConstants;
 import org.apache.airavata.xbaya.interpreter.EchoService;
+import org.apache.airavata.xbaya.interpreter.LevenshteinDistanceService;
 import org.apache.airavata.xbaya.interpretor.HeaderConstants;
 import org.apache.airavata.xbaya.interpretor.NameValue;
 import org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton;
@@ -86,9 +87,13 @@ public class WorkflowTestUtils implement
         try {
             ConfigurationContext configContext = ConfigurationContextFactory
                     .createBasicConfigurationContext("axis2_default.xml");
-            AxisService service = AxisService.createService(EchoService.class.getName(),
+            AxisService echoService = AxisService.createService(EchoService.class.getName(),
                     configContext.getAxisConfiguration());
-            configContext.deployService(service);
+            configContext.deployService(echoService);
+            AxisService distanceService = AxisService.createService(LevenshteinDistanceService.class.getName(),
+                    configContext.getAxisConfiguration());
+            configContext.deployService(distanceService);
+
             ListenerManager manager = new ListenerManager();
             manager.init(configContext);
             manager.start();



Mime
View raw message