summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-sql
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-05-23 02:29:02 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-05-23 02:29:02 +0000
commit874620b24eaf0862fb28194099e951e57363ca29 (patch)
tree76413f39d2ef9e79456af15e99648754a17fff4e /sca-cpp/trunk/samples/store-sql
parent49f4223605b4946a2bf6831262dd442375a4a929 (diff)
Refactor some of the extensions and remove unnecessary namespace prefixes.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1126298 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/samples/store-sql')
-rw-r--r--sca-cpp/trunk/samples/store-sql/store.composite25
1 files changed, 12 insertions, 13 deletions
diff --git a/sca-cpp/trunk/samples/store-sql/store.composite b/sca-cpp/trunk/samples/store-sql/store.composite
index a10740b5f9..2bdaa4f7b5 100644
--- a/sca-cpp/trunk/samples/store-sql/store.composite
+++ b/sca-cpp/trunk/samples/store-sql/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.scheme script="store.scm"/>
+ <implementation.scheme script="store.scm"/>
<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,36 +32,36 @@
</component>
<component name="Catalog">
- <t:implementation.scheme script="fruits-catalog.scm"/>
+ <implementation.scheme script="fruits-catalog.scm"/>
<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.scheme script="shopping-cart.scm"/>
+ <implementation.scheme script="shopping-cart.scm"/>
<service name="Cart">
- <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.scheme script="currency-converter.scm"/>
+ <implementation.scheme script="currency-converter.scm"/>
<service name="CurrencyConverter">
- <t:binding.jsonrpc uri="currencyConverter"/>
+ <binding.jsonrpc uri="currencyConverter"/>
</service>
</component>
<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"/>
@@ -73,7 +72,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</property>
</component>
@@ -83,7 +82,7 @@
<property name="conninfo">host=localhost port=5432 dbname=db</property>
<property name="table">store</property>
<service name="Sqldb">
- <t:binding.atom uri="sqldb"/>
+ <binding.atom uri="sqldb"/>
</service>
</component>