summaryrefslogtreecommitdiffstats
path: root/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-23 17:56:00 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-23 17:56:00 +0000
commita6e0a1a959b837f1441de68e070f53dee9e35a55 (patch)
treecc0a0d394b0df259c43c7b3001a48bd3ed4e67c1 /sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
parentf60bcd37dc61721f97fd2f3f99c62c16e0125513 (diff)
Updating store with new vegetables catalog and adding basic support for shoppingCart services using JSON-RPC
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829149 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite14
1 files changed, 14 insertions, 0 deletions
diff --git a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite b/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
index 9a5897e87b..17df51b252 100644
--- a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
+++ b/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
@@ -34,6 +34,10 @@
<interface.java interface="services.Catalog"/>
<tuscany:binding.jsonrpc uri="http://tuscany-store-catalog.appspot.com/catalog"/>
</reference>
+ <reference name="vegetablesCatalog">
+ <interface.java interface="services.Catalog"/>
+ <tuscany:binding.jsonrpc uri="http://tuscany.figueiredos.com/store-catalog-ibmcloud-2x-webapp/Catalog"/>
+ </reference>
<reference name="currencyConverter" target="CurrencyConverter" />
</component>
@@ -43,4 +47,14 @@
<interface.java interface="services.CurrencyConverter"/>
</service>
</component>
+
+ <component name="ShoppingCart">
+ <implementation.java class="services.ShoppingCartImpl"/>
+ <service name="Cart">
+ <tuscany:binding.jsonrpc uri="/shoppingCart/Cart"/>
+ </service>
+ <service name="Total">
+ <tuscany:binding.jsonrpc uri="/shoppingCart/Total"/>
+ </service>
+ </component>
</composite>