summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-cluster
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/samples/store-cluster')
-rw-r--r--sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite19
-rw-r--r--sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite19
-rw-r--r--sca-cpp/trunk/samples/store-cluster/shared/shared.composite9
3 files changed, 22 insertions, 25 deletions
diff --git a/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite b/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite
index 137027a50c..c8955af24e 100644
--- a/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite
+++ b/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite
@@ -18,14 +18,13 @@
* under the License.
-->
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
targetNamespace="http://store"
name="store">
<component name="Store">
- <t:implementation.python script="store.py"/>
+ <implementation.python script="store.py"/>
<service name="Widget">
- <t:binding.http uri="store"/>
+ <binding.http uri="store"/>
</service>
<reference name="catalog" target="Catalog"/>
<reference name="shoppingCart" target="ShoppingCart/Cart"/>
@@ -33,31 +32,31 @@
</component>
<component name="Catalog">
- <t:implementation.python script="fruits-catalog.py"/>
+ <implementation.python script="fruits-catalog.py"/>
<property name="currencyCode">USD</property>
<service name="Catalog">
- <t:binding.jsonrpc uri="catalog"/>
+ <binding.jsonrpc uri="catalog"/>
</service>
<reference name="currencyConverter" target="CurrencyConverter"/>
</component>
<component name="ShoppingCart">
- <t:implementation.python script="shopping-cart.py"/>
+ <implementation.python script="shopping-cart.py"/>
<property name="host">localhost</property>
<property name="email">anonymous@localhost</property>
<service name="ShoppingCart">
- <t:binding.atom uri="shoppingCart"/>
+ <binding.atom uri="shoppingCart"/>
</service>
<service name="Total">
- <t:binding.jsonrpc uri="total"/>
+ <binding.jsonrpc uri="total"/>
</service>
<reference name="cache" target="Cache"/>
</component>
<component name="CurrencyConverter">
- <t:implementation.python script="currency-converter.py"/>
+ <implementation.python script="currency-converter.py"/>
<service name="CurrencyConverter">
- <t:binding.jsonrpc uri="currencyConverter"/>
+ <binding.jsonrpc uri="currencyConverter"/>
</service>
</component>
diff --git a/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite b/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite
index 137027a50c..c8955af24e 100644
--- a/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite
+++ b/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite
@@ -18,14 +18,13 @@
* under the License.
-->
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
targetNamespace="http://store"
name="store">
<component name="Store">
- <t:implementation.python script="store.py"/>
+ <implementation.python script="store.py"/>
<service name="Widget">
- <t:binding.http uri="store"/>
+ <binding.http uri="store"/>
</service>
<reference name="catalog" target="Catalog"/>
<reference name="shoppingCart" target="ShoppingCart/Cart"/>
@@ -33,31 +32,31 @@
</component>
<component name="Catalog">
- <t:implementation.python script="fruits-catalog.py"/>
+ <implementation.python script="fruits-catalog.py"/>
<property name="currencyCode">USD</property>
<service name="Catalog">
- <t:binding.jsonrpc uri="catalog"/>
+ <binding.jsonrpc uri="catalog"/>
</service>
<reference name="currencyConverter" target="CurrencyConverter"/>
</component>
<component name="ShoppingCart">
- <t:implementation.python script="shopping-cart.py"/>
+ <implementation.python script="shopping-cart.py"/>
<property name="host">localhost</property>
<property name="email">anonymous@localhost</property>
<service name="ShoppingCart">
- <t:binding.atom uri="shoppingCart"/>
+ <binding.atom uri="shoppingCart"/>
</service>
<service name="Total">
- <t:binding.jsonrpc uri="total"/>
+ <binding.jsonrpc uri="total"/>
</service>
<reference name="cache" target="Cache"/>
</component>
<component name="CurrencyConverter">
- <t:implementation.python script="currency-converter.py"/>
+ <implementation.python script="currency-converter.py"/>
<service name="CurrencyConverter">
- <t:binding.jsonrpc uri="currencyConverter"/>
+ <binding.jsonrpc uri="currencyConverter"/>
</service>
</component>
diff --git a/sca-cpp/trunk/samples/store-cluster/shared/shared.composite b/sca-cpp/trunk/samples/store-cluster/shared/shared.composite
index b7eae5f78a..13b6fd5c80 100644
--- a/sca-cpp/trunk/samples/store-cluster/shared/shared.composite
+++ b/sca-cpp/trunk/samples/store-cluster/shared/shared.composite
@@ -18,14 +18,13 @@
* under the License.
-->
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
targetNamespace="http://shared"
name="shared">
<component name="Cache">
<implementation.cpp path="../../../components/cache" library="libdatacache"/>
<service name="Cache">
- <t:binding.atom uri="cache"/>
+ <binding.atom uri="cache"/>
</service>
<reference name="l1reader" target="Memcache"/>
<reference name="l1writer" target="Memcache"/>
@@ -36,7 +35,7 @@
<component name="Memcache">
<implementation.cpp path="../../../components/cache" library="libmemcache"/>
<service name="Memcache">
- <t:binding.atom uri="memcache"/>
+ <binding.atom uri="memcache"/>
</service>
<property name="servers">localhost:11211,localhost:11212,localhost:11213</property>
</component>
@@ -46,7 +45,7 @@
<property name="conninfo">host=localhost port=5432 dbname=db</property>
<property name="table">store</property>
<service name="Masterdb">
- <t:binding.atom uri="masterdb"/>
+ <binding.atom uri="masterdb"/>
</service>
</component>
@@ -55,7 +54,7 @@
<property name="conninfo">host=localhost port=5433 dbname=db</property>
<property name="table">store</property>
<service name="Standbydb">
- <t:binding.atom uri="standbydb"/>
+ <binding.atom uri="standbydb"/>
</service>
</component>