summaryrefslogtreecommitdiffstats
path: root/sca-cpp/branches/lightweight-sca/hosting/server/server.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/branches/lightweight-sca/hosting/server/server.composite')
-rw-r--r--sca-cpp/branches/lightweight-sca/hosting/server/server.composite149
1 files changed, 149 insertions, 0 deletions
diff --git a/sca-cpp/branches/lightweight-sca/hosting/server/server.composite b/sca-cpp/branches/lightweight-sca/hosting/server/server.composite
new file mode 100644
index 0000000000..7e4d7196d0
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/hosting/server/server.composite
@@ -0,0 +1,149 @@
+<?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>
+ <property name="host">?</property>
+ </component>
+
+ <component name="Editor">
+ <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="App">
+ <implementation.widget location="/app/index.html"/>
+ <reference name="user" target="User"/>
+ <reference name="pages" target="Pages"/>
+ <reference name="composites" target="Composites"/>
+ <reference name="log" target="Log"/>
+ </component>
+
+ <component name="Accounts">
+ <implementation.python script="accounts.py"/>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Cache"/>
+ </component>
+
+ <component name="Authenticator">
+ <implementation.python script="authn.py"/>
+ <reference name="cache" target="Cache"/>
+ </component>
+
+ <component name="Dashboards">
+ <implementation.python script="dashboards.py"/>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Cache"/>
+ <reference name="apps" target="Apps"/>
+ </component>
+
+ <component name="AppStore">
+ <implementation.python script="store.py"/>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Cache"/>
+ <reference name="apps" target="Apps"/>
+ </component>
+
+ <component name="Apps">
+ <implementation.python script="apps.py"/>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Cache"/>
+ <reference name="dashboard" target="Dashboards"/>
+ <reference name="store" target="AppStore"/>
+ <reference name="composites" target="Composites"/>
+ <reference name="pages" target="Pages"/>
+ </component>
+
+ <component name="Composites">
+ <implementation.python script="composites.py"/>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Doccache"/>
+ <reference name="apps" target="Apps"/>
+ </component>
+
+ <component name="Pages">
+ <implementation.python script="pages.py"/>
+ <reference name="user" target="User"/>
+ <reference name="cache" target="Doccache"/>
+ <reference name="apps" target="Apps"/>
+ </component>
+
+ <component name="Palettes">
+ <implementation.python script="palettes.py"/>
+ <reference name="cache" target="Doccache"/>
+ </component>
+
+ <component name="Cache">
+ <implementation.cpp path="../../components/cache" library="libdatacache"/>
+ <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"/>
+ <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"/>
+ <property name="server">localhost:11211</property>
+ <property name="server">localhost:11212</property>
+ </component>
+
+ <component name="Database">
+ <implementation.cpp path="../../components/filedb" library="libfiledb"/>
+ <property name="dbname">data</property>
+ <property name="format">scheme</property>
+ </component>
+
+ <component name="Documents">
+ <implementation.cpp path="../../components/filedb" library="libfiledb"/>
+ <property name="dbname">data</property>
+ <property name="format">xml</property>
+ </component>
+
+ <component name="Log">
+ <implementation.python script="log.py"/>
+ </component>
+
+</composite>