summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-cluster/domains
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/samples/store-cluster/domains')
-rw-r--r--sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite39
-rw-r--r--sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite39
2 files changed, 2 insertions, 76 deletions
diff --git a/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite b/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite
index 85d6aa3a9b..eeb5387588 100644
--- a/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite
+++ b/sca-cpp/trunk/samples/store-cluster/domains/jane/store.composite
@@ -51,7 +51,7 @@
<service name="Total">
<t:binding.jsonrpc uri="total"/>
</service>
- <reference name="cache" target="Cache"/>
+ <reference name="cache" target="http://sca-store.com/cache"/>
</component>
<component name="CurrencyConverter">
@@ -61,41 +61,4 @@
</service>
</component>
- <component name="Cache">
- <implementation.cpp path="../../../../components/cache" library="libfrontcache"/>
- <service name="Cache">
- <t:binding.atom uri="cache"/>
- </service>
- <reference name="l1reader" target="Memcache"/>
- <reference name="l1writer" target="Memcache"/>
- <reference name="l2reader" target="Standbydb"/>
- <reference name="l2writer" target="Masterdb"/>
- </component>
-
- <component name="Memcache">
- <implementation.cpp path="../../../../components/cache" library="libmemcache"/>
- <service name="Memcache">
- <t:binding.atom uri="memcache"/>
- </service>
- <property name="servers">localhost:11211,localhost:11212,localhost:11213</property>
- </component>
-
- <component name="Masterdb">
- <implementation.cpp path="../../../../components/sqldb" library="libsqldb"/>
- <property name="conninfo">host=localhost port=5432 dbname=db</property>
- <property name="table">store</property>
- <service name="Masterdb">
- <t:binding.atom uri="masterdb"/>
- </service>
- </component>
-
- <component name="Standbydb">
- <implementation.cpp path="../../../../components/sqldb" library="libsqldb"/>
- <property name="conninfo">host=localhost port=5433 dbname=db</property>
- <property name="table">store</property>
- <service name="Standbydb">
- <t:binding.atom uri="standbydb"/>
- </service>
- </component>
-
</composite>
diff --git a/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite b/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite
index ca7815d573..eeb5387588 100644
--- a/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite
+++ b/sca-cpp/trunk/samples/store-cluster/domains/joe/store.composite
@@ -51,7 +51,7 @@
<service name="Total">
<t:binding.jsonrpc uri="total"/>
</service>
- <reference name="cache" target="Cache"/>
+ <reference name="cache" target="http://sca-store.com/cache"/>
</component>
<component name="CurrencyConverter">
@@ -61,41 +61,4 @@
</service>
</component>
- <component name="Cache">
- <implementation.cpp path="../../../../components/cache" library="libfrontcache"/>
- <service name="Cache">
- <t:binding.atom uri="cache"/>
- </service>
- <reference name="l1reader" target="Memcache"/>
- <reference name="l1writer" target="Memcache"/>
- <reference name="l2reader" target="Standbydb"/>
- <reference name="l2writer" target="Masterdb"/>
- </component>
-
- <component name="Memcache">
- <implementation.cpp path="../../../../components/cache" library="libmemcache"/>
- <service name="Memcache">
- <t:binding.atom uri="memcache"/>
- </service>
- <property name="servers">localhost:11211,localhost:11212,localhost:11213</property>
- </component>
-
- <component name="Masterdb">
- <implementation.cpp path="../../../../components/sqldb" library="libsqldb"/>
- <property name="conninfo">host=localhost port=5432 dbname=db</property>
- <property name="table">store</property>
- <service name="Masterdb">
- <t:binding.atom uri="masterdb"/>
- </service>
- </component>
-
- <component name="Standbydb">
- <implementation.cpp path="../../../../components/sqldb" library="libsqldb"/>
- <property name="conninfo">host=localhost port=5434 dbname=db</property>
- <property name="table">store</property>
- <service name="Standbydb">
- <t:binding.atom uri="standbydb"/>
- </service>
- </component>
-
</composite>