summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/compliance-tests
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-12 12:28:39 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-12 12:28:39 +0000
commit6e31e44ea448548068f27b74be1a91fc76e3e8fd (patch)
treee830f2fafbc4918a505196bd6537f7b0880a9693 /sca-java-2.x/trunk/testing/compliance-tests
parent64662a98c4b71b88dc00f5d33a5df5dbc71e0aab (diff)
Set domain name for node as 9016 tests for the domain name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1021759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/compliance-tests')
-rw-r--r--sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java b/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
index e7a161ae13..db16f85c37 100644
--- a/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
+++ b/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
@@ -30,6 +30,8 @@ import java.util.Properties;
import org.apache.tuscany.sca.node.Contribution;
import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
+import org.apache.tuscany.sca.node.configuration.NodeConfiguration;
+import org.apache.tuscany.sca.node.impl.NodeImpl;
import testClient.TestException_Exception;
import client.RuntimeBridge;
@@ -69,6 +71,11 @@ public class TuscanyRuntimeBridge implements RuntimeBridge {
} // end for
node = launcher.createNode(compositeName, contributions);
+
+ // Set the domain URI for the node as JCA_9016 tests for this domain name
+ NodeConfiguration nodeConfiguration = ((NodeImpl)node).getConfiguration();
+ nodeConfiguration.setDomainURI("http://Domain1");
+
// Start the node
node.start();