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 2011/12/20 19:39:57 UTC
svn commit: r1221417 -
/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/utils/WorkflowTestUtils.java
Author: heshan
Date: Tue Dec 20 18:39:56 2011
New Revision: 1221417
URL: http://svn.apache.org/viewvc?rev=1221417&view=rev
Log:
AIRAVATA-225 Adding MathService to utils.
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=1221417&r1=1221416&r2=1221417&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 Tue Dec 20 18:39:56 2011
@@ -24,6 +24,7 @@ import org.apache.airavata.xbaya.XBayaCo
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.interpreter.MathService;
import org.apache.airavata.xbaya.interpretor.HeaderConstants;
import org.apache.airavata.xbaya.interpretor.NameValue;
import org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton;
@@ -87,12 +88,16 @@ public class WorkflowTestUtils implement
try {
ConfigurationContext configContext = ConfigurationContextFactory
.createBasicConfigurationContext("axis2_default.xml");
+
AxisService echoService = AxisService.createService(EchoService.class.getName(),
configContext.getAxisConfiguration());
configContext.deployService(echoService);
AxisService distanceService = AxisService.createService(LevenshteinDistanceService.class.getName(),
configContext.getAxisConfiguration());
configContext.deployService(distanceService);
+ AxisService mathService = AxisService.createService(MathService.class.getName(),
+ configContext.getAxisConfiguration());
+ configContext.deployService(mathService);
ListenerManager manager = new ListenerManager();
manager.init(configContext);