diff options
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.composite | 14 |
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> |