You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/03/06 02:27:31 UTC

svn commit: r634112 - in /incubator/tuscany/java/sca/tutorial/nodes: META-INF/sca-contribution.xml backend-nodes.composite frontend-eu-node.composite frontend-us-node.composite merger-nodes.composite nodes.composite

Author: jsdelfino
Date: Wed Mar  5 17:27:19 2008
New Revision: 634112

URL: http://svn.apache.org/viewvc?rev=634112&view=rev
Log:
Describe the nodes required by the tutorial in 4 different composites.

Added:
    incubator/tuscany/java/sca/tutorial/nodes/backend-nodes.composite   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/frontend-eu-node.composite   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/frontend-us-node.composite   (with props)
    incubator/tuscany/java/sca/tutorial/nodes/merger-nodes.composite   (with props)
Removed:
    incubator/tuscany/java/sca/tutorial/nodes/nodes.composite
Modified:
    incubator/tuscany/java/sca/tutorial/nodes/META-INF/sca-contribution.xml

Modified: incubator/tuscany/java/sca/tutorial/nodes/META-INF/sca-contribution.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/META-INF/sca-contribution.xml?rev=634112&r1=634111&r2=634112&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/META-INF/sca-contribution.xml (original)
+++ incubator/tuscany/java/sca/tutorial/nodes/META-INF/sca-contribution.xml Wed Mar  5 17:27:19 2008
@@ -19,5 +19,8 @@
 -->
 <contribution xmlns="http://www.osoa.org/xmlns/sca/1.0"
    xmlns:n="http://nodes">
-   <deployable composite="n:nodes"/>
+   <deployable composite="n:backend-nodes"/>
+   <deployable composite="n:frontend-us-node"/>
+   <deployable composite="n:merger-nodes"/>
+   <deployable composite="n:frontend-eu-node"/>
 </contribution>

Added: incubator/tuscany/java/sca/tutorial/nodes/backend-nodes.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/backend-nodes.composite?rev=634112&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/backend-nodes.composite (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/backend-nodes.composite Wed Mar  5 17:27:19 2008
@@ -0,0 +1,40 @@
+<?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://nodes"
+		xmlns:c="http://cloud"
+		name="backend-nodes">
+
+	<component name="CatalogsNode">
+		<t:implementation.node composite="c:catalogs"/>
+		<service name="Node">
+			<binding.sca uri="http://localhost:8200"/>
+		</service>
+	</component> 
+
+	<component name="CurrencyNode">
+		<t:implementation.node composite="c:currency"/>
+		<service name="Node">
+			<binding.sca uri="http://localhost:8201"/>
+		</service>
+	</component> 
+
+</composite>

Propchange: incubator/tuscany/java/sca/tutorial/nodes/backend-nodes.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/backend-nodes.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/frontend-eu-node.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/frontend-eu-node.composite?rev=634112&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/frontend-eu-node.composite (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/frontend-eu-node.composite Wed Mar  5 17:27:19 2008
@@ -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://nodes"
+		xmlns:s="http://store"
+		name="frontend-eu-node">
+
+	<component name="StoreEUNode">
+		<t:implementation.node composite="s:store-eu"/>
+		<service name="Node">
+			<t:binding.http uri="http://localhost:8104"/>
+			<t:binding.jsonrpc uri="http://localhost:8104"/>
+			<t:binding.atom uri="http://localhost:8104"/>
+			<t:binding.ws uri="http://localhost:8444"/>
+		</service>
+	</component> 
+
+</composite>

Propchange: incubator/tuscany/java/sca/tutorial/nodes/frontend-eu-node.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/frontend-eu-node.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/frontend-us-node.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/frontend-us-node.composite?rev=634112&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/frontend-us-node.composite (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/frontend-us-node.composite Wed Mar  5 17:27:19 2008
@@ -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://nodes"
+		xmlns:s="http://store"
+		name="frontend-us-node">
+
+	<component name="StoreNode">
+		<t:implementation.node composite="s:store"/>
+		<service name="Node">
+			<t:binding.http uri="http://localhost:8100"/>
+			<t:binding.jsonrpc uri="http://localhost:8100"/>
+			<t:binding.atom uri="http://localhost:8100"/>
+		</service>
+	</component> 
+
+</composite>

Propchange: incubator/tuscany/java/sca/tutorial/nodes/frontend-us-node.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/frontend-us-node.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/tutorial/nodes/merger-nodes.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/nodes/merger-nodes.composite?rev=634112&view=auto
==============================================================================
--- incubator/tuscany/java/sca/tutorial/nodes/merger-nodes.composite (added)
+++ incubator/tuscany/java/sca/tutorial/nodes/merger-nodes.composite Wed Mar  5 17:27:19 2008
@@ -0,0 +1,54 @@
+<?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://nodes"
+		xmlns:s="http://store"
+		name="merger-nodes">
+
+	<component name="StoreMergerNode">
+		<t:implementation.node composite="s:store-merger"/>
+		<service name="Node">
+			<t:binding.http uri="http://localhost:8101"/>
+			<t:binding.jsonrpc uri="http://localhost:8101"/>
+			<t:binding.atom uri="http://localhost:8101"/>
+		</service>
+	</component> 
+
+	<component name="StoreDBNode">
+		<t:implementation.node composite="s:store-db"/>
+		<service name="Node">
+			<t:binding.http uri="http://localhost:8102"/>
+			<t:binding.jsonrpc uri="http://localhost:8102"/>
+			<t:binding.atom uri="http://localhost:8102"/>
+		</service>
+	</component> 
+
+	<component name="StoreSupplierNode">
+		<t:implementation.node composite="s:store-supplier"/>
+		<service name="Node">
+			<t:binding.http uri="http://localhost:8103"/>
+			<t:binding.jsonrpc uri="http://localhost:8103"/>
+			<t:binding.atom uri="http://localhost:8103"/>
+			<t:binding.ws uri="http://localhost:8333"/>
+		</service>
+	</component> 
+
+</composite>

Propchange: incubator/tuscany/java/sca/tutorial/nodes/merger-nodes.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/tutorial/nodes/merger-nodes.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org