diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-26 20:59:26 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-26 20:59:26 +0000 |
commit | 0ee21c5d9657a1259a731722f53666ad135279bb (patch) | |
tree | 2ed904c78a8c0bf289bf5d98577e8c9a01f42b69 /sca-cpp/trunk/modules/edit/apps/store2/app.composite | |
parent | 78b8dee58146d06b12b6aa7ecfa63dc024ebf099 (diff) |
Some improvements to the edit module. Add a few sample apps and test cases, show current user and links to app data.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074923 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/edit/apps/store2/app.composite | 90 |
1 files changed, 40 insertions, 50 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps/store2/app.composite b/sca-cpp/trunk/modules/edit/apps/store2/app.composite index 4a549b37c1..b75877c67f 100644 --- a/sca-cpp/trunk/modules/edit/apps/store2/app.composite +++ b/sca-cpp/trunk/modules/edit/apps/store2/app.composite @@ -17,54 +17,44 @@ * specific language governing permissions and limitations * 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"> - - <service name="Store" promote="Store"/> - <service name="ShoppingCart" promote="ShoppingCart"/> - - <component name="Store" t:color="green1"> - <t:implementation.python script="store.py"/> - <service name="Widget"> - <t:binding.http uri="store"/> - </service> - <reference name="catalog" target="Catalog" t:align="bottom"/> - <reference name="shoppingCart" target="ShoppingCart"/> - <reference name="shoppingTotal" target="ShoppingCart"/> - </component> - - <component name="Catalog" t:color="yellow1"> - <t:implementation.python script="fruits-catalog.py"/> - <property name="currencyCode">USD</property> - <service name="Catalog" t:align="top"> - <t:binding.jsonrpc uri="catalog"/> - </service> - <reference name="currencyConverter" t:align="bottom" target="CurrencyConverter"/> - </component> - - <component name="ShoppingCart" t:color="magenta1"> - <t:implementation.python script="shopping-cart.py"/> - <service name="ShoppingCart"> - <t:binding.http uri="shoppingCart"/> - </service> - <reference name="cache" target="Cache"/> - </component> - - <component name="CurrencyConverter" t:color="blue1"> - <t:implementation.python script="currency-converter.py"/> - <service name="CurrencyConverter" t:align="top"> - <t:binding.jsonrpc uri="currencyConverter"/> - </service> - </component> - - <component name="Cache" t:color="orange1"> - <implementation.cpp path="../../components/cache" library="libmemcache"/> - <service name="Cache"> - <t:binding.atom uri="cache"/> - </service> - <property name="servers">localhost:11211</property> - </component> - +<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"> + <service name="Store" promote="Store"/> + <service name="ShoppingCart" promote="ShoppingCart"/> + <component name="Store" t:color="green1"> + <t:implementation.python script="store.py"/> + <service name="Widget"> + <t:binding.http uri="store"/> + </service> + <reference name="catalog" target="Catalog" t:align="bottom"/> + <reference name="shoppingCart" target="ShoppingCart"/> + <reference name="shoppingTotal" target="ShoppingCart"/> + </component> + <component name="Catalog" t:color="yellow1"> + <t:implementation.python script="fruits-catalog.py"/> + <property>USD</property> + <service name="Catalog" t:align="top"> + <t:binding.jsonrpc uri="catalog"/> + </service> + <reference name="currencyConverter" t:align="bottom" target="CurrencyConverter"/> + </component> + <component name="ShoppingCart" t:color="magenta1"> + <t:implementation.python script="shopping-cart.py"/> + <service name="ShoppingCart"> + <t:binding.http uri="shoppingCart"/> + </service> + <reference name="cache" target="Cache"/> + </component> + <component name="CurrencyConverter" t:color="blue1"> + <t:implementation.python script="currency-converter.py"/> + <service name="CurrencyConverter" t:align="top"> + <t:binding.jsonrpc uri="currencyConverter"/> + </service> + </component> + <component name="Cache" t:color="orange1"> + <implementation.cpp path="../../components/cache" library="libmemcache"/> + <service name="Cache"> + <t:binding.atom uri="cache"/> + </service> + <property>localhost:11211</property> + </component> </composite> |