summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/introducing-domain
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample/launchers/introducing-domain')
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/build.xml36
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/pom.xml58
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud.composite8
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ClientNode.composite14
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ToursNode.composite14
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/TripsNode.composite14
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/src/main/resources/domain.composite8
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/src/main/resources/workspace.xml12
8 files changed, 164 insertions, 0 deletions
diff --git a/sandbox/travelsample/launchers/introducing-domain/build.xml b/sandbox/travelsample/launchers/introducing-domain/build.xml
new file mode 100644
index 0000000000..55334cf658
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/build.xml
@@ -0,0 +1,36 @@
+<!--
+ * 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-launcher-introducing-domain" default="run">
+ <property environment="env"/>
+
+ <target name="run">
+ <java classname="org.apache.tuscany.sca.node.launcher.DomainManagerLauncher"
+ dir="target/classes" fork="true">
+ <classpath>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete dir="./target"/>
+ </target>
+
+</project>
diff --git a/sandbox/travelsample/launchers/introducing-domain/pom.xml b/sandbox/travelsample/launchers/introducing-domain/pom.xml
new file mode 100644
index 0000000000..3b10b4d537
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/pom.xml
@@ -0,0 +1,58 @@
+<?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>tuscany-sca</artifactId>
+ <version>1.6-SNAPSHOT</version>
+ <!--relativePath>../../pom.xml</relativePath-->
+ </parent><version>1.0-SNAPSHOT</version>
+ <artifactId>scatours-launcher-introducing-domain</artifactId>
+ <name>Apache Tuscany SCA Tours Introducing Domain Launcher</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours-contribution-introducing-tours</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours-contribution-introducing-trips</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>scatours-contribution-introducing-client</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
+
+</project>
diff --git a/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud.composite b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud.composite
new file mode 100644
index 0000000000..133b4c187a
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud.composite
@@ -0,0 +1,8 @@
+<?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: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/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ClientNode.composite b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ClientNode.composite
new file mode 100644
index 0000000000..14d8417ed2
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ClientNode.composite
@@ -0,0 +1,14 @@
+<?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="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/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ToursNode.composite b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ToursNode.composite
new file mode 100644
index 0000000000..9408da0e0d
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/ToursNode.composite
@@ -0,0 +1,14 @@
+<?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="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/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/TripsNode.composite b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/TripsNode.composite
new file mode 100644
index 0000000000..d769e89203
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/cloud/TripsNode.composite
@@ -0,0 +1,14 @@
+<?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="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/sandbox/travelsample/launchers/introducing-domain/src/main/resources/domain.composite b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/domain.composite
new file mode 100644
index 0000000000..5591ab3709
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/domain.composite
@@ -0,0 +1,8 @@
+<?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: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/sandbox/travelsample/launchers/introducing-domain/src/main/resources/workspace.xml b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/workspace.xml
new file mode 100644
index 0000000000..f37620c3ce
--- /dev/null
+++ b/sandbox/travelsample/launchers/introducing-domain/src/main/resources/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:../../../../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>