summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-13 21:49:15 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-13 21:49:15 +0000
commit4dcff7533534e4b634b349a1105c7862d1655405 (patch)
tree61674abfb88ba63870bec8576101dc3d222454fa /java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java
parentc6a1c369e49090b6b9a6f2448045740a368c7ca3 (diff)
Replace RuntimeWire with RuntimeEnpoint/RuntimeEndpointReference as the owner of invocaiton chains
(http://www.mail-archive.com/dev@tuscany.apache.org/msg07856.html) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@836009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java b/java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java
index 12e40d334b..d311bad3c5 100644
--- a/java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java
+++ b/java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java
@@ -21,6 +21,8 @@ package helloworld;
import junit.framework.Assert;
+import org.apache.tuscany.sca.node.Contribution;
+import org.apache.tuscany.sca.node.ContributionLocationHelper;
import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
import org.junit.AfterClass;
@@ -42,8 +44,9 @@ public class BPELHelloWorldTestCase {
*/
@BeforeClass
public static void setUp() throws Exception {
-
- node = NodeFactory.newInstance().createNode();
+ // String location = ContributionLocationHelper.getContributionLocation(BPELClient.class);
+ String location = ContributionLocationHelper.getContributionLocation("helloworld.composite");
+ node = NodeFactory.newInstance().createNode(new Contribution("c1", location));
node.start();
bpelService = node.getService(Hello.class, "BPELHelloWorldComponent");