diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-25 16:16:01 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-25 16:16:01 +0000 |
commit | e46a3e4bce814f587e689d4b22be5f03942e5475 (patch) | |
tree | 453adb4048744fe95fc3d968b4a5ec9e2c9bdfe2 /branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain | |
parent | c38ff9f584f37df6edba6de3be8283ce78a9a74a (diff) |
Fix TUSCANY-3169 (invalid characters in generated reference binding names) and add itest/domainmgr to verify the fix
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@797788 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain')
6 files changed, 81 insertions, 0 deletions
diff --git a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud.composite b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud.composite new file mode 100644 index 0000000000..42109ef963 --- /dev/null +++ b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud.composite @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite local="true" name="cloud" + targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:ns1="http://www.osoa.org/xmlns/sca/1.0"> + <include name="ns2:TripsNode" + uri="http://tuscany.apache.org/cloud" + xmlns:ns2="http://tuscany.apache.org/cloud"/> + <include name="ns2:ToursNode" + uri="http://tuscany.apache.org/cloud" + xmlns:ns2="http://tuscany.apache.org/cloud"/> + <include name="ns2:ClientNode" + uri="http://tuscany.apache.org/cloud" + xmlns:ns2="http://tuscany.apache.org/cloud"/> +</composite> diff --git a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/ClientNode.composite b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/ClientNode.composite new file mode 100644 index 0000000000..5f5fe2fc96 --- /dev/null +++ b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/ClientNode.composite @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:c="http://client.scatours/" + targetNamespace="http://tuscany.apache.org/cloud" + name="ClientNode"> + <component name="ClientNode"> + <t:implementation.node uri="client" composite="c:Client" /> + <service name="Node"> + <binding.sca uri="http://localhost:8081" /> + </service> + </component> +</composite> diff --git a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/ToursNode.composite b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/ToursNode.composite new file mode 100644 index 0000000000..4f75d7cba2 --- /dev/null +++ b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/ToursNode.composite @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:c="http://tuscanyscatours.com/" + targetNamespace="http://tuscany.apache.org/cloud" + name="ToursNode"> + <component name="ToursNode"> + <t:implementation.node uri="tuscanyscatours" composite="c:Tours" /> + <service name="Node"> + <binding.sca uri="http://localhost:8082" /> + </service> + </component> +</composite> diff --git a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/TripsNode.composite b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/TripsNode.composite new file mode 100644 index 0000000000..4254b0d6fb --- /dev/null +++ b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/cloud/TripsNode.composite @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:c="http://goodvaluetrips.com/" + targetNamespace="http://tuscany.apache.org/cloud" + name="TripsNode"> + <component name="TripsNode"> + <t:implementation.node uri="goodvaluetrips" composite="c:Trips" /> + <service name="Node"> + <binding.sca uri="http://localhost:8083" /> + </service> + </component> +</composite> diff --git a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/domain.composite b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/domain.composite new file mode 100644 index 0000000000..4141457795 --- /dev/null +++ b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/domain.composite @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite local="true" name="domain" + targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:ns1="http://www.osoa.org/xmlns/sca/1.0"> + <include name="ns2:Trips" + uri="goodvaluetrips" + xmlns:ns2="http://goodvaluetrips.com/"/> + <include name="ns2:Tours" + uri="tuscanyscatours" + xmlns:ns2="http://tuscanyscatours.com/"/> + <include name="ns2:Client" + uri="client" + xmlns:ns2="http://client.scatours/"/> +</composite> diff --git a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/workspace.xml b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/workspace.xml new file mode 100644 index 0000000000..075c3b8693 --- /dev/null +++ b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/resources/domain/workspace.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<workspace xmlns="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0"> + <contribution location="file:./cloud" + uri="http://tuscany.apache.org/cloud"/> + <contribution location="file:../../../../trips/target/itest-domainmgr-basic-trips.jar" + uri="goodvaluetrips"/> + <contribution location="file:../../../../tours/target/itest-domainmgr-basic-tours.jar" + uri="tuscanyscatours"/> + <contribution location="file:../../../../client/target/itest-domainmgr-basic-client.jar" + uri="client"/> +</workspace> |