summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/test/store-script/store.composite
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-12-26 03:25:34 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-12-26 03:25:34 +0000
commit0999fd565d6d629df87d3db38a84d4701b494b3b (patch)
tree287bb29d011a1c1616ca434ce6c51ab57b63dda2 /sca-cpp/trunk/test/store-script/store.composite
parentbd4c1d47aeaf1d4bca76d5713e705b0869d3f2f7 (diff)
Simplified server configuration, HTTPD modules now use deployment composite to route service requests, minor fixes to store integration test.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@893939 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/test/store-script/store.composite27
1 files changed, 9 insertions, 18 deletions
diff --git a/sca-cpp/trunk/test/store-script/store.composite b/sca-cpp/trunk/test/store-script/store.composite
index 2cfadf3f71..cc00ae2d65 100644
--- a/sca-cpp/trunk/test/store-script/store.composite
+++ b/sca-cpp/trunk/test/store-script/store.composite
@@ -25,26 +25,19 @@
<component name="Store">
<!-- <t:implementation.widget location="store.html"/> -->
<t:implementation.scheme uri="store.scm"/>
-
<service name="Widget">
<t:binding.http uri="store"/>
</service>
- <reference name="catalog" target="Catalog">
- <t:binding.jsonrpc uri="Catalog"/>
- </reference>
- <reference name="shoppingCart" target="ShoppingCart/Cart">
- <t:binding.atom/>
- </reference>
- <reference name="shoppingTotal" target="ShoppingCart/Total">
- <t:binding.jsonrpc/>
- </reference>
+ <reference name="catalog" target="Catalog"/>
+ <reference name="shoppingCart" target="ShoppingCart/Cart"/>
+ <reference name="shoppingTotal" target="ShoppingCart/Total"/>
</component>
<component name="Catalog">
<t:implementation.scheme uri="fruits-catalog.scm"/>
<property name="currencyCode">USD</property>
<service name="Catalog">
- <t:binding.jsonrpc uri="Catalog"/>
+ <t:binding.jsonrpc uri="catalog"/>
</service>
<reference name="currencyConverter" target="CurrencyConverter"/>
</component>
@@ -52,27 +45,25 @@
<component name="ShoppingCart">
<t:implementation.scheme uri="shopping-cart.scm"/>
<service name="ShoppingCart">
- <t:binding.atom uri="ShoppingCart"/>
+ <t:binding.atom uri="shoppingCart"/>
</service>
<service name="Total">
- <t:binding.jsonrpc uri="Total"/>
+ <t:binding.jsonrpc uri="total"/>
</service>
- <reference name="cache" target="Cache">
- <t:binding.atom/>
- </reference>
+ <reference name="cache" target="Cache"/>
</component>
<component name="CurrencyConverter">
<t:implementation.scheme uri="currency-converter.scm"/>
<service name="CurrencyConverter">
- <t:binding.jsonrpc uri="CurrencyConverter"/>
+ <t:binding.jsonrpc uri="currencyConverter"/>
</service>
</component>
<component name="Cache">
<t:implementation.cpp uri="../../components/cache/.libs/libmcache"/>
<service name="Cache">
- <t:binding.atom uri="Cache"/>
+ <t:binding.atom uri="cache"/>
</service>
</component>