summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/tags/travelsample-1.0/domainconfig
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-06-10 20:27:31 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-06-10 20:27:31 +0000
commit98eec492c08e491401841dd33e8392b41c1e6660 (patch)
treeaf1129e753a0923a51db744214be4bced2d694aa /sca-java-1.x/tags/travelsample-1.0/domainconfig
parent9437c0186c353b9b379f92937421cd722d6f2c31 (diff)
Copy travelsample-1.0-RC3 tag as travelsample-1.0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@953445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/tags/travelsample-1.0/domainconfig')
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/build.xml45
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/build.xml39
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/pom.xml79
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud.composite35
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-bespoketrip.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-coordination.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-creditcard.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-currency.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-packagedtrip.composite35
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-payment.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-shoppingcart.composite36
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-ui.composite33
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/domain.composite37
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace-binaries.xml42
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace.xml42
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/build.xml39
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/pom.xml79
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud.composite26
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ClientNode.composite32
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ToursNode.composite32
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/TripsNode.composite32
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/domain.composite26
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace-binaries.xml30
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace.xml30
-rw-r--r--sca-java-1.x/tags/travelsample-1.0/domainconfig/pom.xml37
25 files changed, 966 insertions, 0 deletions
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/build.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/build.xml
new file mode 100644
index 0000000000..04219dd032
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/build.xml
@@ -0,0 +1,45 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-domainconfig" default="compile">
+
+ <target name="compile">
+ <antcall target="allsubdirs">
+ <param name="target" value="compile"/>
+ </antcall>
+ </target>
+
+ <target name="test">
+ <antcall target="allsubdirs">
+ <param name="target" value="test"/>
+ </antcall>
+ </target>
+
+ <target name="clean">
+ <antcall target="allsubdirs">
+ <param name="target" value="clean"/>
+ </antcall>
+ </target>
+
+ <target name="allsubdirs">
+ <ant dir="fullapp" target="${target}"/>
+ <ant dir="introducing" target="${target}"/>
+ </target>
+
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/build.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/build.xml
new file mode 100644
index 0000000000..adb8fafeda
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/build.xml
@@ -0,0 +1,39 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-domainconfig-fullapp" default="compile">
+ <import file="../../antdefs.xml"/>
+
+ <property name="run-update-resources" value="true"/>
+ <target name="update-resources">
+ <delete file="target/classes/workspace-binaries.xml"/>
+ <mkdir dir="target/jar-classes/fullapp"/>
+ <copy todir="target/jar-classes/fullapp">
+ <fileset dir="src/main/resources">
+ <exclude name="workspace*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="target/jar-classes/fullapp">
+ <fileset dir="src/main/resources">
+ <include name="workspace-binaries.xml"/>
+ </fileset>
+ <globmapper from="workspace-binaries.xml" to="workspace.xml"/>
+ </copy>
+ </target>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/pom.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/pom.xml
new file mode 100644
index 0000000000..3d04d436e5
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/pom.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-domainconfig-fullapp</artifactId>
+ <name>Apache Tuscany SCA Tours Full Application Domain Configuration</name>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <excludes>
+ <exclude>workspace-binaries.xml</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <configuration>
+ <tasks>
+ <mkdir dir="target/jar-classes/fullapp"/>
+ <copy todir="target/jar-classes/fullapp">
+ <fileset dir="src/main/resources">
+ <exclude name="workspace*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="target/jar-classes/fullapp">
+ <fileset dir="src/main/resources">
+ <include name="workspace-binaries.xml"/>
+ </fileset>
+ <globmapper from="workspace-binaries.xml" to="workspace.xml"/>
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <classesDirectory>target/jar-classes</classesDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud.composite
new file mode 100644
index 0000000000..284376538a
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud.composite
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite name="cloud.composite"
+ 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"
+ xmlns:ns2="http://tuscany.apache.org/cloud">
+
+ <include name="ns2:ui" uri="http://tuscany.apache.org/cloud" />
+ <include name="ns2:coordination" uri="http://tuscany.apache.org/cloud" />
+ <include name="ns2:packagedtrip" uri="http://tuscany.apache.org/cloud" />
+ <include name="ns2:bespoketrip" uri="http://tuscany.apache.org/cloud" />
+ <include name="ns2:currency" uri="http://tuscany.apache.org/cloud" />
+ <include name="ns2:shoppingcart" uri="http://tuscany.apache.org/cloud" />
+ <include name="ns2:payment" uri="http://tuscany.apache.org/cloud" />
+ <include name="ns2:creditcard" uri="http://tuscany.apache.org/cloud" />
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-bespoketrip.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-bespoketrip.composite
new file mode 100644
index 0000000000..b6d9d51cbc
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-bespoketrip.composite
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="bespoketrip">
+
+ <component name="bespoketrip">
+ <t:implementation.node uri="fullapp-bespoketrip" composite="s:fullapp-bespoketrip"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8086"/>
+ <binding.ws uri="http://localhost:8086"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8086"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-coordination.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-coordination.composite
new file mode 100644
index 0000000000..b42457154f
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-coordination.composite
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="coordination">
+
+ <component name="coordination">
+ <t:implementation.node uri="fullapp-coordination" composite="s:fullapp-coordination"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8084"/>
+ <binding.ws uri="http://localhost:8084"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8084"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-creditcard.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-creditcard.composite
new file mode 100644
index 0000000000..5c66ff2796
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-creditcard.composite
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="creditcard">
+
+ <component name="creditcard">
+ <t:implementation.node uri="fullapp-creditcard" composite="s:creditcard"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8082"/>
+ <binding.ws uri="http://localhost:8082"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8082"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-currency.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-currency.composite
new file mode 100644
index 0000000000..185112122c
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-currency.composite
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="currency">
+
+ <component name="currency">
+ <t:implementation.node uri="fullapp-currency" composite="s:fullapp-currency"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8083"/>
+ <binding.ws uri="http://localhost:8083"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8083"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-packagedtrip.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-packagedtrip.composite
new file mode 100644
index 0000000000..323700b4a0
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-packagedtrip.composite
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="packagedtrip">
+
+ <component name="packagedtrip">
+ <t:implementation.node uri="fullapp-packagedtrip" composite="s:fullapp-packagedtrip"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8085"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8085"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-payment.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-payment.composite
new file mode 100644
index 0000000000..b27b57fad5
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-payment.composite
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="payment">
+
+ <component name="payment">
+ <t:implementation.node uri="fullapp-payment" composite="s:payment"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8081"/>
+ <binding.ws uri="http://localhost:8081"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8081"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-shoppingcart.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-shoppingcart.composite
new file mode 100644
index 0000000000..7bec251965
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-shoppingcart.composite
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="shoppingcart">
+
+ <component name="shoppingcart">
+ <t:implementation.node uri="fullapp-shoppingcart" composite="s:fullapp-shoppingcart"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8087"/>
+ <binding.ws uri="http://localhost:8087"/>
+ <tuscany:binding.jsonrpc uri="http://localhost:8087"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-ui.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-ui.composite
new file mode 100644
index 0000000000..e86bef1c56
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/cloud/fullapp-ui.composite
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ targetNamespace="http://tuscany.apache.org/cloud"
+ xmlns:s="http://tuscanyscatours.com/"
+ name="ui">
+
+ <component name="ui">
+ <t:implementation.node uri="fullapp-ui" composite="s:fullapp-ui"/>
+ <service name="Node">
+ <binding.sca uri="http://localhost:8080"/>
+ </service>
+ </component>
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/domain.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/domain.composite
new file mode 100644
index 0000000000..c54cfa3416
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/domain.composite
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite name="domain.composite"
+ 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"
+ xmlns:ns2="http://tuscanyscatours.com/">
+
+ <include name="ns2:payment" uri="fullapp-payment" />
+ <!-- The include for ns2:creditcard was moved after the include for ns2:payment as a
+ workaround for TUSCANY-3561. See the comments in TUSCANY-3562 for more details. -->
+ <include name="ns2:creditcard" uri="fullapp-creditcard" />
+ <include name="ns2:fullapp-shoppingcart" uri="fullapp-shoppingcart" />
+ <include name="ns2:fullapp-currency" uri="fullapp-currency" />
+ <include name="ns2:fullapp-packagedtrip" uri="fullapp-packagedtrip" />
+ <include name="ns2:fullapp-bespoketrip" uri="fullapp-bespoketrip" />
+ <include name="ns2:fullapp-coordination" uri="fullapp-coordination" />
+ <include name="ns2:fullapp-ui" uri="fullapp-ui" />
+
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace-binaries.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace-binaries.xml
new file mode 100644
index 0000000000..a7a3b01895
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace-binaries.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<workspace xmlns="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0">
+ <contribution location="file:../contributions/scatours-contribution-common.jar" uri="common"/>
+ <contribution location="file:../contributions/scatours-contribution-currency.jar" uri="currency"/>
+ <contribution location="file:../contributions/scatours-contribution-hotel.jar" uri="hotel"/>
+ <contribution location="file:../contributions/scatours-contribution-flight.jar" uri="flight"/>
+ <contribution location="file:../contributions/scatours-contribution-car.jar" uri="car"/>
+ <contribution location="file:../contributions/scatours-contribution-trip.jar" uri="trip"/>
+ <contribution location="file:../contributions/scatours-contribution-tripbooking.jar" uri="tripbooking"/>
+ <contribution location="file:../contributions/scatours-contribution-travelcatalog.jar" uri="travelcatalog"/>
+ <!-- the following line should be payment-spring-policy but this doesn't work when using the domain manager (TUSCANY-3476) -->
+ <contribution location="file:../contributions/scatours-contribution-payment-java-policy.jar" uri="fullapp-payment"/>
+ <contribution location="file:../contributions/scatours-contribution-creditcard-payment-jaxb-policy.jar" uri="fullapp-creditcard"/>
+ <contribution location="file:../contributions/scatours-contribution-shoppingcart.jar" uri="shoppingcart"/>
+ <contribution location="file:../contributions/scatours-contribution-scatours.jar" uri="scatours"/>
+ <contribution location="file:../contributions/scatours-contribution-fullapp-ui.jar" uri="fullapp-ui"/>
+ <contribution location="file:../contributions/scatours-contribution-fullapp-coordination.jar" uri="fullapp-coordination"/>
+ <contribution location="file:../contributions/scatours-contribution-fullapp-currency.jar" uri="fullapp-currency"/>
+ <contribution location="file:../contributions/scatours-contribution-fullapp-packagedtrip.jar" uri="fullapp-packagedtrip"/>
+ <contribution location="file:../contributions/scatours-contribution-fullapp-bespoketrip.jar" uri="fullapp-bespoketrip"/>
+ <contribution location="file:../contributions/scatours-contribution-fullapp-shoppingcart.jar" uri="fullapp-shoppingcart"/>
+ <contribution location="file:../domainconfig/fullapp/cloud" uri="http://tuscany.apache.org/cloud"/>
+</workspace> \ No newline at end of file
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace.xml
new file mode 100644
index 0000000000..8f1efcd1fd
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/fullapp/src/main/resources/workspace.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<workspace xmlns="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0">
+ <contribution location="file:../../contributions/common/target/scatours-contribution-common.jar" uri="common"/>
+ <contribution location="file:../../contributions/currency/target/scatours-contribution-currency.jar" uri="currency"/>
+ <contribution location="file:../../contributions/hotel/target/scatours-contribution-hotel.jar" uri="hotel"/>
+ <contribution location="file:../../contributions/flight/target/scatours-contribution-flight.jar" uri="flight"/>
+ <contribution location="file:../../contributions/car/target/scatours-contribution-car.jar" uri="car"/>
+ <contribution location="file:../../contributions/trip/target/scatours-contribution-trip.jar" uri="trip"/>
+ <contribution location="file:../../contributions/tripbooking/target/scatours-contribution-tripbooking.jar" uri="tripbooking"/>
+ <contribution location="file:../../contributions/travelcatalog/target/scatours-contribution-travelcatalog.jar" uri="travelcatalog"/>
+ <!-- the following line should be payment-spring-policy but this doesn't work when using the domain manager (TUSCANY-3476) -->
+ <contribution location="file:../../contributions/payment-java-policy/target/scatours-contribution-payment-java-policy.jar" uri="fullapp-payment"/>
+ <contribution location="file:../../contributions/creditcard-payment-jaxb-policy/target/scatours-contribution-creditcard-payment-jaxb-policy.jar" uri="fullapp-creditcard"/>
+ <contribution location="file:../../contributions/shoppingcart/target/scatours-contribution-shoppingcart.jar" uri="shoppingcart"/>
+ <contribution location="file:../../contributions/scatours/target/scatours-contribution-scatours.jar" uri="scatours"/>
+ <contribution location="file:../../contributions/fullapp-ui/target/scatours-contribution-fullapp-ui.jar" uri="fullapp-ui"/>
+ <contribution location="file:../../contributions/fullapp-coordination/target/scatours-contribution-fullapp-coordination.jar" uri="fullapp-coordination"/>
+ <contribution location="file:../../contributions/fullapp-currency/target/scatours-contribution-fullapp-currency.jar" uri="fullapp-currency"/>
+ <contribution location="file:../../contributions/fullapp-packagedtrip/target/scatours-contribution-fullapp-packagedtrip.jar" uri="fullapp-packagedtrip"/>
+ <contribution location="file:../../contributions/fullapp-bespoketrip/target/scatours-contribution-fullapp-bespoketrip.jar" uri="fullapp-bespoketrip"/>
+ <contribution location="file:../../contributions/fullapp-shoppingcart/target/scatours-contribution-fullapp-shoppingcart.jar" uri="fullapp-shoppingcart"/>
+ <contribution location="file:../../domainconfig/fullapp/target/classes/cloud" uri="http://tuscany.apache.org/cloud"/>
+</workspace> \ No newline at end of file
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/build.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/build.xml
new file mode 100644
index 0000000000..0aff8e6fb5
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/build.xml
@@ -0,0 +1,39 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-domainconfig-introducing" default="compile">
+ <import file="../../antdefs.xml"/>
+
+ <property name="run-update-resources" value="true"/>
+ <target name="update-resources">
+ <delete file="target/classes/workspace-binaries.xml"/>
+ <mkdir dir="target/jar-classes/introducing"/>
+ <copy todir="target/jar-classes/introducing">
+ <fileset dir="src/main/resources">
+ <exclude name="workspace*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="target/jar-classes/introducing">
+ <fileset dir="src/main/resources">
+ <include name="workspace-binaries.xml"/>
+ </fileset>
+ <globmapper from="workspace-binaries.xml" to="workspace.xml"/>
+ </copy>
+ </target>
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/pom.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/pom.xml
new file mode 100644
index 0000000000..785531f8f3
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/pom.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-domainconfig-introducing</artifactId>
+ <name>Apache Tuscany SCA Tours Introducing Domain Configuration</name>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <excludes>
+ <exclude>workspace-binaries.xml</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <configuration>
+ <tasks>
+ <mkdir dir="target/jar-classes/introducing"/>
+ <copy todir="target/jar-classes/introducing">
+ <fileset dir="src/main/resources">
+ <exclude name="workspace*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="target/jar-classes/introducing">
+ <fileset dir="src/main/resources">
+ <include name="workspace-binaries.xml"/>
+ </fileset>
+ <globmapper from="workspace-binaries.xml" to="workspace.xml"/>
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <classesDirectory>target/jar-classes</classesDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud.composite
new file mode 100644
index 0000000000..5d400e1be8
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud.composite
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<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:ToursNode" uri="http://tuscany.apache.org/cloud" xmlns:ns2="http://tuscany.apache.org/cloud"/>
+ <include name="ns2:TripsNode" 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/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ClientNode.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ClientNode.composite
new file mode 100644
index 0000000000..adf8f0e9cb
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ClientNode.composite
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<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="introducing-client" composite="c:Client" />
+ <service name="Node">
+ <binding.sca uri="http://localhost:8083" />
+ <binding.ws uri="http://localhost:8083" />
+ <t:binding.http uri="http://localhost:8083" />
+ <t:binding.jsonrpc uri="http://localhost:8083" />
+ <t:binding.atom uri="http://localhost:8083" />
+ </service>
+ </component>
+</composite> \ No newline at end of file
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ToursNode.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ToursNode.composite
new file mode 100644
index 0000000000..6e8f7fadb6
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/ToursNode.composite
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<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="introducing-tours" composite="c:Tours" />
+ <service name="Node">
+ <binding.sca uri="http://localhost:8081" />
+ <binding.ws uri="http://localhost:8081" />
+ <t:binding.http uri="http://localhost:8081" />
+ <t:binding.jsonrpc uri="http://localhost:8081" />
+ <t:binding.atom uri="http://localhost:8081" />
+ </service>
+ </component>
+</composite> \ No newline at end of file
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/TripsNode.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/TripsNode.composite
new file mode 100644
index 0000000000..9e4b454941
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/cloud/TripsNode.composite
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<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="introducing-trips" composite="c:Trips" />
+ <service name="Node">
+ <binding.sca uri="http://localhost:8082" />
+ <binding.ws uri="http://localhost:8082" />
+ <t:binding.http uri="http://localhost:8082" />
+ <t:binding.jsonrpc uri="http://localhost:8082" />
+ <t:binding.atom uri="http://localhost:8082" />
+ </service>
+ </component>
+</composite> \ No newline at end of file
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/domain.composite b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/domain.composite
new file mode 100644
index 0000000000..ec0f71484b
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/domain.composite
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<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:Tours" uri="introducing-tours" xmlns:ns2="http://tuscanyscatours.com/"/>
+ <include name="ns2:Trips" uri="introducing-trips" xmlns:ns2="http://goodvaluetrips.com/"/>
+ <include name="ns2:Client" uri="introducing-client" xmlns:ns2="http://client.scatours/"/>
+</composite>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace-binaries.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace-binaries.xml
new file mode 100644
index 0000000000..5c058ee325
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace-binaries.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<workspace xmlns="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0">
+ <contribution location="file:../domainconfig/introducing/cloud"
+ uri="http://tuscany.apache.org/cloud"/>
+ <contribution location="file:../contributions/scatours-contribution-introducing-tours.jar"
+ uri="introducing-tours"/>
+ <contribution location="file:../contributions/scatours-contribution-introducing-trips.jar"
+ uri="introducing-trips"/>
+ <contribution location="file:../contributions/scatours-contribution-introducing-client.jar"
+ uri="introducing-client"/>
+</workspace>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace.xml
new file mode 100644
index 0000000000..59468135c1
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/introducing/src/main/resources/workspace.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<workspace xmlns="http://tuscany.apache.org/xmlns/sca/1.0"
+ xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0">
+ <contribution location="file:../../domainconfig/introducing/target/classes/cloud"
+ uri="http://tuscany.apache.org/cloud"/>
+ <contribution location="file:../../contributions/introducing-tours/target/scatours-contribution-introducing-tours.jar"
+ uri="introducing-tours"/>
+ <contribution location="file:../../contributions/introducing-trips/target/scatours-contribution-introducing-trips.jar"
+ uri="introducing-trips"/>
+ <contribution location="file:../../contributions/introducing-client/target/scatours-contribution-introducing-client.jar"
+ uri="introducing-client"/>
+</workspace>
diff --git a/sca-java-1.x/tags/travelsample-1.0/domainconfig/pom.xml b/sca-java-1.x/tags/travelsample-1.0/domainconfig/pom.xml
new file mode 100644
index 0000000000..66707faf15
--- /dev/null
+++ b/sca-java-1.x/tags/travelsample-1.0/domainconfig/pom.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours</artifactId>
+ <version>1.0</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <artifactId>scatours-domainconfig</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache Tuscany SCA Tours Domain Configurations</name>
+
+ <modules>
+ <module>fullapp</module>
+ <module>introducing</module>
+ </modules>
+
+</project>