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-26 06:27:21 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-26 06:27:21 +0000
commitaf2857365e659d99dda12bee356681ab7b789822 (patch)
tree8ae162fb541c1f5dabecf91f46bee0ba7d428f71 /sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
parent911069d0f429934349fa7b72160c864716fb011c (diff)
Adding user services and integrating with the store application
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829708 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite')
-rw-r--r--sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite13
1 files changed, 10 insertions, 3 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 17df51b252..255857ffd4 100644
--- a/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
+++ b/sandbox/sca-cloud-tutorial/store-appengine-webapp/src/store.composite
@@ -28,7 +28,7 @@
<property name="currencyCode">USD</property>
<service name="Catalog">
<interface.java interface="services.Catalog"/>
- <tuscany:binding.jsonrpc uri="/catalogAggregator"/>
+ <tuscany:binding.jsonrpc uri="/CatalogAggregator"/>
</service>
<reference name="fruitsCatalog">
<interface.java interface="services.Catalog"/>
@@ -51,10 +51,17 @@
<component name="ShoppingCart">
<implementation.java class="services.ShoppingCartImpl"/>
<service name="Cart">
- <tuscany:binding.jsonrpc uri="/shoppingCart/Cart"/>
+ <tuscany:binding.jsonrpc uri="/ShoppingCart/Cart"/>
</service>
<service name="Total">
- <tuscany:binding.jsonrpc uri="/shoppingCart/Total"/>
+ <tuscany:binding.jsonrpc uri="/ShoppingCart/Total"/>
</service>
+ </component>
+
+ <component name="UserService">
+ <implementation.java class="org.apache.tuscany.sca.cloud.user.impl.GoogleUserService"/>
+ <service name="UserService">
+ <tuscany:binding.jsonrpc uri="/User"/>
+ </service>
</component>
</composite>