summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/server.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/hosting/server/server.composite')
-rw-r--r--sca-cpp/trunk/hosting/server/server.composite175
1 files changed, 175 insertions, 0 deletions
diff --git a/sca-cpp/trunk/hosting/server/server.composite b/sca-cpp/trunk/hosting/server/server.composite
new file mode 100644
index 0000000000..d79ec3b584
--- /dev/null
+++ b/sca-cpp/trunk/hosting/server/server.composite
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ targetNamespace="http://server"
+ name="server">
+
+ <component name="User">
+ <implementation.python script="user.py"/>
+ <property name="user">?</property>
+ <property name="email">?</property>
+ <property name="nickname">?</property>
+ <property name="fullname">?</property>
+ <property name="firstname">?</property>
+ <property name="lastname">?</property>
+ <property name="realm">?</property>
+ <service name="User">
+ <binding.http uri="user"/>
+ </service>
+ </component>
+
+ <component name="EditWidget">
+ <implementation.widget location="/index.html"/>
+ <reference name="user" target="User"/>
+ <reference name="accounts" target="Accounts"/>
+ <reference name="dashboards" target="Dashboards"/>
+ <reference name="apps" target="Apps"/>
+ <reference name="store" target="AppStore"/>
+ <reference name="palettes" target="Palettes"/>
+ <reference name="composites" target="Composites"/>
+ <reference name="pages" target="Pages"/>
+ <reference name="log" target="Log"/>
+ </component>
+
+ <component name="AppWidget">
+ <implementation.widget location="/app/index.html"/>
+ <reference name="user" target="User"/>
+ <reference name="pages" target="Pages"/>
+ <reference name="log" target="Log"/>
+ </component>
+
+ <component name="Accounts">
+ <implementation.python script="accounts.py"/>
+ <service name="Accounts">
+ <binding.http uri="accounts"/>
+ </service>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Cache"/>
+ </component>
+
+ <component name="Dashboards">
+ <implementation.python script="dashboards.py"/>
+ <service name="Dashboards">
+ <binding.http uri="dashboards"/>
+ </service>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Cache"/>
+ <reference name="apps" target="Apps"/>
+ </component>
+
+ <component name="AppStore">
+ <implementation.python script="store.py"/>
+ <service name="AppStore">
+ <binding.http uri="appstore"/>
+ </service>
+ <reference name="cache" target="Cache"/>
+ </component>
+
+ <component name="Apps">
+ <implementation.python script="apps.py"/>
+ <service name="Apps">
+ <binding.http uri="apps"/>
+ </service>
+ <reference name="cache" target="Cache"/>
+ <reference name="store" target="AppStore"/>
+ <reference name="composites" target="Composites"/>
+ <reference name="pages" target="Pages"/>
+ </component>
+
+ <component name="Composites">
+ <implementation.python script="composites.py"/>
+ <service name="Composites">
+ <binding.http uri="composites"/>
+ </service>
+ <reference name="cache" target="Doccache"/>
+ </component>
+
+ <component name="Pages">
+ <implementation.python script="pages.py"/>
+ <service name="Pages">
+ <binding.http uri="pages"/>
+ </service>
+ <reference name="cache" target="Doccache"/>
+ </component>
+
+ <component name="Palettes">
+ <implementation.python script="palettes.py"/>
+ <service name="Palettes">
+ <binding.http uri="palettes"/>
+ </service>
+ <reference name="cache" target="Doccache"/>
+ </component>
+
+ <component name="Cache">
+ <implementation.cpp path="../../components/cache" library="libdatacache"/>
+ <service name="Cache">
+ <binding.http uri="cache"/>
+ </service>
+ <reference name="l1reader" target="Memcache"/>
+ <reference name="l1writer" target="Memcache"/>
+ <reference name="l2reader" target="Database"/>
+ <reference name="l2writer" target="Database"/>
+ </component>
+
+ <component name="Doccache">
+ <implementation.cpp path="../../components/cache" library="libdatacache"/>
+ <service name="Doccache">
+ <binding.http uri="doccache"/>
+ </service>
+ <reference name="l1reader" target="Memcache"/>
+ <reference name="l1writer" target="Memcache"/>
+ <reference name="l2reader" target="Documents"/>
+ <reference name="l2writer" target="Documents"/>
+ </component>
+
+ <component name="Memcache">
+ <implementation.cpp path="../../components/cache" library="libmemcache"/>
+ <service name="Memcache">
+ <binding.http uri="memcache"/>
+ </service>
+ <property name="servers">localhost:11211</property>
+ </component>
+
+ <component name="Database">
+ <implementation.cpp path="../../components/filedb" library="libfiledb"/>
+ <property name="dbname">data</property>
+ <property name="format">scheme</property>
+ <service name="Database">
+ <binding.http uri="database"/>
+ </service>
+ </component>
+
+ <component name="Documents">
+ <implementation.cpp path="../../components/filedb" library="libfiledb"/>
+ <property name="dbname">data</property>
+ <property name="format">xml</property>
+ <service name="Documents">
+ <binding.http uri="documents"/>
+ </service>
+ </component>
+
+ <component name="Log">
+ <implementation.python script="log.py"/>
+ <service name="Log">
+ <binding.http uri="log"/>
+ </service>
+ </component>
+
+</composite>