tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r941217 - /tuscany/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java
Date Wed, 05 May 2010 09:23:08 GMT
Author: antelder
Date: Wed May  5 09:23:07 2010
New Revision: 941217

URL: http://svn.apache.org/viewvc?rev=941217&view=rev
Log:
Update to use uri format config

Modified:
    tuscany/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java

Modified: tuscany/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java?rev=941217&r1=941216&r2=941217&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java
(original)
+++ tuscany/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java
Wed May  5 09:23:07 2010
@@ -40,13 +40,13 @@ import com.hazelcast.core.IMap;
  */
 public class ClientTestCase{
 
-    private static URI domainURI = URI.create("tuscany:OneNodeTestCase?listen=127.0.0.1:14829");
+    private static String domainURI = "uri:OneNodeTestCase?bind=127.0.0.1:14829";
     private static Node node;
     private static HazelcastClient client;
 
     @BeforeClass
     public static void setUpBeforeClass() throws Exception {
-        node = NodeFactory.getInstance().createNode(domainURI, "../helloworld-service/target/classes",
"../helloworld-client/target/classes");
+        node = NodeFactory.newInstance(domainURI).createNode((String)null, new String[]{"../helloworld-service/target/classes",
"../helloworld-client/target/classes"});
         node.start();
     }
 



Mime
View raw message